how to quota for specific subnet!

asked 2015-03-24 09:58:40 -0600

capsali gravatar image


Can i set a limit for how many ports can be added by a tenant to a specific shared subnet? But not affect the other subnets that the tenant has?

I am using openstack juno with dvr neutron. I attach instances dirrectly to the external network. I want to limit the number of ports that a client can have on the external network directly, but not affect his other internal networks!

Is this possible?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-03-24 10:50:20 -0600

So there isn't a built in option to limit the amount of ports to be used on a specific subnet, but you can maybe set up a subnet with a set amount of IP's available. I would recommend updating the subnet with something similar to this 'neutron subnet-update subnet001 --allocation-pools start=,end= --allocation-pools start=,end=' Based on the ip allocation pool you can lock down the amount of available IP's on a specific subnet.

edit flag offensive delete link more


i want a tenant to be able to attach a certain number of ports to the subnet! Your solution doesn't cut it for me! But thanks anyway!

capsali gravatar imagecapsali ( 2015-03-26 05:16:13 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-03-24 09:58:40 -0600

Seen: 167 times

Last updated: Mar 24 '15