Browse code

Corrected router gateway set command

While configuring the external network as the default
router gateway for IPV6 in lib/neutron_plugins/services/l3,
"router" keyword is missing in the command.

Corrected the command.

Change-Id: I055bea5137a841f709d4865ec9a43d6b53f8f4c9
Closes-Bug: 1660712

PranaliD authored on 2017/02/01 15:02:09
Showing 1 changed files
... ...
@@ -385,7 +385,7 @@ function _neutron_configure_router_v6 {
385 385
     # If the external network has not already been set as the default router
386 386
     # gateway when configuring an IPv4 public subnet, do so now
387 387
     if [[ "$IP_VERSION" == "6" ]]; then
388
-        openstack --os-cloud devstack-admin --os-region "$REGION_NAME" set --external-gateway $EXT_NET_ID $ROUTER_ID
388
+        openstack --os-cloud devstack-admin --os-region "$REGION_NAME" router set --external-gateway $EXT_NET_ID $ROUTER_ID
389 389
     fi
390 390
 
391 391
     # This logic is specific to using the l3-agent for layer 3