Hosts

DEPRECATED host interface

class novaclient.v2.hosts.Host(manager, info, loaded=False, resp=None)

Bases: novaclient.base.Resource

DEPRECATED

Populate and bind to a manager.

Parameters:
  • manager – BaseManager object
  • info – dictionary representing resource attributes
  • loaded – prevent lazy-loading if set to True
  • resp – Response or list of Response objects
host_name
reboot(obj, *args, **kwargs)
shutdown(obj, *args, **kwargs)
startup(obj, *args, **kwargs)
update(obj, *args, **kwargs)
class novaclient.v2.hosts.HostManager(api)

Bases: novaclient.base.ManagerWithFind

get(obj, *args, **kwargs)

DEPRECATED Describes cpu/memory/hdd info for host.

Parameters:host – destination host name.
host_action(obj, *args, **kwargs)

DEPRECATED Perform an action on a host.

Parameters:
  • host – The host to perform an action
  • action – The action to perform
Returns:

An instance of novaclient.base.TupleWithMeta

list(obj, *args, **kwargs)
list_all(obj, *args, **kwargs)
resource_class

alias of Host

update(obj, *args, **kwargs)

DEPRECATED Update status or maintenance mode for the host.