Merge "Add verification of OVS_PHYSICAL_BRIDGE"
This commit is contained in:
commit
7991780098
@ -839,6 +839,7 @@ function _move_neutron_addresses_route {
|
||||
# runs that a clean run would need to clean up
|
||||
function cleanup_neutron {
|
||||
|
||||
if [[ -n "$OVS_PHYSICAL_BRIDGE" ]]; then
|
||||
_move_neutron_addresses_route "$OVS_PHYSICAL_BRIDGE" "$PUBLIC_INTERFACE" False "inet"
|
||||
|
||||
if [[ $(ip -f inet6 a s dev "$OVS_PHYSICAL_BRIDGE" | grep -c 'global') != 0 ]]; then
|
||||
@ -852,6 +853,7 @@ function cleanup_neutron {
|
||||
done
|
||||
sudo route del -net $FIXED_RANGE gw $NETWORK_GATEWAY dev $OVS_PHYSICAL_BRIDGE
|
||||
fi
|
||||
fi
|
||||
|
||||
if is_neutron_ovs_base_plugin; then
|
||||
neutron_ovs_base_cleanup
|
||||
|
Loading…
x
Reference in New Issue
Block a user