Hosts
host interface (1.1 extension).
-
class novaclient.v2.hosts.Host(manager, info, loaded=False)
Bases: novaclient.openstack.common.apiclient.base.Resource
Populate and bind to a manager.
Parameters: |
- manager – BaseManager object
- info – dictionary representing resource attributes
- loaded – prevent lazy-loading if set to True
|
-
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.
-
list(zone=None)
-
list_all(zone=None)
-
resource_class
alias of Host
-
update(host, values)
Update status or maintenance mode for the host.