Merge "Corrected router gateway set command"

This commit is contained in:
Jenkins
2017-02-24 06:32:13 +00:00
committed by Gerrit Code Review

View File

@@ -385,7 +385,7 @@ function _neutron_configure_router_v6 {
# If the external network has not already been set as the default router # If the external network has not already been set as the default router
# gateway when configuring an IPv4 public subnet, do so now # gateway when configuring an IPv4 public subnet, do so now
if [[ "$IP_VERSION" == "6" ]]; then if [[ "$IP_VERSION" == "6" ]]; then
openstack --os-cloud devstack-admin --os-region "$REGION_NAME" set --external-gateway $EXT_NET_ID $ROUTER_ID openstack --os-cloud devstack-admin --os-region "$REGION_NAME" router set --external-gateway $EXT_NET_ID $ROUTER_ID
fi fi
# This logic is specific to using the l3-agent for layer 3 # This logic is specific to using the l3-agent for layer 3