|
...
|
...
|
@@ -1294,17 +1294,6 @@ function _neutron_configure_router_v6 {
|
|
1294
|
1294
|
IPV6_ROUTER_GW_IP=`neutron port-list -c fixed_ips | grep $ipv6_pub_subnet_id | awk -F '"' -v subnet_id=$ipv6_pub_subnet_id '$4 == subnet_id { print $8; }'`
|
|
1295
|
1295
|
die_if_not_set $LINENO IPV6_ROUTER_GW_IP "Failure retrieving IPV6_ROUTER_GW_IP"
|
|
1296
|
1296
|
|
|
1297
|
|
- # The ovs_base_configure_l3_agent function flushes the public
|
|
1298
|
|
- # bridge's ip addresses, so turn IPv6 support in the host off
|
|
1299
|
|
- # and then on to recover the public bridge's link local address
|
|
1300
|
|
- sudo sysctl -w net.ipv6.conf.${PUBLIC_BRIDGE}.disable_ipv6=1
|
|
1301
|
|
- sudo sysctl -w net.ipv6.conf.${PUBLIC_BRIDGE}.disable_ipv6=0
|
|
1302
|
|
- if ! ip -6 addr show dev $PUBLIC_BRIDGE | grep 'scope global'; then
|
|
1303
|
|
- # Create an IPv6 ULA address for PUBLIC_BRIDGE if one is not present
|
|
1304
|
|
- IPV6_BRIDGE_ULA=`uuidgen | sed s/-//g | cut -c 23- | sed -e "s/\(..\)\(....\)\(....\)/\1:\2:\3/"`
|
|
1305
|
|
- sudo ip -6 addr add fd$IPV6_BRIDGE_ULA::1 dev $PUBLIC_BRIDGE
|
|
1306
|
|
- fi
|
|
1307
|
|
-
|
|
1308
|
1297
|
if is_neutron_ovs_base_plugin && [[ "$Q_USE_NAMESPACE" = "True" ]]; then
|
|
1309
|
1298
|
local ext_gw_interface=$(_neutron_get_ext_gw_interface)
|
|
1310
|
1299
|
local ipv6_cidr_len=${IPV6_PUBLIC_RANGE#*/}
|