cinder.api.v3.router module¶
WSGI middleware for OpenStack Volume API.
- class APIRouter(ext_mgr=None)¶
Bases:
RouterRoutes requests on the API to the appropriate controller and method.
- classmethod factory(global_config, **local_config)¶
Simple paste factory.
oslo_service.wsgi.Routerdoesn’t have this.
- class ProjectMapper(controller_scan=<function controller_scan>, directory=None, always_scan=False, register=True, explicit=True)¶
Bases:
APIMapper- resource(member_name, collection_name, **kwargs)¶
Base resource path handler
This method is compatible with resource paths that include a project_id and those that don’t. Including project_id in the URLs was a legacy API requirement; and making API requests against such endpoints won’t work for users that don’t belong to a particular project.