Browse code

Use new use_neutron variable

This uses the new use_neutron variable instead of the crazy class
path. This helps us test the use of this in our jobs.

Change-Id: Ic6d0cc4b7a0df6b3f5336ee58886f7edff26e846
Depends-On: I1c2eb51d10ba6370492a911f59370b9870646a38

Sean Dague authored on 2016/03/05 01:08:32
Showing 1 changed files
... ...
@@ -486,8 +486,7 @@ function configure_neutron {
486 486
 }
487 487
 
488 488
 function create_nova_conf_neutron {
489
-    iniset $NOVA_CONF DEFAULT network_api_class "nova.network.neutronv2.api.API"
490
-
489
+    iniset $NOVA_CONF DEFAULT use_neutron True
491 490
     iniset $NOVA_CONF neutron auth_type "password"
492 491
     iniset $NOVA_CONF neutron auth_url "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_AUTH_PORT/v3"
493 492
     iniset $NOVA_CONF neutron username "$Q_ADMIN_USERNAME"
... ...
@@ -502,7 +501,6 @@ function create_nova_conf_neutron {
502 502
     if [[ "$Q_USE_SECGROUP" == "True" ]]; then
503 503
         LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver
504 504
         iniset $NOVA_CONF DEFAULT firewall_driver $LIBVIRT_FIREWALL_DRIVER
505
-        iniset $NOVA_CONF DEFAULT security_group_api neutron
506 505
     fi
507 506
 
508 507
     # optionally set options in nova_conf