The hosts admin extension.
Bases: object
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}
 | 
Updates a specified body.
| Parameters: | body – example format {‘status’: ‘enable’, ‘maintenance_mode’: ‘enable’} | 
|---|