Set external ID for nsxvswitch bridge to "nsx-managed"

For the nsxvswitch bridge to connect to the NSX controller, 
we need to set the external ID to "nsx-managed"

Change-Id: Ifa948e461ee71a33c13f17ff6a66130935775d32
This commit is contained in:
Ben Lin 2015-10-06 10:19:52 -07:00
parent 0c4652bede
commit 6d6a86653f

View File

@ -29,6 +29,7 @@ source $TOP_DIR/lib/neutron_plugins/ovs_base
function setup_integration_bridge { function setup_integration_bridge {
_neutron_ovs_base_setup_bridge $OVS_BRIDGE _neutron_ovs_base_setup_bridge $OVS_BRIDGE
sudo ovs-vsctl set-manager tcp:127.0.0.1:6632 sudo ovs-vsctl set-manager tcp:127.0.0.1:6632
sudo ovs-vsctl set bridge $OVS_BRIDGE external_ids:bridge-id=nsx-managed
} }
function is_neutron_ovs_base_plugin { function is_neutron_ovs_base_plugin {