Commit 1374433a authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Fix type tagged ConfDB when interface discovery.

parent 68c09f79
Pipeline #22337 passed with stages
in 12 minutes and 2 seconds
......@@ -545,7 +545,7 @@ class InterfaceCheck(PolicyDiscoveryCheck):
if "untagged" in d:
unit["untagged_vlan"] = int(d["untagged"])
if "tagged" in d:
unit["tagged_vlans"] = ranges_to_list(d["tagged"])
unit["tagged_vlans"] = ranges_to_list(str(d["tagged"]))
# Flatten units
r = list(instances.values())
for fi in r:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment