Add br-vlan-veth to the br-vlan bridge in openSUSE 43/47643/2
authorManuel Buil <mbuil@suse.com>
Wed, 22 Nov 2017 09:45:07 +0000 (10:45 +0100)
committerManuel Buil <mbuil@suse.com>
Wed, 22 Nov 2017 13:00:25 +0000 (13:00 +0000)
br-vlan-eth was created but not added to any bridge, therefore floating ips
were not working as it was impossible for the OVS in the compute to get the
ARP messages coming from the gateway of the public network

Change-Id: Ia0828b7e96359dc10012ac52bf0e5d4f2c5419cb
Signed-off-by: Manuel Buil <mbuil@suse.com>
xci/playbooks/roles/configure-network/files/network-config-suse

index 1a9f1e7..02cdd99 100755 (executable)
@@ -8,7 +8,9 @@ if [[ $INTERFACE == "br-vlan" ]]; then
         ip link add br-vlan-veth type veth peer name eth12 || true
         ip link set br-vlan-veth up
         ip link set eth12 up
+        brctl addif br-vlan br-vlan-veth
     else
+        brctl delif br-vlan br-vlan-veth
         ip link del br-vlan-veth || true
     fi
 fi