The hosts admin extension.
Bases: cinder.api.xmlutil.TemplateBuilder
Bases: cinder.api.openstack.wsgi.Controller
The Hosts API controller for the OpenStack API.
Shows the volume usage info given by hosts.
Parameters: |
|
---|---|
Returns: | expected to use HostShowTemplate. ex.: {'host': {'resource':D},..}
D: {'host': 'hostname','project': 'admin',
'volume_count': 1, 'total_volume_gb': 2048}
|
Bases: cinder.api.openstack.wsgi.XMLDeserializer
Bases: cinder.api.xmlutil.TemplateBuilder
Bases: cinder.api.xmlutil.TemplateBuilder
Bases: cinder.api.xmlutil.TemplateBuilder
Bases: cinder.api.extensions.ExtensionDescriptor
Admin-only host administration.
Makes sure that the host exists.