Bases: EndpointPolicyDriverBase
Check existence of a policy association.
policy_id (string) – identity of policy that is being associated
endpoint_id (string) – identity of endpoint to associate
service_id (string) – identity of the service to associate
region_id (string) – identity of the region to associate
keystone.exception.PolicyAssociationNotFound – If there is no match for the specified association.
None
Create a policy association.
policy_id (string) – identity of policy that is being associated
endpoint_id (string) – identity of endpoint to associate
service_id (string) – identity of the service to associate
region_id (string) – identity of the region to associate
None
There are three types of association permitted:
Endpoint (in which case service and region must be None)
Service and region (in which endpoint must be None)
Service (in which case endpoint and region must be None)
Remove all the policy associations with the specific endpoint.
endpoint_id (string) – identity of endpoint to check
None
Remove all the policy associations with the specific policy.
policy_id (string) – identity of endpoint to check
None
Remove all the policy associations with the specific region.
region_id (string) – identity of endpoint to check
None
Remove all the policy associations with the specific service.
service_id (string) – identity of endpoint to check
None
Delete a policy association.
policy_id (string) – identity of policy that is being associated
endpoint_id (string) – identity of endpoint to associate
service_id (string) – identity of the service to associate
region_id (string) – identity of the region to associate
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().
endpoint_id (string) – identity of endpoint
service_id (string) – identity of the service
region_id (string) – identity of the region
keystone.exception.PolicyAssociationNotFound – If there is no match for the specified association.
dict containing policy_id (value is a tuple containing only the policy_id)
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.