keystone.api.os_ep_filter module

keystone.api.os_ep_filter module

class keystone.api.os_ep_filter.EPFilterAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]

Bases: APIBase

resource_mapping = [resource_map(resource=<class 'keystone.api.os_ep_filter.EPFilterEndpointProjectsResource'>, url='/endpoints/<string:endpoint_id>/projects', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/endpoint_projects', status='stable', path_vars={'endpoint_id': 'https://docs.openstack.org/api/openstack-identity/3/param/endpoint_id'})), resource_map(resource=<class 'keystone.api.os_ep_filter.EPFilterProjectsEndpointsResource'>, url='/projects/<string:project_id>/endpoints/<string:endpoint_id>', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/project_endpoint', status='stable', path_vars={'endpoint_id': 'https://docs.openstack.org/api/openstack-identity/3/param/endpoint_id', 'project_id': 'https://docs.openstack.org/api/openstack-identity/3/param/project_id'})), resource_map(resource=<class 'keystone.api.os_ep_filter.EPFilterProjectEndpointsListResource'>, url='/projects/<string:project_id>/endpoints', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/project_endpoints', status='stable', path_vars={'project_id': 'https://docs.openstack.org/api/openstack-identity/3/param/project_id'})), resource_map(resource=<class 'keystone.api.os_ep_filter.EndpointFilterProjectEndpointGroupsListResource'>, url='/projects/<string:project_id>/endpoint_groups', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/project_endpoint_groups', status='stable', path_vars={'project_id': 'https://docs.openstack.org/api/openstack-identity/3/param/project_id'})), resource_map(resource=<class 'keystone.api.os_ep_filter.EndpointFilterEPGroupsEndpoints'>, url='/endpoint_groups/<string:endpoint_group_id>/endpoints', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/endpoints_in_endpoint_group', status='stable', path_vars={'endpoint_group_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/param/endpoint_group_id'})), resource_map(resource=<class 'keystone.api.os_ep_filter.EndpointFilterEPGroupsProjects'>, url='/endpoint_groups/<string:endpoint_group_id>/projects', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/projects_associated_with_endpoint_group', status='stable', path_vars={'endpoint_group_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/param/endpoint_group_id'})), resource_map(resource=<class 'keystone.api.os_ep_filter.EPFilterGroupsProjectsResource'>, url='/endpoint_groups/<string:endpoint_group_id>/projects/<string:project_id>', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/endpoint_group_to_project_association', status='stable', path_vars={'project_id': 'https://docs.openstack.org/api/openstack-identity/3/param/project_id', 'endpoint_group_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/param/endpoint_group_id'}))]
resources = [<class 'keystone.api.os_ep_filter.EndpointGroupsResource'>]
class keystone.api.os_ep_filter.EPFilterEndpointProjectsResource[source]

Bases: Resource

get(endpoint_id)[source]

“Return a list of projects associated with the endpoint.

methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'GET'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

class keystone.api.os_ep_filter.EPFilterGroupsProjectsResource[source]

Bases: ResourceBase

collection_key = 'project_endpoint_groups'
delete(endpoint_group_id, project_id)[source]
get(endpoint_group_id, project_id)[source]
member_key = 'project_endpoint_group'
methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'DELETE', 'GET', 'PUT'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

put(endpoint_group_id, project_id)[source]
class keystone.api.os_ep_filter.EPFilterProjectEndpointsListResource[source]

Bases: Resource

get(project_id)[source]
methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'GET'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

class keystone.api.os_ep_filter.EPFilterProjectsEndpointsResource[source]

Bases: Resource

delete(project_id, endpoint_id)[source]
get(project_id, endpoint_id)[source]
methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'DELETE', 'GET', 'PUT'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

put(project_id, endpoint_id)[source]
class keystone.api.os_ep_filter.EndpointFilterEPGroupsEndpoints[source]

Bases: Resource

get(endpoint_group_id)[source]
methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'GET'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

class keystone.api.os_ep_filter.EndpointFilterEPGroupsProjects[source]

Bases: Resource

get(endpoint_group_id)[source]
methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'GET'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

class keystone.api.os_ep_filter.EndpointFilterProjectEndpointGroupsListResource[source]

Bases: Resource

get(project_id)[source]
methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'GET'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

class keystone.api.os_ep_filter.EndpointGroupsResource[source]

Bases: ResourceBase

api_prefix = '/OS-EP-FILTER'
collection_key = 'endpoint_groups'
delete(endpoint_group_id)[source]
get(endpoint_group_id=None)[source]
json_home_parameter_rel_func(*, extension_version='1.0', parameter_name)
json_home_resource_rel_func(*, extension_version='1.0', resource_name)
member_key = 'endpoint_group'
methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'POST'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

patch(endpoint_group_id)[source]
post()[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.

Page Contents