Floating IP Managment

asked 2014-02-04 02:36:23 -0500

Rudmonster gravatar image

Is it my responsibility to track unallocated (meaning not assigned to any tenant) floating ip addresses ? To clarify I have floating IP network of . Since openstack knows this address space , is there any way through the API to query what addresses have NOT been allocated ? or do I need to track that myself ?

In the preceding I intend that allocated is "allocated to a tenant", which is different then associated which means that while it is allocated it is actually associated to an instance...(my understanding).

edit retag flag offensive close merge delete


Try nova-manage floating list. This should give you list available IP addresses.

dheeru gravatar imagedheeru ( 2014-02-04 03:52:14 -0500 )edit

Thanks for the comment ...That will only give allocated. From what I cant tell , I am going to have to manage the address space myself , which in retrospect makes sense since DHCP is done externally.

Rudmonster gravatar imageRudmonster ( 2014-02-05 18:39:48 -0500 )edit

It seems that if you can get a list of allocated address, you have what you want: list of unallocated addresses = (list of all addresses - list of allocated addresses).

larsks gravatar imagelarsks ( 2014-04-02 19:43:22 -0500 )edit