summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-24 17:04:30 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-25 10:23:53 +0000
commit74694060ac5601baf22f879e873bcd1e88c64da3 (patch)
tree848716c7abac4a91492931dada7222421c99dbef
parentd279eb748b6dbe61068b3b376e3dac1248e5071d (diff)
downloaddefinitions-74694060ac5601baf22f879e873bcd1e88c64da3.tar.gz
neutron yml don't create the bridge when br-eth0
-rw-r--r--openstack/usr/share/openstack/neutron.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/openstack/usr/share/openstack/neutron.yml b/openstack/usr/share/openstack/neutron.yml
index 0e0b3e8f..64dec4e8 100644
--- a/openstack/usr/share/openstack/neutron.yml
+++ b/openstack/usr/share/openstack/neutron.yml
@@ -132,6 +132,7 @@
- openvswitch_bridge: bridge=br-eth0 state=present
# if is not br-eth0
- openvswitch_port: bridge=br-eth0 port={{ ETH_INTERFACE }} state=present
+ when: ETH_INTERFACE != "br-eth0"
# if is not br-eth0
- shell: ovs-vsctl set bridge br-eth0 other-config:hwaddr={{ ETH_MAC_ADDRESS }}
when: ETH_INTERFACE != "br-eth0"