Floating_ipsΒΆ
-
class
novaclient.v2.floating_ips.FloatingIP(manager, info, loaded=False, resp=None) Bases:
novaclient.base.ResourcePopulate and bind to a manager.
Parameters: - manager – BaseManager object
- info – dictionary representing resource attributes
- loaded – prevent lazy-loading if set to True
- resp – Response or list of Response objects
-
delete() Delete this floating IP
Returns: An instance of novaclient.base.TupleWithMeta
-
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. Returns: An instance of novaclient.base.TupleWithMeta
-
get(floating_ip) Retrieve a floating IP
-
list() List floating IPs
-
resource_class alias of
FloatingIP
-