Use IRONIC_VM_NETWORK_BRIDGE
devstack/plugin.sh hardwires brbm as the VM bridge. Referencing ironic plugin VM variable makes more sense. Change-Id: I89fe2050bc4fd166fc8e0b649daa195091364ba2 Closes-Bug: 1641019
This commit is contained in:
parent
d2bbf3ec96
commit
ae882c5b02
@ -256,7 +256,7 @@ function prepare_environment {
|
|||||||
if [[ "$IRONIC_IS_HARDWARE" == "False" ]]; then
|
if [[ "$IRONIC_IS_HARDWARE" == "False" ]]; then
|
||||||
sudo ip link add brbm-inspector type veth peer name $IRONIC_INSPECTOR_INTERFACE
|
sudo ip link add brbm-inspector type veth peer name $IRONIC_INSPECTOR_INTERFACE
|
||||||
sudo ip link set dev brbm-inspector up
|
sudo ip link set dev brbm-inspector up
|
||||||
sudo ovs-vsctl add-port brbm brbm-inspector
|
sudo ovs-vsctl add-port $IRONIC_VM_NETWORK_BRIDGE brbm-inspector
|
||||||
fi
|
fi
|
||||||
sudo ip link set dev $IRONIC_INSPECTOR_INTERFACE up
|
sudo ip link set dev $IRONIC_INSPECTOR_INTERFACE up
|
||||||
sudo ip addr add $IRONIC_INSPECTOR_INTERNAL_IP_WITH_NET dev $IRONIC_INSPECTOR_INTERFACE
|
sudo ip addr add $IRONIC_INSPECTOR_INTERNAL_IP_WITH_NET dev $IRONIC_INSPECTOR_INTERFACE
|
||||||
|
Loading…
Reference in New Issue
Block a user