|
|
@@ -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 |
|
|
|