From c2674df60b272eec1f14787efd788953e8063ced Mon Sep 17 00:00:00 2001 From: Roey Chen Date: Mon, 2 Jan 2017 02:21:04 -0800 Subject: [PATCH] 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 --- devstack/lib/vmware_nsx_v3 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/devstack/lib/vmware_nsx_v3 b/devstack/lib/vmware_nsx_v3 index 364b2c5488..16305b72d4 100644 --- a/devstack/lib/vmware_nsx_v3 +++ b/devstack/lib/vmware_nsx_v3 @@ -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 {