From db1be0d9183fc700344f4938f182aacc61cc4ca9 Mon Sep 17 00:00:00 2001 From: Thomas Bridge Date: Thu, 2 Sep 2021 16:28:10 +0100 Subject: [PATCH 1/2] Fixing the issue with the updated json output in newer versions of NXOS. --- napalm/nxos_ssh/nxos_ssh.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/napalm/nxos_ssh/nxos_ssh.py b/napalm/nxos_ssh/nxos_ssh.py index cfa2ddccf..6a07560e7 100644 --- a/napalm/nxos_ssh/nxos_ssh.py +++ b/napalm/nxos_ssh/nxos_ssh.py @@ -1534,7 +1534,11 @@ def get_vlans(self): for vlan in vlan_table_raw: if "vlanshowplist-ifidx" not in vlan.keys(): vlan["vlanshowplist-ifidx"] = [] - vlans[vlan["vlanshowbr-vlanid"]] = { + if "vlanshowbr-vlanid-utf" in vlan.keys(): + vlan_number = vlan["vlanshowbr-vlanid-utf"] + else: + vlan_number = vlan["vlanshowbr-vlanid"] + vlans[vlan_number] = { "name": vlan["vlanshowbr-vlanname"], "interfaces": self._parse_vlan_ports(vlan["vlanshowplist-ifidx"]), } From f3f8788b97e03d0d7f5ce6cb85af6c5733f9a36e Mon Sep 17 00:00:00 2001 From: Thomas Bridge Date: Thu, 14 Oct 2021 13:03:32 +0100 Subject: [PATCH 2/2] Tests to cover the cases identified in #1489 --- .../issue_1490_noutf/expected_result.json | 601 ++++++++++++++++++ .../show_vlan_brief___json.txt | 230 +++++++ .../issue_1490_utf/expected_result.json | 601 ++++++++++++++++++ .../issue_1490_utf/show_vlan_brief___json.txt | 261 ++++++++ 4 files changed, 1693 insertions(+) create mode 100644 test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_noutf/expected_result.json create mode 100644 test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_noutf/show_vlan_brief___json.txt create mode 100644 test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_utf/expected_result.json create mode 100644 test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_utf/show_vlan_brief___json.txt diff --git a/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_noutf/expected_result.json b/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_noutf/expected_result.json new file mode 100644 index 000000000..306d83d02 --- /dev/null +++ b/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_noutf/expected_result.json @@ -0,0 +1,601 @@ +{ + "1": { + "name": "default", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/15", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "161": { + "name": "Vlan161", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel34", + "Port-channel35", + "Port-channel36", + "Port-channel37", + "Port-channel38", + "Port-channel39", + "Port-channel40", + "Port-channel41", + "Port-channel42", + "Port-channel43", + "Port-channel100", + "Ethernet1/4", + "Ethernet1/5", + "Ethernet1/6", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/12", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/31", + "Ethernet1/32", + "Ethernet1/33", + "Ethernet1/35", + "Ethernet1/36", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "177": { + "name": "Vlan177", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "185": { + "name": "Vlan185", + "interfaces": [ + "Port-channel12", + "Port-channel26", + "Port-channel27", + "Port-channel28", + "Port-channel29", + "Port-channel34", + "Port-channel35", + "Port-channel37", + "Port-channel40", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/6", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/25", + "Ethernet1/26", + "Ethernet1/27", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/30", + "Ethernet1/31", + "Ethernet1/33", + "Ethernet1/36", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "186": { + "name": "Vlan186", + "interfaces": [ + "Port-channel12", + "Port-channel34", + "Port-channel35", + "Port-channel37", + "Port-channel40", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/6", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/31", + "Ethernet1/33", + "Ethernet1/36", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "187": { + "name": "Vlan187", + "interfaces": [ + "Port-channel12", + "Port-channel34", + "Port-channel35", + "Port-channel37", + "Port-channel40", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/6", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/31", + "Ethernet1/33", + "Ethernet1/36", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "188": { + "name": "Vlan188", + "interfaces": [ + "Port-channel12", + "Port-channel34", + "Port-channel35", + "Port-channel37", + "Port-channel40", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/6", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/31", + "Ethernet1/33", + "Ethernet1/36", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "189": { + "name": "Vlan189", + "interfaces": [ + "Port-channel12", + "Port-channel30", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/34", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "190": { + "name": "Vlan190", + "interfaces": [ + "Port-channel12", + "Port-channel36", + "Port-channel38", + "Port-channel39", + "Port-channel100", + "Ethernet1/4", + "Ethernet1/5", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/35", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "191": { + "name": "Vlan191", + "interfaces": [ + "Port-channel12", + "Port-channel36", + "Port-channel38", + "Port-channel39", + "Port-channel100", + "Ethernet1/4", + "Ethernet1/5", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/35", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "195": { + "name": "Vlan195", + "interfaces": [ + "Port-channel12", + "Port-channel34", + "Port-channel35", + "Port-channel37", + "Port-channel40", + "Port-channel100", + "Ethernet1/6", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/31", + "Ethernet1/33", + "Ethernet1/36", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "331": { + "name": "Vlan331", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1100": { + "name": "Vlan1100", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel31", + "Port-channel32", + "Port-channel33", + "Port-channel44", + "Port-channel45", + "Port-channel46", + "Port-channel100", + "Ethernet1/1", + "Ethernet1/2", + "Ethernet1/3", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/9", + "Ethernet1/10", + "Ethernet1/11", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1101": { + "name": "Vlan1101", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1102": { + "name": "Vlan1102", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1103": { + "name": "Vlan1103", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1104": { + "name": "Vlan1104", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1105": { + "name": "Vlan1105", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1106": { + "name": "Vlan1106", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1107": { + "name": "Vlan1107", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1108": { + "name": "Vlan1108", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1109": { + "name": "Vlan1109", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1110": { + "name": "Vlan1110", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1111": { + "name": "Vlan1111", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1112": { + "name": "Vlan1112", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1113": { + "name": "Vlan1113", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1114": { + "name": "Vlan1114", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1115": { + "name": "Vlan1115", + "interfaces": [""] + }, + "1116": { + "name": "Vlan1116", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1117": { + "name": "Vlan1117", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1118": { + "name": "Vlan1118", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1119": { + "name": "Vlan1119", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + } +} diff --git a/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_noutf/show_vlan_brief___json.txt b/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_noutf/show_vlan_brief___json.txt new file mode 100644 index 000000000..747f95113 --- /dev/null +++ b/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_noutf/show_vlan_brief___json.txt @@ -0,0 +1,230 @@ +{ + "TABLE_vlanbriefxbrief": { + "ROW_vlanbriefxbrief": [ + { + "vlanshowbr-vlanid": "1", + "vlanshowbr-vlanname": "default", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/15,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "161", + "vlanshowbr-vlanname": "Vlan161", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel34,port-channel35,port-channel36,port-channel37,port-channel38,port-channel39,port-channel40,port-channel41,port-channel42,port-channel43,port-channel100,Ethernet1/4,Ethernet1/5,Ethernet1/6,Ethernet1/7,Ethernet1/8,Ethernet1/12,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/31,Ethernet1/32,Ethernet1/33,Ethernet1/35,Ethernet1/36,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "177", + "vlanshowbr-vlanname": "Vlan177", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "185", + "vlanshowbr-vlanname": "Vlan185", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel26,port-channel27,port-channel28,port-channel29,port-channel34,port-channel35,port-channel37,port-channel40,port-channel41,port-channel42,port-channel100,Ethernet1/6,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/25,Ethernet1/26,Ethernet1/27,Ethernet1/28,Ethernet1/29,Ethernet1/30,Ethernet1/31,Ethernet1/33,Ethernet1/36,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "186", + "vlanshowbr-vlanname": "Vlan186", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel34,port-channel35,port-channel37,port-channel40,port-channel41,port-channel42,port-channel100,Ethernet1/6,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/31,Ethernet1/33,Ethernet1/36,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "187", + "vlanshowbr-vlanname": "Vlan187", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel34,port-channel35,port-channel37,port-channel40,port-channel41,port-channel42,port-channel100,Ethernet1/6,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/31,Ethernet1/33,Ethernet1/36,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "188", + "vlanshowbr-vlanname": "Vlan188", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel34,port-channel35,port-channel37,port-channel40,port-channel41,port-channel42,port-channel100,Ethernet1/6,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/31,Ethernet1/33,Ethernet1/36,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "189", + "vlanshowbr-vlanname": "Vlan189", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel30,port-channel41,port-channel42,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/34,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "190", + "vlanshowbr-vlanname": "Vlan190", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel36,port-channel38,port-channel39,port-channel100,Ethernet1/4,Ethernet1/5,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/35,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "191", + "vlanshowbr-vlanname": "Vlan191", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel36,port-channel38,port-channel39,port-channel100,Ethernet1/4,Ethernet1/5,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/35,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "195", + "vlanshowbr-vlanname": "Vlan195", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel34,port-channel35,port-channel37,port-channel40,port-channel100,Ethernet1/6,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/31,Ethernet1/33,Ethernet1/36,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "331", + "vlanshowbr-vlanname": "Vlan331", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel41,port-channel42,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1100", + "vlanshowbr-vlanname": "Vlan1100", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel31,port-channel32,port-channel33,port-channel44,port-channel45,port-channel46,port-channel100,Ethernet1/1,Ethernet1/2,Ethernet1/3,Ethernet1/7,Ethernet1/8,Ethernet1/9,Ethernet1/10,Ethernet1/11,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1101", + "vlanshowbr-vlanname": "Vlan1101", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1102", + "vlanshowbr-vlanname": "Vlan1102", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1103", + "vlanshowbr-vlanname": "Vlan1103", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1104", + "vlanshowbr-vlanname": "Vlan1104", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1105", + "vlanshowbr-vlanname": "Vlan1105", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1106", + "vlanshowbr-vlanname": "Vlan1106", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1107", + "vlanshowbr-vlanname": "Vlan1107", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1108", + "vlanshowbr-vlanname": "Vlan1108", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1109", + "vlanshowbr-vlanname": "Vlan1109", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1110", + "vlanshowbr-vlanname": "Vlan1110", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1111", + "vlanshowbr-vlanname": "Vlan1111", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1112", + "vlanshowbr-vlanname": "Vlan1112", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1113", + "vlanshowbr-vlanname": "Vlan1113", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1114", + "vlanshowbr-vlanname": "Vlan1114", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1115", + "vlanshowbr-vlanid-utf": "1115", + "vlanshowbr-vlanname": "Vlan1115", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown" + }, + { + "vlanshowbr-vlanid": "1116", + "vlanshowbr-vlanname": "Vlan1116", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1117", + "vlanshowbr-vlanname": "Vlan1117", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1118", + "vlanshowbr-vlanname": "Vlan1118", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1119", + "vlanshowbr-vlanname": "Vlan1119", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + } + ] + } +} diff --git a/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_utf/expected_result.json b/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_utf/expected_result.json new file mode 100644 index 000000000..306d83d02 --- /dev/null +++ b/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_utf/expected_result.json @@ -0,0 +1,601 @@ +{ + "1": { + "name": "default", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/15", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "161": { + "name": "Vlan161", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel34", + "Port-channel35", + "Port-channel36", + "Port-channel37", + "Port-channel38", + "Port-channel39", + "Port-channel40", + "Port-channel41", + "Port-channel42", + "Port-channel43", + "Port-channel100", + "Ethernet1/4", + "Ethernet1/5", + "Ethernet1/6", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/12", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/31", + "Ethernet1/32", + "Ethernet1/33", + "Ethernet1/35", + "Ethernet1/36", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "177": { + "name": "Vlan177", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "185": { + "name": "Vlan185", + "interfaces": [ + "Port-channel12", + "Port-channel26", + "Port-channel27", + "Port-channel28", + "Port-channel29", + "Port-channel34", + "Port-channel35", + "Port-channel37", + "Port-channel40", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/6", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/25", + "Ethernet1/26", + "Ethernet1/27", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/30", + "Ethernet1/31", + "Ethernet1/33", + "Ethernet1/36", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "186": { + "name": "Vlan186", + "interfaces": [ + "Port-channel12", + "Port-channel34", + "Port-channel35", + "Port-channel37", + "Port-channel40", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/6", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/31", + "Ethernet1/33", + "Ethernet1/36", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "187": { + "name": "Vlan187", + "interfaces": [ + "Port-channel12", + "Port-channel34", + "Port-channel35", + "Port-channel37", + "Port-channel40", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/6", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/31", + "Ethernet1/33", + "Ethernet1/36", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "188": { + "name": "Vlan188", + "interfaces": [ + "Port-channel12", + "Port-channel34", + "Port-channel35", + "Port-channel37", + "Port-channel40", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/6", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/31", + "Ethernet1/33", + "Ethernet1/36", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "189": { + "name": "Vlan189", + "interfaces": [ + "Port-channel12", + "Port-channel30", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/34", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "190": { + "name": "Vlan190", + "interfaces": [ + "Port-channel12", + "Port-channel36", + "Port-channel38", + "Port-channel39", + "Port-channel100", + "Ethernet1/4", + "Ethernet1/5", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/35", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "191": { + "name": "Vlan191", + "interfaces": [ + "Port-channel12", + "Port-channel36", + "Port-channel38", + "Port-channel39", + "Port-channel100", + "Ethernet1/4", + "Ethernet1/5", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/35", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "195": { + "name": "Vlan195", + "interfaces": [ + "Port-channel12", + "Port-channel34", + "Port-channel35", + "Port-channel37", + "Port-channel40", + "Port-channel100", + "Ethernet1/6", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/31", + "Ethernet1/33", + "Ethernet1/36", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "331": { + "name": "Vlan331", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel41", + "Port-channel42", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/28", + "Ethernet1/29", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1100": { + "name": "Vlan1100", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel31", + "Port-channel32", + "Port-channel33", + "Port-channel44", + "Port-channel45", + "Port-channel46", + "Port-channel100", + "Ethernet1/1", + "Ethernet1/2", + "Ethernet1/3", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/9", + "Ethernet1/10", + "Ethernet1/11", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1101": { + "name": "Vlan1101", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1102": { + "name": "Vlan1102", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1103": { + "name": "Vlan1103", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1104": { + "name": "Vlan1104", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1105": { + "name": "Vlan1105", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1106": { + "name": "Vlan1106", + "interfaces": [ + "Port-channel12", + "Port-channel22", + "Port-channel23", + "Port-channel24", + "Port-channel25", + "Port-channel100", + "Ethernet1/7", + "Ethernet1/8", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/37", + "Ethernet1/38", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1107": { + "name": "Vlan1107", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1108": { + "name": "Vlan1108", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1109": { + "name": "Vlan1109", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1110": { + "name": "Vlan1110", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1111": { + "name": "Vlan1111", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1112": { + "name": "Vlan1112", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1113": { + "name": "Vlan1113", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1114": { + "name": "Vlan1114", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1115": { + "name": "Vlan1115", + "interfaces": [""] + }, + "1116": { + "name": "Vlan1116", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1117": { + "name": "Vlan1117", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1118": { + "name": "Vlan1118", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + }, + "1119": { + "name": "Vlan1119", + "interfaces": [ + "Port-channel12", + "Port-channel100", + "Ethernet1/21", + "Ethernet1/22", + "Ethernet1/23", + "Ethernet1/24", + "Ethernet1/47", + "Ethernet1/48" + ] + } +} diff --git a/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_utf/show_vlan_brief___json.txt b/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_utf/show_vlan_brief___json.txt new file mode 100644 index 000000000..f92ed3064 --- /dev/null +++ b/test/nxos_ssh/mocked_data/test_get_vlans/issue_1490_utf/show_vlan_brief___json.txt @@ -0,0 +1,261 @@ +{ + "TABLE_vlanbriefxbrief": { + "ROW_vlanbriefxbrief": [ + { + "vlanshowbr-vlanid": "16777216", + "vlanshowbr-vlanid-utf": "1", + "vlanshowbr-vlanname": "default", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/15,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "2701131776", + "vlanshowbr-vlanid-utf": "161", + "vlanshowbr-vlanname": "Vlan161", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel34,port-channel35,port-channel36,port-channel37,port-channel38,port-channel39,port-channel40,port-channel41,port-channel42,port-channel43,port-channel100,Ethernet1/4,Ethernet1/5,Ethernet1/6,Ethernet1/7,Ethernet1/8,Ethernet1/12,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/31,Ethernet1/32,Ethernet1/33,Ethernet1/35,Ethernet1/36,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "29695672732", + "vlanshowbr-vlanid-utf": "177", + "vlanshowbr-vlanname": "Vlan177", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "3103784960", + "vlanshowbr-vlanid-utf": "185", + "vlanshowbr-vlanname": "Vlan185", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel26,port-channel27,port-channel28,port-channel29,port-channel34,port-channel35,port-channel37,port-channel40,port-channel41,port-channel42,port-channel100,Ethernet1/6,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/25,Ethernet1/26,Ethernet1/27,Ethernet1/28,Ethernet1/29,Ethernet1/30,Ethernet1/31,Ethernet1/33,Ethernet1/36,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "3120562176", + "vlanshowbr-vlanid-utf": "186", + "vlanshowbr-vlanname": "Vlan186", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel34,port-channel35,port-channel37,port-channel40,port-channel41,port-channel42,port-channel100,Ethernet1/6,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/31,Ethernet1/33,Ethernet1/36,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "3137338392", + "vlanshowbr-vlanid-utf": "187", + "vlanshowbr-vlanname": "Vlan187", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel34,port-channel35,port-channel37,port-channel40,port-channel41,port-channel42,port-channel100,Ethernet1/6,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/31,Ethernet1/33,Ethernet1/36,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "3154116608", + "vlanshowbr-vlanid-utf": "188", + "vlanshowbr-vlanname": "Vlan188", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel34,port-channel35,port-channel37,port-channel40,port-channel41,port-channel42,port-channel100,Ethernet1/6,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/31,Ethernet1/33,Ethernet1/36,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "3170893824", + "vlanshowbr-vlanid-utf": "189", + "vlanshowbr-vlanname": "Vlan189", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel30,port-channel41,port-channel42,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/34,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "3187671040", + "vlanshowbr-vlanid-utf": "190", + "vlanshowbr-vlanname": "Vlan190", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel36,port-channel38,port-channel39,port-channel100,Ethernet1/4,Ethernet1/5,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/35,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "3204448256", + "vlanshowbr-vlanid-utf": "191", + "vlanshowbr-vlanname": "Vlan191", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel36,port-channel38,port-channel39,port-channel100,Ethernet1/4,Ethernet1/5,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/35,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "3271557120", + "vlanshowbr-vlanid-utf": "195", + "vlanshowbr-vlanname": "Vlan195", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel34,port-channel35,port-channel37,port-channel40,port-channel100,Ethernet1/6,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/31,Ethernet1/33,Ethernet1/36,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "5553258496", + "vlanshowbr-vlanid-utf": "331", + "vlanshowbr-vlanname": "Vlan331", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel41,port-channel42,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/28,Ethernet1/29,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1275330560", + "vlanshowbr-vlanid-utf": "1100", + "vlanshowbr-vlanname": "Vlan1100", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel31,port-channel32,port-channel33,port-channel44,port-channel45,port-channel46,port-channel100,Ethernet1/1,Ethernet1/2,Ethernet1/3,Ethernet1/7,Ethernet1/8,Ethernet1/9,Ethernet1/10,Ethernet1/11,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1292107776", + "vlanshowbr-vlanid-utf": "1101", + "vlanshowbr-vlanname": "Vlan1101", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1308884992", + "vlanshowbr-vlanid-utf": "1102", + "vlanshowbr-vlanname": "Vlan1102", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1325662208", + "vlanshowbr-vlanid-utf": "1103", + "vlanshowbr-vlanname": "Vlan1103", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1342439424", + "vlanshowbr-vlanid-utf": "1104", + "vlanshowbr-vlanname": "Vlan1104", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1359216640", + "vlanshowbr-vlanid-utf": "1105", + "vlanshowbr-vlanname": "Vlan1105", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1375993856", + "vlanshowbr-vlanid-utf": "1106", + "vlanshowbr-vlanname": "Vlan1106", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel22,port-channel23,port-channel24,port-channel25,port-channel100,Ethernet1/7,Ethernet1/8,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/37,Ethernet1/38,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1392771072", + "vlanshowbr-vlanid-utf": "1107", + "vlanshowbr-vlanname": "Vlan1107", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1409548288", + "vlanshowbr-vlanid-utf": "1108", + "vlanshowbr-vlanname": "Vlan1108", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1426325504", + "vlanshowbr-vlanid-utf": "1109", + "vlanshowbr-vlanname": "Vlan1109", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1443102720", + "vlanshowbr-vlanid-utf": "1110", + "vlanshowbr-vlanname": "Vlan1110", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1459879936", + "vlanshowbr-vlanid-utf": "1111", + "vlanshowbr-vlanname": "Vlan1111", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1476657152", + "vlanshowbr-vlanid-utf": "1112", + "vlanshowbr-vlanname": "Vlan1112", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1493434368", + "vlanshowbr-vlanid-utf": "1113", + "vlanshowbr-vlanname": "Vlan1113", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1510211584", + "vlanshowbr-vlanid-utf": "1114", + "vlanshowbr-vlanname": "Vlan1114", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1526988800", + "vlanshowbr-vlanid-utf": "1115", + "vlanshowbr-vlanname": "Vlan1115", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown" + }, + { + "vlanshowbr-vlanid": "1543766016", + "vlanshowbr-vlanid-utf": "1116", + "vlanshowbr-vlanname": "Vlan1116", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1560543232", + "vlanshowbr-vlanid-utf": "1117", + "vlanshowbr-vlanname": "Vlan1117", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1577320448", + "vlanshowbr-vlanid-utf": "1118", + "vlanshowbr-vlanname": "Vlan1118", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + }, + { + "vlanshowbr-vlanid": "1594097664", + "vlanshowbr-vlanid-utf": "1119", + "vlanshowbr-vlanname": "Vlan1119", + "vlanshowbr-vlanstate": "active", + "vlanshowbr-shutstate": "noshutdown", + "vlanshowplist-ifidx": "port-channel12,port-channel100,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/47,Ethernet1/48" + } + ] + } +}