diff --git a/ntc_templates/templates/arista_eos_show_inventory.textfsm b/ntc_templates/templates/arista_eos_show_inventory.textfsm index ad927831d8..6191ad9196 100644 --- a/ntc_templates/templates/arista_eos_show_inventory.textfsm +++ b/ntc_templates/templates/arista_eos_show_inventory.textfsm @@ -1,36 +1,84 @@ Value PORT ([0-9\/]+) Value PID (\S+) Value SN (\S+) -Value DESCR (.+) +Value DESCR (\S.*\S) Value VID (\S+) Start ^\s*System\s+\S+?$$ -> Chassis + ^. -> Error Chassis - ^\s+Model - ^\s+- + ^\s+Model\s*$$ -> ChassisSplit + ^\s+---+ ^\s+HW ^\s+${VID}\s+${SN}\s+\d+-\d+-\d+ -> Record - ^\s+${PID}?\s+${DESCR}$$ + ^\s+${PID}?\s+${DESCR}\s*$$ + ^Subcomponent serial numbers\s*$$ -> Subcomponent + ^\s*System has \d+ card slot -> Modules ^\s*System.+(power supply|power-supply) -> Power_Supply + ^. -> Error +ChassisSplit + ^\s+---+ + ^\s+Description\s*$$ + ^\s+HW -> Chassis + ^\s+${PID}\s*$$ + ^\s+${DESCR}$$ + ^. -> Error + +Subcomponent + ^\s+Component\s+Serial + ^\s+---+ + ^\s+\S+\s+\S+\s*$$ + ^\s*System.+(power supply|power-supply) -> Power_Supply + ^. -> Error + +Modules + ^\s+Module\s+Model\s+HW + ^\s+---+ + ^\s+${DESCR}\s+${PID}\s+${VID}\s+${SN}\s+\d+-\d+-\d+ -> Record + ^\s*System.+(power supply|power-supply) -> Power_Supply + ^. -> Error Power_Supply ^\s+Slot - ^\s+- + ^\s+---+ ^\s+${PORT}\s+${PID}\s+${SN} -> Record ^\s*System.+(fan) -> Fan + ^. -> Error Fan ^\s+Module - ^\s+- + ^\s+---+ ^\s+${PORT}?\s+\d+?\s+${PID}?\s+${SN} -> Record ^\s*System.+ports -> Ports + ^. -> Error Ports ^\s+${DESCR}\s+${PORT} -> Record ^\s*System.+transceiver -> Transceiver + ^\s+Type\s+Count$$ + ^\s+---+ + ^. -> Error Transceiver ^\s+${PORT}\s+${DESCR}\s+${PID}\s+${SN}\s+${VID} -> Record + ^\s+\d[\d\/]*\s+Not Present\s*$$ + ^\s+${PORT}\s+Arista Networks\s+\S+\s*$$ + ^\s+${PORT}\s+${DESCR}\s+${PID}\s+${SN}\s*$$ -> Record + ^\s+Port\s+Manufacturer\s+Model\s+Serial\s+Number\s+Rev\s*$$ + ^\s+---+ + ^\s*System has \d+ \S+ transceiver slots\s*$$ + ^\s*System.+storage -> Storage + ^. -> Error + +Storage + ^Supervisor \d+:\s*$$ + ^\s+Mount\s+Type\s+Model\s+Serial + ^\s+Size\s+\(GB\) + ^\s+---+ + ^\s+/\S+ + ^\s+\d+\s*$$ + ^\s*System has precision clock\s*$$ + ^. -> Error diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml index 56454e1a1f..b5e5a2f15d 100644 --- a/tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml @@ -1,6 +1,6 @@ --- parsed_sample: - - descr: "52-port SFP+ 10GigE 1RU + Clock " + - descr: "52-port SFP+ 10GigE 1RU + Clock" pid: "DCS-7150S-52-CL" port: "" sn: "JPE13120702" diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory10.raw b/tests/arista_eos/show_inventory/arista_eos_show_inventory10.raw new file mode 100644 index 0000000000..75ef60f83b --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory10.raw @@ -0,0 +1,46 @@ +System information + Model Description + ------------------------ ---------------------------------------------------- + DCS-7060SX2-48YC6 48x25GbE (SFP+) & 6x100GbE (QSFP+) Ethernet Switch + + HW Version Serial Number Mfg Date Epoch + ----------- -------------- ---------- ----- + 11.04 GKC85370109 2017-11-03 01.00 + +System has 2 power supply slots + Slot Model Serial Number + ---- ---------------- ---------------- + 1 PWR-500AC-R BQQI8596RHY + 2 PWR-500AC-R AJTA9552L1G + +System has 4 fan modules + Module Number of Fans Model Serial Number + ------- --------------- ---------------- ---------------- + 1 1 FAN-7000H-R N/A + 2 1 FAN-7000H-R N/A + 3 1 FAN-7000H-R N/A + 4 1 FAN-7000H-R N/A + +System has 87 ports + Type Count + ------------------ ---- + Management 1 + Switched 68 + Unconnected 14 + SwitchedBootstrap 4 + +System has 54 switched transceiver slots + Port Manufacturer Model Serial Number Rev + ---- ---------------- ---------------- ---------------- ---- + 1 Arista Networks SFP-10GLR-31 M2003999463 0002 + 2 Not Present + 6 Arista Networks S28-PC01 P9273010998-5 01 + 9 FS SFP-10GLR-31 Q2216980292 + 39 Arista Networks SFP-10GSR-85 H6165547412 0002 + 54 Arista Networks Q28-PC015 P1555690200-6 A + +System has 1 storage device + Mount Type Model Serial Number Rev Size (GB) + ---------- ---- -------------- ------------- --- --------- + /mnt/flash eMMC Toshiba 008G70 74x3372t 0.0 4 + diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory10.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory10.yml new file mode 100644 index 0000000000..5e0b0e3347 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory10.yml @@ -0,0 +1,82 @@ +--- +parsed_sample: + - descr: "48x25GbE (SFP+) & 6x100GbE (QSFP+) Ethernet Switch" + pid: "DCS-7060SX2-48YC6" + port: "" + sn: "GKC85370109" + vid: "11.04" + - descr: "" + pid: "PWR-500AC-R" + port: "1" + sn: "BQQI8596RHY" + vid: "" + - descr: "" + pid: "PWR-500AC-R" + port: "2" + sn: "AJTA9552L1G" + vid: "" + - descr: "" + pid: "FAN-7000H-R" + port: "1" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7000H-R" + port: "2" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7000H-R" + port: "3" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7000H-R" + port: "4" + sn: "N/A" + vid: "" + - descr: "Management" + pid: "" + port: "1" + sn: "" + vid: "" + - descr: "Switched" + pid: "" + port: "68" + sn: "" + vid: "" + - descr: "Unconnected" + pid: "" + port: "14" + sn: "" + vid: "" + - descr: "SwitchedBootstrap" + pid: "" + port: "4" + sn: "" + vid: "" + - descr: "Arista Networks" + pid: "SFP-10GLR-31" + port: "1" + sn: "M2003999463" + vid: "0002" + - descr: "Arista Networks" + pid: "S28-PC01" + port: "6" + sn: "P9273010998-5" + vid: "01" + - descr: "FS" + pid: "SFP-10GLR-31" + port: "9" + sn: "Q2216980292" + vid: "" + - descr: "Arista Networks" + pid: "SFP-10GSR-85" + port: "39" + sn: "H6165547412" + vid: "0002" + - descr: "Arista Networks" + pid: "Q28-PC015" + port: "54" + sn: "P1555690200-6" + vid: "A" diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory3.raw b/tests/arista_eos/show_inventory/arista_eos_show_inventory3.raw new file mode 100644 index 0000000000..0ce8189b02 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory3.raw @@ -0,0 +1,49 @@ +System information + Model + ------------------------ + DCS-7280CR3-32D4 + + Description + -------------------------------------------------------- + 32x100GbE (QSFP100) & 4x400GbE (QSFP-DD) Ethernet Switch + + HW Version Serial Number Mfg Date Epoch + ----------- -------------- ---------- ----- + 12.26 TAL01749952 2021-09-02 01.00 + +System has 2 power supply slots + Slot Model Serial Number + ---- ---------------- ---------------- + 1 PWR-1011-AC-BLUE 8A743707338310H + 2 PWR-1011-AC-BLUE 9E13780768199DU + +System has 3 fan modules + Module Number of Fans Model Serial Number + ------- --------------- ---------------- ---------------- + 1 2 FAN-7011H-R N/A + 2 2 FAN-7011H-R N/A + 3 2 FAN-7011H-R N/A + +System has 129 ports + Type Count + ------------------ ---- + Management 1 + Switched 124 + SwitchedBootstrap 4 + +System has 36 switched transceiver slots + Port Manufacturer Model Serial Number Rev + ---- ---------------- ---------------- ---------------- ---- + 1 Arista Networks CAB-Q-Q-100G-5M MZM2081503XM 02 + 5 Arista Networks AOC-Q-Q-100G-20M TLN8862170HW 20 + 6 Arista Networks CAB-Q-Q-100G-3M HHL27071719W 20 + 8 Arista Networks QSFP28-BLR4-100G T8906502786 01 + 15 Arista Networks QSFP28-LR4-100G E0659725058 01 + 16 Arista Networks QSFP-LR4-100G U7511938457 01 + 32 Arista Networks CAB-Q-Q-100G-5M IGB5071267YS 02 + 36 Not Present + +System has 1 storage device + Mount Type Model Serial Number Rev Size (GB) + ---------- ---- -------------- ------------- --- --------- + /mnt/flash eMMC Toshiba 016GB0 v0769pq4 0.0 8 diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory3.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory3.yml new file mode 100644 index 0000000000..9aff53612c --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory3.yml @@ -0,0 +1,82 @@ +--- +parsed_sample: + - descr: "32x100GbE (QSFP100) & 4x400GbE (QSFP-DD) Ethernet Switch" + pid: "DCS-7280CR3-32D4" + port: "" + sn: "TAL01749952" + vid: "12.26" + - descr: "" + pid: "PWR-1011-AC-BLUE" + port: "1" + sn: "8A743707338310H" + vid: "" + - descr: "" + pid: "PWR-1011-AC-BLUE" + port: "2" + sn: "9E13780768199DU" + vid: "" + - descr: "" + pid: "FAN-7011H-R" + port: "1" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7011H-R" + port: "2" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7011H-R" + port: "3" + sn: "N/A" + vid: "" + - descr: "Management" + pid: "" + port: "1" + sn: "" + vid: "" + - descr: "Switched" + pid: "" + port: "124" + sn: "" + vid: "" + - descr: "SwitchedBootstrap" + pid: "" + port: "4" + sn: "" + vid: "" + - descr: "Arista Networks" + pid: "CAB-Q-Q-100G-5M" + port: "1" + sn: "MZM2081503XM" + vid: "02" + - descr: "Arista Networks" + pid: "AOC-Q-Q-100G-20M" + port: "5" + sn: "TLN8862170HW" + vid: "20" + - descr: "Arista Networks" + pid: "CAB-Q-Q-100G-3M" + port: "6" + sn: "HHL27071719W" + vid: "20" + - descr: "Arista Networks" + pid: "QSFP28-BLR4-100G" + port: "8" + sn: "T8906502786" + vid: "01" + - descr: "Arista Networks" + pid: "QSFP28-LR4-100G" + port: "15" + sn: "E0659725058" + vid: "01" + - descr: "Arista Networks" + pid: "QSFP-LR4-100G" + port: "16" + sn: "U7511938457" + vid: "01" + - descr: "Arista Networks" + pid: "CAB-Q-Q-100G-5M" + port: "32" + sn: "IGB5071267YS" + vid: "02" diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory4.raw b/tests/arista_eos/show_inventory/arista_eos_show_inventory4.raw new file mode 100644 index 0000000000..9cc568ce8d --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory4.raw @@ -0,0 +1,53 @@ +System information + Model Description + ------------------------ ---------------------------------------------------- + DCS-7130-48LBS 7130 Series 48 port chassis + + HW Version Serial Number Mfg Date Epoch + ----------- ---------------- ---------- ----- + 02.03 V49XI-Y5-32582-7 2026-05-04 02.00 + +Subcomponent serial numbers + Component Serial Number + ------------------ -------------- + mainboardOtl DAF65304243 + assemblyOtl DAF65304243 + mezzanineOtl AFG66785350 + mezzanine VVR-B4-55788-1 + +System has 2 power supply slots + Slot Model Serial Number + ---- ---------------- ---------------- + 1 PWR-500AC-R JCKE65R7AXO + 2 PWR-500AC-R DVFA63B6MML + +System has 2 fan modules + Module Number of Fans Model Serial Number + ------- --------------- ---------------- ---------------- + 1 2 FAN-7130-1U-R N/A + 2 2 FAN-7130-1U-R N/A + +System has 103 ports + Type Count + ------------------ ---- + Management 2 + Switched 94 + SwitchedBootstrap 2 + Cpu 4 + SwitchManagement 1 + +System has 48 switched transceiver slots + Port Manufacturer Model Serial Number Rev + ---- ---------------- ---------------- ---------------- ---- + 1 Not Present + 24 Arista Networks Q-4SPC03 E4444248725-6 0001 + 27 Arista Networks CAB-SFP-SFP-2M EXO39179M0QZ 0002 + 29 Arista Networks SFP-10GSR-85 U9850056331 0002 + 43 Arista Networks CAB-SFP-SFP-0.5M ZEI9291563J6 0002 + 47 Arista Networks SFP-10GLR-31 S455OB25986 0002 + 48 Not Present + +System has 1 storage device + Mount Type Model Serial Number Rev Size (GB) + ---------- ---- ---------------- ----------------- ------- --------- + /mnt/flash SSD M.2 (S42) 3MG2-P UUO40136458568268 M161225 62 diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory4.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory4.yml new file mode 100644 index 0000000000..f5420edf02 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory4.yml @@ -0,0 +1,77 @@ +--- +parsed_sample: + - descr: "7130 Series 48 port chassis" + pid: "DCS-7130-48LBS" + port: "" + sn: "V49XI-Y5-32582-7" + vid: "02.03" + - descr: "" + pid: "PWR-500AC-R" + port: "1" + sn: "JCKE65R7AXO" + vid: "" + - descr: "" + pid: "PWR-500AC-R" + port: "2" + sn: "DVFA63B6MML" + vid: "" + - descr: "" + pid: "FAN-7130-1U-R" + port: "1" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7130-1U-R" + port: "2" + sn: "N/A" + vid: "" + - descr: "Management" + pid: "" + port: "2" + sn: "" + vid: "" + - descr: "Switched" + pid: "" + port: "94" + sn: "" + vid: "" + - descr: "SwitchedBootstrap" + pid: "" + port: "2" + sn: "" + vid: "" + - descr: "Cpu" + pid: "" + port: "4" + sn: "" + vid: "" + - descr: "SwitchManagement" + pid: "" + port: "1" + sn: "" + vid: "" + - descr: "Arista Networks" + pid: "Q-4SPC03" + port: "24" + sn: "E4444248725-6" + vid: "0001" + - descr: "Arista Networks" + pid: "CAB-SFP-SFP-2M" + port: "27" + sn: "EXO39179M0QZ" + vid: "0002" + - descr: "Arista Networks" + pid: "SFP-10GSR-85" + port: "29" + sn: "U9850056331" + vid: "0002" + - descr: "Arista Networks" + pid: "CAB-SFP-SFP-0.5M" + port: "43" + sn: "ZEI9291563J6" + vid: "0002" + - descr: "Arista Networks" + pid: "SFP-10GLR-31" + port: "47" + sn: "S455OB25986" + vid: "0002" diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory5.raw b/tests/arista_eos/show_inventory/arista_eos_show_inventory5.raw new file mode 100644 index 0000000000..dcfbe07b60 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory5.raw @@ -0,0 +1,81 @@ +System information + Model Description + ------------------------ ---------------------------------------------------- + DCS-7504 DCS-7504 Chassis + + HW Version Serial Number Mfg Date Epoch + ----------- -------------- ---------- ----- + 02.00 NMW73494474 2015-05-08 00.00 + +System has 12 card slots + Module Model HW Version Serial Number Mfg Date Epoch + ------------- --------------- ------------ --------------- ------------ ----- + Supervisor1 DCS-7500E-SUP 02.02 UYG13869875 2015-04-29 00.00 + Supervisor2 DCS-7500E-SUP 02.02 XBO60798591 2015-04-29 00.00 + Linecard3 7500E-72S-LC 02.00 HTO67444972 2015-05-27 00.00 + Linecard4 7500E-72S-LC 02.00 PTA02093377 2015-05-26 00.00 + Linecard5 7500E-36Q-LC 03.04 SOT35897684 2018-05-23 00.00 + Linecard6 7500E-36Q-LC 03.00 CVQ85772640 2015-05-26 00.00 + Fabric1 7504E-FM 01.02 YUM42966220 2015-05-22 00.00 + Fabric2 7504E-FM 01.02 TUC24327037 2015-05-22 00.00 + Fabric3 7504E-FM 01.02 LYA59864415 2015-05-22 00.00 + Fabric4 7504E-FM 01.02 PFE44760881 2015-05-22 00.00 + Fabric5 7504E-FM 01.02 HCQ16261500 2015-05-22 00.00 + Fabric6 7504E-FM 01.02 AEI97759630 2015-05-22 00.00 + +System has 4 power supply slots + Slot Model Serial Number + ---- ---------------- ---------------- + 1 PWR-2900AC D731UL17ASBHS + 2 PWR-2900AC L988QI60RQNYP + 3 PWR-2900AC L691WU87HLGWN + 4 PWR-2900AC Q042JS53D9GWN + +System has 6 fan modules + Module Number of Fans Model Serial Number + ------- --------------- ---------------- ---------------- + 1 3 7504E-FM YUM42966220 + 2 3 7504E-FM TUC24327037 + 3 3 7504E-FM LYA59864415 + 4 3 7504E-FM PFE44760881 + 5 3 7504E-FM HCQ16261500 + 6 3 7504E-FM AEI97759630 + +System has 436 ports + Type Count + ------------------ ---- + Management 4 + Switched 424 + SwitchedBootstrap 8 + +System has 172 transceiver slots + Port Manufacturer Model Serial Number Rev + ---- ---------------- ---------------- ---------------- ---- + 3/1 Arista Networks SFP1G-LX-31 Q3479690326 1.0 + 3/2 Arista Networks SFP-1G-SX YFR5275D1VDU 0002 + 3/3 Not Present + 3/4 Arista Networks SFP-1G-LX CAG0254RS09L 0002 + 3/6 Arista Networks SFP-10GLR-31 X1147117910 0002 + 3/7 Arista Networks SFP-10G-SRL JWO8674YN841 0002 + 3/15 Arista Networks SFP-10G-SRL CLO5006DH31M 0002 + 3/16 Not Present + 3/24 Arista Networks SFP-10G-SR-CURV NYJ3RQ5B8706 A1 + 3/25 Arista Networks SFP-10G-SR BXW4124SS991 0002 + 3/35 Arista Networks SFP10GSRL-ARISTA XZM5OD4E0923 A1 + 3/47 Arista Networks CAB-SFP-SFP-3M KGL906070180 0002 + 3/48 Arista Networks CAB-SFP-SFP-2.5M GTF14329317J 0002 + 3/50 Arista Networks 7500E-72S-LC + 4/1 Arista Networks CAB-SFP-SFP-2M DMK5483852OZ 20 + 5/1 Arista Networks QSFP-40G-UNIV UIC251807401 01 + 5/31 Arista Networks QSFP-PC015 H9984002848-9 01 + 5/32 Arista Networks QSFP-PC03 I7596958958-6 01 + 5/33 Arista Networks QSFP-40G-UNIV TKN3018051E2 20 + 6/2 Arista Networks QSFP-PC02 F3629972385-4 01 + 6/8 Arista Networks QSFP-SR4-40G T2709739166 02 + 6/9 Arista Networks QSFP-LR4-40G N2405628317 1A + 6/36 Not Present + +System has 1 storage device + Mount Type Model Serial Number Rev Size (GB) + ---------- ---- ---------- ------------- --- --------- + /mnt/flash eUSB eUSB drive 4 diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory5.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory5.yml new file mode 100644 index 0000000000..c17bbb2363 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory5.yml @@ -0,0 +1,227 @@ +--- +parsed_sample: + - descr: "DCS-7504 Chassis" + pid: "DCS-7504" + port: "" + sn: "NMW73494474" + vid: "02.00" + - descr: "Supervisor1" + pid: "DCS-7500E-SUP" + port: "" + sn: "UYG13869875" + vid: "02.02" + - descr: "Supervisor2" + pid: "DCS-7500E-SUP" + port: "" + sn: "XBO60798591" + vid: "02.02" + - descr: "Linecard3" + pid: "7500E-72S-LC" + port: "" + sn: "HTO67444972" + vid: "02.00" + - descr: "Linecard4" + pid: "7500E-72S-LC" + port: "" + sn: "PTA02093377" + vid: "02.00" + - descr: "Linecard5" + pid: "7500E-36Q-LC" + port: "" + sn: "SOT35897684" + vid: "03.04" + - descr: "Linecard6" + pid: "7500E-36Q-LC" + port: "" + sn: "CVQ85772640" + vid: "03.00" + - descr: "Fabric1" + pid: "7504E-FM" + port: "" + sn: "YUM42966220" + vid: "01.02" + - descr: "Fabric2" + pid: "7504E-FM" + port: "" + sn: "TUC24327037" + vid: "01.02" + - descr: "Fabric3" + pid: "7504E-FM" + port: "" + sn: "LYA59864415" + vid: "01.02" + - descr: "Fabric4" + pid: "7504E-FM" + port: "" + sn: "PFE44760881" + vid: "01.02" + - descr: "Fabric5" + pid: "7504E-FM" + port: "" + sn: "HCQ16261500" + vid: "01.02" + - descr: "Fabric6" + pid: "7504E-FM" + port: "" + sn: "AEI97759630" + vid: "01.02" + - descr: "" + pid: "PWR-2900AC" + port: "1" + sn: "D731UL17ASBHS" + vid: "" + - descr: "" + pid: "PWR-2900AC" + port: "2" + sn: "L988QI60RQNYP" + vid: "" + - descr: "" + pid: "PWR-2900AC" + port: "3" + sn: "L691WU87HLGWN" + vid: "" + - descr: "" + pid: "PWR-2900AC" + port: "4" + sn: "Q042JS53D9GWN" + vid: "" + - descr: "" + pid: "7504E-FM" + port: "1" + sn: "YUM42966220" + vid: "" + - descr: "" + pid: "7504E-FM" + port: "2" + sn: "TUC24327037" + vid: "" + - descr: "" + pid: "7504E-FM" + port: "3" + sn: "LYA59864415" + vid: "" + - descr: "" + pid: "7504E-FM" + port: "4" + sn: "PFE44760881" + vid: "" + - descr: "" + pid: "7504E-FM" + port: "5" + sn: "HCQ16261500" + vid: "" + - descr: "" + pid: "7504E-FM" + port: "6" + sn: "AEI97759630" + vid: "" + - descr: "Management" + pid: "" + port: "4" + sn: "" + vid: "" + - descr: "Switched" + pid: "" + port: "424" + sn: "" + vid: "" + - descr: "SwitchedBootstrap" + pid: "" + port: "8" + sn: "" + vid: "" + - descr: "Arista Networks" + pid: "SFP1G-LX-31" + port: "3/1" + sn: "Q3479690326" + vid: "1.0" + - descr: "Arista Networks" + pid: "SFP-1G-SX" + port: "3/2" + sn: "YFR5275D1VDU" + vid: "0002" + - descr: "Arista Networks" + pid: "SFP-1G-LX" + port: "3/4" + sn: "CAG0254RS09L" + vid: "0002" + - descr: "Arista Networks" + pid: "SFP-10GLR-31" + port: "3/6" + sn: "X1147117910" + vid: "0002" + - descr: "Arista Networks" + pid: "SFP-10G-SRL" + port: "3/7" + sn: "JWO8674YN841" + vid: "0002" + - descr: "Arista Networks" + pid: "SFP-10G-SRL" + port: "3/15" + sn: "CLO5006DH31M" + vid: "0002" + - descr: "Arista Networks" + pid: "SFP-10G-SR-CURV" + port: "3/24" + sn: "NYJ3RQ5B8706" + vid: "A1" + - descr: "Arista Networks" + pid: "SFP-10G-SR" + port: "3/25" + sn: "BXW4124SS991" + vid: "0002" + - descr: "Arista Networks" + pid: "SFP10GSRL-ARISTA" + port: "3/35" + sn: "XZM5OD4E0923" + vid: "A1" + - descr: "Arista Networks" + pid: "CAB-SFP-SFP-3M" + port: "3/47" + sn: "KGL906070180" + vid: "0002" + - descr: "Arista Networks" + pid: "CAB-SFP-SFP-2.5M" + port: "3/48" + sn: "GTF14329317J" + vid: "0002" + - descr: "Arista Networks" + pid: "CAB-SFP-SFP-2M" + port: "4/1" + sn: "DMK5483852OZ" + vid: "20" + - descr: "Arista Networks" + pid: "QSFP-40G-UNIV" + port: "5/1" + sn: "UIC251807401" + vid: "01" + - descr: "Arista Networks" + pid: "QSFP-PC015" + port: "5/31" + sn: "H9984002848-9" + vid: "01" + - descr: "Arista Networks" + pid: "QSFP-PC03" + port: "5/32" + sn: "I7596958958-6" + vid: "01" + - descr: "Arista Networks" + pid: "QSFP-40G-UNIV" + port: "5/33" + sn: "TKN3018051E2" + vid: "20" + - descr: "Arista Networks" + pid: "QSFP-PC02" + port: "6/2" + sn: "F3629972385-4" + vid: "01" + - descr: "Arista Networks" + pid: "QSFP-SR4-40G" + port: "6/8" + sn: "T2709739166" + vid: "02" + - descr: "Arista Networks" + pid: "QSFP-LR4-40G" + port: "6/9" + sn: "N2405628317" + vid: "1A" diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory6.raw b/tests/arista_eos/show_inventory/arista_eos_show_inventory6.raw new file mode 100644 index 0000000000..6790fe2347 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory6.raw @@ -0,0 +1,48 @@ +System information + Model Description + ------------------------ ---------------------------------------------------- + DCS-7280SE-64 48 SFP+ +4 QSFP 40Gb 1RU + + HW Version Serial Number Mfg Date Epoch + ----------- -------------- ---------- ----- + 01.22 SEE39571817 2019-04-30 00.00 + +System has 2 power supply slots + Slot Model Serial Number + ---- ---------------- ---------------- + 1 PWR-500AC-R DHQG2043IXM + 2 PWR-500AC-R NISG5738EN3 + +System has 4 fan modules + Module Number of Fans Model Serial Number + ------- --------------- ---------------- ---------------- + 1 1 FAN-7000-R N/A + 2 1 FAN-7000-R N/A + 3 1 FAN-7000-R N/A + 4 1 FAN-7000-R N/A + +System has 65 ports + Type Count + ------------------ ---- + Management 1 + Switched 62 + SwitchedBootstrap 2 + +System has 52 transceiver slots + Port Manufacturer Model Serial Number Rev + ---- ---------------- ---------------- ---------------- ---- + 1 Arista Networks SFP-10GLR-31 Q6151075966 0002 + 7 Potron SFP-10G-LR CB519197Q86201 0002 + 47 Arista Networks CAB-S-S-0.5M-TT YS8925Y4314 0001 + 52 Not Present + +System has 2 storage devices + Mount Type Model Serial Number Rev + ---------- ---- ------------------------ -------------------- -------- + /mnt/flash eUSB eUSB drive + /mnt/drive SSD StorFly VSFBM8CC120G-ARI S0L11706372860016603 0202-000 + + Size (GB) + --------- + 4 + 120 diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory6.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory6.yml new file mode 100644 index 0000000000..b7511ff124 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory6.yml @@ -0,0 +1,67 @@ +--- +parsed_sample: + - descr: "48 SFP+ +4 QSFP 40Gb 1RU" + pid: "DCS-7280SE-64" + port: "" + sn: "SEE39571817" + vid: "01.22" + - descr: "" + pid: "PWR-500AC-R" + port: "1" + sn: "DHQG2043IXM" + vid: "" + - descr: "" + pid: "PWR-500AC-R" + port: "2" + sn: "NISG5738EN3" + vid: "" + - descr: "" + pid: "FAN-7000-R" + port: "1" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7000-R" + port: "2" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7000-R" + port: "3" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7000-R" + port: "4" + sn: "N/A" + vid: "" + - descr: "Management" + pid: "" + port: "1" + sn: "" + vid: "" + - descr: "Switched" + pid: "" + port: "62" + sn: "" + vid: "" + - descr: "SwitchedBootstrap" + pid: "" + port: "2" + sn: "" + vid: "" + - descr: "Arista Networks" + pid: "SFP-10GLR-31" + port: "1" + sn: "Q6151075966" + vid: "0002" + - descr: "Potron" + pid: "SFP-10G-LR" + port: "7" + sn: "CB519197Q86201" + vid: "0002" + - descr: "Arista Networks" + pid: "CAB-S-S-0.5M-TT" + port: "47" + sn: "YS8925Y4314" + vid: "0001" diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory7.raw b/tests/arista_eos/show_inventory/arista_eos_show_inventory7.raw new file mode 100644 index 0000000000..02012cd801 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory7.raw @@ -0,0 +1,55 @@ +System information + Model Description + ------------------------ ---------------------------------------------------- + DCS-7150S-52-CL 52-port SFP+ 10GigE 1RU + Clock + + HW Version Serial Number Mfg Date Epoch + ----------- -------------- ---------- ----- + 12.04 ZHT78456940 2017-06-19 01.00 + +System has 2 power supply slots + Slot Model Serial Number + ---- ---------------- ---------------- + 1 PWR-460AC-R E436EG754CBQK + 2 PWR-460AC-R Y353OE22S8NIJ + +System has 4 fan modules + Module Number of Fans Model Serial Number + ------- --------------- ---------------- ---------------- + 1 1 FAN-7000-R N/A + 2 1 FAN-7000-R N/A + 3 1 FAN-7000-R N/A + 4 1 FAN-7000-R N/A + +System has 53 ports + Type Count + ------------------ ---- + Management 1 + Switched 50 + SwitchedBootstrap 2 + +System has 52 transceiver slots + Port Manufacturer Model Serial Number Rev + ---- ---------------- ---------------- ---------------- ---- + 1 Arista Networks SFP-1G-T HPT9294065TV 20 + 2 Not Present + 9 Arista Networks SFP-1G-T IFV55922691L 0002 + 15 Arista Networks Q-4SPC02 G5543749314-9 0001 + 16 Arista Networks CAB-Q-S-2M LTJ5092016XH 0001 + 17 Arista Networks SFP-10GLR-31 J0458522328 0002 + 23 Arista Networks SFP-GB-GE-T H9171898459 0002 + 25 Arista Networks SFP-10G-SR KYX917459127 0002 + 26 Arista Networks SFP-10G23-BX10 V7160634031 1.0 + 30 Arista Networks SFPP-PC01 E6857329471-3 0002 + 31 Arista Networks CAB-SFP-SFP-2M DMD005013318 20 + 35 Mellanox MC3309130-002 IO1231OB80420 A2 + 37 Arista Networks CW53-10G-10-1530 I1063580767 0002 + 50 Arista Networks CAB-SFP-SFP-0.5M BHZ72162I386 0002 + 52 Arista Networks CW51-10G-10-1510 O2448394824 0002 + +System has 1 storage device + Mount Type Model Serial Number Rev Size (GB) + ---------- ---- ---------- ------------- --- --------- + /mnt/flash eUSB eUSB drive 2 + +System has precision clock diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory7.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory7.yml new file mode 100644 index 0000000000..19f57389c7 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory7.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - descr: "52-port SFP+ 10GigE 1RU + Clock" + pid: "DCS-7150S-52-CL" + port: "" + sn: "ZHT78456940" + vid: "12.04" + - descr: "" + pid: "PWR-460AC-R" + port: "1" + sn: "E436EG754CBQK" + vid: "" + - descr: "" + pid: "PWR-460AC-R" + port: "2" + sn: "Y353OE22S8NIJ" + vid: "" + - descr: "" + pid: "FAN-7000-R" + port: "1" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7000-R" + port: "2" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7000-R" + port: "3" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7000-R" + port: "4" + sn: "N/A" + vid: "" + - descr: "Management" + pid: "" + port: "1" + sn: "" + vid: "" + - descr: "Switched" + pid: "" + port: "50" + sn: "" + vid: "" + - descr: "SwitchedBootstrap" + pid: "" + port: "2" + sn: "" + vid: "" + - descr: "Arista Networks" + pid: "SFP-1G-T" + port: "1" + sn: "HPT9294065TV" + vid: "20" + - descr: "Arista Networks" + pid: "SFP-1G-T" + port: "9" + sn: "IFV55922691L" + vid: "0002" + - descr: "Arista Networks" + pid: "Q-4SPC02" + port: "15" + sn: "G5543749314-9" + vid: "0001" + - descr: "Arista Networks" + pid: "CAB-Q-S-2M" + port: "16" + sn: "LTJ5092016XH" + vid: "0001" + - descr: "Arista Networks" + pid: "SFP-10GLR-31" + port: "17" + sn: "J0458522328" + vid: "0002" + - descr: "Arista Networks" + pid: "SFP-GB-GE-T" + port: "23" + sn: "H9171898459" + vid: "0002" + - descr: "Arista Networks" + pid: "SFP-10G-SR" + port: "25" + sn: "KYX917459127" + vid: "0002" + - descr: "Arista Networks" + pid: "SFP-10G23-BX10" + port: "26" + sn: "V7160634031" + vid: "1.0" + - descr: "Arista Networks" + pid: "SFPP-PC01" + port: "30" + sn: "E6857329471-3" + vid: "0002" + - descr: "Arista Networks" + pid: "CAB-SFP-SFP-2M" + port: "31" + sn: "DMD005013318" + vid: "20" + - descr: "Mellanox" + pid: "MC3309130-002" + port: "35" + sn: "IO1231OB80420" + vid: "A2" + - descr: "Arista Networks" + pid: "CW53-10G-10-1530" + port: "37" + sn: "I1063580767" + vid: "0002" + - descr: "Arista Networks" + pid: "CAB-SFP-SFP-0.5M" + port: "50" + sn: "BHZ72162I386" + vid: "0002" + - descr: "Arista Networks" + pid: "CW51-10G-10-1510" + port: "52" + sn: "O2448394824" + vid: "0002" diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory8.raw b/tests/arista_eos/show_inventory/arista_eos_show_inventory8.raw new file mode 100644 index 0000000000..1c724ea879 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory8.raw @@ -0,0 +1,50 @@ +System information + Model Description + ------------------------ ---------------------------------------------------- + DCS-7280DR3A-36 36x400GbE (QSFP-DD) Ethernet Switch with SyncE + + HW Version Serial Number Mfg Date Epoch + ----------- -------------- ---------- ----- + 11.13 HAO36098LF9 2024-06-01 01.00 + +System has 2 power supply slots + Slot Model Serial Number + ---- ---------------- ---------------- + 1 PWR-2411-AC-RED 1L422296592297M + 2 PWR-2411-AC-RED 4B157825774322V + +System has 4 fan modules + Module Number of Fans Model Serial Number + ------- --------------- ---------------- ---------------- + 1 1 FAN-7012H-RED N/A + 2 1 FAN-7012H-RED N/A + 3 1 FAN-7012H-RED N/A + 4 1 FAN-7012H-RED N/A + +System has 217 ports + Type Count + ------------------ ---- + Management 1 + Switched 214 + SwitchedBootstrap 2 + +System has 36 switched transceiver slots + Port Manufacturer Model Serial Number Rev + ---- ---------------- ---------------- ---------------- ---- + 1 Arista Networks T1QDD-400G-SR4 D9S573464 10 + 5 Arista Networks CAB-Q-Q-100G-2M CGZG2269 6 + 14 CISCO-ACACIA DP04QSDD-HE0-290 743879443 A + 15 T1NEXUS T1QDD-400G-ZR1 B4D097766 10 + 21 Arista Networks QDD4-400GBSR4-AR HQ589CHXH815 A1 + 36 Arista Networks T1QDD-400G-SR4 X2L443633 10 + +System has 2 auxiliary transceiver slots + Port Manufacturer Model Serial Number Rev + ---- ---------------- ---------------- ---------------- ---- + 37 Not Present + 38 Not Present + +System has 1 storage device + Mount Type Model Serial Number Rev Size (GB) + ---------- ---- ------------------- ------------- -------- --------- + /mnt/flash NVME VSFAN8CC480G-A001-H 98411-9150 AD00E000 480 diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory8.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory8.yml new file mode 100644 index 0000000000..3f15bffd9d --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory8.yml @@ -0,0 +1,82 @@ +--- +parsed_sample: + - descr: "36x400GbE (QSFP-DD) Ethernet Switch with SyncE" + pid: "DCS-7280DR3A-36" + port: "" + sn: "HAO36098LF9" + vid: "11.13" + - descr: "" + pid: "PWR-2411-AC-RED" + port: "1" + sn: "1L422296592297M" + vid: "" + - descr: "" + pid: "PWR-2411-AC-RED" + port: "2" + sn: "4B157825774322V" + vid: "" + - descr: "" + pid: "FAN-7012H-RED" + port: "1" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7012H-RED" + port: "2" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7012H-RED" + port: "3" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7012H-RED" + port: "4" + sn: "N/A" + vid: "" + - descr: "Management" + pid: "" + port: "1" + sn: "" + vid: "" + - descr: "Switched" + pid: "" + port: "214" + sn: "" + vid: "" + - descr: "SwitchedBootstrap" + pid: "" + port: "2" + sn: "" + vid: "" + - descr: "Arista Networks" + pid: "T1QDD-400G-SR4" + port: "1" + sn: "D9S573464" + vid: "10" + - descr: "Arista Networks" + pid: "CAB-Q-Q-100G-2M" + port: "5" + sn: "CGZG2269" + vid: "6" + - descr: "CISCO-ACACIA" + pid: "DP04QSDD-HE0-290" + port: "14" + sn: "743879443" + vid: "A" + - descr: "T1NEXUS" + pid: "T1QDD-400G-ZR1" + port: "15" + sn: "B4D097766" + vid: "10" + - descr: "Arista Networks" + pid: "QDD4-400GBSR4-AR" + port: "21" + sn: "HQ589CHXH815" + vid: "A1" + - descr: "Arista Networks" + pid: "T1QDD-400G-SR4" + port: "36" + sn: "X2L443633" + vid: "10" diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory9.raw b/tests/arista_eos/show_inventory/arista_eos_show_inventory9.raw new file mode 100644 index 0000000000..7aa56016f6 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory9.raw @@ -0,0 +1,50 @@ +System information + Model Description + ------------------------ ---------------------------------------------------- + DCS-7060X6-64PE 64x800GbE OSFP & 2xSFP Ethernet Switch + + HW Version Serial Number Mfg Date Epoch + ----------- -------------- ---------- ----- + 11.22 ATL555364MC 2024-09-27 01.00 + +System has 1 card slots + Module Model HW Version Serial Number Mfg Date Epoch + ------------- ------------ ------------- ---------------- ------------- ----- + Supervisor1 7001-SUP-A 11.00 QCI46516IVL 2024-09-27 01.00 + +System has 2 power supply slots + Slot Model Serial Number + ---- ---------------- ---------------- + 1 PWR-2421-HV-RED DHQC1841223M5 + 2 PWR-2421-HV-RED MNRT2890516IY + +System has 4 fan modules + Module Number of Fans Model Serial Number + ------- --------------- ---------------- ---------------- + 1 1 FAN-7021H-RED N/A + 2 1 FAN-7021H-RED N/A + 3 1 FAN-7021H-RED N/A + 4 1 FAN-7021H-RED N/A + +System has 515 ports + Type Count + ------------------ ---- + Management 1 + Switched 512 + SwitchedBootstrap 2 + +System has 66 switched transceiver slots + Port Manufacturer Model Serial Number Rev + ---- ---------------- ---------------- ---------------- ---- + 1 Arista Networks OSFP-800G-PC01 E8650514478-2 00 + 7 WhiteBoxNetworks O112-2DR4 2K4Z99101 1E + 9 Arista Networks OSFP800GB2XSR4AR DC639I90F003 A1 + 15 WhiteBoxNetworks O112-2DR4 0M1S86969 1E + 31 T1NEXUS T1O112-800G-2SR4 Q1Y362400 B0 + 66 Not Present + +System has 1 storage device +Supervisor 1: + Mount Type Model Serial Number Rev Size (GB) + ---------- ---- ------------------------- ----------------- -------- --------- + /mnt/flash NVME W6EN240G8TA-PE4EA5-4D2.E2 693-7231708-93060 EIEM51.2 240 diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory9.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory9.yml new file mode 100644 index 0000000000..03838d31c2 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory9.yml @@ -0,0 +1,82 @@ +--- +parsed_sample: + - descr: "64x800GbE OSFP & 2xSFP Ethernet Switch" + pid: "DCS-7060X6-64PE" + port: "" + sn: "ATL555364MC" + vid: "11.22" + - descr: "Supervisor1" + pid: "7001-SUP-A" + port: "" + sn: "QCI46516IVL" + vid: "11.00" + - descr: "" + pid: "PWR-2421-HV-RED" + port: "1" + sn: "DHQC1841223M5" + vid: "" + - descr: "" + pid: "PWR-2421-HV-RED" + port: "2" + sn: "MNRT2890516IY" + vid: "" + - descr: "" + pid: "FAN-7021H-RED" + port: "1" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7021H-RED" + port: "2" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7021H-RED" + port: "3" + sn: "N/A" + vid: "" + - descr: "" + pid: "FAN-7021H-RED" + port: "4" + sn: "N/A" + vid: "" + - descr: "Management" + pid: "" + port: "1" + sn: "" + vid: "" + - descr: "Switched" + pid: "" + port: "512" + sn: "" + vid: "" + - descr: "SwitchedBootstrap" + pid: "" + port: "2" + sn: "" + vid: "" + - descr: "Arista Networks" + pid: "OSFP-800G-PC01" + port: "1" + sn: "E8650514478-2" + vid: "00" + - descr: "WhiteBoxNetworks" + pid: "O112-2DR4" + port: "7" + sn: "2K4Z99101" + vid: "1E" + - descr: "Arista Networks" + pid: "OSFP800GB2XSR4AR" + port: "9" + sn: "DC639I90F003" + vid: "A1" + - descr: "WhiteBoxNetworks" + pid: "O112-2DR4" + port: "15" + sn: "0M1S86969" + vid: "1E" + - descr: "T1NEXUS" + pid: "T1O112-800G-2SR4" + port: "31" + sn: "Q1Y362400" + vid: "B0"