Subnet pools and the quota on subnets

Bug #1472727 reported by Mohammad Banikazemi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned

Bug Description

Here is the use case I have in mind:

Want to have a quota on subnets but all subnets being created from a single subnet pool be counted as 1 against the quota.
(The newly added quota mechanism for subnet pools (or something similar to it) can coexist and be enforced along side the quota on subnets).

For example, if the Neutron quota on subnets is 1 and subnets are being created from a single subnet pool, even if there are several subnets being created, I want to allow that. Currently the Neutron quota limit will prevent creation of subnets beyond the quota even though they are from say a single subnet pool (or a number of pools that is smaller than the quota).

Tags: rfe
Revision history for this message
Carl Baldwin (carl-baldwin) wrote :

It sounds like you want to restrict the number of subnet pools a user can get subnets from. This sounds like it should be a different quota than the subnets quota.

What is the use case or motivation behind this?

Changed in neutron:
status: New → Incomplete
Revision history for this message
Mohammad Banikazemi (mb-s) wrote :

The use case is limiting the number of entries in routing tables.

I essentially want to count subnets created from a given subnet pool as one against the existing quota on number of subnets. So let's say I have a quota of 1 on number of subnets for a tenant. I want to allow the tenant to create as many subnets as he/she wants from a single subnet pool (within the limit allowed by the existing subnet pool quota). This cannot be done currently.

As you have mentioned, this is different from the current quota for subnet pools which is of value but does not provide the feature I have tried to explain here.

The feature described here cannot be satisfied by having a quota on the number of subnet pools as you are probably suggesting because if for example we add quota for subnet pools, depending on the quota on number of subnets tenants will be limited to that many subnets even though the subnets are created from the same subnet pool for example. If I put a large quota on number of subnets, since tenants are not obliged to use subnet pools, a large number of subnets can be created. If I put a small quota on number of subnets then I am limiting how many subnets from a subnet pool can be carved out. Essentially having independent quotas for subnets and subnet pools won't address the issue I have presented here.

I am not sure if I explained this well or not. If not, please let me know.

I had a quick chat with Ryan before filing this rfe where I tried to explain this feature. That conversation can be found here:
http://eavesdrop.openstack.org/irclogs/%23openstack-neutron/%23openstack-neutron.2015-07-08.log.html
starting at [17:23]

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.