keystone.catalog.controllers module

keystone.catalog.controllers module

class keystone.catalog.controllers.EndpointFilterV3Controller[source]

Bases: keystone.common.controller.V3Controller

add_endpoint_to_project(request, *args, **kwargs)[source]

Establish an association between an endpoint and a project.

check_endpoint_in_project(request, *args, **kwargs)[source]

Verify endpoint is currently associated with given project.

list_endpoints_for_project(request, *args, **kwargs)[source]

List all endpoints currently associated with a given project.

list_projects_for_endpoint(request, *args, **kwargs)[source]

Return a list of projects associated with the endpoint.

remove_endpoint_from_project(request, *args, **kwargs)[source]

Remove the endpoint from the association with given project.

class keystone.catalog.controllers.EndpointGroupV3Controller[source]

Bases: keystone.common.controller.V3Controller

VALID_FILTER_KEYS = ['service_id', 'region_id', 'interface']
classmethod base_url(context, path=None)[source]

Construct a path and pass it to V3Controller.base_url method.

collection_name = 'endpoint_groups'
create_endpoint_group(request, *args, **kwargs)[source]

Create an Endpoint Group with the associated filters.

delete_endpoint_group(request, *args, **kwargs)[source]

Delete endpoint_group.

get_endpoint_group(request, *args, **kwargs)[source]

Retrieve the endpoint group associated with the id if exists.

list_endpoint_groups(request, *args, **kwargs)[source]

List all endpoint groups.

list_endpoint_groups_for_project(request, *args, **kwargs)[source]

List all endpoint groups associated with a given project.

list_endpoints_associated_with_endpoint_group(request, *args, **kwargs)[source]

List all the endpoints filtered by a specific endpoint group.

list_projects_associated_with_endpoint_group(request, *args, **kwargs)[source]

List all projects associated with endpoint group.

member_name = 'endpoint_group'
update_endpoint_group(request, *args, **kwargs)[source]

Update fixed values and/or extend the filters.

class keystone.catalog.controllers.EndpointV3[source]

Bases: keystone.common.controller.V3Controller

collection_name = 'endpoints'
create_endpoint(request, *args, **kwargs)[source]
delete_endpoint(request, *args, **kwargs)[source]
classmethod filter_endpoint(ref)[source]
get_endpoint(request, *args, **kwargs)[source]
list_endpoints(request, **kwargs)[source]
member_name = 'endpoint'
update_endpoint(request, *args, **kwargs)[source]
classmethod wrap_member(context, ref)[source]
class keystone.catalog.controllers.ProjectEndpointGroupV3Controller[source]

Bases: keystone.common.controller.V3Controller

add_endpoint_group_to_project(request, *args, **kwargs)[source]

Create an association between an endpoint group and project.

collection_name = 'project_endpoint_groups'
get_endpoint_group_in_project(request, *args, **kwargs)[source]

Retrieve the endpoint group associated with the id if exists.

member_name = 'project_endpoint_group'
remove_endpoint_group_from_project(request, *args, **kwargs)[source]

Remove the endpoint group from associated project.

class keystone.catalog.controllers.RegionV3[source]

Bases: keystone.common.controller.V3Controller

collection_name = 'regions'
create_region(request, *args, **kwargs)[source]
create_region_with_id(request, region_id, region)[source]

Create a region with a user-specified ID.

This method is unprotected because it depends on self.create_region to enforce policy.

delete_region(request, *args, **kwargs)[source]
get_region(request, *args, **kwargs)[source]
list_regions(request, **kwargs)[source]
member_name = 'region'
update_region(request, *args, **kwargs)[source]
class keystone.catalog.controllers.ServiceV3[source]

Bases: keystone.common.controller.V3Controller

collection_name = 'services'
create_service(request, *args, **kwargs)[source]
delete_service(request, *args, **kwargs)[source]
get_service(request, *args, **kwargs)[source]
list_services(request, **kwargs)[source]
member_name = 'service'
update_service(request, *args, **kwargs)[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.