Browse Source

Merge "Fixes VLAN trunk setting issue"

Zuul 1 year ago
parent
commit
893048dd2e

+ 1
- 1
networking_hyperv/neutron/trunk_driver.py View File

@@ -143,4 +143,4 @@ class HyperVTrunkDriver(trunk_rpc.TrunkSkeleton):
143 143
             vlan_id,
144 144
             port_id,
145 145
             operation_mode=op_mode,
146
-            vlan_trunk=vlan_trunk)
146
+            trunk_vlans=vlan_trunk)

+ 1
- 1
networking_hyperv/tests/unit/neutron/test_trunk_driver.py View File

@@ -145,7 +145,7 @@ class TestHyperVTrunkDriver(base.HyperVBaseTestCase):
145 145
         self.trunk_driver._utils.set_vswitch_port_vlan_id(
146 146
             mock.sentinel.vlan_id, mock.sentinel.port_id,
147 147
             operation_mode=operation_mode,
148
-            vlan_trunk=vlan_trunk)
148
+            trunk_vlans=vlan_trunk)
149 149
 
150 150
     def test_set_port_vlan_trunk_mode(self):
151 151
         self._check_set_port_vlan(mock.sentinel.vlan_trunk,

Loading…
Cancel
Save