mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-08 21:17:43 +03:00
M #-: Fix trunk VLAN IDs for OVS
When the VLAN range includes spaces (e.g. "1, 3 , 4 ,5") the tunk attribute for the port is not properly updated.
(cherry picked from commit 9a17e4b62d
)
This commit is contained in:
parent
a3e5f015d4
commit
bb8df9fcd8
@ -194,7 +194,7 @@ class OpenvSwitchVLAN < VNMMAD::VNMDriver
|
||||
# we need to support even older versions. We expand the
|
||||
# intervals into the list of values [x,x+1,...,y-1,y],
|
||||
# which should work for all.
|
||||
cmd = "#{ovs_vsctl_cmd} trunks=#{expand_range(range)}"
|
||||
cmd = "#{ovs_vsctl_cmd} trunks='#{expand_range(range)}'"
|
||||
run cmd
|
||||
|
||||
cmd = "#{ovs_vsctl_cmd} vlan_mode=native-untagged"
|
||||
|
Loading…
Reference in New Issue
Block a user