creating/checking results files of unit tests

This commit is contained in:
Petr Klima committed 2020-11-10 16:59:26 +01:00
1 parent 22c02e3924
commit 9716b24907
17 files changed
+383 -22

No files matched your search

@@ -3,5 +3,5 @@
IP Address I/F I/F Status Type Directed Prec Redirect Status
admin/oper Broadcast
------------------ --------- ---------- ------- --------- ---- -------- ------
192.168.0.37/17 vlan 1 UP/UP Static disable No enable Valid
192.168.0.37/17 vlan 1 UP/UP Static disable No enable Valid
@@ -1,5 +1,5 @@
Device ID: switch-c
Device ID: 12:34:56:ab:cb:ef
Port ID: gi1/0/1
Capabilities: Bridge, Router
System Name: switch-c
@@ -10,7 +10,7 @@ gi1/0/1 ab:b8:ef:12:34:56 ab:b8:ef:12:34:56 ab:b8:ef:12:34:56 W 94
gi1/0/2 ab:48:ef:12:34:56 ab:48:ef:12:34:56 IAP207-staffroom W 113
gi1/0/3 ab:b5:ef:12:34:56 ab:b5:ef:12:34:56 ab:b5:ef:12:34:56 W 114
gi1/0/4 ab:48:ef:12:34:56 ab:48:ef:12:34:56 ab:48:ef:12:34:56 W 104
te1/0/1 switch-c gi1/0/1 switch-c B, R 99
te1/0/4 ab:a5:ef:12:34:56 Gi1/0/26 switch-c.cb.ma B 91
deta.cz
te1/0/1 12:34:56:ab:cd:ef gi1/0/1 switch-c B, R 99
te1/0/4 ab:a5:ef:12:34:56 Gi1/0/26 switch-c.cb.madet B 91
a.cz
@@ -0,0 +1,71 @@
{
"fqdn" : "switch-c.",
"hostname" : "switch-c",
"interface_list" : [
"gi1/0/1",
"gi1/0/2",
"gi1/0/3",
"gi1/0/4",
"gi1/0/5",
"gi1/0/6",
"gi1/0/7",
"gi1/0/8",
"gi1/0/9",
"gi1/0/10",
"gi1/0/11",
"gi1/0/12",
"gi1/0/13",
"gi1/0/14",
"gi1/0/15",
"gi1/0/16",
"gi1/0/17",
"gi1/0/18",
"gi1/0/19",
"gi1/0/20",
"gi1/0/21",
"gi1/0/22",
"gi1/0/23",
"gi1/0/24",
"te1/0/1",
"te1/0/2",
"te1/0/3",
"te1/0/4",
"Po1",
"Po2",
"Po3",
"Po4",
"Po5",
"Po6",
"Po7",
"Po8",
"Po9",
"Po10",
"Po11",
"Po12",
"Po13",
"Po14",
"Po15",
"Po16",
"Po17",
"Po18",
"Po19",
"Po20",
"Po21",
"Po22",
"Po23",
"Po24",
"Po25",
"Po26",
"Po27",
"Po28",
"Po29",
"Po30",
"Po31",
"Po32"
],
"model" : "SG550X-24MP-K9",
"os_version" : "192.168.0.71",
"serial_number" : "SOME123456SN",
"uptime" : 6417400,
"vendor" : "Cisco"
}
@@ -0,0 +1,254 @@
{
"gi1/0/1" : {
"description" : "AP",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 1000
},
"gi1/0/2" : {
"description" : "AP",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 1000
},
"gi1/0/3" : {
"description" : "AP",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 1000
},
"gi1/0/4" : {
"description" : "",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 1000
},
"gi1/0/5" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/6" : {
"description" : "",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 1000
},
"gi1/0/7" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/8" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/9" : {
"description" : "",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 100
},
"gi1/0/10" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/11" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/12" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/13" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/14" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/15" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/16" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/17" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/18" : {
"description" : "",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 1000
},
"gi1/0/19" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/20" : {
"description" : "",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 100
},
"gi1/0/21" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/22" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/23" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"gi1/0/24" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"te1/0/1" : {
"description" : "SW switch-c",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 1000
},
"te1/0/2" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"te1/0/3" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 0
},
"te1/0/4" : {
"description" : "SW switch-c",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "AA:AB:CD:12:34:56",
"mtu" : 9000,
"speed" : 1000
}
}
@@ -1,8 +1,8 @@
Port Description
------- -----------
gi1/0/1 AP ap-cb-sklad-x
gi1/0/2 AP ap-cb-sklad-x
gi1/0/3 AP ap-cb-sklad-x
gi1/0/1 AP
gi1/0/2 AP
gi1/0/3 AP
gi1/0/4
gi1/0/5
gi1/0/6
@@ -1,5 +1,5 @@
Device ID: switch-c
Device ID: aa:ab:cd:12:34:56
Port ID: gi1/0/1
Capabilities: Bridge, Router
System Name: switch-c
@@ -0,0 +1 @@
{"vlan 1": {"ipv4": {"192.168.0.37": {"prefix_length": 17}}}}
@@ -3,5 +3,5 @@
IP Address I/F I/F Status Type Directed Prec Redirect Status
admin/oper Broadcast
------------------ --------- ---------- ------- --------- ---- -------- ------
192.168.0.37/17 vlan 1 UP/UP Static disable No enable Valid
192.168.0.37/17 vlan 1 UP/UP Static disable No enable Valid
@@ -0,0 +1,26 @@
{
"gi1/0/1" : [ {
"hostname" : "ab:b8:ef:12:34:56",
"port" : "ab:b8:ef:12:34:56"
} ],
"gi1/0/2" : [ {
"hostname" : "IAP207-staffroom",
"port" : "ab:48:ef:12:34:56"
} ],
"gi1/0/3" : [ {
"hostname" : "ab:b5:ef:12:34:56",
"port" : "ab:b5:ef:12:34:56"
} ],
"gi1/0/4" : [ {
"hostname" : "ab:48:ef:12:34:56",
"port" : "ab:48:ef:12:34:56"
} ],
"te1/0/1" : [ {
"hostname" : "switch-c",
"port" : "gi1/0/1"
} ],
"te1/0/4" : [ {
"hostname" : "switch-c.cb.madeta.cz",
"port" : "Gi1/0/26"
} ]
}
@@ -10,7 +10,7 @@ gi1/0/1 ab:b8:ef:12:34:56 ab:b8:ef:12:34:56 ab:b8:ef:12:34:56 W 94
gi1/0/2 ab:48:ef:12:34:56 ab:48:ef:12:34:56 IAP207-staffroom W 113
gi1/0/3 ab:b5:ef:12:34:56 ab:b5:ef:12:34:56 ab:b5:ef:12:34:56 W 114
gi1/0/4 ab:48:ef:12:34:56 ab:48:ef:12:34:56 ab:48:ef:12:34:56 W 104
te1/0/1 switch-c gi1/0/1 switch-c B, R 99
te1/0/4 ab:a5:ef:12:34:56 Gi1/0/26 switch-c.cb.ma B 91
deta.cz
te1/0/1 12:34:56:ab:cd:ef gi1/0/1 switch-c B, R 99
te1/0/4 ab:a5:ef:12:34:56 Gi1/0/26 switch-c.cb.madet B 91
a.cz
@@ -0,0 +1,10 @@
{ "te1/0/4" : [ {
"parent_interface" : "N/A",
"remote_chassis_id" : "ab:a5:ef:12:34:56",
"remote_port" : "Gi1/0/26",
"remote_port_description" : "SW switch-c",
"remote_system_capab" : [ "B" ],
"remote_system_description" : "Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(6)E, RELEASE SOFTWARE (fc4)",
"remote_system_enable_capab" : [ "B" ],
"remote_system_name" : "switch-c.example.net"
} ] }
@@ -6,11 +6,6 @@ TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
Port Device ID Port ID System Name Capabilities TTL
--------- ----------------- ----------------- ----------------- ------------ -----
gi1/0/1 ab:b8:ef:12:34:56 ab:b8:ef:12:34:56 ab:b8:ef:12:34:56 W 94
gi1/0/2 ab:48:ef:12:34:56 ab:48:ef:12:34:56 IAP207-staffroom W 113
gi1/0/3 ab:b5:ef:12:34:56 ab:b5:ef:12:34:56 ab:b5:ef:12:34:56 W 114
gi1/0/4 ab:48:ef:12:34:56 ab:48:ef:12:34:56 ab:48:ef:12:34:56 W 104
te1/0/1 switch-c gi1/0/1 switch-c B, R 99
te1/0/4 ab:a5:ef:12:34:56 Gi1/0/26 switch-c.cb.ma B 91
deta.cz
te1/0/4 ab:a5:ef:12:34:56 Gi1/0/26 switch-c.example. B 91
net
@@ -0,0 +1,4 @@
{
"ntp1.example.net" : { },
"ntp2.example.net" : { }
}
@@ -3,7 +3,7 @@ Clock is synchronized, stratum 2, reference is ntp.example.net, unicast
Unicast servers:
Server : ntp.example.net
Server : ntp1.example.net
Source : Static
Stratum : 2
Status : up
@@ -11,7 +11,7 @@ Server : ntp.example.net
Offset : 400.2312430 mSec
Delay : 0 mSec
Server : ntp.example.net
Server : ntp2.example.net
Source : Static
Stratum : 3
Status : up