Floating_ipsΒΆ

class novaclient.v2.floating_ips.FloatingIP(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
delete()

Delete this floating 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 – The floating IP address to delete.
get(floating_ip)

Retrieve a floating IP

list()

List floating IPs

resource_class

alias of FloatingIP

Previous topic

Floating_ip_pools

Next topic

Hypervisors

Project Source

This Page