1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

B #5248: Attach OVS-DPDK nics

This commit is contained in:
Ruben S. Montero 2021-09-15 11:31:33 +02:00
parent d9f88f3147
commit 6f1ed41f8f
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -34,7 +34,7 @@ if [ -z "${BRIDGE}" ]; then
DEVICE+="<interface type='ethernet'>"
else
DEVICE+="<interface type='bridge'>"
if [ "${BRIDGE_TYPE}" = 'openvswitch' ]; then
if [[ "${BRIDGE_TYPE}" = openvswitch* ]]; then
DEVICE+=" <virtualport type='openvswitch'/>"
fi
DEVICE+=" <source bridge='$(xml_esc "${BRIDGE}")'/>"