Merge "[neutron] Properly create ovs bridges in mappings for DPDK"
This commit is contained in:
commit
44fbb5e60e
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Neutron
|
||||
name: neutron
|
||||
version: 0.3.39
|
||||
version: 0.3.40
|
||||
home: https://docs.openstack.org/neutron/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png
|
||||
sources:
|
||||
|
@ -427,12 +427,16 @@ for bmap in `sed 's/[{}"]//g' /tmp/auto_bridge_add | tr "," "\n"`
|
||||
do
|
||||
bridge=${bmap%:*}
|
||||
iface=${bmap#*:}
|
||||
ovs-vsctl --no-wait --may-exist add-br $bridge
|
||||
if [[ "${DPDK_ENABLED}" == "true" ]]; then
|
||||
ovs-vsctl --db=unix:${OVS_SOCKET} --may-exist add-br $bridge -- set bridge $bridge datapath_type=netdev
|
||||
else
|
||||
ovs-vsctl --db=unix:${OVS_SOCKET} --may-exist add-br $bridge
|
||||
fi
|
||||
if [ -n "$iface" ] && [ "$iface" != "null" ] && ( ip link show $iface 1>/dev/null 2>&1 );
|
||||
then
|
||||
ovs-vsctl --no-wait --may-exist add-port $bridge $iface
|
||||
ovs-vsctl --db=unix:${OVS_SOCKET} --may-exist add-port $bridge $iface
|
||||
migrate_ip_from_nic $iface $bridge
|
||||
if [[ $(get_dpdk_config_value ${DPDK_CONFIG} '.enabled') != "true" ]]; then
|
||||
if [[ "${DPDK_ENABLED}" != "true" ]]; then
|
||||
ip link set dev $iface up
|
||||
fi
|
||||
fi
|
||||
|
@ -81,4 +81,5 @@ neutron:
|
||||
- 0.3.37 Proper chown /run/openvswitch/db.sock under OVN
|
||||
- 0.3.38 Add 2024.1 overrides
|
||||
- 0.3.39 Ensure that the script handles cases where the PID file exists but is empty or does not contain the expected data structure.
|
||||
- 0.3.40 Fix ovs bridge creation in mappings for DPDK
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user