Hypervisors interface
novaclient.v2.hypervisors.
Hypervisor
(manager, info, loaded=False, resp=None)¶Bases: novaclient.base.Resource
Populate and bind to a manager.
Parameters: |
|
---|
NAME_ATTR
= 'hypervisor_hostname'¶novaclient.v2.hypervisors.
HypervisorManager
(api)¶Bases: novaclient.base.ManagerWithFind
get
(hypervisor)¶Get a specific hypervisor.
Parameters: | hypervisor – Either a Hypervisor object or an ID. Starting with microversion 2.53 the ID must be a UUID value. |
---|
is_alphanum_id_allowed
= True¶list
(detailed=True, marker=None, limit=None)¶Get a list of hypervisors.
Parameters: |
|
---|
resource_class
¶alias of Hypervisor
search
(hypervisor_match, servers=False)¶Get a list of matching hypervisors.
Parameters: |
|
---|
statistics
()¶Get hypervisor statistics over all compute nodes.
Kept for backwards compatibility, new code should call hypervisor_stats.statistics() instead of hypervisors.statistics()
uptime
(hypervisor)¶Get the uptime for a specific hypervisor.
Parameters: | hypervisor – Either a Hypervisor object or an ID. Starting with microversion 2.53 the ID must be a UUID value. |
---|
novaclient.v2.hypervisors.
HypervisorStats
(manager, info, loaded=False, resp=None)¶Bases: novaclient.base.Resource
Populate and bind to a manager.
Parameters: |
|
---|
novaclient.v2.hypervisors.
HypervisorStatsManager
(api)¶Bases: novaclient.base.Manager
resource_class
¶alias of HypervisorStats
statistics
()¶Get hypervisor statistics over all compute nodes.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.