Skip to content

Commit 1493bde

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Stop setting route pointing back to tenant router"
2 parents 3c251b8 + df5e691 commit 1493bde

File tree

1 file changed

+0
-5
lines changed
  • lib/neutron_plugins/services

1 file changed

+0
-5
lines changed

lib/neutron_plugins/services/l3

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,11 +371,6 @@ function _neutron_configure_router_v4 {
371371
fi
372372
ROUTER_GW_IP=$(openstack --os-cloud devstack-admin --os-region "$REGION_NAME" port list -c 'Fixed IP Addresses' --device-owner network:router_gateway | awk -F'ip_address' '{ print $2 }' | cut -f2 -d\' | tr '\n' ' ')
373373
die_if_not_set $LINENO ROUTER_GW_IP "Failure retrieving ROUTER_GW_IP"
374-
local replace_range=${SUBNETPOOL_PREFIX_V4}
375-
if [[ -z "${SUBNETPOOL_V4_ID}" ]]; then
376-
replace_range=${FIXED_RANGE}
377-
fi
378-
sudo ip route replace $replace_range via $ROUTER_GW_IP
379374
fi
380375
_neutron_set_router_id
381376
fi

0 commit comments

Comments
 (0)