Update floating ip pool range

asked 2015-05-13 13:44:22 -0600

capzulu gravatar image

I need to add more floating IPs to the external network pool, but I don't want to mess with the already allocated floating IPs.

It's possible to add more floating IPs to the external network pool without deleting it or deallocate the already allocated floating IPs?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-13 14:50:54 -0600

updated 2015-05-13 15:13:23 -0600

To add ( - to already existing pool for subnet external (

# . keystonerc_admin
# neutron subnet-update external --allocation-pools start=,end=

in case only :-

# neutron subnet-update external --allocation-pools start=,end=

Per http://samos-it.com/posts/neutron-mul...
Via Neutron API:-

import logging
from neutronclient.neutron import client

auth_url = ""

neutron = client.Client('2.0', username="admin", password="password", tenant_name="admin", auth_url=auth_url)

print "".join(neutron.list_subnets())

req = {"subnet": {"allocation_pools": [{"start": "", "end": ""}, {"start": "", "end": ""}, {"start": "", "end": ""}]}}

neutron.update_subnet("d5d48930-7bfb-4f0c-8968-13f8af785868", req)
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2015-05-13 13:44:22 -0600

Seen: 940 times

Last updated: May 13 '15