Ask Your Question
0

How many floating IPs are available ?

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

Hi,

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

Thank you,

Salvo.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

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
0

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)

Salvo.

edit flag offensive delete link more

Comments

1

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
0

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 59 times

Last updated: Jan 27 '15