-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
Line 307 in 5077bcc
| elif not intf.vlan.native in node_trunk: # ... native VLAN not in trunk, that's not valid |
should be
node_native = get_effective_module_attribute('vlan.native',intf=intf,link=link)
if node_native: # Does this node use native VLAN?
if not node_trunk: # ... no trunk data for this node, cannot use native VLAN
log.error(
f'Node {intf.node} is using native VLAN without VLAN trunk\n... {link}',
log.IncorrectValue,
'vlan')
elif node_native not in node_trunk: # ... native VLAN not in trunk, that's not valid
in case the native vlan is set on the trunk, but not on the interface
Metadata
Metadata
Assignees
Labels
No labels