Bases: object
Interface description for an Endpoint Policy driver.
Check existence a policy association.
| Parameters: |
|
|---|---|
| Raises keystone.exception.PolicyAssociationNotFound: | |
If there is no match for the specified association. |
|
| Returns: | None |
Create a policy association.
| Parameters: |
|
|---|---|
| Returns: | None |
There are three types of association permitted:
Remove all the policy associations with the specific endpoint.
| Parameters: | endpoint_id (string) – identity of endpoint to check |
|---|---|
| Returns: | None |
Remove all the policy associations with the specific policy.
| Parameters: | policy_id (string) – identity of endpoint to check |
|---|---|
| Returns: | None |
Remove all the policy associations with the specific region.
| Parameters: | region_id (string) – identity of endpoint to check |
|---|---|
| Returns: | None |
Remove all the policy associations with the specific service.
| Parameters: | service_id (string) – identity of endpoint to check |
|---|---|
| Returns: | None |
Delete a policy association.
| Parameters: |
|
|---|---|
| Returns: | None |
Get the policy for an explicit association.
This method is not exposed as a public API, but is used by get_policy_for_endpoint().
| Parameters: |
|
|---|---|
| Raises keystone.exception.PolicyAssociationNotFound: | |
If there is no match for the specified association. |
|
| Returns: | dict containing policy_id |
Get the appropriate policy for a given endpoint.
| Parameters: | endpoint_id (string) – identity of endpoint |
|---|---|
| Returns: | Policy entity for the endpoint |