summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2017-11-22 10:45:07 +0100
committerManuel Buil <mbuil@suse.com>2017-11-22 13:00:25 +0000
commit04d157cd1535097268da9d9441bcc411da687c85 (patch)
tree33a0e360a8061a2636583b76e1224f79da76a318
parent782379df78dd954b9746b9cfedce2c7f589a43b7 (diff)
Add br-vlan-veth to the br-vlan bridge in openSUSE
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>
-rwxr-xr-xxci/playbooks/roles/configure-network/files/network-config-suse2
1 files changed, 2 insertions, 0 deletions
diff --git a/xci/playbooks/roles/configure-network/files/network-config-suse b/xci/playbooks/roles/configure-network/files/network-config-suse
index 1a9f1e7d..02cdd998 100755
--- a/xci/playbooks/roles/configure-network/files/network-config-suse
+++ b/xci/playbooks/roles/configure-network/files/network-config-suse
@@ -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