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
This commit is contained in:
parent
147a3647fe
commit
f21cc1fd96
@ -486,8 +486,7 @@ function configure_neutron {
|
||||
}
|
||||
|
||||
function create_nova_conf_neutron {
|
||||
iniset $NOVA_CONF DEFAULT network_api_class "nova.network.neutronv2.api.API"
|
||||
|
||||
iniset $NOVA_CONF DEFAULT use_neutron True
|
||||
iniset $NOVA_CONF neutron auth_type "password"
|
||||
iniset $NOVA_CONF neutron auth_url "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_AUTH_PORT/v3"
|
||||
iniset $NOVA_CONF neutron username "$Q_ADMIN_USERNAME"
|
||||
@ -502,7 +501,6 @@ function create_nova_conf_neutron {
|
||||
if [[ "$Q_USE_SECGROUP" == "True" ]]; then
|
||||
LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver
|
||||
iniset $NOVA_CONF DEFAULT firewall_driver $LIBVIRT_FIREWALL_DRIVER
|
||||
iniset $NOVA_CONF DEFAULT security_group_api neutron
|
||||
fi
|
||||
|
||||
# optionally set options in nova_conf
|
||||
|
Loading…
Reference in New Issue
Block a user