Commit 8fd195b5 authored by MaksimSmile13's avatar MaksimSmile13
Browse files

Merge branch 'fix/nsn_timos_get_interfaces' into 'master'

Fix get_interfaces NSN.TIMOS

See merge request noc/noc!3245
parents 9724d249 dd48ceda
......@@ -316,6 +316,8 @@ class Script(BaseScript):
my_dict["vlan_ids"] = [int(up_tag)]
elif "*" in vlans:
my_dict["vlan_ids"] = []
elif int(vlans) == 0:
my_dict["vlan_ids"] = []
else:
my_dict["vlan_ids"] = [int(vlans)]
my_dict["subinterfaces"] = [{"name": my_dict["name"]}]
......
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