Ask Your Question

How many floating IPs are available ?

asked 2015-01-27 09:40:26 -0500


does anyone know a CLI command for openstack administrator to count how many floating IPs are available in a ext_net subnet ?

Thank you,


edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2015-01-27 11:58:02 -0500

Ashish31 gravatar image

Try the command "neutron subnet-list" and than probably you can parse the output.

edit flag offensive delete link more

answered 2015-01-27 12:22:03 -0500

Thank you for your replies but I know "floatingip-list" command. :) I need a command that take in input a subnet_id and neutron 3 info: (total_ip,allocated_ip,free_ip)


edit flag offensive delete link more



No such command available . you can write a shell script to do it .

sfcloudman gravatar imagesfcloudman ( 2015-01-27 22:21:48 -0500 )edit

I'm working to make it. :)

salvorapi gravatar imagesalvorapi ( 2015-01-28 02:05:07 -0500 )edit

answered 2015-01-27 12:17:42 -0500

neutron floatingip-list to get a list of all FIPs that have been reserved but you need to know what size subnet you allocated to the FIP range to figure out how many are left.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-01-27 09:40:26 -0500

Seen: 111 times

Last updated: Jan 27 '15