Browse code

Merge "Disable neutron quotas when using fake virt driver"

Jenkins authored on 2013/09/04 04:29:55
Showing 1 changed files
... ...
@@ -521,6 +521,15 @@ function _configure_neutron_common() {
521 521
         done
522 522
     fi
523 523
 
524
+    if [ "$VIRT_DRIVER" = 'fake' ]; then
525
+        # Disable arbitrary limits
526
+        iniset $NEUTRON_CONF quotas quota_network -1
527
+        iniset $NEUTRON_CONF quotas quota_subnet -1
528
+        iniset $NEUTRON_CONF quotas quota_port -1
529
+        iniset $NEUTRON_CONF quotas quota_security_group -1
530
+        iniset $NEUTRON_CONF quotas quota_security_group_rule -1
531
+    fi
532
+
524 533
     _neutron_setup_rootwrap
525 534
 }
526 535