Use OVS_BRIDGE variable for bridge configuration
When using devstack let the user define in the local.conf file the OVS_BRIDGE. There may be setups where the default bridge name is not 'br-int' Change-Id: I6fbe679daace9c5a8e3cbf18187cdc86492b7087
This commit is contained in:
parent
353c193600
commit
4d603cb474
|
@ -42,7 +42,7 @@ function ovs_bind_for_kubelet() {
|
|||
port_subnets=($(openstack port show "$port_id" -f value -c fixed_ips | \
|
||||
awk -F"'" '{print $4}'))
|
||||
|
||||
sudo ovs-vsctl -- --may-exist add-port br-int "$ifname" \
|
||||
sudo ovs-vsctl -- --may-exist add-port $OVS_BRIDGE "$ifname" \
|
||||
-- set Interface "$ifname" type=internal \
|
||||
-- set Interface "$ifname" external-ids:iface-status=active \
|
||||
-- set Interface "$ifname" external-ids:attached-mac="$port_mac" \
|
||||
|
|
Loading…
Reference in New Issue