/openbmc/intel-ipmi-oem/ |
H A D | ipmi-allowlist.conf | 2 0x00:0x00:0xff7f //<Chassis>:<Get Chassis Capabiliti> 3 0x00:0x01:0xff7f //<Chassis>:<Get Chassis Status> 9 0x00:0x07:0xff7f //<Chassis>:<Get System Restart Cause> 11 0x00:0x09:0xff7f //<Chassis>:<Get System Boot Options> 13 0x00:0x0f:0xff7f //<Chassis>:<Get POH Counter> 15 0x04:0x01:0xff7f //<Sensor/Event>:<Get Event Receiver> 17 0x04:0x10:0xff7f //<Sensor/Event>:<PEF Get Capabilities> 20 0x04:0x13:0xff7f //<Sensor/Event>:<PEF Get Configuration Parameters> 22 0x04:0x15:0xff7f //<Sensor/Event>:<PEF Get Processed EventID> 25 0x04:0x20:0xff7f //<Sensor/Event>:<Get Device SDR Info> [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | host-ipmid-whitelist.conf | 3 0x00:0x01 //<Chassis>:<Get Chassis Status> 8 0x00:0x09 //<Chassis>:<Get System Boot Options> 9 0x00:0x0F //<Chassis>:<Get POH Counter Command> 11 0x04:0x2D //<Sensor/Event>:<Get Sensor Reading> 12 0x04:0x2F //<Sensor/Event>:<Get Sensor Type> 14 0x06:0x01 //<App>:<Get Device ID> 15 0x06:0x04 //<App>:<Get Self Test Results> 17 0x06:0x07 //<App>:<Get ACPI Power State> 18 0x06:0x08 //<App>:<Get Device GUID> 21 0x06:0x25 //<App>:<Get Watchdog Timer> [all …]
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/ipmi/phosphor-ipmi-host/ |
H A D | gbs-ipmid-whitelist.conf | 3 0x00:0x01 //<Chassis>:<Get Chassis Status> 9 0x00:0x09 //<Chassis>:<Get System Boot Options> 10 0x00:0x0F //<Chassis>:<Get POH Counter> 12 0x04:0x20 //<Sensor/Event>:<Get Device SDR Info> 13 0x04:0x21 //<Sensor/Event>:<Get Device SDR> 15 0x04:0x27 //<Sensor/Event>:<Get Sensor Threshold> 16 0x04:0x29 //<Sensor/Event>:<Get Sensor Event Enable> 17 0x04:0x2B //<Sensor/Event>:<Get Sensor Event Status> 18 0x04:0x2D //<Sensor/Event>:<Get Sensor Reading> 19 0x04:0x2F //<Sensor/Event>:<Get Sensor Type> [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_inband_sdr.robot | 4 ... 1. Get SDR, 5 ... 2. Get Device SDR Info, 7 ... 4. Get Device SDR. 23 Verify Get SDR For Maximum Record Via IPMI 24 [Documentation] Verify Get SDR for each and every record one by one via IPMI lanplus. 28 ${record_count} ${last_record}= Get Record Count And Last Record From SDR 37 # Get SDR command. 39 …... raw ${IPMI_RAW_CMD['Get SDR']['Get'][1]} 0x00 0x00 0x${second_digit} 0x${first_digit} 0x00 0x… 45 # Get SDR response bytes 0:2 will be - ff ff 72 00 .... 72 ${length}= Get Length ${response_data} [all …]
|
H A D | test_ipmi_watchdog.robot | 27 ${IPMI_RAW_CMD['Watchdog']['Set'][0]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]} 28 ... ${IPMI_RAW_CMD['Watchdog']['Get'][1]} 29 ${IPMI_RAW_CMD['Watchdog']['Set'][3]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]} 30 ... ${IPMI_RAW_CMD['Watchdog']['Get'][3]} 38 ${IPMI_RAW_CMD['Watchdog']['Set'][6]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]} 39 ... ${IPMI_RAW_CMD['Watchdog']['Get'][5]} 40 ${IPMI_RAW_CMD['Watchdog']['Set'][9]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]} 41 ... ${IPMI_RAW_CMD['Watchdog']['Get'][7]} 49 ${IPMI_RAW_CMD['Watchdog']['Set'][12]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]} 50 ... ${IPMI_RAW_CMD['Watchdog']['Get'][9]} [all …]
|
H A D | test_ipmi_sdr.robot | 45 ... ${IPMI_RAW_CMD['SDR']['Get SDR allocation Info'][0]} 47 ${sdr_info}= Get SDR Info 50 # Get SDR OEM record count from "sdr elist -vvv" command output. 55 # Get sensor count from "sdr elist all" command output. 56 ${sensor_count}= Get Sensor Count 121 ${component_uri_list}= Get Component URIs auto_reboot 122 ${component_uri}= Get From List ${component_uri_list} 0 125 ${state_ipmi}= Get SDR Presence Via IPMI auto_reboot${SPACE} 138 ${component_uri_list}= Get Component URIs TPMEnable 139 ${component_uri}= Get From List ${component_uri_list} 0 [all …]
|
H A D | test_ipmi_poh_counter.robot | 11 ... Get POH Counter Command Via IPMI 12 ... Verify Get POH Counter With Invalid Data Request Via IPMI 46 Get POH Counter Command Via IPMI 52 ... ${IPMI_RAW_CMD['Get']['POH_Counter'][0]} 53 Should Not Contain ${resp} ${IPMI_RAW_CMD['Get']['POH_Counter'][1]} 56 Verify Get POH Counter With Invalid Data Request Via IPMI 62 ... Run External IPMI Raw Command ${IPMI_RAW_CMD['Get']['POH_Counter'][0]} 0x00 69 # Get initial POH command counter reading. 70 ${poh_counter_1}= Run Get POH Command And Return Counter Reading 75 # Get POH Counter Reading after waiting for given time period. [all …]
|
H A D | test_ipmi_device_id.robot | 3 ... This script verifies Get Device ID IPMI command. 13 ... Request Data for Get Device ID defined under, 28 Get Device ID Via IPMI 29 [Documentation] Verify Get Device ID using IPMI and check whether a response is received. 32 # Verify Get Device ID. 34 ... ${IPMI_RAW_CMD['Device ID']['Get'][0]} 35 Should Not Contain ${resp} ${IPMI_RAW_CMD['Device ID']['Get'][1]} 38 Verify Get Device ID With Invalid Data Request 39 [Documentation] Verify Get Device ID with invalid data request via IPMI. 42 # Run IPMI Get Device ID command with invalid request data byte. [all …]
|
H A D | test_ipmi_sel_time.robot | 10 ... Test the Set/Get SEL Time functionality and compare the result against 24 ... Get current time from BMC and add future year and compare against BMC native comma… 58 Verify Default Get SEL Time 59 [Documentation] Verify IPMI Get SEL Time. 64 # Gets the current SEL time via Get SEL Time Command. 65 ${resp}= Get SEL Time Command 75 # Get current time from BMC and add future year (here, 5years). 76 ${sel_date}= Get Specific Sel Date 5 90 # Get current time from BMC and add future year (here, 5years). 91 ${sel_date}= Get Specific Sel Date 5 [all …]
|
H A D | test_ipmi_network_verification.robot | 31 ${all_channels_list}= Get Channel Number For All Interface 32 ${valid_channels_list}= Get Valid Channel Number ${all_channels_list} 33 ${ethernet_channels_list}= Get Channel Number For Valid Ethernet Interface 45 ${lan_print_ipmi}= Get LAN Print Dict 54 ${all_channels_list}= Get Channel Number For All Interface 55 ${valid_channels_list}= Get Valid Channel Number ${all_channels_list} 56 ${ethernet_channels_list}= Get Channel Number For Valid Ethernet Interface 68 @{active_channel_list}= Get Active Ethernet Channel List 83 # Get Channel Info command failed: Parameter out of range 86 @{inactive_channel_list}= Get Invalid Channel Number List [all …]
|
H A D | test_ipmi_sel.robot | 31 ${version_info}= Get IPMI SEL Setting Version 65 ${sel_count}= Get Line Count ${resp} 79 # Get last SEL entry. 92 # Get any sensor available from sensor list. 95 # Get Sensor ID from SDR get "sensor". 97 ${sensor_number}= Get Bytes From SDR Sensor ${sensor_data1} 99 # Get Sensor Type from SDR get "sensor". 101 ${sensor_type_id}= Get Bytes From SDR Sensor ${sensor_data2} 108 # Get last SEL entry. 117 ${get_sel_entry}= Get Lines Containing String ${resp} ${sensor_name} [all …]
|
H A D | test_ipmi_cold_reset.robot | 49 # Get the BMC Status. 53 # Verify if BMC restarted with Get Device ID command. 55 ${resp}= Run IPMI Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} 56 Should Not Contain ${resp} ${IPMI_RAW_CMD['Device ID']['Get'][1]} 73 # Get sensor list. 74 ${sensor_list}= Get Sensor List 76 # Get initial sensor threshold readings. 77 ${sensor_name} ${sensor_threshold}= Get The Sensor Name And Threshold ${sensor_list} 79 ${threshold_key_list}= Get Dictionary Keys ${sensor_threshold} 82 ${old_threshold_value}= Get From Dictionary ${sensor_threshold} ${random_threshold_key} [all …]
|
H A D | test_ipmi_systeminfo_parameters.robot | 42 # Get System Info Parameter for param 0 - Set In Progress. 44 ${complete}= Get System Info Set In Progress 53 # Get System Info Parameter for param 0 - Set In Progress. 55 ${inprogress}= Get System Info Set In Progress 70 # Get System Info Parameter for param 0 - Set In Progress. 72 ${inprogress}= Get System Info Set In Progress 83 ${state}= Get System Info Set In Progress 91 Verify Get System Info Set In Progress With Invalid Data Length 92 [Documentation] Verify Get System Info Parameter Set In Progress via IPMI with extra bytes, 96 # Check if the Get System Info Parameter for param 0 - set in progress throws [all …]
|
H A D | test_ipmi_sensor.robot | 26 [Template] Get Temperature Reading And Verify In Redfish 36 [Template] Get Temperature Reading And Verify In Redfish 61 ... Get Lines Containing String ${temp_reading} 70 ${list_length}= Get Length ${ipmi_temp_list} 73 ${ambient_temp_redfish}= Get Temperature Reading From Redfish Ambient 74 ${ambient_temp_redfish}= Get Dictionary Values ${ambient_temp_redfish} sort_keys=True 90 ${ipmi_reading}= Get IPMI Power Reading 123 ... Get Lines Containing String ${temp_reading} 132 ${list_length}= Get Length ${ipmi_temp_list} 135 ${baseboard_temp_redfish}= Get Temperature Reading From Redfish PCIE [all …]
|
/openbmc/openbmc-test-automation/openpower/ext_interfaces/ |
H A D | test_vmicert_management.robot | 33 Get CSR Request Signed By VMI And Verify 34 [Documentation] Get CSR request signed by VMI using different user roles and verify. 36 [Template] Get Certificate Signed By VMI 51 Get Root Certificate Using Different Privilege Users Role 52 [Documentation] Get root certificate using different users. 54 [Template] Get Root Certificate 76 [Template] Get Certificate Signed By VMI 91 Get Corrupted CSR Request Signed By VMI And Verify 94 [Template] Get Certificate Signed By VMI 109 Get Root Certificate When VMI Is Off And Verify [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | redfish_code_update_utils.robot | 12 Get Software Functional State 19 ${resp}= Redfish.Get /redfish/v1/UpdateService/FirmwareInventory/${image_id} 25 ... Redfish.Get Attribute /redfish/v1/Managers/${MANAGER_ID} FirmwareVersion 27 ... Redfish.Get Attribute /redfish/v1/Systems/${SYSTEM_ID} BiosVersion 56 ${active_sw_img}= Redfish.Get Attribute /redfish/v1/Managers/${MANAGER_ID} Links 67 Get Software Inventory State 90 ${sw_member_list}= Redfish_Utils.Get Member List /redfish/v1/UpdateService/FirmwareInventory 101 … ${resp}= Redfish.Get ${uri_path} valid_status_codes=[${HTTP_OK}, ${HTTP_INTERNAL_SERVER_ERROR}] 107 ${functional}= Get Software Functional State ${uri_path.split("/")[-1]} 117 Get Software Inventory State By Version [all …]
|
H A D | event_notification_utils.robot | 10 ${subscriptions}= Redfish.Get Attribute /redfish/v1/EventService/Subscriptions Members 16 Get Event Subscription IDs 17 [Documentation] Get event subscription IDs. 20 ${subscriptions}= Redfish.Get Attribute /redfish/v1/EventService/Subscriptions Members 28 Get Destination IPs Of Event Subscriptions 29 [Documentation] Get all subscribed server IPs as a list from event subscriptions. 31 ${subscription_ids}= Get Event Subscription IDs 35 … ${destination}= Redfish.Get Attribute /redfish/v1/EventService/Subscriptions/${id} Destination 37 ${dest_ip}= Get Regexp Matches ${destination} .*://(.*):.* 1 45 ${subscription_ids}= Get Event Subscription IDs [all …]
|
H A D | bmc_network_utils.robot | 23 ${active_channel_config}= Get Active Channel Config 41 ${active_channel_config}= Get Active Channel Config 54 Get BMC IP Info 55 [Documentation] Get system IP address and prefix length. 58 # Get system IP address and prefix length details using "ip addr" 64 ${active_channel_config}= Get Active Channel Config 69 # Get line having IP address details. 70 ${lines}= Get Lines Containing String ${cmd_output} inet 77 # Get all IP addresses and prefix lengths on system. 80 ${ip_n_prefix}= Get From List ${if_info} 1 [all …]
|
H A D | code_update_utils.robot | 22 Get Software Objects 23 [Documentation] Get the host software objects and return as a list. 60 ${resp}= OpenBMC Get Request ${software_object}/attr/${attribute_name} 66 Get Software Objects Id 67 [Documentation] Get the software objects id and return as a list. 77 ${sw_list}= Get Software Objects ${version_type} 85 Get Host Software Property 96 Get Host Software Objects Details 102 ${pnor_details}= Get Software Objects ${VERSION_PURPOSE_HOST} 104 ${resp}= OpenBMC Get Request ${pnor} quiet=${1} [all …]
|
H A D | logging_utils.robot | 12 # Define variables for use by callers of 'Get Error Logs'. 20 # ${err_logs}= Get Error Logs &{filter_low_severity_errlogs} 26 [Documentation] Get redfish logging entry, remove the user input expected 33 ${all_event_list}= Get Redfish Event Logs 39 Get Logging Entry List 40 [Documentation] Get logging entry and return the object list. 43 ${resp}= OpenBMC Get Request ${BMC_LOGGING_ENTRY}list quiet=${1} 65 @{elog_entries}= Get Logging Entry List 77 Get Error Logs 83 # ${err_logs}= Get Error Logs &{filter_low_severity_errlogs} [all …]
|
/openbmc/openbmc-test-automation/ipmi/dcmi/ |
H A D | test_dcmi_management_controller.robot | 27 ${rsp}= Get DCMI Management Controller Identifier String 33 ${rsp_length}= Get Length ${ipmi_cmd_rsp_list[2:]} 34 ${string_length}= Get Response Length In Hex ${rsp_length} 49 ${rsp}= Get DCMI Management Controller Identifier String 51 ${bmc_console_hostname_bytes_list}= Get Hostname From BMC Console 56 Test Get Management Controller Identifier String 59 [Setup] Get Default MCID 68 ${rsp}= Get DCMI Management Controller Identifier String 72 ${string_length}= Get Response Length In Hex ${random_int} 87 ${rsp_length}= Get Length ${ipmi_cmd_rsp_list[2:]} [all …]
|
H A D | test_dcmi_get_temperature_reading.robot | 28 Verify Get Temperature Reading Command For Inlet Temperature Sensor 29 [Documentation] Verify IPMI Get Temperature Reading command for inlet temperature sensor. 38 Verify Get Temperature Reading Command For CPU 0 Temperature Sensor 39 [Documentation] Verify IPMI Get Temperature Reading command for cpu0 temperature sensor. 48 Verify Get Temperature Reading Command For CPU 1 Temperature Sensor 49 [Documentation] Verify IPMI Get Temperature Reading command for cpu1 temperature sensor. 58 Verify Get Temperature Reading Command For Baseboard Temperature Sensor 59 [Documentation] Verify IPMI Get Temperature Reading command for baseboard temperature sensor. 70 [Documentation] Get dcmi sensors uri from config file. 74 # Get this file to client machine /usr/share/ipmi-providers/dcmi_sensors.json [all …]
|
/openbmc/openbmc-test-automation/redfish/systems/ |
H A D | test_systems_inventory.robot | 27 [Documentation] Get the total number of CPUs and cores in the system. 33 ${num_cpus}= Get Length ${cpus_ok} 40 # Get the number of cores. 43 ${cores}= Get CPU TotalCores ${cpu} 54 Get Memory Inventory Via Redfish And Verify 55 [Documentation] Get the number of DIMMs that are functional and enabled. 61 Get Memory Summary State And Verify Enabled 66 ${status}= Redfish.Get Attribute ${SYSTEM_BASE_URI} MemorySummary 74 Get System Serial And Verify Populated 78 ${serial_number}= Redfish.Get Attribute ${SYSTEM_BASE_URI} SerialNumber [all …]
|
/openbmc/openbmc-test-automation/redfish/update_service/ |
H A D | test_firmware_inventory.robot | 27 ${resp}= Redfish.Get /redfish/v1/UpdateService 53 ${resp}= Redfish.Get /redfish/v1/UpdateService/FirmwareInventory 60 [Documentation] Get firmware inventory entries and do health check status. 63 ${resp}= Redfish.Get /redfish/v1/UpdateService/FirmwareInventory 71 ${resp_resource}= Redfish.Get ${resp.dict["Members"][${entry}]["@odata.id"]} 88 ${bmc_manager}= Redfish.Get /redfish/v1/Managers/${MANAGER_ID} 89 ${manager_bmc_version}= Get BMC Version 94 ${resp}= Redfish.Get /redfish/v1/UpdateService/FirmwareInventory 103 ${resp_resource}= Redfish.Get ${resp.dict["Members"][${entry}]["@odata.id"]} 126 ${allowable_values}= Redfish.Get Attribute /redfish/v1/UpdateService Actions [all …]
|
/openbmc/openbmc-test-automation/openpower/pel/ |
H A D | test_bmc_pel.robot | 33 ${pel_id}= Get PEL Log Via BMC CLI 43 ${bmc_time1}= CLI Get BMC DateTime 45 ${bmc_time2}= CLI Get BMC DateTime 61 ${ids}= Get Dictionary Keys ${pel_records} 62 ${id}= Get From List ${ids} 0 92 ${pel_ids}= Get PEL Log Via BMC CLI 93 ${pel_id}= Get From List ${pel_ids} -1 95 ${pel_sections}= Get Dictionary Keys ${pel_output} 105 ${pel_before_reboot}= Get PEL Log Via BMC CLI 108 ${pel_after_reboot}= Get PEL Log Via BMC CLI [all …]
|