mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Fix reserved vlan check + change switchd ifupdown reserved vlan script
to return reserved vlan range from /etc/cumulus/switchd.conf Ticket: CM-4367 Reviewed By: wkok Testing Done: Tested using reserved vlans in old and new bridge
This commit is contained in:
@@ -124,7 +124,7 @@ class vlan(moduleBase):
|
||||
vlanid = self._get_vlan_id(ifaceobj)
|
||||
if vlanid == -1:
|
||||
raise Exception('could not determine vlanid')
|
||||
if self._handle_reserved_vlan(vlanid):
|
||||
if self._handle_reserved_vlan(vlanid, ifaceobj.name):
|
||||
return
|
||||
vlanrawdevice = self._get_vlan_raw_device(ifaceobj)
|
||||
if not vlanrawdevice:
|
||||
|
Reference in New Issue
Block a user