cinder.api.v2.router module

cinder.api.v2.router module

WSGI middleware for OpenStack Volume API.

class APIRouter(ext_mgr=None)

Bases: cinder.api.openstack.APIRouter

Routes requests on the API to the appropriate controller and method.

class ExtensionManager

Bases: object

Load extensions from the configured extension path.

See cinder/tests/api/extensions/foxinsocks/ for an example extension implementation.


Returns a list of ControllerExtension objects.


Returns a list of ResourceExtension objects.


Execute an extension factory.

Loads an extension. The ‘ext_factory’ is the name of a callable that will be imported and called with one argument–the extension manager. The factory callable is expected to call the register() method at least once.

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.