Browse code

Set external ID on br-ex

This will enable Neurtron identify that the external bridge is a
Neutron bridge (this is required for bug 1192883)

Change-Id: I8ad1b0b3d93d5068beec2021abf9afbacf8c48ff

Gary Kotton authored on 2013/07/16 01:41:25
Showing 1 changed files
... ...
@@ -67,6 +67,7 @@ function _neutron_ovs_base_configure_l3_agent() {
67 67
 
68 68
     neutron-ovs-cleanup
69 69
     sudo ovs-vsctl --no-wait -- --may-exist add-br $PUBLIC_BRIDGE
70
+    sudo ovs-vsctl --no-wait br-set-external-id $PUBLIC_BRIDGE bridge-id $PUBLIC_BRIDGE
70 71
     # ensure no IP is configured on the public bridge
71 72
     sudo ip addr flush dev $PUBLIC_BRIDGE
72 73
 }