Thank your friends for supporting this blog, welcome to discuss the exchange, because of limited ability and time. Mistakes are unavoidable, please correct me!
assumed reprint. Please keep the author information.
Blog Address: http://blog.csdn.net/qq_21398167
Original post address: http://blog.csdn.net/qq_21398167/article/details/46620189
Floating_ips
Classnovaclient.v2.floating_ips.FLOATINGIP(
Manager,
Info,
Loaded=false)
-
Bases: Novaclient.openstack.common.apiclient.base.Resource
Populate and bind to a manager.
paramete RS: |
- Manager –basemanag Er object
- info –dictionary representing resource attributes
- load Ed –prevent lazy-loading If set to True
|
- delete ( )
-
Delete this fl Oating IP
-
-
class novaclient.v2.floating_ips. Floatingipmanager (
API )
-
Bases: novaclient.base.ManagerWithFind
- Create (
pool=none )
-
Create (allocate) a floating IP for a tenant
- Delete (
floating_ip )
-
Delete (deallocate) a floating IP for a tenant
Parameters: |
floating_ip , haven floating IP address to delete. |
- Get (
floating_ip )
-
Retrieve a floating IP
- List (
all_tenants=false )
-
List Floating IPs
- Resource_class
-
Alias of Floatingip
Hypervisors
Hypervisors Interface (1.1 extension).
-
-
class novaclient.v2.hypervisors. Hypervisor (
manager,
info,
loaded=false )
-
-
Bases: Novaclient.openstack.common.apiclient.base.Resource
Populate and bind to a manager.
parameters: |
- Manager –basemanager object< /li>
- Info –dictionary representing resource attributes
- loaded –prevent lazy-loading If set to True
|
- name_attr
= ' Hypervisor_hostname '
-
-
-
class novaclient.v2.hypervisors. Hypervisormanager (
API )
-
Bases: novaclient.base.ManagerWithFind
- Get (
hypervisor )
-
Get a specific hypervisor.
- List (
detailed=true )
-
Get a list of hypervisors.
- Resource_class
-
Alias of Hypervisor
- Search (
hypervisor_match,
servers=false )
-
Get a list of matching hypervisors.
Parameters: |
servers –if True, server information is also retrieved. |
- Statistics ( )
-
Get hypervisor statistics over all compute nodes.
Kept for backwards compatibility, new code should callhypervisor_stats.statistics () instead of hypervisors.statistics ()
- Uptime (
hypervisor )
-
Get the uptime for a specific hypervisor.
-
-
class novaclient.v2.hypervisors. Hypervisorstats (
manager,
info,
loaded=false )
-
-
Bases: Novaclient.openstack.common.apiclient.base.Resource
Populate and bind to a manager.
parameters: |
- Manager –basemanager object< /li>
- Info –dictionary representing resource attributes
- loaded –prevent lazy-loading If set to True
|
-
class novaclient.v2.hypervisors. Hypervisorstatsmanager (
API )
-
Bases: novaclient.base.Manager
- Resource_class
-
Alias of hypervisorstats
- Statistics ( )
-
Get hypervisor statistics over all compute nodes.
All Python API summaries for the Nova components hypervisors and floating_ips in OpenStack