Bases: keystone.common.controller.V3Controller
Check an association between a policy and an endpoint.
Check an association between a policy and region+service.
Check an association between a policy and a service.
Create an association between a policy and an endpoint.
Create an association between a policy and region+service.
Create an association between a policy and a service.
Delete an association between a policy and an endpoint.
Delete an association between a policy and region+service.
Delete an association between a policy and a service.
Get the effective policy for an endpoint.
List endpoints with the effective association to a policy.
Bases: object
Interface description for an Endpoint Policy driver.
Checks existence a policy association.
Parameters: |
|
---|---|
Raises keystone.exception.PolicyAssociationNotFound: | |
If there is no match for the specified association. |
|
Returns: | None |
Creates a policy association.
Parameters: |
|
---|---|
Returns: | None |
There are three types of association permitted:
Removes all the policy associations with the specific endpoint.
Parameters: | endpoint_id (string) – identity of endpoint to check |
---|---|
Returns: | None |
Removes all the policy associations with the specific policy.
Parameters: | policy_id (string) – identity of endpoint to check |
---|---|
Returns: | None |
Removes all the policy associations with the specific region.
Parameters: | region_id (string) – identity of endpoint to check |
---|---|
Returns: | None |
Removes all the policy associations with the specific service.
Parameters: | service_id (string) – identity of endpoint to check |
---|---|
Returns: | None |
Deletes a policy association.
Parameters: |
|
---|---|
Returns: | None |
Gets 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 |
Bases: keystone.common.manager.Manager
Default pivot point for the Endpoint Policy backend.
See keystone.common.manager.Manager for more details on how this dynamically calls the backend.