The hosts admin extension.
Bases: nova.api.openstack.xmlutil.TemplateBuilder
Bases: object
The Hosts API controller for the OpenStack API.
Returns: | A dict in the format: |
---|
‘service’: ‘cells’},
Shows the physical/usage resource given by hosts.
Parameters: | id – hostname |
---|---|
Returns: | expected to use HostShowTemplate.
ex.:{'host': {'resource':D},..}
D: {'host': 'hostname','project': 'admin',
'cpu': 1, 'memory_mb': 2048, 'disk_gb': 30}
|
Parameters: | body – example format {‘status’: ‘enable’, ‘maintenance_mode’: ‘enable’} |
---|---|
Returns: |
Bases: nova.api.openstack.xmlutil.TemplateBuilder
Bases: nova.api.openstack.xmlutil.TemplateBuilder
Bases: nova.api.openstack.wsgi.XMLDeserializer
Bases: nova.api.openstack.xmlutil.TemplateBuilder