NSXv3: Allow running devstack without installing OVS on it

A devstack user may choose whether to install OVS on the devstack node
or not, this is applicable since not every devstack node must also serve
as a compute node.
Change-Id: If6e9ee120ce8612ed23008240e6746d1dde54cbd
This commit is contained in:
Roey Chen 2017-01-02 02:21:04 -08:00 committed by garyk
parent 46bb008738
commit c2674df60b
1 changed files with 4 additions and 2 deletions

View File

@ -70,8 +70,10 @@ function setup_integration_bridge {
}
function is_neutron_ovs_base_plugin {
# NSX uses OVS, but not the l3-agent
return 0
# This allows the deployer to decide whether devstack should install OVS.
# By default, we install OVS, to change this behavior add "OVS_BASE=1" to your localrc file.
# Note: Any KVM compute must have OVS installed on it.
return ${OVS_BASE:-0}
}
function neutron_plugin_create_nova_conf {