All Python API summaries for the Nova component hypervisors, floating_ips in OpenStack

Source: Internet
Author: User

Floating_ips
Classnovaclient.v2.floating_ips.FLOATINGIP( Manager, Info, Loaded=false)

Bases: Novaclient.openstack.common.apiclient.base.Resource

Populate and bind to a manager.

parameter S:
  • Manager –basemanage R Object
  • info –dictionary representing resource attributes
  • Loade D –prevent lazy-loading if set to True
delete ( )

Delete this Flo ating 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
  • 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
  • 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 component hypervisors, floating_ips in OpenStack

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.