Browse Source

undo as tests were not updated...

ssh-lenovo
John-Mark Gurney 2 years ago
parent
commit
55eabc2cd8
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      vlanmang/__init__.py

+ 2
- 1
vlanmang/__init__.py View File

@@ -290,8 +290,9 @@ def checkchanges(module):
switchuntagged = switch.getuntagged(*vlans)
untagged = getuntagged(i.vlanconf, lufun)
for i in vlans:
if not _cmpbits(switchegress[i], egress[i]) or not _cmpbits(switchuntagged[i], untagged[i]):
if not _cmpbits(switchegress[i], egress[i]):
res.append((switch, name, 'setegress', i, egress[i], switchegress[i]))
if not _cmpbits(switchuntagged[i], untagged[i]):
res.append((switch, name, 'setuntagged', i, untagged[i], switchuntagged[i]))

return res


Loading…
Cancel
Save