eos_vlans: Never try to set vlan_id as a property (#63689)
This commit is contained in:
parent
93280bd59c
commit
d98482c294
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ def generate_commands(vlan_id, to_set, to_remove):
|
|||
return ["no vlan {0}".format(vlan_id)]
|
||||
|
||||
for key, value in to_set.items():
|
||||
if value is None:
|
||||
if key == "vlan_id" or value is None:
|
||||
continue
|
||||
|
||||
commands.append("{0} {1}".format(key, value))
|
||||
|
|
Loading…
Reference in a new issue