Hi Antoine, We do not support quotas defined in neutron.conf. Our default quotas are defined in default-project and the order is (a) -> (b) and that is the correct order.
Sachin > On Oct 6, 2015, at 7:50 AM, [email protected] wrote: > > Hello, > > Default values specified by an admin in the neutron.conf file are > currently never used by the neutron quota plugin. > > For instance, suppose we want to determine the default value of the > quota 'network'. > There are four sources to get a default value, which are > (a) in the default-project, quota.network > (b) in the default-project, quota.get_defaults() > (c) in neutron.conf the variable quota_network > (d) in neutron.conf, the variable default_quota > > Currently, the resolution order is (a) -> (b) -> (c). > That means the plugin first tryies to get a value from the > 'default-project.quota.network'. If it is None, it tryies to get it from > 'default-project.quota.get_defaults()'. If it is None, it tryies to get > it from neutron.conf. > > I think it would be better to use one of the following resolution > order: > 1/ (c) -> (a) -> (d) -> (b): neutron.conf is privileged > 2/ (a) -> (c) -> (b) -> (d): default-project is privileged > > And I'd have a slight preference for the resolution order 1/. > > Antoine. > > _______________________________________________ > Dev mailing list > [email protected] > http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org _______________________________________________ Dev mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
