Merge "Add devstack setup_vxlan_network()"
This commit is contained in:
commit
24bc4cbd7a
@ -1621,6 +1621,15 @@ function get_ironic_node_prefix {
|
||||
echo $node_prefix
|
||||
}
|
||||
|
||||
function setup_vxlan_network {
|
||||
sudo ovs-vsctl add-port $IRONIC_VM_NETWORK_BRIDGE phy-brbm-vxlan
|
||||
sudo ovs-vsctl add-port br_ironic_vxlan phy-vxlan-brbm
|
||||
sudo ovs-vsctl set interface phy-brbm-vxlan type=patch
|
||||
sudo ovs-vsctl set interface phy-vxlan-brbm type=patch
|
||||
sudo ovs-vsctl set interface phy-vxlan-brbm options:peer=phy-brbm-vxlan
|
||||
sudo ovs-vsctl set interface phy-brbm-vxlan options:peer=phy-vxlan-brbm
|
||||
}
|
||||
|
||||
# Restore xtrace + pipefail
|
||||
$_XTRACE_IRONIC
|
||||
$_PIPEFAIL_IRONIC
|
||||
|
@ -46,6 +46,9 @@ if is_service_enabled ir-api ir-cond; then
|
||||
echo_summary "Configuring Ironic networks"
|
||||
configure_ironic_networks
|
||||
fi
|
||||
if [[ "$HOST_TOPOLOGY" == 'multinode' ]]; then
|
||||
setup_vxlan_network
|
||||
fi
|
||||
|
||||
# Start the ironic API and ironic taskmgr components
|
||||
echo_summary "Starting Ironic"
|
||||
|
Loading…
x
Reference in New Issue
Block a user