summaryrefslogtreecommitdiffstats
path: root/networking-odl/devstack/override-defaults
diff options
context:
space:
mode:
Diffstat (limited to 'networking-odl/devstack/override-defaults')
-rw-r--r--networking-odl/devstack/override-defaults14
1 files changed, 3 insertions, 11 deletions
diff --git a/networking-odl/devstack/override-defaults b/networking-odl/devstack/override-defaults
index 399a528..82ec60e 100644
--- a/networking-odl/devstack/override-defaults
+++ b/networking-odl/devstack/override-defaults
@@ -3,14 +3,7 @@
# We will enable the opendaylight ML2 MechanismDriver v1 version by default.
# Note we are also enabling the logger driver, which is helpful for
# debugging things on the Neutron side.
-if [[ "$ODL_V2DRIVER" == "True" ]]
-then
- V2_POSTFIX="_v2"
-else
- V2_POSTFIX=""
-fi
-
-Q_ML2_PLUGIN_MECHANISM_DRIVERS=${Q_ML2_PLUGIN_MECHANISM_DRIVERS:-"opendaylight${V2_POSTFIX},logger"}
+Q_ML2_PLUGIN_MECHANISM_DRIVERS=${Q_ML2_PLUGIN_MECHANISM_DRIVERS:-"opendaylight,logger"}
# This triggers the provisioning of L3 resources like routers and
# external network, if not overriden.
@@ -23,11 +16,10 @@ disable_service q-agt
# If ODL_L3 is enabled, then we don't need the L3 agent and OpenDaylight
# is going to act as the ML2's L3 service plugin.
-# NETVIRT_VPNSERVICE feature enables ODL L3 by default, so ODL_L3 is disregarded.
-if [[ ",$ODL_NETVIRT_KARAF_FEATURE," =~ ",$ODL_NETVIRT_KARAF_FEATURE_VPNSERVICE," ]] || [ "$ODL_L3" == "True" ];
+if [[ "$ODL_L3" == "True" ]]
then
disable_service q-l3
- ML2_L3_PLUGIN="${ML2_L3_PLUGIN:-odl-router${V2_POSTFIX}}"
+ ML2_L3_PLUGIN="${ML2_L3_PLUGIN:-odl-router}"
fi
# [networking-feature-enabled] api-extensions