The cinder.api.versions Module¶
- 
class 
Versions(ext_mgr=None)¶ Bases:
cinder.api.openstack.APIRouterRoute versions requests.
- 
class 
ExtensionManager¶ Bases:
objectLoad extensions from the configured extension path.
See cinder/tests/api/extensions/foxinsocks/extension.py for an example extension implementation.
- 
get_controller_extensions()¶ Returns a list of ControllerExtension objects.
- 
get_resources()¶ Returns a list of ResourceExtension objects.
- 
is_loaded(alias)¶ 
- 
load_extension(ext_factory)¶ 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.
- 
register(ext)¶ 
- 
 
- 
class 
 
- 
class 
VersionsController¶ Bases:
cinder.api.openstack.wsgi.Controller- 
all(req)¶ Return all known versions.
- 
index(req)¶ Return versions supported after the start of microversions.
- 
versioned_methods= {'index': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f873f7dbe90>, <cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f873f7dbdd0>, <cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f873f43a210>]}¶ 
- 
wsgi_actions= {}¶ 
- 
wsgi_extensions= []¶ 
- 
 
- 
create_resource()¶