The hosts admin extension.
Bases: nova.api.openstack.wsgi.Controller
The Hosts API controller for the OpenStack API.
Returns a dict in the format
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}
 | 
Return booleanized version of body dict.
| Parameters: | 
  | 
|---|---|
| Returns: | Same dict as body but ‘enable’ strings for ‘status’ and ‘maintenance_mode’ are converted into True, else False.  | 
| Return type: | dict  |