add test case get_interfaces for sg300-10

This commit is contained in:
Daniel Bacher committed 2020-11-05 12:48:57 +01:00
1 parent 1c4040325e
commit cf02548619
5 files changed
+162

No files matched your search

@@ -0,0 +1,92 @@
{
"gi1": {
"description": "test1",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi10": {
"description": "",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi2": {
"description": "test2",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi3": {
"description": "",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi4": {
"description": "",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi5": {
"description": "test5",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi6": {
"description": "",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
},
"gi7": {
"description": "",
"is_enabled": true,
"is_up": true,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 1000
},
"gi8": {
"description": "",
"is_enabled": true,
"is_up": true,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 1000
},
"gi9": {
"description": "",
"is_enabled": false,
"is_up": false,
"last_flapped": -1.0,
"mac_address": "50:F7:22:AA:BB:CC",
"mtu": 1518,
"speed": 0
}
}
@@ -0,0 +1,23 @@
Port Description
------- -----------
gi1 test1
gi2 test2
gi3
gi4
gi5 test5
gi6
gi7
gi8
gi9
gi10
Ch Description
------- -----------
Po1
Po2
Po3
Po4
Po5
Po6
Po7
Po8
@@ -0,0 +1,25 @@
Flow Link Back Mdix
Port Type Duplex Speed Neg ctrl State Pressure Mode
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
gi1 1G-Copper -- -- -- -- Down -- --
gi2 1G-Copper -- -- -- -- Down -- --
gi3 1G-Copper -- -- -- -- Down -- --
gi4 1G-Copper -- -- -- -- Down -- --
gi5 1G-Copper -- -- -- -- Down -- --
gi6 1G-Copper -- -- -- -- Down -- --
gi7 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi8 1G-Copper Full 1000 Enabled Off Up Disabled On
gi9 1G-Combo-C -- -- -- -- Down -- --
gi10 1G-Combo-C -- -- -- -- Down -- --
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
@@ -0,0 +1,19 @@
Device ID: 50:f7:22:aa:bb:cc
Port ID: gi1
Capabilities: Bridge
System Name: switchaabbcc
802.3 EEE:
17
17
17
17
802.1 PVID: 1
802.1 PPVID:
802.1 VLAN:
802.1 Protocol:
@@ -0,0 +1,3 @@
Jumbo frames are disabled
Jumbo frames will be disabled after reset