API Endpoint¶
Cinder has a system for managing multiple APIs on different subdomains. Currently there is support for the OpenStack API.
OpenStack API¶
The openstack Module¶
WSGI middleware for OpenStack API controllers.
-
class
APIMapper(controller_scan=<function controller_scan>, directory=None, always_scan=False, register=True, explicit=True) Bases:
routes.mapper.Mapper-
connect(*args, **kwargs)
-
routematch(url=None, environ=None)
-
-
class
APIRouter(ext_mgr=None) Bases:
oslo_service.wsgi.RouterRoutes requests on the API to the appropriate controller and method.
-
ExtensionManager= None
-
classmethod
factory(global_config, **local_config) Simple paste factory,
cinder.wsgi.Routerdoesn’t have.
-
-
class
ProjectMapper(controller_scan=<function controller_scan>, directory=None, always_scan=False, register=True, explicit=True) Bases:
cinder.api.openstack.APIMapper-
resource(member_name, collection_name, **kwargs)
-