Hosts
host interface (1.1 extension).
- 
class novaclient.v2.hosts.Host(manager, info, loaded=False, resp=None)
- Bases: novaclient.base.Resource - Populate and bind to a manager. - 
| Parameters: | 
manager – BaseManager objectinfo – dictionary representing resource attributesloaded – prevent lazy-loading if set to Trueresp – Response or list of Response objects | 
|---|
 
 - 
- 
host_name
 - 
- 
reboot()
 - 
- 
shutdown()
 - 
- 
startup()
 - 
- 
update(values)
 
- 
class novaclient.v2.hosts.HostManager(api)
- Bases: novaclient.base.ManagerWithFind - 
- 
get(host)
- Describes cpu/memory/hdd info for host. - 
| Parameters: | host – destination host name. | 
|---|
 
 
 - 
- 
host_action(host, action)
- Perform an action on a host. - 
| Parameters: | 
host – The host to perform an actionactiob – The action to perform | 
|---|
 
 - returns: An instance of novaclient.base.TupleWithMeta 
 - 
- 
list(zone=None)
 - 
- 
list_all(zone=None)
 - 
- 
resource_class
- alias of Host 
 - 
- 
update(host, values)
- Update status or maintenance mode for the host.