Disable neutron quotas when using fake virt driver
Nova's fake virt driver, can be used to do scale testing, so when using it disable neutron's quota limits. Change-Id: I9ce995079af04202179820777217ef294df71226
This commit is contained in:
parent
17be7d5de2
commit
bee5c50766
@ -507,6 +507,15 @@ function _configure_neutron_common() {
|
||||
done
|
||||
fi
|
||||
|
||||
if [ "$VIRT_DRIVER" = 'fake' ]; then
|
||||
# Disable arbitrary limits
|
||||
iniset $NEUTRON_CONF quotas quota_network -1
|
||||
iniset $NEUTRON_CONF quotas quota_subnet -1
|
||||
iniset $NEUTRON_CONF quotas quota_port -1
|
||||
iniset $NEUTRON_CONF quotas quota_security_group -1
|
||||
iniset $NEUTRON_CONF quotas quota_security_group_rule -1
|
||||
fi
|
||||
|
||||
_neutron_setup_rootwrap
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user