initial commit; version 22.5.12042
This commit is contained in:
4
tests/data/snmp/snmp_walk_bare_oid-1.json
Normal file
4
tests/data/snmp/snmp_walk_bare_oid-1.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"dupsIdentManufacturer": "Delta",
|
||||
"dupsIdentModel": "UPS302R2RT2B035"
|
||||
}
|
46
tests/data/snmp/snmp_walk_lldp-1.json
Normal file
46
tests/data/snmp/snmp_walk_lldp-1.json
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
"121": {
|
||||
"14": {
|
||||
"1182": {
|
||||
"lldpRemSysDesc": "Ruijie 10G Ethernet Switch(S2910-48GT4XS-E) By Ruijie Networks"
|
||||
}
|
||||
}
|
||||
},
|
||||
"120": {
|
||||
"21": {
|
||||
"2486": {
|
||||
"lldpRemSysDesc": "S5700S-52P-LI-AC"
|
||||
}
|
||||
},
|
||||
"24": {
|
||||
"1072": {
|
||||
"lldpRemSysDesc": "Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(37)SE, RELEASE SOFTWARE (fc2)"
|
||||
}
|
||||
},
|
||||
"32": {
|
||||
"1361": {
|
||||
"lldpRemSysDesc": "MikroTik RouterOS 6.40.9 (bugfix) CCR1009-8G-1S-1S+"
|
||||
}
|
||||
},
|
||||
"36": {
|
||||
"925": {
|
||||
"lldpRemSysDesc": "Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(37)SE, RELEASE SOFTWARE (fc2)"
|
||||
}
|
||||
},
|
||||
"50": {
|
||||
"2432": {
|
||||
"lldpRemSysDesc": ""
|
||||
}
|
||||
},
|
||||
"51": {
|
||||
"948": {
|
||||
"lldpRemSysDesc": "V4.10(AAGE.6) | 09\/16\/2014"
|
||||
}
|
||||
},
|
||||
"52": {
|
||||
"949": {
|
||||
"lldpRemSysDesc": "V4.10(AAGE.6) | 09\/16\/2014"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
46
tests/data/snmp/snmp_walk_lldp-2.json
Normal file
46
tests/data/snmp/snmp_walk_lldp-2.json
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
"121": {
|
||||
"14": {
|
||||
"1182": {
|
||||
"lldpRemSysDesc": "Ruijie 10G Ethernet Switch(S2910-48GT4XS-E) By Ruijie Networks"
|
||||
}
|
||||
}
|
||||
},
|
||||
"120": {
|
||||
"21": {
|
||||
"2486": {
|
||||
"lldpRemSysDesc": "S5700S-52P-LI-AC Huawei Versatile Routing Platform Software VRP (R) software, Version 5.160 (S5700 V200R006C00SPC500) Copyright (C) 2000-2014 HUAWEI TECH CO., LTD"
|
||||
}
|
||||
},
|
||||
"24": {
|
||||
"1072": {
|
||||
"lldpRemSysDesc": "Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(37)SE, RELEASE SOFTWARE (fc2) Copyright (c) 1986-2007 by Cisco Systems, Inc. Compiled Thu 10-May-07 16:43 by antonino"
|
||||
}
|
||||
},
|
||||
"32": {
|
||||
"1361": {
|
||||
"lldpRemSysDesc": "MikroTik RouterOS 6.40.9 (bugfix) CCR1009-8G-1S-1S+"
|
||||
}
|
||||
},
|
||||
"36": {
|
||||
"925": {
|
||||
"lldpRemSysDesc": "Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(37)SE, RELEASE SOFTWARE (fc2) Copyright (c) 1986-2007 by Cisco Systems, Inc. Compiled Thu 10-May-07 16:43 by antonino"
|
||||
}
|
||||
},
|
||||
"50": {
|
||||
"2432": {
|
||||
"lldpRemSysDesc": ""
|
||||
}
|
||||
},
|
||||
"51": {
|
||||
"948": {
|
||||
"lldpRemSysDesc": "V4.10(AAGE.6) | 09\/16\/2014"
|
||||
}
|
||||
},
|
||||
"52": {
|
||||
"949": {
|
||||
"lldpRemSysDesc": "V4.10(AAGE.6) | 09\/16\/2014"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
28
tests/data/snmp/snmp_walk_lldp-3.json
Normal file
28
tests/data/snmp/snmp_walk_lldp-3.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"58": {
|
||||
"11": {
|
||||
"1": {
|
||||
"lldpRemSysDesc": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"75": {
|
||||
"1": {
|
||||
"2": {
|
||||
"lldpRemSysDesc": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"88": {
|
||||
"10": {
|
||||
"9": {
|
||||
"lldpRemSysDesc": ""
|
||||
}
|
||||
},
|
||||
"12": {
|
||||
"10": {
|
||||
"lldpRemSysDesc": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
94
tests/data/snmp/snmp_walk_multipart_lldp-1.json
Normal file
94
tests/data/snmp/snmp_walk_multipart_lldp-1.json
Normal file
@ -0,0 +1,94 @@
|
||||
{
|
||||
"121": {
|
||||
"14": {
|
||||
"1182": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "00 74 9C CB 53 FD ",
|
||||
"lldpRemPortIdSubtype": "interfaceName",
|
||||
"lldpRemPortId": "Gi0\/13",
|
||||
"lldpRemPortDesc": "GigabitEthernet 0\/13",
|
||||
"lldpRemSysName": "MMR-IDC3D-SW",
|
||||
"lldpRemSysDesc": "Ruijie 10G Ethernet Switch(S2910-48GT4XS-E) By Ruijie Networks"
|
||||
}
|
||||
}
|
||||
},
|
||||
"120": {
|
||||
"21": {
|
||||
"2486": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "68 8F 84 02 4E D1 ",
|
||||
"lldpRemPortIdSubtype": "interfaceName",
|
||||
"lldpRemPortId": "GigabitEthernet0\/0\/15",
|
||||
"lldpRemPortDesc": "Peer-Upstream-Isatnet",
|
||||
"lldpRemSysName": "SW-MMR-3D-JKT01",
|
||||
"lldpRemSysDesc": "S5700S-52P-LI-AC Huawei Versatile Routing Platform Software VRP (R) software, Version 5.160 (S5700 V200R006C00SPC500) Copyright (C) 2000-2014 HUAWEI TECH CO., LTD"
|
||||
}
|
||||
},
|
||||
"24": {
|
||||
"1072": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "00 1C B1 02 4C 94 ",
|
||||
"lldpRemPortIdSubtype": "interfaceAlias",
|
||||
"lldpRemPortId": "To-Isat",
|
||||
"lldpRemPortDesc": "GigabitEthernet0\/20",
|
||||
"lldpRemSysName": "SW01-3D-F3-MMR",
|
||||
"lldpRemSysDesc": "Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(37)SE, RELEASE SOFTWARE (fc2) Copyright (c) 1986-2007 by Cisco Systems, Inc. Compiled Thu 10-May-07 16:43 by antonino"
|
||||
}
|
||||
},
|
||||
"32": {
|
||||
"1361": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "6C 3B 6B 1B FB DA ",
|
||||
"lldpRemPortIdSubtype": "interfaceName",
|
||||
"lldpRemPortId": "ether7",
|
||||
"lldpRemPortDesc": "",
|
||||
"lldpRemSysName": "RB-D3",
|
||||
"lldpRemSysDesc": "MikroTik RouterOS 6.40.9 (bugfix) CCR1009-8G-1S-1S+"
|
||||
}
|
||||
},
|
||||
"36": {
|
||||
"925": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "00 1C B1 02 4C 92 ",
|
||||
"lldpRemPortIdSubtype": "interfaceAlias",
|
||||
"lldpRemPortId": "Isat-2",
|
||||
"lldpRemPortDesc": "GigabitEthernet0\/18",
|
||||
"lldpRemSysName": "SW01-3D-F3-MMR",
|
||||
"lldpRemSysDesc": "Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(37)SE, RELEASE SOFTWARE (fc2) Copyright (c) 1986-2007 by Cisco Systems, Inc. Compiled Thu 10-May-07 16:43 by antonino"
|
||||
}
|
||||
},
|
||||
"50": {
|
||||
"2432": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "34 17 EB 2E 16 00 ",
|
||||
"lldpRemPortIdSubtype": "interfaceName",
|
||||
"lldpRemPortId": "TenGigabitEthernet 1\/18",
|
||||
"lldpRemPortDesc": "",
|
||||
"lldpRemSysName": "",
|
||||
"lldpRemSysDesc": ""
|
||||
}
|
||||
},
|
||||
"51": {
|
||||
"948": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "B0 B2 DC 6F 3A 67 ",
|
||||
"lldpRemPortIdSubtype": "local",
|
||||
"lldpRemPortId": "51",
|
||||
"lldpRemPortDesc": "To3D-Hypernet",
|
||||
"lldpRemSysName": "XGS3700-Multitech",
|
||||
"lldpRemSysDesc": "V4.10(AAGE.6) | 09\/16\/2014"
|
||||
}
|
||||
},
|
||||
"52": {
|
||||
"949": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "B0 B2 DC 6F 3A 67 ",
|
||||
"lldpRemPortIdSubtype": "local",
|
||||
"lldpRemPortId": "52",
|
||||
"lldpRemPortDesc": "To3D-Powertel",
|
||||
"lldpRemSysName": "XGS3700-Multitech",
|
||||
"lldpRemSysDesc": "V4.10(AAGE.6) | 09\/16\/2014"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
86
tests/data/snmp/snmp_walk_multipart_lldp-2.json
Normal file
86
tests/data/snmp/snmp_walk_multipart_lldp-2.json
Normal file
@ -0,0 +1,86 @@
|
||||
{
|
||||
"121": {
|
||||
"14": {
|
||||
"1182": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "00 74 9C CB 53 FD ",
|
||||
"lldpRemPortIdSubtype": "interfaceName",
|
||||
"lldpRemPortId": "Gi0\/13",
|
||||
"lldpRemPortDesc": "GigabitEthernet 0\/13",
|
||||
"lldpRemSysName": "MMR-IDC3D-SW"
|
||||
}
|
||||
}
|
||||
},
|
||||
"120": {
|
||||
"21": {
|
||||
"2486": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "68 8F 84 02 4E D1 ",
|
||||
"lldpRemPortIdSubtype": "interfaceName",
|
||||
"lldpRemPortId": "GigabitEthernet0\/0\/15",
|
||||
"lldpRemPortDesc": "Peer-Upstream-Isatnet",
|
||||
"lldpRemSysName": "SW-MMR-3D-JKT01"
|
||||
}
|
||||
},
|
||||
"24": {
|
||||
"1072": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "00 1C B1 02 4C 94 ",
|
||||
"lldpRemPortIdSubtype": "interfaceAlias",
|
||||
"lldpRemPortId": "To-Isat",
|
||||
"lldpRemPortDesc": "GigabitEthernet0\/20",
|
||||
"lldpRemSysName": "SW01-3D-F3-MMR"
|
||||
}
|
||||
},
|
||||
"32": {
|
||||
"1361": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "6C 3B 6B 1B FB DA ",
|
||||
"lldpRemPortIdSubtype": "interfaceName",
|
||||
"lldpRemPortId": "ether7",
|
||||
"lldpRemPortDesc": "",
|
||||
"lldpRemSysName": "RB-D3"
|
||||
}
|
||||
},
|
||||
"36": {
|
||||
"925": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "00 1C B1 02 4C 92 ",
|
||||
"lldpRemPortIdSubtype": "interfaceAlias",
|
||||
"lldpRemPortId": "Isat-2",
|
||||
"lldpRemPortDesc": "GigabitEthernet0\/18",
|
||||
"lldpRemSysName": "SW01-3D-F3-MMR"
|
||||
}
|
||||
},
|
||||
"50": {
|
||||
"2432": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "34 17 EB 2E 16 00 ",
|
||||
"lldpRemPortIdSubtype": "interfaceName",
|
||||
"lldpRemPortId": "TenGigabitEthernet 1\/18",
|
||||
"lldpRemPortDesc": "",
|
||||
"lldpRemSysName": ""
|
||||
}
|
||||
},
|
||||
"51": {
|
||||
"948": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "B0 B2 DC 6F 3A 67 ",
|
||||
"lldpRemPortIdSubtype": "local",
|
||||
"lldpRemPortId": "51",
|
||||
"lldpRemPortDesc": "To3D-Hypernet",
|
||||
"lldpRemSysName": "XGS3700-Multitech"
|
||||
}
|
||||
},
|
||||
"52": {
|
||||
"949": {
|
||||
"lldpRemChassisIdSubtype": "macAddress",
|
||||
"lldpRemChassisId": "B0 B2 DC 6F 3A 67 ",
|
||||
"lldpRemPortIdSubtype": "local",
|
||||
"lldpRemPortId": "52",
|
||||
"lldpRemPortDesc": "To3D-Powertel",
|
||||
"lldpRemSysName": "XGS3700-Multitech"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
32
tests/data/snmp/snmp_walk_multipart_oid-1.json
Normal file
32
tests/data/snmp/snmp_walk_multipart_oid-1.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"64": {
|
||||
"72": {
|
||||
"74": {
|
||||
"193": {
|
||||
"bgpPeerState": "idle",
|
||||
"bgpPeerAdminStatus": "stop"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"65": {
|
||||
"169": {
|
||||
"15": {
|
||||
"2": {
|
||||
"bgpPeerState": "established",
|
||||
"bgpPeerAdminStatus": "start"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"104": {
|
||||
"247": {
|
||||
"49": {
|
||||
"221": {
|
||||
"bgpPeerState": "established",
|
||||
"bgpPeerAdminStatus": "start"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
8
tests/data/snmp/snmp_walk_multipart_oid-2.json
Normal file
8
tests/data/snmp/snmp_walk_multipart_oid-2.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
".1.3.6.1.2.1.15.3.1.2.64.72.74.193": "idle",
|
||||
".1.3.6.1.2.1.15.3.1.2.65.169.15.2": "established",
|
||||
".1.3.6.1.2.1.15.3.1.2.104.247.49.221": "established",
|
||||
".1.3.6.1.2.1.15.3.1.3.64.72.74.193": "stop",
|
||||
".1.3.6.1.2.1.15.3.1.3.65.169.15.2": "start",
|
||||
".1.3.6.1.2.1.15.3.1.3.104.247.49.221": "start"
|
||||
}
|
26
tests/data/snmp/snmp_walk_multipart_oid-3.json
Normal file
26
tests/data/snmp/snmp_walk_multipart_oid-3.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"0": {
|
||||
"nsExtendNumEntries": "3"
|
||||
},
|
||||
"test1": {
|
||||
"nsExtendOutputFull": "Hello, world!",
|
||||
"1": {
|
||||
"nsExtendOutLine": "Hello, world!"
|
||||
}
|
||||
},
|
||||
"test2": {
|
||||
"nsExtendOutputFull": "Hello, world!",
|
||||
"1": {
|
||||
"nsExtendOutLine": "Hello, world!"
|
||||
},
|
||||
"2": {
|
||||
"nsExtendOutLine": "Hi there"
|
||||
}
|
||||
},
|
||||
"distro": {
|
||||
"nsExtendOutputFull": "Linux|4.4.0-77-generic|amd64|Ubuntu|16.04|kvm",
|
||||
"1": {
|
||||
"nsExtendOutLine": "Linux|4.4.0-77-generic|amd64|Ubuntu|16.04|kvm"
|
||||
}
|
||||
}
|
||||
}
|
6
tests/data/snmp/snmp_walk_multipart_oid-4.json
Normal file
6
tests/data/snmp/snmp_walk_multipart_oid-4.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"": {
|
||||
"dupsIdentManufacturer": "Delta",
|
||||
"dupsIdentModel": "UPS302R2RT2B035"
|
||||
}
|
||||
}
|
14
tests/data/snmp/snmp_walk_multipart_prnt-1.json
Normal file
14
tests/data/snmp/snmp_walk_multipart_prnt-1.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"1": {
|
||||
"1": {
|
||||
"prtMarkerSuppliesDescription": "42 6C 61 63 6B 20 43 61 72 74 72 69 64 67 65 20",
|
||||
"prtMarkerSuppliesType": "tonerCartridge",
|
||||
"prtMarkerSuppliesLevel": "73"
|
||||
},
|
||||
"2": {
|
||||
"prtMarkerSuppliesDescription": "4D 61 69 6E 74 65 6E 61 6E 63 65 20 4B 69 74 20",
|
||||
"prtMarkerSuppliesType": "fuser",
|
||||
"prtMarkerSuppliesLevel": "-2"
|
||||
}
|
||||
}
|
||||
}
|
14
tests/data/snmp/snmp_walk_multipart_prnt-2.json
Normal file
14
tests/data/snmp/snmp_walk_multipart_prnt-2.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"1": {
|
||||
"1": {
|
||||
"prtMarkerSuppliesDescription": "42 6C 61 63 6B 20 43 61 72 74 72 69 64 67 65 20 38 31 58 20 48 50 20 43 46 32 38 31 58 00 ",
|
||||
"prtMarkerSuppliesType": "tonerCartridge",
|
||||
"prtMarkerSuppliesLevel": "73"
|
||||
},
|
||||
"2": {
|
||||
"prtMarkerSuppliesDescription": "4D 61 69 6E 74 65 6E 61 6E 63 65 20 4B 69 74 20 48 50 20 31 31 30 56 2D 46 32 47 37 36 41 2C 20 32 32 30 56 2D 46 32 47 37 37 41 00 ",
|
||||
"prtMarkerSuppliesType": "fuser",
|
||||
"prtMarkerSuppliesLevel": "-2"
|
||||
}
|
||||
}
|
||||
}
|
14
tests/data/snmp/snmp_walk_multipart_prnt-3.json
Normal file
14
tests/data/snmp/snmp_walk_multipart_prnt-3.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"1": {
|
||||
"1": {
|
||||
"prtMarkerSuppliesDescription": "Black Cartridge 81X HP CF281X.",
|
||||
"prtMarkerSuppliesType": "tonerCartridge",
|
||||
"prtMarkerSuppliesLevel": "73"
|
||||
},
|
||||
"2": {
|
||||
"prtMarkerSuppliesDescription": "Maintenance Kit HP 110V-F2G76A, 220V-F2G77A.",
|
||||
"prtMarkerSuppliesType": "fuser",
|
||||
"prtMarkerSuppliesLevel": "-2"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user