Remove unsed variable is l2_interfaces.py (#61246)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
c3b1a0a7e8
commit
c61dec032c
1 changed files with 0 additions and 1 deletions
|
@ -207,7 +207,6 @@ def set_interface(want, have):
|
|||
commands.append("switchport trunk native vlan {0}".format(native_vlan))
|
||||
|
||||
allowed_vlans = want['trunk'].get("trunk_allowed_vlans")
|
||||
has_allowed = has_trunk.get("trunk_allowed_vlans")
|
||||
if allowed_vlans:
|
||||
allowed_vlans = ','.join(allowed_vlans)
|
||||
commands.append("switchport trunk allowed vlan {0}".format(allowed_vlans))
|
||||
|
|
Loading…
Reference in a new issue