[Openstack] Which API to use for floating IPs?
Joe Topjian
joe at topjian.net
Mon Feb 16 19:14:16 UTC 2015
Hello,
When using the APIs directly to manage instances, which API is preferable
for associating and disassociating Floating IPs?
Nova has the "os-floating-ips" extension which works for nova-network based
environments and, as far as I can tell, Neutron-based environments. All
that is required is a Floating IP and an instance ID.
It's also possible to associate a Floating IP to an instance by using the
Neutron API as well, but it seems more complex. Unless I'm mistaken, with
the Neutron API, the UUID of the Floating IP and the UUID of the Port of
the instance is required. If you also want to make sure that the port is
able to support that Floating IP, you must query further.
Given the ability to skip a good number of steps, is there a case where
using os-floating-ips to associate and disassociate Floating IPs and
instances on Neutron networks is not recommended?
Thanks,
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150216/78f95cd7/attachment.html>
More information about the Openstack
mailing list