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: keystone.server.flask.common.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: flask_restful.Resource

get(endpoint_id)[source]

“Return a list of projects associated with the endpoint.

methods: Optional[List[str]] = {'GET'}

A list of methods this view can handle.

class keystone.api.os_ep_filter.EPFilterGroupsProjectsResource[source]

Bases: keystone.server.flask.common.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: Optional[List[str]] = {'DELETE', 'GET', 'PUT'}

A list of methods this view can handle.

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

Bases: flask_restful.Resource

get(project_id)[source]
methods: Optional[List[str]] = {'GET'}

A list of methods this view can handle.

class keystone.api.os_ep_filter.EPFilterProjectsEndpointsResource[source]

Bases: flask_restful.Resource

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

A list of methods this view can handle.

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

Bases: flask_restful.Resource

get(endpoint_group_id)[source]
methods: Optional[List[str]] = {'GET'}

A list of methods this view can handle.

class keystone.api.os_ep_filter.EndpointFilterEPGroupsProjects[source]

Bases: flask_restful.Resource

get(endpoint_group_id)[source]
methods: Optional[List[str]] = {'GET'}

A list of methods this view can handle.

class keystone.api.os_ep_filter.EndpointFilterProjectEndpointGroupsListResource[source]

Bases: flask_restful.Resource

get(project_id)[source]
methods: Optional[List[str]] = {'GET'}

A list of methods this view can handle.

class keystone.api.os_ep_filter.EndpointGroupsResource[source]

Bases: keystone.server.flask.common.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: Optional[List[str]] = {'DELETE', 'GET', 'PATCH', 'POST'}

A list of methods this view can handle.

patch(endpoint_group_id)[source]
post()[source]