add test case get_facts for sg300-10

This commit is contained in:
Daniel Bacher committed 2020-11-05 15:14:20 +01:00
1 parent d628f22d81
commit aadfe73b5d
6 files changed
+104

No files matched your search

@@ -0,0 +1,29 @@
{
"fqdn": "switchaabbcc.",
"hostname": "switchaabbcc",
"interface_list": [
"gi1",
"gi2",
"gi3",
"gi4",
"gi5",
"gi6",
"gi7",
"gi8",
"gi9",
"gi10",
"Po1",
"Po2",
"Po3",
"Po4",
"Po5",
"Po6",
"Po7",
"Po8"
],
"model": "SG300-10 10-Port Gigabit Managed Switch",
"os_version": "1.4.11.5",
"serial_number": "AAAABBBBCCC",
"uptime": 607990,
"vendor": "Cisco"
}
@@ -0,0 +1,33 @@
Name/address lookup is enabled
Domain Timeout: 2 seconds
Domain Retry: 1 times
Domain Polling Interval: 8 seconds
Default Domain Table
Domain Source Interface Preference
-------------------------------------------- ------- --------- ----------
Domain name is not configured
Name Server Table
IP Address Source Interface Preference
-------------------------------------------- ------- --------- ----------
Name server is not configured
Cache Table
Flags: (STA/DYN, OK/NE/??)
STA - Static, DYN - Dynamic
OK - Okay, NE - Negative Cache, ?? - No Response
Remaining
Host Addresses Type State TTL
------------------------- ------------------------ ---- ------ ----------
No hostname is mapped to an IP address
@@ -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,4 @@
NAME: "1" DESCR: "SG300-10 10-Port Gigabit Managed Switch"
PID: SRW2008-K9 VID: V05 SN: AAAABBBBCCC
@@ -0,0 +1,10 @@
System Description: SG300-10 10-Port Gigabit Managed Switch
System Up Time (days,hour:min:sec): 07,00:53:10
System Contact:
System Name: switchaabbcc
System Location:
System MAC Address: 50:f7:22:aa:bb:cc
System Object ID: 1.3.6.1.4.1.9.6.1.83.10.1
Fans Status: N/A
@@ -0,0 +1,3 @@
SW version 1.4.11.5 ( date 08-Apr-2020 time 13:49:34 )
Boot version 1.3.5.06 ( date 21-Jul-2013 time 15:12:10 )
HW version V05