Skip configuring integration bride on ESXi compute

Currently plugin code is trying to configute br-int has integration
bridge on esxi nova compute and stack is failing.

Change-Id: I19bf44bc92cb1a352b031e508134b9d545202c15
Co-Authored-By: Vishal Agarwal <vishala@vmware.com>
This commit is contained in:
Prashant Shetty 2017-03-13 09:22:07 +00:00 committed by garyk
parent 40f1b2dd83
commit bfa48c002b

View File

@ -80,11 +80,13 @@ function is_neutron_ovs_base_plugin {
} }
function neutron_plugin_create_nova_conf { function neutron_plugin_create_nova_conf {
# if n-cpu or octavia is enabled, then setup integration bridge if [[ "$VIRT_DRIVER" -ne 'vsphere' ]]; then
if is_service_enabled n-cpu || is_service_enabled octavia ; then # if n-cpu or octavia is enabled, then setup integration bridge
setup_integration_bridge if is_service_enabled n-cpu || is_service_enabled octavia ; then
if is_service_enabled n-cpu ; then setup_integration_bridge
iniset $NOVA_CONF neutron ovs_bridge $OVS_BRIDGE if is_service_enabled n-cpu ; then
iniset $NOVA_CONF neutron ovs_bridge $OVS_BRIDGE
fi
fi fi
fi fi
# if n-api is enabled, then setup the metadata_proxy_shared_secret # if n-api is enabled, then setup the metadata_proxy_shared_secret