endpoint_filter Package

endpoint_filter Package

controllers Module

core Module

class keystone.contrib.endpoint_filter.core.Driver[source]

Bases: object

Interface description for an Endpoint Filter driver.

add_endpoint_group_to_project(endpoint_group_id, project_id)[source]

Adds an endpoint group to project association.

Parameters:
  • endpoint_group_id (string) – identity of endpoint to associate
  • project_id (string) – identity of project to associate
Raises :

keystone.exception.Conflict,

Returns:

None.

add_endpoint_to_project(endpoint_id, project_id)[source]

Create an endpoint to project association.

Parameters:
  • endpoint_id (string) – identity of endpoint to associate
  • project_id (string) – identity of the project to be associated with
Raises :

keystone.exception.Conflict,

Returns:

None.

check_endpoint_in_project(endpoint_id, project_id)[source]

Checks if an endpoint is associated with a project.

Parameters:
  • endpoint_id (string) – identity of endpoint to check
  • project_id (string) – identity of the project associated with
Raises :

exception.NotFound

Returns:

None.

create_endpoint_group(endpoint_group)[source]

Create an endpoint group.

Parameters:endpoint_group (dictionary) – endpoint group to create
Raises :keystone.exception.Conflict,
Returns:an endpoint group representation.
delete_association_by_endpoint(endpoint_id)[source]

Removes all the endpoints to project association with endpoint.

Parameters:endpoint_id (string) – identity of endpoint to check
Returns:None
delete_association_by_project(project_id)[source]

Removes all the endpoints to project association with project.

Parameters:project_id (string) – identity of the project to check
Returns:None
delete_endpoint_group(endpoint_group_id)[source]

Delete an endpoint group.

Parameters:endpoint_group_id (string) – identity of endpoint group to delete
Raises :exception.NotFound
Returns:None.
delete_endpoint_group_association_by_project(project_id)[source]

Remove endpoint group to project associations.

Parameters:project_id (string) – identity of the project to check
Returns:None
get_endpoint_group(endpoint_group_id)[source]

Get an endpoint group.

Parameters:endpoint_group_id (string) – identity of endpoint group to retrieve
Raises :exception.NotFound
Returns:an endpoint group representation.
get_endpoint_group_in_project(endpoint_group_id, project_id)[source]

Get endpoint group to project association.

Parameters:
  • endpoint_group_id (string) – identity of endpoint group to retrieve
  • project_id (string) – identity of project to associate
Raises :

exception.NotFound

Returns:

a project endpoint group representation.

list_endpoint_groups()[source]

List all endpoint groups.

Raises :exception.NotFound
Returns:None.
list_endpoint_groups_for_project(project_id)[source]

List all endpoint group to project associations for a project.

Parameters:project_id (string) – identity of project to associate
Raises :exception.NotFound
Returns:None.
list_endpoints_for_project(project_id)[source]

List all endpoints associated with a project.

Parameters:project_id (string) – identity of the project to check
Returns:a list of identity endpoint ids or an empty list.
list_projects_associated_with_endpoint_group(endpoint_group_id)[source]

List all projects associated with endpoint group.

Parameters:endpoint_group_id (string) – identity of endpoint to associate
Raises :exception.NotFound
Returns:None.
list_projects_for_endpoint(endpoint_id)[source]

List all projects associated with an endpoint.

Parameters:endpoint_id (string) – identity of endpoint to check
Returns:a list of projects or an empty list.
remove_endpoint_from_project(endpoint_id, project_id)[source]

Removes an endpoint to project association.

Parameters:
  • endpoint_id (string) – identity of endpoint to remove
  • project_id (string) – identity of the project associated with
Raises :

exception.NotFound

Returns:

None.

remove_endpoint_group_from_project(endpoint_group_id, project_id)[source]

Remove an endpoint to project association.

Parameters:
  • endpoint_group_id (string) – identity of endpoint to associate
  • project_id (string) – identity of project to associate
Raises :

exception.NotFound

Returns:

None.

update_endpoint_group(endpoint_group_id, endpoint_group)[source]

Update an endpoint group.

Parameters:
  • endpoint_group_id (string) – identity of endpoint group to retrieve
  • endpoint_group (dictionary) – A full or partial endpoint_group
Raises :

exception.NotFound

Returns:

an endpoint group representation.

class keystone.contrib.endpoint_filter.core.Manager(*args, **kwargs)[source]

Bases: keystone.common.manager.Manager

Default pivot point for the Endpoint Filter backend.

See keystone.common.manager.Manager for more details on how this dynamically calls the backend.

routers Module

schema Module

Table Of Contents

Previous topic

ec2 Package

Next topic

backends Package

This Page