diff --git a/ntc_templates/templates/hp_comware_display_version.textfsm b/ntc_templates/templates/hp_comware_display_version.textfsm new file mode 100644 index 0000000000..4d12f409eb --- /dev/null +++ b/ntc_templates/templates/hp_comware_display_version.textfsm @@ -0,0 +1,133 @@ +Value Filldown VERSION (\S+) +Value Filldown RELEASE (\S+) +Value Filldown MODEL (.+?) +Value Filldown UPTIME (.+) +Value Filldown LAST_REBOOT_REASON (.+) +Value Filldown BOOT_IMAGE (\S+) +Value Filldown BOOT_IMAGE_VERSION (\S+) +Value Filldown BOOT_RELEASE (\S+) +Value Filldown BOOT_COMPILE_DATE (.+) +Value Filldown SYSTEM_IMAGE (\S+) +Value Filldown SYSTEM_IMAGE_VERSION (\S+) +Value Filldown SYSTEM_RELEASE (\S+) +Value Filldown SYSTEM_COMPILE_DATE (.+) +Value List SLOT_TYPE (\S+) +Value List CHASSIS (\d+) +Value List SLOT (\d+) +Value List STATUS (Without Board) +Value List SLOT_UPTIME (.+) +Value List BOARD_TYPE (.+) +Value List CARD_TYPE (.+) +Value List DRAM (\d+\w*) +Value List FLASH (\d+\w*) +Value List NAND_FLASH (\d+\w*) +Value List NOR_FLASH (\d+\w*) +Value List NVRAM (\d+\w*) +Value List BOOTROM_VERSION (\S+) +Value List PATCH_VERSION (\S+) +Value List REBOOT_CAUSE (\S+) +Value List HW_VERSION (\S+) +Value List CPLDA (\d+) +Value List CPLDB (\d+) +Value List SUBSLOT (\d+) +Value List SLOT_MODEL (.+?) +Value List SUBSLOT_VERSION (\S+) +Value List PCB (\S+) +Value List PCB_VERSION (\S+) +Value List CPLD (\d+) +Value List CPLD_VERSION (\S+) +Value List POWER_CPLD (\d+) +Value List POWER_CPLD_VERSION (\S+) +Value List RELEASE_VERSION (.+) +Value List BOARD_PROCESSOR_COUNT (\d+) +Value List BOARD_PROCESSOR_MODEL (\S+) +Value List FPGA (\S+) +Value List FPGA_VERSION (\S+) +Value List SLOT_NAME (MPU.*|LPU) +Value List POW_CHIP (\S+) +Value List OAA_FRONT_BOARD (\S+) + +Start + ^\s*HPE?\s+Comware\s+(Platform\s+)?Software,\s+Version\s+${VERSION},\s+Release\s+${RELEASE} + ^\s*HPE?\s+Comware\s+Platform\s+Software + ^\s*Copyright + ^\s*.*Comware\s+Software,\s+Version\s+${VERSION},\s+Release\s+${RELEASE} + ^\s*${MODEL}\s+uptime\s+is\s+${UPTIME} + ^\s*Last\s+reboot\s+reason\s*:\s*${LAST_REBOOT_REASON} + ^\s*Boot\s+image:\s+${BOOT_IMAGE} + ^\s*Boot\s+image\s+version:\s+${BOOT_IMAGE_VERSION},\s+Release\s+${BOOT_RELEASE} -> BootImageCompileDate + ^\s*System\s+image:\s+${SYSTEM_IMAGE} + ^\s*System\s+image\s+version:\s+${SYSTEM_IMAGE_VERSION},\s+Release\s+${SYSTEM_RELEASE} -> SystemImageCompileDate + # Standalone switch rules (e.g. HP 5800) + ^\s*${DRAM}\s+bytes\s+SDRAM + ^\s*${NOR_FLASH}\s+bytes\s+Nor\s+Flash\s+Memory + ^\s*${NAND_FLASH}\s+bytes\s+Nand\s+Flash\s+Memory + ^\s*${FLASH}\s+bytes\s+Flash\s+Memory + ^\s*Config\s+Register\s+points\s+to\s+Nand\s+Flash + ^\s*Hardware\s+Version\s+is\s+(Ver|REV)\.${HW_VERSION} + ^\s*CPLDA\s+Version\s+is\s+${CPLDA},\s+CPLDB\s+Version\s+is\s+${CPLDB} + ^\s*CPLD(\s+${CPLD})?\s+Version(:|\s+is)\s+${CPLD_VERSION} + ^\s*Power\s+CPLD(\s+${POWER_CPLD})?\s+Version(:|\s+is)\s+${POWER_CPLD_VERSION} + ^.*\S*\s*Boot\S+\s+Version(:|\s+is)\s+${BOOTROM_VERSION}\s* + ^\s*\[SubSlot\s+${SUBSLOT}\]\s+(${SLOT_MODEL}\s+Hardware\s+Version\s+is\s+Ver\.${SUBSLOT_VERSION})? + ^\s*FPGA(\s+${FPGA})?\s+Version:\s+${FPGA_VERSION} + ^\s*${BOARD_TYPE}\s+with\s+\d+\s+Processors? + # Chassis / Slot header transitions to SlotSection + ^\s*${SLOT_TYPE}\s+Chassis\s+${CHASSIS}\s+Slot\s+${SLOT}: -> SlotSection + ^\s*Chassis\s+${CHASSIS}\s+Slot\s+${SLOT}: -> SlotSection + ^\s*${SLOT_TYPE}\s+Slot\s+${SLOT}: -> SlotSection + ^\s*Slot\s+${SLOT}:? -> SlotSection + ^\s*${SLOT_NAME}\s+${SLOT}: -> SlotSection + ^\s*(?:${SLOT_TYPE}\s+)?(?:Chassis\s+${CHASSIS}\s+)?Slot\s+${SLOT}\s+${STATUS} -> SlotSection + ^\s*$$ + ^\s*. -> Error + + +BootImageCompileDate + ^\s+Compiled\s+${BOOT_COMPILE_DATE} -> Start + +SystemImageCompileDate + ^\s+Compiled\s+${SYSTEM_COMPILE_DATE} -> Start + +SlotSection + # Flush completed slot record prior to parsing the next slot line + ^\s*(Chassis\s+\d+\s+)?Slot\s+\d+ -> Continue.Record + # Slot header capture rules + ^\s*${SLOT_TYPE}\s+Chassis\s+${CHASSIS}\s+Slot\s+${SLOT}: + ^\s*Chassis\s+${CHASSIS}\s+Slot\s+${SLOT}: + ^\s*${SLOT_TYPE}\s+Slot\s+${SLOT}: + ^\s*Slot\s+${SLOT}: + ^\s*(${SLOT_TYPE}\s+)?(?:Chassis\s+${CHASSIS}\s+)?Slot\s+${SLOT}\s+${STATUS} + # Slot attribute rules + ^\s*Uptime\s+is\s+${SLOT_UPTIME} + ^\s*${CARD_TYPE}\s+with\s+${BOARD_PROCESSOR_COUNT}(\s+${BOARD_PROCESSOR_MODEL})?\s+Processors? + ^\s*BOARD\s+TYPE:\s+${BOARD_TYPE} + ^\s*DRAM:\s+${DRAM} + ^\s*${DRAM}\s+bytes\s+SDRAM + ^\s*FLASH:\s+${FLASH} + ^\s*${NOR_FLASH}\s+bytes\s+Nor\s+Flash\s+Memory + ^\s*${NAND_FLASH}\s+bytes\s+Nand\s+Flash\s+Memory + ^\s*NVRAM:\s+${NVRAM} + ^\s*PCB\s+${PCB}\s+Version:\s+(VER.${PCB_VERSION})? + ^\s*FPGA(\s+${FPGA})?\s+Version:\s+${FPGA_VERSION} + ^\s*Config\s+Register\s+points\s+to\s+Nand\s+Flash + ^\s*CPLD(\s+${CPLD})?\s+Version(:|\s+is)\s+${CPLD_VERSION} + ^\s*CPLDA\s+Version\s+is\s+${CPLDA},\s+CPLDB\s+Version\s+is\s+${CPLDB} + ^\s*Hardware\s+Version\s+is\s+(Ver|REV)\.${HW_VERSION} + ^\s*Power\s+CPLD(\s+${POWER_CPLD})?\s+Version(:|\s+is)\s+${POWER_CPLD_VERSION} + ^\s*OAA\s+Front\s+Board:\s+${OAA_FRONT_BOARD} + ^.*\S*\s*Boot\S+\s+Version(:|\s+is)\s+${BOOTROM_VERSION}\s* + ^\s*Last\s+reboot\s+reason\s*:\s*${LAST_REBOOT_REASON} + ^\s*PowChip\s+Version:\s+${POW_CHIP} + ^\s*Release\s+Version:\s+${RELEASE_VERSION} + ^\s*Patch\s+Version\s*:\s*${PATCH_VERSION} + ^\s*Reboot\s+Cause\s*:\s*${REBOOT_CAUSE} + ^\s*\[SubSlot\s+${SUBSLOT}\]\s+${SLOT_MODEL}(\s+Hardware\s+Version\s+is\s+Ver\.${SUBSLOT_VERSION})? + # Chassis / Slot header transitions to SlotSection + ^\s*${SLOT_TYPE}\s+Chassis\s+${CHASSIS}\s+Slot\s+${SLOT}: + ^\s*Chassis\s+${CHASSIS}\s+Slot\s+${SLOT}: + ^\s*${SLOT_TYPE}\s+Slot\s+${SLOT}: + ^\s*Slot\s+${SLOT}: + ^\s*${SLOT_NAME}\s+${SLOT}: + ^\s*$$ + ^\s*. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index ff51e1e9ce..7acd4ef9a1 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -692,6 +692,7 @@ hp_comware_display_mac-address.textfsm, .*, hp_comware, di[[splay]] mac-ad[[dres hp_comware_display_vlan_brief.textfsm, .*, hp_comware, di[[splay]] v[[lan]] b[[rief]] hp_comware_display_interface.textfsm, .*, hp_comware, dis[[play]] int[[erface]] hp_comware_display_vlan_all.textfsm, .*, hp_comware, di[[splay]] v[[lan]] a[[ll]] +hp_comware_display_version.textfsm, .*, hp_comware, di[[splay]] ver[[sion]] hp_comware_display_clock.textfsm, .*, hp_comware, di[[splay]] clo[[ck]] hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] diff --git a/tests/hp_comware/display_version/hp_comware_display_version.raw b/tests/hp_comware/display_version/hp_comware_display_version.raw new file mode 100644 index 0000000000..ea09a7cb61 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version.raw @@ -0,0 +1,18 @@ +HP Comware Platform Software +Comware Software, Version 5.20.105, Release 1809P03-US +Copyright (c) 2010-2015 Hewlett-Packard Development Company, L.P. +HP 5800-24G-SFP Switch with 1 Interface Slot uptime is 513 weeks, 5 days, 15 hours, 35 minutes + +HP 5800-24G-SFP Switch with 1 Interface Slot with 2 Processors +1792M bytes SDRAM +4M bytes Nor Flash Memory +512M bytes Nand Flash Memory +Config Register points to Nand Flash + +Hardware Version is Ver.B +CPLDA Version is 003, CPLDB Version is 003 +BootRom Version is 303 +[SubSlot 0] 24SFP+4SFP Plus Hardware Version is Ver.B +[SubSlot 1] 16GE Hardware Version is Ver.A + + diff --git a/tests/hp_comware/display_version/hp_comware_display_version.yml b/tests/hp_comware/display_version/hp_comware_display_version.yml new file mode 100644 index 0000000000..36bae81e7f --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version.yml @@ -0,0 +1,64 @@ +--- +parsed_sample: + - board_processor_count: [] + board_processor_model: [] + board_type: + - "HP 5800-24G-SFP Switch with 1 Interface Slot" + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: + - "303" + card_type: [] + chassis: [] + cpld: [] + cpld_version: [] + cplda: + - "003" + cpldb: + - "003" + dram: + - "1792M" + flash: [] + fpga: [] + fpga_version: [] + hw_version: + - "B" + last_reboot_reason: "" + model: "HP 5800-24G-SFP Switch with 1 Interface Slot" + nand_flash: + - "512M" + nor_flash: + - "4M" + nvram: [] + oaa_front_board: [] + patch_version: [] + pcb: [] + pcb_version: [] + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "1809P03-US" + release_version: [] + slot: [] + slot_model: + - "24SFP+4SFP Plus" + - "16GE" + slot_name: [] + slot_type: [] + slot_uptime: [] + status: [] + subslot: + - "0" + - "1" + subslot_version: + - "B" + - "A" + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "513 weeks, 5 days, 15 hours, 35 minutes" + version: "5.20.105" diff --git a/tests/hp_comware/display_version/hp_comware_display_version10.raw b/tests/hp_comware/display_version/hp_comware_display_version10.raw new file mode 100644 index 0000000000..f8e82074f7 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version10.raw @@ -0,0 +1,25 @@ +HP Comware Software, Version 7.1.045, Release 2311P02 +Copyright (c) 2010-2014 Hewlett-Packard Development Company, L.P. +HP 5900AF-48G-4XG-2QSFP+ Switch uptime is 589 weeks, 2 days, 7 hours, 8 minutes +Last reboot reason : Power on + +Boot image: flash:/5900_5920-cmw710-boot-r2311p02.bin +Boot image version: 7.1.045P16, Release 2311P02 + Compiled Aug 09 2014 15:05:16 +System image: flash:/5900_5920-cmw710-system-r2311p02.bin +System image version: 7.1.045, Release 2311P02 + Compiled Aug 09 2014 15:05:27 + +Slot 1 +HP 5900AF-48G-4XG-2QSFP+ Switch with 2 Processors +Last reboot reason : Power on +2048M bytes SDRAM +4M bytes Nor Flash Memory +512M bytes Nand Flash Memory +Config Register points to Nand Flash + +Hardware Version is Ver.A +CPLD Version is 001 +BootRom Version is 132 +[SubSlot 0] 48GE+4SFP Plus+2QSFP Plus Hardware Version is Ver.A + diff --git a/tests/hp_comware/display_version/hp_comware_display_version10.yml b/tests/hp_comware/display_version/hp_comware_display_version10.yml new file mode 100644 index 0000000000..d2ed189695 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version10.yml @@ -0,0 +1,64 @@ +--- +parsed_sample: + - board_processor_count: + - "2" + board_processor_model: + - "None" + board_type: [] + boot_compile_date: "Aug 09 2014 15:05:16" + boot_image: "flash:/5900_5920-cmw710-boot-r2311p02.bin" + boot_image_version: "7.1.045P16" + boot_release: "2311P02" + bootrom_version: + - "132" + card_type: + - "HP 5900AF-48G-4XG-2QSFP+ Switch" + chassis: [] + cpld: + - "None" + cpld_version: + - "001" + cplda: [] + cpldb: [] + dram: + - "2048M" + flash: [] + fpga: [] + fpga_version: [] + hw_version: + - "A" + last_reboot_reason: "Power on" + model: "HP 5900AF-48G-4XG-2QSFP+ Switch" + nand_flash: + - "512M" + nor_flash: + - "4M" + nvram: [] + oaa_front_board: [] + patch_version: [] + pcb: [] + pcb_version: [] + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "2311P02" + release_version: [] + slot: + - "1" + slot_model: + - "4" + slot_name: [] + slot_type: [] + slot_uptime: [] + status: [] + subslot: + - "0" + subslot_version: + - "None" + system_compile_date: "Aug 09 2014 15:05:27" + system_image: "flash:/5900_5920-cmw710-system-r2311p02.bin" + system_image_version: "7.1.045" + system_release: "2311P02" + uptime: "589 weeks, 2 days, 7 hours, 8 minutes" + version: "7.1.045" diff --git a/tests/hp_comware/display_version/hp_comware_display_version11.raw b/tests/hp_comware/display_version/hp_comware_display_version11.raw new file mode 100644 index 0000000000..fc404ad563 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version11.raw @@ -0,0 +1,54 @@ +HPE Comware Software, Version 7.1.070, Release 6555P02 +Copyright (c) 2010-2020 Hewlett Packard Enterprise Development LP +HPE FF 5945 32QSFP28 Switch uptime is 311 weeks, 3 days, 2 hours, 48 minutes +Last reboot reason : Cold reboot + +Boot image: flash:/5945-cmw710-boot-r6555p02.bin +Boot image version: 7.1.070, Release 6555P02 + Compiled Jan 14 2020 11:00:00 +System image: flash:/5945-cmw710-system-r6555p02.bin +System image version: 7.1.070, Release 6555P02 + Compiled Jan 14 2020 11:00:00 + + +MPU(M) Slot 1: +Uptime is 311 weeks,3 days,2 hours,48 minutes +HPE FF 5945 32QSFP28 Switch MPU(M) with 1 C2538 Processor(s) +BOARD TYPE: FF 5945 32QSFP28 Switch +DRAM: 8192M bytes +FLASH: 3630M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.A +PCB 2 Version: VER.B +PCB 3 Version: VER.A +Basic BootWare Version: 105 +Extended BootWare Version: 106 +CPLD 1 Version: 002 +CPLD 2 Version: 001 +CPLD 3 Version: 002 +FPGA 1 Version: 255 +Release Version: HPE FF 5945 32QSFP28 Switch-6555P02 +Patch Version: None +Reboot Cause: ColdReboot +[SubSlot 0] 32QSFP28 + 2SFP + +MPU(S) Slot 2: +Uptime is 311 weeks,3 days,1 hour,34 minutes +HPE FF 5945 32QSFP28 Switch LPU with 1 C2538 Processor(s) +BOARD TYPE: FF 5945 32QSFP28 Switch +DRAM: 8192M bytes +FLASH: 3630M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.A +PCB 2 Version: VER.B +PCB 3 Version: VER.A +Basic BootWare Version: 105 +Extended BootWare Version: 106 +CPLD 1 Version: 002 +CPLD 2 Version: 001 +CPLD 3 Version: 002 +FPGA 1 Version: 255 +Release Version: HPE FF 5945 32QSFP28 Switch-6555P02 +Patch Version: None +Reboot Cause: IRFMergeReboot +[SubSlot 0] 32QSFP28 + 2SFP diff --git a/tests/hp_comware/display_version/hp_comware_display_version11.yml b/tests/hp_comware/display_version/hp_comware_display_version11.yml new file mode 100644 index 0000000000..e54043313b --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version11.yml @@ -0,0 +1,114 @@ +--- +parsed_sample: + - board_processor_count: + - "1" + - "1" + board_processor_model: + - "C2538" + - "C2538" + board_type: + - "FF 5945 32QSFP28 Switch" + - "FF 5945 32QSFP28 Switch" + boot_compile_date: "Jan 14 2020 11:00:00" + boot_image: "flash:/5945-cmw710-boot-r6555p02.bin" + boot_image_version: "7.1.070" + boot_release: "6555P02" + bootrom_version: + - "105" + - "106" + - "105" + - "106" + card_type: + - "HPE FF 5945 32QSFP28 Switch MPU(M)" + - "HPE FF 5945 32QSFP28 Switch LPU" + chassis: [] + cpld: + - "1" + - "2" + - "3" + - "1" + - "2" + - "3" + cpld_version: + - "002" + - "001" + - "002" + - "002" + - "001" + - "002" + cplda: [] + cpldb: [] + dram: + - "8192M" + - "8192M" + flash: + - "3630M" + - "3630M" + fpga: + - "1" + - "1" + fpga_version: + - "255" + - "255" + hw_version: [] + last_reboot_reason: "Cold reboot" + model: "HPE FF 5945 32QSFP28 Switch" + nand_flash: [] + nor_flash: [] + nvram: + - "0K" + - "0K" + oaa_front_board: [] + patch_version: + - "None" + - "None" + pcb: + - "1" + - "2" + - "3" + - "1" + - "2" + - "3" + pcb_version: + - "A" + - "B" + - "A" + - "A" + - "B" + - "A" + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: + - "ColdReboot" + - "IRFMergeReboot" + release: "6555P02" + release_version: + - "HPE FF 5945 32QSFP28 Switch-6555P02" + - "HPE FF 5945 32QSFP28 Switch-6555P02" + slot: + - "1" + - "2" + slot_model: + - "3" + - "3" + slot_name: [] + slot_type: + - "MPU(M)" + - "MPU(S)" + slot_uptime: + - "311 weeks,3 days,2 hours,48 minutes" + - "311 weeks,3 days,1 hour,34 minutes" + status: [] + subslot: + - "0" + - "0" + subslot_version: + - "None" + - "None" + system_compile_date: "Jan 14 2020 11:00:00" + system_image: "flash:/5945-cmw710-system-r6555p02.bin" + system_image_version: "7.1.070" + system_release: "6555P02" + uptime: "311 weeks, 3 days, 2 hours, 48 minutes" + version: "7.1.070" diff --git a/tests/hp_comware/display_version/hp_comware_display_version2.raw b/tests/hp_comware/display_version/hp_comware_display_version2.raw new file mode 100644 index 0000000000..0a5820761b --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version2.raw @@ -0,0 +1,27 @@ +HPE Comware Software, Version 7.1.070, Release 3507P18 +Copyright (c) 2010-2023 Hewlett Packard Enterprise Development LP +HPE 5130 48G PoE+ 4SFP+ 1-slot HI Switch JH326A uptime is 35 weeks, 3 days, 5 hours, 55 minutes +Last reboot reason : User reboot + +Boot image: flash:/5130hi-cmw710-boot-r3507p18.bin +Boot image version: 7.1.070, Release 3507P18 + Compiled Oct 12 2023 11:00:00 +System image: flash:/5130hi-cmw710-system-r3507p18.bin +System image version: 7.1.070, Release 3507P18 + Compiled Oct 12 2023 11:00:00 + + +Slot 1: +Uptime is 35 weeks,3 days,5 hours,55 minutes +5130 48G PoE+ 4SFP+ 1-slot HI Switch with 2 Processor +BOARD TYPE: 5130 48G PoE+ 4SFP+ 1-slot HI Switch +DRAM: 1984M bytes +FLASH: 512M bytes +PCB 1 Version: VER.B +Bootrom Version: 128 +CPLD 1 Version: 003 +Release Version: HPE 5130 48G PoE+ 4SFP+ 1-slot HI Switch JH326A-3507P18 +Patch Version : None +Reboot Cause : UserReboot +[SubSlot 0] 48GE+4SFP Plus + diff --git a/tests/hp_comware/display_version/hp_comware_display_version2.yml b/tests/hp_comware/display_version/hp_comware_display_version2.yml new file mode 100644 index 0000000000..a349c55d48 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version2.yml @@ -0,0 +1,69 @@ +--- +parsed_sample: + - board_processor_count: + - "2" + board_processor_model: + - "None" + board_type: + - "5130 48G PoE+ 4SFP+ 1-slot HI Switch" + boot_compile_date: "Oct 12 2023 11:00:00" + boot_image: "flash:/5130hi-cmw710-boot-r3507p18.bin" + boot_image_version: "7.1.070" + boot_release: "3507P18" + bootrom_version: + - "128" + card_type: + - "5130 48G PoE+ 4SFP+ 1-slot HI Switch" + chassis: [] + cpld: + - "1" + cpld_version: + - "003" + cplda: [] + cpldb: [] + dram: + - "1984M" + flash: + - "512M" + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "User reboot" + model: "HPE 5130 48G PoE+ 4SFP+ 1-slot HI Switch JH326A" + nand_flash: [] + nor_flash: [] + nvram: [] + oaa_front_board: [] + patch_version: + - "None" + pcb: + - "1" + pcb_version: + - "B" + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: + - "UserReboot" + release: "3507P18" + release_version: + - "HPE 5130 48G PoE+ 4SFP+ 1-slot HI Switch JH326A-3507P18" + slot: + - "1" + slot_model: + - "4" + slot_name: [] + slot_type: [] + slot_uptime: + - "35 weeks,3 days,5 hours,55 minutes" + status: [] + subslot: + - "0" + subslot_version: + - "None" + system_compile_date: "Oct 12 2023 11:00:00" + system_image: "flash:/5130hi-cmw710-system-r3507p18.bin" + system_image_version: "7.1.070" + system_release: "3507P18" + uptime: "35 weeks, 3 days, 5 hours, 55 minutes" + version: "7.1.070" diff --git a/tests/hp_comware/display_version/hp_comware_display_version3.raw b/tests/hp_comware/display_version/hp_comware_display_version3.raw new file mode 100644 index 0000000000..2eff8d8e89 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version3.raw @@ -0,0 +1,229 @@ +HP Comware Platform Software +Comware Software, Version 5.20.105, Release 6708-US +Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P. +HP 7506 uptime is 593 weeks, 5 days, 21 hours, 24 minutes + +MPU(M) Chassis 1 Slot 0: +Uptime is 593 weeks,5 days,21 hours,24 minutes +HP 7506 MPU(M) with 1 BCM1125H Processor +BOARD TYPE: LSQ1SRP2XB +DRAM: 512M bytes +FLASH: 64M bytes +NVRAM: 512K bytes +PCB 1 Version: VER.B +PCB 2 Version: VER.B +Bootrom Version: 500 +CPLD 1 Version: 006 +CPLD 2 Version: 006 +Release Version: HP 7506-6708-US +Patch Version : None + +MPU(S) Chassis 1 Slot 1: +Uptime is 593 weeks,5 days,21 hours,41 minutes +HP 7506 MPU(S) with 1 BCM1125H Processor +BOARD TYPE: LSQ1SRP2XB +DRAM: 512M bytes +FLASH: 64M bytes +NVRAM: 512K bytes +PCB 1 Version: VER.B +PCB 2 Version: VER.B +Bootrom Version: 500 +CPLD 1 Version: 006 +CPLD 2 Version: 006 +Release Version: HP 7506-6708-US +Patch Version : None + +LPU Chassis 1 Slot 2: +Uptime is 593 weeks,5 days,22 hours,37 minutes +HP 7506 LPU with 1 XLS408 Processor +BOARD TYPE: LSQ1TGS8SC +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.B +Bootware Version: 511 +CPLD 1 Version: 001 +Release Version: HP 7506-6708-US +Patch Version : None + +Chassis 1 Slot 3 Without Board + +Chassis 1 Slot 4 Without Board + +LPU Chassis 1 Slot 5: +Uptime is 542 weeks,5 days,2 hours,21 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: LSQ1GV48SC +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.E +Bootware Version: 503 +CPLD 1 Version: 004 +Release Version: HP 7506-6708-US +Patch Version : None + +LPU Chassis 1 Slot 6: +Uptime is 542 weeks,5 days,2 hours,33 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: LSQ1GV48SC +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.E +Bootware Version: 503 +CPLD 1 Version: 004 +Release Version: HP 7506-6708-US +Patch Version : None + +LPU Chassis 1 Slot 7: +Uptime is 593 weeks,5 days,21 hours,47 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: LSQ1GV48SC +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.D +Bootware Version: 306 +CPLD 1 Version: 004 +Release Version: HP 7506-6708-US +Patch Version : None + +LPU Chassis 1 Slot 8: +Uptime is 593 weeks,5 days,21 hours,3 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: SRP2XBSLAVE +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: NA +Bootware Version: 306 +CPLD 1 Version: NA +Release Version: HP 7506-6708-US +Patch Version : None + +LPU Chassis 1 Slot 9: +Uptime is 593 weeks,5 days,21 hours,45 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: SRP2XBSLAVE +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: NA +Bootware Version: 306 +CPLD 1 Version: NA +Release Version: HP 7506-6708-US +Patch Version : None + +MPU(S) Chassis 2 Slot 0: +Uptime is 44 weeks,4 days,1 hours,21 minutes +HP 7506 MPU(S) with 1 BCM1125H Processor +BOARD TYPE: LSQ1SRP2XB +DRAM: 512M bytes +FLASH: 64M bytes +NVRAM: 512K bytes +PCB 1 Version: VER.B +PCB 2 Version: VER.B +Bootrom Version: 500 +CPLD 1 Version: 006 +CPLD 2 Version: 006 +Release Version: HP 7506-6708-US +Patch Version : None + +MPU(S) Chassis 2 Slot 1: +Uptime is 44 weeks,4 days,1 hours,19 minutes +HP 7506 MPU(S) with 1 BCM1125H Processor +BOARD TYPE: LSQ1SRP2XB +DRAM: 512M bytes +FLASH: 64M bytes +NVRAM: 512K bytes +PCB 1 Version: VER.B +PCB 2 Version: VER.B +Bootrom Version: 500 +CPLD 1 Version: 006 +CPLD 2 Version: 006 +Release Version: HP 7506-6708-US +Patch Version : None + +LPU Chassis 2 Slot 2: +Uptime is 44 weeks,4 days,1 hours,18 minutes +HP 7506 LPU with 1 XLS408 Processor +BOARD TYPE: LSQ1TGS8SC +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.B +Bootware Version: 511 +CPLD 1 Version: 001 +Release Version: HP 7506-6708-US +Patch Version : None + +Chassis 2 Slot 3 Without Board + +Chassis 2 Slot 4 Without Board + +LPU Chassis 2 Slot 5: +Uptime is 28 weeks,5 days,22 hours,14 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: LSQ1GV48SC +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.E +Bootware Version: 503 +CPLD 1 Version: 004 +Release Version: HP 7506-6708-US +Patch Version : None + +LPU Chassis 2 Slot 6: +Uptime is 44 weeks,4 days,1 hours,16 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: LSQ1GV48SC +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.D +Bootware Version: 306 +CPLD 1 Version: 004 +Release Version: HP 7506-6708-US +Patch Version : None + +LPU Chassis 2 Slot 7: +Uptime is 44 weeks,4 days,1 hours,10 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: LSQ1GV48SC +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.D +Bootware Version: 306 +CPLD 1 Version: 004 +Release Version: HP 7506-6708-US +Patch Version : None + +LPU Chassis 2 Slot 8: +Uptime is 44 weeks,4 days,1 hours,19 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: SRP2XBSLAVE +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: NA +Bootware Version: 306 +CPLD 1 Version: NA +Release Version: HP 7506-6708-US +Patch Version : None + +LPU Chassis 2 Slot 9: +Uptime is 44 weeks,4 days,1 hours,18 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: SRP2XBSLAVE +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: NA +Bootware Version: 306 +CPLD 1 Version: NA +Release Version: HP 7506-6708-US +Patch Version : None + diff --git a/tests/hp_comware/display_version/hp_comware_display_version3.yml b/tests/hp_comware/display_version/hp_comware_display_version3.yml new file mode 100644 index 0000000000..fddd69f82b --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version3.yml @@ -0,0 +1,562 @@ +--- +parsed_sample: + - board_processor_count: + - "1" + - "1" + - "1" + board_processor_model: + - "BCM1125H" + - "BCM1125H" + - "XLS408" + board_type: + - "LSQ1SRP2XB" + - "LSQ1SRP2XB" + - "LSQ1TGS8SC" + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: + - "500" + - "500" + - "511" + card_type: + - "HP 7506 MPU(M)" + - "HP 7506 MPU(S)" + - "HP 7506 LPU" + chassis: + - "1" + - "1" + - "1" + cpld: + - "1" + - "2" + - "1" + - "2" + - "1" + cpld_version: + - "006" + - "006" + - "006" + - "006" + - "001" + cplda: [] + cpldb: [] + dram: + - "512M" + - "512M" + - "1024M" + flash: + - "64M" + - "64M" + - "0M" + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: + - "512K" + - "512K" + - "0K" + oaa_front_board: [] + patch_version: + - "None" + - "None" + - "None" + pcb: + - "1" + - "2" + - "1" + - "2" + - "1" + pcb_version: + - "B" + - "B" + - "B" + - "B" + - "B" + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "6708-US" + release_version: + - "HP 7506-6708-US" + - "HP 7506-6708-US" + - "HP 7506-6708-US" + slot: + - "0" + - "1" + - "2" + slot_model: [] + slot_name: [] + slot_type: + - "MPU(M)" + - "MPU(S)" + - "LPU" + slot_uptime: + - "593 weeks,5 days,21 hours,24 minutes" + - "593 weeks,5 days,21 hours,41 minutes" + - "593 weeks,5 days,22 hours,37 minutes" + status: [] + subslot: [] + subslot_version: [] + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "593 weeks, 5 days, 21 hours, 24 minutes" + version: "5.20.105" + - board_processor_count: [] + board_processor_model: [] + board_type: [] + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: [] + card_type: [] + chassis: + - "1" + cpld: [] + cpld_version: [] + cplda: [] + cpldb: [] + dram: [] + flash: [] + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: [] + oaa_front_board: [] + patch_version: [] + pcb: [] + pcb_version: [] + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "6708-US" + release_version: [] + slot: + - "3" + slot_model: [] + slot_name: [] + slot_type: + - "None" + slot_uptime: [] + status: + - "Without Board" + subslot: [] + subslot_version: [] + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "593 weeks, 5 days, 21 hours, 24 minutes" + version: "5.20.105" + - board_processor_count: + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + board_processor_model: + - "BCM1122" + - "BCM1122" + - "BCM1122" + - "BCM1122" + - "BCM1122" + - "BCM1125H" + - "BCM1125H" + - "XLS408" + board_type: + - "LSQ1GV48SC" + - "LSQ1GV48SC" + - "LSQ1GV48SC" + - "SRP2XBSLAVE" + - "SRP2XBSLAVE" + - "LSQ1SRP2XB" + - "LSQ1SRP2XB" + - "LSQ1TGS8SC" + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: + - "503" + - "503" + - "306" + - "306" + - "306" + - "500" + - "500" + - "511" + card_type: + - "HP 7506 LPU" + - "HP 7506 LPU" + - "HP 7506 LPU" + - "HP 7506 LPU" + - "HP 7506 LPU" + - "HP 7506 MPU(S)" + - "HP 7506 MPU(S)" + - "HP 7506 LPU" + chassis: + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "2" + - "2" + - "2" + cpld: + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "2" + - "1" + - "2" + - "1" + cpld_version: + - "004" + - "004" + - "004" + - "NA" + - "NA" + - "006" + - "006" + - "006" + - "006" + - "001" + cplda: [] + cpldb: [] + dram: + - "512M" + - "512M" + - "512M" + - "512M" + - "512M" + - "512M" + - "512M" + - "1024M" + flash: + - "0M" + - "0M" + - "0M" + - "0M" + - "0M" + - "64M" + - "64M" + - "0M" + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: + - "0K" + - "0K" + - "0K" + - "0K" + - "0K" + - "512K" + - "512K" + - "0K" + oaa_front_board: [] + patch_version: + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + pcb: + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "2" + - "1" + - "2" + - "1" + pcb_version: + - "E" + - "E" + - "D" + - "None" + - "None" + - "B" + - "B" + - "B" + - "B" + - "B" + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "6708-US" + release_version: + - "HP 7506-6708-US" + - "HP 7506-6708-US" + - "HP 7506-6708-US" + - "HP 7506-6708-US" + - "HP 7506-6708-US" + - "HP 7506-6708-US" + - "HP 7506-6708-US" + - "HP 7506-6708-US" + slot: + - "4" + - "5" + - "6" + - "7" + - "8" + - "9" + - "0" + - "1" + - "2" + slot_model: [] + slot_name: [] + slot_type: + - "None" + - "LPU" + - "LPU" + - "LPU" + - "LPU" + - "LPU" + - "MPU(S)" + - "MPU(S)" + - "LPU" + slot_uptime: + - "542 weeks,5 days,2 hours,21 minutes" + - "542 weeks,5 days,2 hours,33 minutes" + - "593 weeks,5 days,21 hours,47 minutes" + - "593 weeks,5 days,21 hours,3 minutes" + - "593 weeks,5 days,21 hours,45 minutes" + - "44 weeks,4 days,1 hours,21 minutes" + - "44 weeks,4 days,1 hours,19 minutes" + - "44 weeks,4 days,1 hours,18 minutes" + status: + - "Without Board" + subslot: [] + subslot_version: [] + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "593 weeks, 5 days, 21 hours, 24 minutes" + version: "5.20.105" + - board_processor_count: [] + board_processor_model: [] + board_type: [] + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: [] + card_type: [] + chassis: + - "2" + cpld: [] + cpld_version: [] + cplda: [] + cpldb: [] + dram: [] + flash: [] + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: [] + oaa_front_board: [] + patch_version: [] + pcb: [] + pcb_version: [] + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "6708-US" + release_version: [] + slot: + - "3" + slot_model: [] + slot_name: [] + slot_type: + - "None" + slot_uptime: [] + status: + - "Without Board" + subslot: [] + subslot_version: [] + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "593 weeks, 5 days, 21 hours, 24 minutes" + version: "5.20.105" + - board_processor_count: + - "1" + - "1" + - "1" + - "1" + - "1" + board_processor_model: + - "BCM1122" + - "BCM1122" + - "BCM1122" + - "BCM1122" + - "BCM1122" + board_type: + - "LSQ1GV48SC" + - "LSQ1GV48SC" + - "LSQ1GV48SC" + - "SRP2XBSLAVE" + - "SRP2XBSLAVE" + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: + - "503" + - "306" + - "306" + - "306" + - "306" + card_type: + - "HP 7506 LPU" + - "HP 7506 LPU" + - "HP 7506 LPU" + - "HP 7506 LPU" + - "HP 7506 LPU" + chassis: + - "2" + - "2" + - "2" + - "2" + - "2" + - "2" + cpld: + - "1" + - "1" + - "1" + - "1" + - "1" + cpld_version: + - "004" + - "004" + - "004" + - "NA" + - "NA" + cplda: [] + cpldb: [] + dram: + - "512M" + - "512M" + - "512M" + - "512M" + - "512M" + flash: + - "0M" + - "0M" + - "0M" + - "0M" + - "0M" + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: + - "0K" + - "0K" + - "0K" + - "0K" + - "0K" + oaa_front_board: [] + patch_version: + - "None" + - "None" + - "None" + - "None" + - "None" + pcb: + - "1" + - "1" + - "1" + - "1" + - "1" + pcb_version: + - "E" + - "D" + - "D" + - "None" + - "None" + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "6708-US" + release_version: + - "HP 7506-6708-US" + - "HP 7506-6708-US" + - "HP 7506-6708-US" + - "HP 7506-6708-US" + - "HP 7506-6708-US" + slot: + - "4" + - "5" + - "6" + - "7" + - "8" + - "9" + slot_model: [] + slot_name: [] + slot_type: + - "None" + - "LPU" + - "LPU" + - "LPU" + - "LPU" + - "LPU" + slot_uptime: + - "28 weeks,5 days,22 hours,14 minutes" + - "44 weeks,4 days,1 hours,16 minutes" + - "44 weeks,4 days,1 hours,10 minutes" + - "44 weeks,4 days,1 hours,19 minutes" + - "44 weeks,4 days,1 hours,18 minutes" + status: + - "Without Board" + subslot: [] + subslot_version: [] + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "593 weeks, 5 days, 21 hours, 24 minutes" + version: "5.20.105" diff --git a/tests/hp_comware/display_version/hp_comware_display_version4.raw b/tests/hp_comware/display_version/hp_comware_display_version4.raw new file mode 100644 index 0000000000..f82f793de5 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version4.raw @@ -0,0 +1,48 @@ +HPE Comware Software, Version 7.1.070, Release 2510P01 +Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP +HPE FF 5940 48SFP+ 6QSFP28 Switch uptime is 379 weeks, 5 days, 23 hours, 50 minutes +Last reboot reason : Cold reboot + +Boot image: flash:/5940-cmw710-boot-r2510p01.bin +Boot image version: 7.1.070, Release 2510P01 + Compiled Mar 14 2017 14:00:00 +System image: flash:/5940-cmw710-system-r2510p01.bin +System image version: 7.1.070, Release 2510P01 + Compiled Mar 14 2017 14:00:00 + + +Slot 1: +Uptime is 379 weeks,5 days,23 hours,50 minutes +FF 5940 48SFP+ 6QSFP28 Switch with 2 Processor +BOARD TYPE: FF 5940 48SFP+ 6QSFP28 Switch +DRAM: 4096M bytes +FLASH: 1024M bytes +PCB 1 Version: VER.A +PCB 2 Version: VER.A +FPGA Version: NONE +Bootrom Version: 225 +CPLD 1 Version: 001 +CPLD 2 Version: 002 +CPLD 3 Version: 001 +Release Version: HPE FF 5940 48SFP+ 6QSFP28 Switch-2510P01 +Patch Version : None +Reboot Cause : ColdReboot +[SubSlot 0] 48SFP Plus+6QSFP28 + +Slot 2: +Uptime is 379 weeks,4 days,23 hours,4 minutes +FF 5940 48SFP+ 6QSFP28 Switch with 2 Processor +BOARD TYPE: FF 5940 48SFP+ 6QSFP28 Switch +DRAM: 4096M bytes +FLASH: 1024M bytes +PCB 1 Version: VER.A +PCB 2 Version: VER.A +FPGA Version: NONE +Bootrom Version: 225 +CPLD 1 Version: 001 +CPLD 2 Version: 002 +CPLD 3 Version: 001 +Release Version: HPE FF 5940 48SFP+ 6QSFP28 Switch-2510P01 +Patch Version : None +Reboot Cause : ColdReboot +[SubSlot 0] 48SFP Plus+6QSFP28 diff --git a/tests/hp_comware/display_version/hp_comware_display_version4.yml b/tests/hp_comware/display_version/hp_comware_display_version4.yml new file mode 100644 index 0000000000..906520c244 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version4.yml @@ -0,0 +1,152 @@ +--- +parsed_sample: + - board_processor_count: + - "2" + board_processor_model: + - "None" + board_type: + - "FF 5940 48SFP+ 6QSFP28 Switch" + boot_compile_date: "Mar 14 2017 14:00:00" + boot_image: "flash:/5940-cmw710-boot-r2510p01.bin" + boot_image_version: "7.1.070" + boot_release: "2510P01" + bootrom_version: + - "225" + card_type: + - "FF 5940 48SFP+ 6QSFP28 Switch" + chassis: [] + cpld: + - "1" + - "2" + - "3" + cpld_version: + - "001" + - "002" + - "001" + cplda: [] + cpldb: [] + dram: + - "4096M" + flash: + - "1024M" + fpga: + - "None" + fpga_version: + - "NONE" + hw_version: [] + last_reboot_reason: "Cold reboot" + model: "HPE FF 5940 48SFP+ 6QSFP28 Switch" + nand_flash: [] + nor_flash: [] + nvram: [] + oaa_front_board: [] + patch_version: + - "None" + pcb: + - "1" + - "2" + pcb_version: + - "A" + - "A" + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: + - "ColdReboot" + release: "2510P01" + release_version: + - "HPE FF 5940 48SFP+ 6QSFP28 Switch-2510P01" + slot: + - "1" + slot_model: + - "4" + slot_name: [] + slot_type: [] + slot_uptime: + - "379 weeks,5 days,23 hours,50 minutes" + status: [] + subslot: + - "0" + subslot_version: + - "None" + system_compile_date: "Mar 14 2017 14:00:00" + system_image: "flash:/5940-cmw710-system-r2510p01.bin" + system_image_version: "7.1.070" + system_release: "2510P01" + uptime: "379 weeks, 5 days, 23 hours, 50 minutes" + version: "7.1.070" + - board_processor_count: + - "2" + board_processor_model: + - "None" + board_type: + - "FF 5940 48SFP+ 6QSFP28 Switch" + boot_compile_date: "Mar 14 2017 14:00:00" + boot_image: "flash:/5940-cmw710-boot-r2510p01.bin" + boot_image_version: "7.1.070" + boot_release: "2510P01" + bootrom_version: + - "225" + card_type: + - "FF 5940 48SFP+ 6QSFP28 Switch" + chassis: [] + cpld: + - "1" + - "2" + - "3" + cpld_version: + - "001" + - "002" + - "001" + cplda: [] + cpldb: [] + dram: + - "4096M" + flash: + - "1024M" + fpga: + - "None" + fpga_version: + - "NONE" + hw_version: [] + last_reboot_reason: "Cold reboot" + model: "HPE FF 5940 48SFP+ 6QSFP28 Switch" + nand_flash: [] + nor_flash: [] + nvram: [] + oaa_front_board: [] + patch_version: + - "None" + pcb: + - "1" + - "2" + pcb_version: + - "A" + - "A" + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: + - "ColdReboot" + release: "2510P01" + release_version: + - "HPE FF 5940 48SFP+ 6QSFP28 Switch-2510P01" + slot: + - "2" + slot_model: + - "4" + slot_name: [] + slot_type: [] + slot_uptime: + - "379 weeks,4 days,23 hours,4 minutes" + status: [] + subslot: + - "0" + subslot_version: + - "None" + system_compile_date: "Mar 14 2017 14:00:00" + system_image: "flash:/5940-cmw710-system-r2510p01.bin" + system_image_version: "7.1.070" + system_release: "2510P01" + uptime: "379 weeks, 5 days, 23 hours, 50 minutes" + version: "7.1.070" diff --git a/tests/hp_comware/display_version/hp_comware_display_version5.raw b/tests/hp_comware/display_version/hp_comware_display_version5.raw new file mode 100644 index 0000000000..99cab1e4fc --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version5.raw @@ -0,0 +1,15 @@ +HP Comware Platform Software +Comware Software, Version 5.20.99, Release 2109P05 +Copyright (c) 2010-2014 Hewlett-Packard Development Company, L.P. +HP A3600-24 v2 SI Switch uptime is 49 weeks, 4 days, 4 hours, 14 minutes + +HP A3600-24 v2 SI Switch with 1 Processor +256M bytes SDRAM +2M bytes Nor Flash Memory +128M bytes Nand Flash Memory +Config Register points to Nand Flash + +Hardware Version is Ver.A +CPLD Version is 001 +BootRom Version is 125 +[SubSlot 0] 24FE+4SFP+2Combo GE Hardware Version is Ver.A diff --git a/tests/hp_comware/display_version/hp_comware_display_version5.yml b/tests/hp_comware/display_version/hp_comware_display_version5.yml new file mode 100644 index 0000000000..fccb13b724 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version5.yml @@ -0,0 +1,61 @@ +--- +parsed_sample: + - board_processor_count: [] + board_processor_model: [] + board_type: + - "HP A3600-24 v2 SI Switch" + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: + - "125" + card_type: [] + chassis: [] + cpld: + - "None" + cpld_version: + - "001" + cplda: [] + cpldb: [] + dram: + - "256M" + flash: [] + fpga: [] + fpga_version: [] + hw_version: + - "A" + last_reboot_reason: "" + model: "HP A3600-24 v2 SI Switch" + nand_flash: + - "128M" + nor_flash: + - "2M" + nvram: [] + oaa_front_board: [] + patch_version: [] + pcb: [] + pcb_version: [] + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "2109P05" + release_version: [] + slot: [] + slot_model: + - "24FE+4SFP+2Combo GE" + slot_name: [] + slot_type: [] + slot_uptime: [] + status: [] + subslot: + - "0" + subslot_version: + - "A" + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "49 weeks, 4 days, 4 hours, 14 minutes" + version: "5.20.99" diff --git a/tests/hp_comware/display_version/hp_comware_display_version6.raw b/tests/hp_comware/display_version/hp_comware_display_version6.raw new file mode 100644 index 0000000000..dbf7e66aa3 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version6.raw @@ -0,0 +1,97 @@ +HPE Comware Software, Version 7.1.070, Release 7536P05 +Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP +HP 7506 uptime is 31 weeks, 3 days, 15 hours, 43 minutes +Last reboot reason : USER reboot + +Boot image: flash:/7500-CMW710-BOOT-R7536P05.bin +Boot image version: 7.1.070, Release 7536P05 + Compiled Mar 28 2017 16:00:00 +System image: flash:/7500-CMW710-SYSTEM-R7536P05.bin +System image version: 7.1.070, Release 7536P05 + Compiled Mar 28 2017 16:00:00 + + +MPU(M) 0: +Uptime is 31 weeks,3 days,15 hours,43 minutes +BOARD TYPE: LSQM1SRP8X2QE0 +DRAM: 4096M bytes +FLASH: 1024M bytes +NVRAM: 1M bytes +PCB 1 Version: VER.B +Bootrom Version: 122 +CPLD 1 Version: 002 +CPLD 2 Version: 001 +PowChip Version: 001 +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : UserReboot + +LPU 2: +Uptime is 31 weeks,3 days,15 hours,44 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 110 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : UserReboot + +LPU 3: +Uptime is 31 weeks,3 days,15 hours,43 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 110 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : UserReboot + +LPU 4: +Uptime is 31 weeks,3 days,15 hours,45 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 110 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : UserReboot + +LPU 5: +Uptime is 31 weeks,3 days,15 hours,44 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 110 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : UserReboot + +LPU 6: +Uptime is 31 weeks,3 days,15 hours,45 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 110 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : UserReboot \ No newline at end of file diff --git a/tests/hp_comware/display_version/hp_comware_display_version6.yml b/tests/hp_comware/display_version/hp_comware_display_version6.yml new file mode 100644 index 0000000000..3bd4646311 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version6.yml @@ -0,0 +1,148 @@ +--- +parsed_sample: + - board_processor_count: [] + board_processor_model: [] + board_type: + - "LSQM1SRP8X2QE0" + - "LSQM1GV48SE0" + - "LSQM1GV48SE0" + - "LSQM1GV48SE0" + - "LSQM1GV48SE0" + - "LSQM1GV48SE0" + boot_compile_date: "Mar 28 2017 16:00:00" + boot_image: "flash:/7500-CMW710-BOOT-R7536P05.bin" + boot_image_version: "7.1.070" + boot_release: "7536P05" + bootrom_version: + - "122" + - "110" + - "110" + - "110" + - "110" + - "110" + card_type: [] + chassis: [] + cpld: + - "1" + - "2" + - "1" + - "1" + - "1" + - "1" + - "1" + cpld_version: + - "002" + - "001" + - "005" + - "005" + - "005" + - "005" + - "005" + cplda: [] + cpldb: [] + dram: + - "4096M" + - "1024M" + - "1024M" + - "1024M" + - "1024M" + - "1024M" + flash: + - "1024M" + - "0M" + - "0M" + - "0M" + - "0M" + - "0M" + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "USER reboot" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: + - "1M" + - "0K" + - "0K" + - "0K" + - "0K" + - "0K" + oaa_front_board: [] + patch_version: + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + pcb: + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + pcb_version: + - "B" + - "C" + - "C" + - "C" + - "C" + - "C" + pow_chip: + - "001" + - "NONE" + - "NONE" + - "NONE" + - "NONE" + - "NONE" + power_cpld: [] + power_cpld_version: [] + reboot_cause: + - "UserReboot" + - "UserReboot" + - "UserReboot" + - "UserReboot" + - "UserReboot" + - "UserReboot" + release: "7536P05" + release_version: + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + slot: + - "0" + - "2" + - "3" + - "4" + - "5" + - "6" + slot_model: [] + slot_name: + - "MPU(M)" + - "LPU" + - "LPU" + - "LPU" + - "LPU" + - "LPU" + slot_type: [] + slot_uptime: + - "31 weeks,3 days,15 hours,43 minutes" + - "31 weeks,3 days,15 hours,44 minutes" + - "31 weeks,3 days,15 hours,43 minutes" + - "31 weeks,3 days,15 hours,45 minutes" + - "31 weeks,3 days,15 hours,44 minutes" + - "31 weeks,3 days,15 hours,45 minutes" + status: [] + subslot: [] + subslot_version: [] + system_compile_date: "Mar 28 2017 16:00:00" + system_image: "flash:/7500-CMW710-SYSTEM-R7536P05.bin" + system_image_version: "7.1.070" + system_release: "7536P05" + uptime: "31 weeks, 3 days, 15 hours, 43 minutes" + version: "7.1.070" diff --git a/tests/hp_comware/display_version/hp_comware_display_version7.raw b/tests/hp_comware/display_version/hp_comware_display_version7.raw new file mode 100644 index 0000000000..6fe52346a9 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version7.raw @@ -0,0 +1,13 @@ +HPE Comware Platform Software +Comware Software, Version 5.20.99, Release 2221P25 +Copyright (c) 2010-2016 Hewlett Packard Enterprise Development LP +HP A5120-24G-PoE+ EI Switch with 2 Interface Slots uptime is 37 weeks, 4 days, 1 hour, 3 minutes + +HP A5120-24G-PoE+ EI Switch with 2 Interface Slots with 1 Processor +128M bytes SDRAM +16384K bytes Flash Memory + +Hardware Version is REV.B +CPLD Version is 007 +Bootrom Version is 621 +[SubSlot 0] 24GE+4SFP+POE Plus Hardware Version is REV.B diff --git a/tests/hp_comware/display_version/hp_comware_display_version7.yml b/tests/hp_comware/display_version/hp_comware_display_version7.yml new file mode 100644 index 0000000000..404b1fb8a7 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version7.yml @@ -0,0 +1,60 @@ +--- +parsed_sample: + - board_processor_count: [] + board_processor_model: [] + board_type: + - "HP A5120-24G-PoE+ EI Switch with 2 Interface Slots" + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: + - "621" + card_type: [] + chassis: [] + cpld: + - "None" + cpld_version: + - "007" + cplda: [] + cpldb: [] + dram: + - "128M" + flash: + - "16384K" + fpga: [] + fpga_version: [] + hw_version: + - "B" + last_reboot_reason: "" + model: "HP A5120-24G-PoE+ EI Switch with 2 Interface Slots" + nand_flash: [] + nor_flash: [] + nvram: [] + oaa_front_board: [] + patch_version: [] + pcb: [] + pcb_version: [] + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "2221P25" + release_version: [] + slot: [] + slot_model: + - "None" + slot_name: [] + slot_type: [] + slot_uptime: [] + status: [] + subslot: + - "0" + subslot_version: + - "None" + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "37 weeks, 4 days, 1 hour, 3 minutes" + version: "5.20.99" diff --git a/tests/hp_comware/display_version/hp_comware_display_version8.raw b/tests/hp_comware/display_version/hp_comware_display_version8.raw new file mode 100644 index 0000000000..6241e7747c --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version8.raw @@ -0,0 +1,219 @@ +HP Comware Platform Software +Comware Software, Version 5.20.105, Release 6708P13 +Copyright (c) 2010-2015 Hewlett-Packard Development Company, L.P. +HP 7506 uptime is 238 weeks, 6 days, 23 hours, 56 minutes + +MPU(S) Chassis 1 Slot 0: +Uptime is 238 weeks,6 days,23 hours,40 minutes +HP 7506 MPU(S) with 1 BCM1125H Processor +BOARD TYPE: LSQ1SRP2XB +DRAM: 512M bytes +FLASH: 64M bytes +NVRAM: 512K bytes +PCB 1 Version: VER.B +PCB 2 Version: VER.B +Bootrom Version: 303 +CPLD 1 Version: 006 +CPLD 2 Version: 006 +Release Version: HP 7506-6708P13 +Patch Version : P001 + +MPU(S) Chassis 1 Slot 1: +Uptime is 238 weeks,6 days,23 hours,49 minutes +HP 7506 MPU(S) with 1 BCM1125H Processor +BOARD TYPE: LSQ1SRP2XB +DRAM: 512M bytes +FLASH: 64M bytes +NVRAM: 512K bytes +PCB 1 Version: VER.B +PCB 2 Version: VER.B +Bootrom Version: 303 +CPLD 1 Version: 006 +CPLD 2 Version: 006 +Release Version: HP 7506-6708P13 +Patch Version : P001 + +LPU Chassis 1 Slot 2: +Uptime is 239 weeks,0 days,0 hours,6 minutes +HP 7506 LPU with 1 XLS408 Processor +BOARD TYPE: LSQ1TGS8SC +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.B +Bootware Version: 2.02 +CPLD 1 Version: 001 +Release Version: HP 7506-6708P13 +Patch Version : P001 + +Chassis 1 Slot 3 Without Board + +LPU Chassis 1 Slot 4: +Uptime is 239 weeks,0 days,0 hours,9 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: LSQ1GV48SC +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.D +Bootware Version: 3.06 +CPLD 1 Version: 004 +Release Version: HP 7506-6708P13 +Patch Version : P001 + +LPU Chassis 1 Slot 5: +Uptime is 239 weeks,0 days,0 hours,13 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: LSQ1GV48SC +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.D +Bootware Version: 3.06 +CPLD 1 Version: 004 +Release Version: HP 7506-6708P13 +Patch Version : P001 + +Chassis 1 Slot 6 Without Board + +Chassis 1 Slot 7 Without Board + +LPU Chassis 1 Slot 8: +Uptime is 238 weeks,6 days,23 hours,43 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: SRP2XBSLAVE +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: NA +Bootware Version: 3.06 +CPLD 1 Version: NA +Release Version: HP 7506-6708P13 +Patch Version : P001 + +LPU Chassis 1 Slot 9: +Uptime is 238 weeks,6 days,23 hours,48 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: SRP2XBSLAVE +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: NA +Bootware Version: 3.06 +CPLD 1 Version: NA +Release Version: HP 7506-6708P13 +Patch Version : P001 + +MPU(M) Chassis 2 Slot 0: +Uptime is 238 weeks,6 days,23 hours,56 minutes +HP 7506 MPU(M) with 1 BCM1125H Processor +BOARD TYPE: LSQ1SRP2XB +DRAM: 512M bytes +FLASH: 64M bytes +NVRAM: 512K bytes +PCB 1 Version: VER.B +PCB 2 Version: VER.B +Bootrom Version: 303 +CPLD 1 Version: 006 +CPLD 2 Version: 006 +Release Version: HP 7506-6708P13 +Patch Version : P001 + +MPU(S) Chassis 2 Slot 1: +Uptime is 239 weeks,0 days,0 hours,3 minutes +HP 7506 MPU(S) with 1 BCM1125H Processor +BOARD TYPE: LSQ1SRP2XB +DRAM: 512M bytes +FLASH: 64M bytes +NVRAM: 512K bytes +PCB 1 Version: VER.B +PCB 2 Version: VER.B +Bootrom Version: 303 +CPLD 1 Version: 006 +CPLD 2 Version: 006 +Release Version: HP 7506-6708P13 +Patch Version : P001 + +LPU Chassis 2 Slot 2: +Uptime is 239 weeks,0 days,0 hours,38 minutes +HP 7506 LPU with 1 XLS408 Processor +BOARD TYPE: LSQ1TGS8SC +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.B +Bootware Version: 2.02 +CPLD 1 Version: 001 +Release Version: HP 7506-6708P13 +Patch Version : P001 + +LPU Chassis 2 Slot 3: +Uptime is 239 weeks,0 days,0 hours,29 minutes +HP 7506 LPU with 1 XLS408 Processor +BOARD TYPE: LSU3WCMD +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.B +PCB 2 Version: VER.B +Bootware Version: 5.11 +CPLD 1 Version: 003 +OAA Front Board: LSU3WCMD0 +Release Version: HP 7506-6708P13 +Patch Version : P001 + +LPU Chassis 2 Slot 4: +Uptime is 239 weeks,0 days,0 hours,42 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: LSQ1GV48SC +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.D +Bootware Version: 3.06 +CPLD 1 Version: 004 +Release Version: HP 7506-6708P13 +Patch Version : P001 + +LPU Chassis 2 Slot 5: +Uptime is 239 weeks,0 days,0 hours,43 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: LSQ1GV48SC +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.D +Bootware Version: 3.06 +CPLD 1 Version: 004 +Release Version: HP 7506-6708P13 +Patch Version : P001 + +Chassis 2 Slot 6 Without Board + +Chassis 2 Slot 7 Without Board + +LPU Chassis 2 Slot 8: +Uptime is 239 weeks,0 days,0 hours,24 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: SRP2XBSLAVE +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: NA +Bootware Version: 3.06 +CPLD 1 Version: NA +Release Version: HP 7506-6708P13 +Patch Version : P001 + +LPU Chassis 2 Slot 9: +Uptime is 239 weeks,0 days,0 hours,8 minutes +HP 7506 LPU with 1 BCM1122 Processor +BOARD TYPE: SRP2XBSLAVE +DRAM: 512M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: NA +Bootware Version: 3.06 +CPLD 1 Version: NA +Release Version: HP 7506-6708P13 +Patch Version : P001 diff --git a/tests/hp_comware/display_version/hp_comware_display_version8.yml b/tests/hp_comware/display_version/hp_comware_display_version8.yml new file mode 100644 index 0000000000..3371426ee1 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version8.yml @@ -0,0 +1,599 @@ +--- +parsed_sample: + - board_processor_count: + - "1" + - "1" + - "1" + board_processor_model: + - "BCM1125H" + - "BCM1125H" + - "XLS408" + board_type: + - "LSQ1SRP2XB" + - "LSQ1SRP2XB" + - "LSQ1TGS8SC" + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: + - "303" + - "303" + - "2.02" + card_type: + - "HP 7506 MPU(S)" + - "HP 7506 MPU(S)" + - "HP 7506 LPU" + chassis: + - "1" + - "1" + - "1" + cpld: + - "1" + - "2" + - "1" + - "2" + - "1" + cpld_version: + - "006" + - "006" + - "006" + - "006" + - "001" + cplda: [] + cpldb: [] + dram: + - "512M" + - "512M" + - "1024M" + flash: + - "64M" + - "64M" + - "0M" + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: + - "512K" + - "512K" + - "0K" + oaa_front_board: [] + patch_version: + - "P001" + - "P001" + - "P001" + pcb: + - "1" + - "2" + - "1" + - "2" + - "1" + pcb_version: + - "B" + - "B" + - "B" + - "B" + - "B" + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "6708P13" + release_version: + - "HP 7506-6708P13" + - "HP 7506-6708P13" + - "HP 7506-6708P13" + slot: + - "0" + - "1" + - "2" + slot_model: [] + slot_name: [] + slot_type: + - "MPU(S)" + - "MPU(S)" + - "LPU" + slot_uptime: + - "238 weeks,6 days,23 hours,40 minutes" + - "238 weeks,6 days,23 hours,49 minutes" + - "239 weeks,0 days,0 hours,6 minutes" + status: [] + subslot: [] + subslot_version: [] + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "238 weeks, 6 days, 23 hours, 56 minutes" + version: "5.20.105" + - board_processor_count: + - "1" + - "1" + board_processor_model: + - "BCM1122" + - "BCM1122" + board_type: + - "LSQ1GV48SC" + - "LSQ1GV48SC" + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: + - "3.06" + - "3.06" + card_type: + - "HP 7506 LPU" + - "HP 7506 LPU" + chassis: + - "1" + - "1" + - "1" + cpld: + - "1" + - "1" + cpld_version: + - "004" + - "004" + cplda: [] + cpldb: [] + dram: + - "512M" + - "512M" + flash: + - "0M" + - "0M" + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: + - "0K" + - "0K" + oaa_front_board: [] + patch_version: + - "P001" + - "P001" + pcb: + - "1" + - "1" + pcb_version: + - "D" + - "D" + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "6708P13" + release_version: + - "HP 7506-6708P13" + - "HP 7506-6708P13" + slot: + - "3" + - "4" + - "5" + slot_model: [] + slot_name: [] + slot_type: + - "None" + - "LPU" + - "LPU" + slot_uptime: + - "239 weeks,0 days,0 hours,9 minutes" + - "239 weeks,0 days,0 hours,13 minutes" + status: + - "Without Board" + subslot: [] + subslot_version: [] + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "238 weeks, 6 days, 23 hours, 56 minutes" + version: "5.20.105" + - board_processor_count: [] + board_processor_model: [] + board_type: [] + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: [] + card_type: [] + chassis: + - "1" + cpld: [] + cpld_version: [] + cplda: [] + cpldb: [] + dram: [] + flash: [] + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: [] + oaa_front_board: [] + patch_version: [] + pcb: [] + pcb_version: [] + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "6708P13" + release_version: [] + slot: + - "6" + slot_model: [] + slot_name: [] + slot_type: + - "None" + slot_uptime: [] + status: + - "Without Board" + subslot: [] + subslot_version: [] + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "238 weeks, 6 days, 23 hours, 56 minutes" + version: "5.20.105" + - board_processor_count: + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + board_processor_model: + - "BCM1122" + - "BCM1122" + - "BCM1125H" + - "BCM1125H" + - "XLS408" + - "XLS408" + - "BCM1122" + - "BCM1122" + board_type: + - "SRP2XBSLAVE" + - "SRP2XBSLAVE" + - "LSQ1SRP2XB" + - "LSQ1SRP2XB" + - "LSQ1TGS8SC" + - "LSU3WCMD" + - "LSQ1GV48SC" + - "LSQ1GV48SC" + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: + - "3.06" + - "3.06" + - "303" + - "303" + - "2.02" + - "5.11" + - "3.06" + - "3.06" + card_type: + - "HP 7506 LPU" + - "HP 7506 LPU" + - "HP 7506 MPU(M)" + - "HP 7506 MPU(S)" + - "HP 7506 LPU" + - "HP 7506 LPU" + - "HP 7506 LPU" + - "HP 7506 LPU" + chassis: + - "1" + - "1" + - "1" + - "2" + - "2" + - "2" + - "2" + - "2" + - "2" + cpld: + - "1" + - "1" + - "1" + - "2" + - "1" + - "2" + - "1" + - "1" + - "1" + - "1" + cpld_version: + - "NA" + - "NA" + - "006" + - "006" + - "006" + - "006" + - "001" + - "003" + - "004" + - "004" + cplda: [] + cpldb: [] + dram: + - "512M" + - "512M" + - "512M" + - "512M" + - "1024M" + - "1024M" + - "512M" + - "512M" + flash: + - "0M" + - "0M" + - "64M" + - "64M" + - "0M" + - "0M" + - "0M" + - "0M" + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: + - "0K" + - "0K" + - "512K" + - "512K" + - "0K" + - "0K" + - "0K" + - "0K" + oaa_front_board: + - "LSU3WCMD0" + patch_version: + - "P001" + - "P001" + - "P001" + - "P001" + - "P001" + - "P001" + - "P001" + - "P001" + pcb: + - "1" + - "1" + - "1" + - "2" + - "1" + - "2" + - "1" + - "1" + - "2" + - "1" + - "1" + pcb_version: + - "None" + - "None" + - "B" + - "B" + - "B" + - "B" + - "B" + - "B" + - "B" + - "D" + - "D" + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "6708P13" + release_version: + - "HP 7506-6708P13" + - "HP 7506-6708P13" + - "HP 7506-6708P13" + - "HP 7506-6708P13" + - "HP 7506-6708P13" + - "HP 7506-6708P13" + - "HP 7506-6708P13" + - "HP 7506-6708P13" + slot: + - "7" + - "8" + - "9" + - "0" + - "1" + - "2" + - "3" + - "4" + - "5" + slot_model: [] + slot_name: [] + slot_type: + - "None" + - "LPU" + - "LPU" + - "MPU(M)" + - "MPU(S)" + - "LPU" + - "LPU" + - "LPU" + - "LPU" + slot_uptime: + - "238 weeks,6 days,23 hours,43 minutes" + - "238 weeks,6 days,23 hours,48 minutes" + - "238 weeks,6 days,23 hours,56 minutes" + - "239 weeks,0 days,0 hours,3 minutes" + - "239 weeks,0 days,0 hours,38 minutes" + - "239 weeks,0 days,0 hours,29 minutes" + - "239 weeks,0 days,0 hours,42 minutes" + - "239 weeks,0 days,0 hours,43 minutes" + status: + - "Without Board" + subslot: [] + subslot_version: [] + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "238 weeks, 6 days, 23 hours, 56 minutes" + version: "5.20.105" + - board_processor_count: [] + board_processor_model: [] + board_type: [] + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: [] + card_type: [] + chassis: + - "2" + cpld: [] + cpld_version: [] + cplda: [] + cpldb: [] + dram: [] + flash: [] + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: [] + oaa_front_board: [] + patch_version: [] + pcb: [] + pcb_version: [] + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "6708P13" + release_version: [] + slot: + - "6" + slot_model: [] + slot_name: [] + slot_type: + - "None" + slot_uptime: [] + status: + - "Without Board" + subslot: [] + subslot_version: [] + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "238 weeks, 6 days, 23 hours, 56 minutes" + version: "5.20.105" + - board_processor_count: + - "1" + - "1" + board_processor_model: + - "BCM1122" + - "BCM1122" + board_type: + - "SRP2XBSLAVE" + - "SRP2XBSLAVE" + boot_compile_date: "" + boot_image: "" + boot_image_version: "" + boot_release: "" + bootrom_version: + - "3.06" + - "3.06" + card_type: + - "HP 7506 LPU" + - "HP 7506 LPU" + chassis: + - "2" + - "2" + - "2" + cpld: + - "1" + - "1" + cpld_version: + - "NA" + - "NA" + cplda: [] + cpldb: [] + dram: + - "512M" + - "512M" + flash: + - "0M" + - "0M" + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: + - "0K" + - "0K" + oaa_front_board: [] + patch_version: + - "P001" + - "P001" + pcb: + - "1" + - "1" + pcb_version: + - "None" + - "None" + pow_chip: [] + power_cpld: [] + power_cpld_version: [] + reboot_cause: [] + release: "6708P13" + release_version: + - "HP 7506-6708P13" + - "HP 7506-6708P13" + slot: + - "7" + - "8" + - "9" + slot_model: [] + slot_name: [] + slot_type: + - "None" + - "LPU" + - "LPU" + slot_uptime: + - "239 weeks,0 days,0 hours,24 minutes" + - "239 weeks,0 days,0 hours,8 minutes" + status: + - "Without Board" + subslot: [] + subslot_version: [] + system_compile_date: "" + system_image: "" + system_image_version: "" + system_release: "" + uptime: "238 weeks, 6 days, 23 hours, 56 minutes" + version: "5.20.105" diff --git a/tests/hp_comware/display_version/hp_comware_display_version9.raw b/tests/hp_comware/display_version/hp_comware_display_version9.raw new file mode 100644 index 0000000000..37dea0a494 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version9.raw @@ -0,0 +1,216 @@ +HPE Comware Software, Version 7.1.070, Release 7536P05 +Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP +HP 7506 uptime is 408 weeks, 3 days, 22 hours, 16 minutes +Last reboot reason : Cold reboot + +Boot image: flash:/7500-CMW710-BOOT-R7536P05.bin +Boot image version: 7.1.070, Release 7536P05 + Compiled Mar 28 2017 16:00:00 +System image: flash:/7500-CMW710-SYSTEM-R7536P05.bin +System image version: 7.1.070, Release 7536P05 + Compiled Mar 28 2017 16:00:00 + + +MPU(S) Chassis 1 Slot 0: +Uptime is 314 weeks,0 days,21 hours,56 minutes +BOARD TYPE: LSQM1SRP8X2QE0 +DRAM: 4096M bytes +FLASH: 1024M bytes +NVRAM: 1M bytes +PCB 1 Version: VER.B +Bootrom Version: 127 +CPLD 1 Version: 002 +CPLD 2 Version: 001 +PowChip Version: 002 +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : KernelAbnormalReboot + +MPU(M) Chassis 1 Slot 1: +Uptime is 408 weeks,3 days,22 hours,15 minutes +BOARD TYPE: LSQM1SRP8X2QE0 +DRAM: 4096M bytes +FLASH: 1024M bytes +NVRAM: 1M bytes +PCB 1 Version: VER.B +Bootrom Version: 122 +CPLD 1 Version: 002 +CPLD 2 Version: 001 +PowChip Version: 002 +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +LPU Chassis 1 Slot 2: +Uptime is 408 weeks,3 days,22 hours,14 minutes +BOARD TYPE: LSQM2TGS48RSG0 +DRAM: 2048M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.A +Bootrom Version: 122 +CPLD 1 Version: 001 +CPLD 2 Version: 001 +Power CPLD Version: 001 +PowChip Version: 001 +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +LPU Chassis 1 Slot 3: +Uptime is 408 weeks,3 days,23 hours,40 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 114 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +LPU Chassis 1 Slot 4: +Uptime is 408 weeks,4 days,0 hours,6 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 114 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +LPU Chassis 1 Slot 5: +Uptime is 408 weeks,4 days,0 hours,1 minute +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 114 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +LPU Chassis 1 Slot 6: +Uptime is 408 weeks,4 days,0 hours,5 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 114 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +MPU(S) Chassis 2 Slot 0: +Uptime is 392 weeks,4 days,22 hours,25 minutes +BOARD TYPE: LSQM1SRP8X2QE0 +DRAM: 4096M bytes +FLASH: 1024M bytes +NVRAM: 1M bytes +PCB 1 Version: VER.B +Bootrom Version: 127 +CPLD 1 Version: 002 +CPLD 2 Version: 001 +PowChip Version: 002 +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +MPU(S) Chassis 2 Slot 1: +Uptime is 392 weeks,4 days,22 hours,28 minutes +BOARD TYPE: LSQM1SRP8X2QE0 +DRAM: 4096M bytes +FLASH: 1024M bytes +NVRAM: 1M bytes +PCB 1 Version: VER.B +Bootrom Version: 127 +CPLD 1 Version: 002 +CPLD 2 Version: 001 +PowChip Version: 002 +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +LPU Chassis 2 Slot 2: +Uptime is 392 weeks,4 days,22 hours,55 minutes +BOARD TYPE: LSQM2TGS48RSG0 +DRAM: 2048M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.A +Bootrom Version: 122 +CPLD 1 Version: 001 +CPLD 2 Version: 001 +Power CPLD Version: 001 +PowChip Version: 001 +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +LPU Chassis 2 Slot 3: +Uptime is 392 weeks,4 days,23 hours,28 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 114 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +LPU Chassis 2 Slot 4: +Uptime is 392 weeks,4 days,23 hours,43 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 114 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +LPU Chassis 2 Slot 5: +Uptime is 392 weeks,4 days,23 hours,32 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 114 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot + +LPU Chassis 2 Slot 6: +Uptime is 392 weeks,4 days,23 hours,52 minutes +BOARD TYPE: LSQM1GV48SE0 +DRAM: 1024M bytes +FLASH: 0M bytes +NVRAM: 0K bytes +PCB 1 Version: VER.C +Bootrom Version: 114 +CPLD 1 Version: 005 +PowChip Version: NONE +Release Version: HP 7506-7536P05 +Patch Version : None +Reboot Cause : ColdReboot diff --git a/tests/hp_comware/display_version/hp_comware_display_version9.yml b/tests/hp_comware/display_version/hp_comware_display_version9.yml new file mode 100644 index 0000000000..f534617471 --- /dev/null +++ b/tests/hp_comware/display_version/hp_comware_display_version9.yml @@ -0,0 +1,304 @@ +--- +parsed_sample: + - board_processor_count: [] + board_processor_model: [] + board_type: + - "LSQM1SRP8X2QE0" + - "LSQM1SRP8X2QE0" + - "LSQM2TGS48RSG0" + - "LSQM1GV48SE0" + - "LSQM1GV48SE0" + - "LSQM1GV48SE0" + - "LSQM1GV48SE0" + - "LSQM1SRP8X2QE0" + - "LSQM1SRP8X2QE0" + - "LSQM2TGS48RSG0" + - "LSQM1GV48SE0" + - "LSQM1GV48SE0" + - "LSQM1GV48SE0" + - "LSQM1GV48SE0" + boot_compile_date: "Mar 28 2017 16:00:00" + boot_image: "flash:/7500-CMW710-BOOT-R7536P05.bin" + boot_image_version: "7.1.070" + boot_release: "7536P05" + bootrom_version: + - "127" + - "122" + - "122" + - "114" + - "114" + - "114" + - "114" + - "127" + - "127" + - "122" + - "114" + - "114" + - "114" + - "114" + card_type: [] + chassis: + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "2" + - "2" + - "2" + - "2" + - "2" + - "2" + - "2" + cpld: + - "1" + - "2" + - "1" + - "2" + - "1" + - "2" + - "1" + - "1" + - "1" + - "1" + - "1" + - "2" + - "1" + - "2" + - "1" + - "2" + - "1" + - "1" + - "1" + - "1" + cpld_version: + - "002" + - "001" + - "002" + - "001" + - "001" + - "001" + - "005" + - "005" + - "005" + - "005" + - "002" + - "001" + - "002" + - "001" + - "001" + - "001" + - "005" + - "005" + - "005" + - "005" + cplda: [] + cpldb: [] + dram: + - "4096M" + - "4096M" + - "2048M" + - "1024M" + - "1024M" + - "1024M" + - "1024M" + - "4096M" + - "4096M" + - "2048M" + - "1024M" + - "1024M" + - "1024M" + - "1024M" + flash: + - "1024M" + - "1024M" + - "0M" + - "0M" + - "0M" + - "0M" + - "0M" + - "1024M" + - "1024M" + - "0M" + - "0M" + - "0M" + - "0M" + - "0M" + fpga: [] + fpga_version: [] + hw_version: [] + last_reboot_reason: "Cold reboot" + model: "HP 7506" + nand_flash: [] + nor_flash: [] + nvram: + - "1M" + - "1M" + - "0K" + - "0K" + - "0K" + - "0K" + - "0K" + - "1M" + - "1M" + - "0K" + - "0K" + - "0K" + - "0K" + - "0K" + oaa_front_board: [] + patch_version: + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + pcb: + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + - "1" + pcb_version: + - "B" + - "B" + - "A" + - "C" + - "C" + - "C" + - "C" + - "B" + - "B" + - "A" + - "C" + - "C" + - "C" + - "C" + pow_chip: + - "002" + - "002" + - "001" + - "NONE" + - "NONE" + - "NONE" + - "NONE" + - "002" + - "002" + - "001" + - "NONE" + - "NONE" + - "NONE" + - "NONE" + power_cpld: + - "None" + - "None" + power_cpld_version: + - "001" + - "001" + reboot_cause: + - "KernelAbnormalReboot" + - "ColdReboot" + - "ColdReboot" + - "ColdReboot" + - "ColdReboot" + - "ColdReboot" + - "ColdReboot" + - "ColdReboot" + - "ColdReboot" + - "ColdReboot" + - "ColdReboot" + - "ColdReboot" + - "ColdReboot" + - "ColdReboot" + release: "7536P05" + release_version: + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + - "HP 7506-7536P05" + slot: + - "0" + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + - "0" + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + slot_model: [] + slot_name: [] + slot_type: + - "MPU(S)" + - "MPU(M)" + - "LPU" + - "LPU" + - "LPU" + - "LPU" + - "LPU" + - "MPU(S)" + - "MPU(S)" + - "LPU" + - "LPU" + - "LPU" + - "LPU" + - "LPU" + slot_uptime: + - "314 weeks,0 days,21 hours,56 minutes" + - "408 weeks,3 days,22 hours,15 minutes" + - "408 weeks,3 days,22 hours,14 minutes" + - "408 weeks,3 days,23 hours,40 minutes" + - "408 weeks,4 days,0 hours,6 minutes" + - "408 weeks,4 days,0 hours,1 minute" + - "408 weeks,4 days,0 hours,5 minutes" + - "392 weeks,4 days,22 hours,25 minutes" + - "392 weeks,4 days,22 hours,28 minutes" + - "392 weeks,4 days,22 hours,55 minutes" + - "392 weeks,4 days,23 hours,28 minutes" + - "392 weeks,4 days,23 hours,43 minutes" + - "392 weeks,4 days,23 hours,32 minutes" + - "392 weeks,4 days,23 hours,52 minutes" + status: [] + subslot: [] + subslot_version: [] + system_compile_date: "Mar 28 2017 16:00:00" + system_image: "flash:/7500-CMW710-SYSTEM-R7536P05.bin" + system_image_version: "7.1.070" + system_release: "7536P05" + uptime: "408 weeks, 3 days, 22 hours, 16 minutes" + version: "7.1.070"