The nova.api.openstack.compute.legacy_v2.contrib.floating_ips
Module¶
-
class
FloatingIPActionController
(ext_mgr=None, *args, **kwargs)¶ Bases:
nova.api.openstack.wsgi.Controller
-
wsgi_actions
= {'removeFloatingIp': '_remove_floating_ip', 'addFloatingIp': '_add_floating_ip'}¶
-
wsgi_extensions
= []¶
-
-
class
FloatingIPController
¶ Bases:
object
The Floating IPs API controller for the OpenStack API.
-
create
(req, body=None)¶
-
delete
(req, id)¶
-
index
(req)¶ Return a list of floating IPs allocated to a project.
-
show
(req, id)¶ Return data about the given floating IP.
-
-
class
Floating_ips
(ext_mgr)¶ Bases:
nova.api.openstack.extensions.ExtensionDescriptor
Floating IPs support.
-
alias
= 'os-floating-ips'¶
-
get_controller_extensions
()¶
-
get_resources
()¶
-
name
= 'FloatingIps'¶
-
namespace
= 'http://docs.openstack.org/compute/ext/floating_ips/api/v1.1'¶
-
updated
= '2011-06-16T00:00:00Z'¶
-
-
disassociate_floating_ip
(self, context, instance, address)¶
-
get_instance_by_floating_ip_addr
(self, context, address)¶