Browse code

Merge "Neutron: check if q-l3 or neutron-l3 is enabled"

Jenkins authored on 2016/06/28 06:39:08
Showing 1 changed files
... ...
@@ -289,7 +289,7 @@ function _neutron_configure_router_v4 {
289 289
     neutron --os-cloud devstack-admin --os-region "$REGION_NAME" router-gateway-set $ROUTER_ID $EXT_NET_ID
290 290
 
291 291
     # This logic is specific to using the l3-agent for layer 3
292
-    if is_service_enabled q-l3; then
292
+    if is_service_enabled q-l3 || is_service_enabled neutron-l3;  then
293 293
         # Configure and enable public bridge
294 294
         local ext_gw_interface="none"
295 295
         if is_neutron_ovs_base_plugin; then
... ...
@@ -334,7 +334,7 @@ function _neutron_configure_router_v6 {
334 334
     fi
335 335
 
336 336
     # This logic is specific to using the l3-agent for layer 3
337
-    if is_service_enabled q-l3; then
337
+    if is_service_enabled q-l3 || is_service_enabled neutron-l3; then
338 338
         # Ensure IPv6 forwarding is enabled on the host
339 339
         sudo sysctl -w net.ipv6.conf.all.forwarding=1
340 340
         # Configure and enable public bridge