add test case get_interfaces for SG500-28-K9

see #38
This commit is contained in:
Daniel Bacher committed 2020-11-05 17:31:30 +01:00
1 parent fe2eff45f3
commit 94ad15b919
6 files changed
+388

No files matched your search

@@ -0,0 +1,236 @@
{
"gi1/1/1" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/2" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/3" : {
"description" : "",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 1000
},
"gi1/1/4" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/5" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/6" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/7" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/8" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/9" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/10" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/11" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/12" : {
"description" : "",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 1000
},
"gi1/1/13" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/14" : {
"description" : "",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 1000
},
"gi1/1/15" : {
"description" : "",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 1000
},
"gi1/1/16" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/17" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/18" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/19" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/20" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/21" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/22" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/23" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/24" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/25" : {
"description" : "",
"is_enabled" : false,
"is_up" : false,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 0
},
"gi1/1/26" : {
"description" : "",
"is_enabled" : true,
"is_up" : true,
"last_flapped" : -1.0,
"mac_address" : "0C:68:03:9C:39:C1",
"mtu" : 1518,
"speed" : 1000
}
}
@@ -0,0 +1,63 @@
Port Description
------- -----------
gi1/1/1
gi1/1/2
gi1/1/3
gi1/1/4
gi1/1/5
gi1/1/6
gi1/1/7
gi1/1/8
gi1/1/9
gi1/1/10
gi1/1/11
gi1/1/12
gi1/1/13
gi1/1/14
gi1/1/15
gi1/1/16
gi1/1/17
gi1/1/18
gi1/1/19
gi1/1/20
gi1/1/21
gi1/1/22
gi1/1/23
gi1/1/24
gi1/1/25
gi1/1/26
Ch Description
------- -----------
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
@@ -0,0 +1,65 @@
Flow Link Back Mdix
Port Type Duplex Speed Neg ctrl State Pressure Mode
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
gi1/1/1 1G-Copper -- -- -- -- Down -- --
gi1/1/2 1G-Copper -- -- -- -- Down -- --
gi1/1/3 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi1/1/4 1G-Copper -- -- -- -- Down -- --
gi1/1/5 1G-Copper -- -- -- -- Down -- --
gi1/1/6 1G-Copper -- -- -- -- Down -- --
gi1/1/7 1G-Copper -- -- -- -- Down -- --
gi1/1/8 1G-Copper -- -- -- -- Down -- --
gi1/1/9 1G-Copper -- -- -- -- Down -- --
gi1/1/10 1G-Copper -- -- -- -- Down -- --
gi1/1/11 1G-Copper -- -- -- -- Down -- --
gi1/1/12 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi1/1/13 1G-Copper -- -- -- -- Down -- --
gi1/1/14 1G-Copper Full 1000 Enabled Off Up Disabled On
gi1/1/15 1G-Copper Full 1000 Enabled Off Up Disabled On
gi1/1/16 1G-Copper -- -- -- -- Down -- --
gi1/1/17 1G-Copper -- -- -- -- Down -- --
gi1/1/18 1G-Copper -- -- -- -- Down -- --
gi1/1/19 1G-Copper -- -- -- -- Down -- --
gi1/1/20 1G-Copper -- -- -- -- Down -- --
gi1/1/21 1G-Copper -- -- -- -- Down -- --
gi1/1/22 1G-Copper -- -- -- -- Down -- --
gi1/1/23 1G-Copper -- -- -- -- Down -- --
gi1/1/24 1G-Copper -- -- -- -- Down -- --
gi1/1/25 1G-Combo-C -- -- -- -- Down -- --
gi1/1/26 1G-Combo-F Full 1000 Disabled Off Up Disabled Off
Flow Link
Ch Type Duplex Speed Neg control State
-------- ------- ------ ----- -------- ------- -----------
Po1 -- -- -- -- -- Not Present
Po2 -- -- -- -- -- Not Present
Po3 -- -- -- -- -- Not Present
Po4 -- -- -- -- -- Not Present
Po5 -- -- -- -- -- Not Present
Po6 -- -- -- -- -- Not Present
Po7 -- -- -- -- -- Not Present
Po8 -- -- -- -- -- Not Present
Po9 -- -- -- -- -- Not Present
Po10 -- -- -- -- -- Not Present
Po11 -- -- -- -- -- Not Present
Po12 -- -- -- -- -- Not Present
Po13 -- -- -- -- -- Not Present
Po14 -- -- -- -- -- Not Present
Po15 -- -- -- -- -- Not Present
Po16 -- -- -- -- -- Not Present
Po17 -- -- -- -- -- Not Present
Po18 -- -- -- -- -- Not Present
Po19 -- -- -- -- -- Not Present
Po20 -- -- -- -- -- Not Present
Po21 -- -- -- -- -- Not Present
Po22 -- -- -- -- -- Not Present
Po23 -- -- -- -- -- Not Present
Po24 -- -- -- -- -- Not Present
Po25 -- -- -- -- -- Not Present
Po26 -- -- -- -- -- Not Present
Po27 -- -- -- -- -- Not Present
Po28 -- -- -- -- -- Not Present
Po29 -- -- -- -- -- Not Present
Po30 -- -- -- -- -- Not Present
Po31 -- -- -- -- -- Not Present
Po32 -- -- -- -- -- Not Present
@@ -0,0 +1,10 @@
IP Address I/F I/F Status Type Status
admin/oper
------------------- ---------- ------------- ----------- -----------
10.0.3.5/8 vlan 202 UP/UP Static Valid
Gateway IP Address Type
----------------------- --------
@@ -0,0 +1,11 @@
Device ID: 0c:68:03:9c:39:c1
Port ID: gi1/1/1
Capabilities: Bridge
System Name: switch1
802.1 PVID: 488
802.1 PPVID:
802.1 VLAN:
802.1 Protocol:
@@ -0,0 +1,3 @@
Jumbo frames are disabled
Jumbo frames will be disabled after reset