eos_vlans: Never try to set vlan_id as a property (#63689)

pull/63754/head
Nathaniel Case 5 years ago committed by GitHub
parent 93280bd59c
commit d98482c294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save