Hypervisor
TheHypervisor class provides an interface to interact with OpenStack hypervisors, allowing you to retrieve information about hypervisor hosts and the servers running on them.
Constructor
The unique identifier of the hypervisor. Either
hypervisor_id or name should be provided.The hostname of the hypervisor. Either
hypervisor_id or name should be provided.The Cloud instance to use for OpenStack operations. Defaults to a new Cloud instance.
Properties
hostname
Returns the hostname associated to this Hypervisor.
name
Returns the hostname associated to this Hypervisor. Note:
name and hostname are the same thing for this class.id
Returns the hypervisor_id associated to this Hypervisor.
status
Returns the status of this Hypervisor.
state
Returns the state of this Hypervisor.
servers
Returns the list of Servers running on this Hypervisor.