/openbmc/bios-settings-mgr/src/ |
H A D | manager.cpp | 42 std::get<1>(iter->second) = value; in setAttribute() 50 std::get<0>(attributeValue) = AttributeType::Integer; in setAttribute() 54 std::get<0>(attributeValue) = AttributeType::String; in setAttribute() 57 std::get<1>(attributeValue) = value; in setAttribute() 73 std::get<0>(value) = in getAttribute() 74 std::get<static_cast<uint8_t>(Index::attributeType)>(iter->second); in getAttribute() 75 std::get<1>(value) = in getAttribute() 76 std::get<static_cast<uint8_t>(Index::currentValue)>(iter->second); in getAttribute() 82 std::get<2>(value) = std::get<1>(pendingIter->second); in getAttribute() 84 else if (std::get_if<std::string>(&std::get<1>(value))) in getAttribute() [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-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 | 22 [Documentation] Execute out of band set/get do not log bit for watchdog timer. 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]} 33 [Documentation] Execute out of band set/get stop/resume timer stop bit for watchdog timer. 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]} [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 47 [Documentation] Verify get POH counter command Via IPMI. 50 # Verify 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 57 [Documentation] Verify get POH counter with invalid data request via IPMI. 60 # verify get POH counter command with invalid data request Via IPMI. [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 command (date), 58 Verify Default Get SEL Time 59 [Documentation] Verify IPMI Get SEL Time. 62 # Gets the current SEL time via Get SEL Time Command. 63 ${resp}= Get SEL Time Command 71 # Get current time from BMC and add future year (here, 5years). 72 ${sel_date}= Get Specific Sel Date 5 86 # Get current time from BMC and add future year (here, 5years). 87 ${sel_date}= Get Specifi [all...] |
H A D | test_ipmi_sdr.robot | 37 # Check if delete, partially add, reserve SDR and get SDR alloc info command are supported or not. 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} 139 ${component_uri_list}= Get Componen [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.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_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, 93 ... and expect to get the error message for invalid length. [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_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_general.robot | 20 Test Get Self Test Results via IPMI Raw Command 21 [Documentation] Get self test results via IPMI raw command and verify the output. 24 ${resp}= Run IPMI Command ${IPMI_RAW_CMD['Self_Test_Results']['Get'][0]} 31 Test Get Device GUID Via IPMI Raw Command 32 [Documentation] Get device GUID via IPMI raw command and verify it using Redfish. 35 # Get GUIDS via IPMI. 37 ${guids}= Run IPMI Command ${IPMI_RAW_CMD['Device GUID']['Get'][0]} 44 ${uuid}= Redfish.Get Attribute /redfish/v1/Managers/${MANAGER_ID} UUID 51 Verify Get Channel Info via IPMI 52 [Documentation] Verify get channe [all...] |
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_utils.robot | 19 #### raw cmd for get device ID. 20 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} 27 ## Waiting time to get KCS interface enabled. 29 ... Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} 31 #### raw cmd for get device GUID. 32 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device GUID']['Get'][0]} 34 #### raw cmd for get IP addr. 37 #### raw cmd for get IP addr src. 40 #### raw cmd for get Dot1Q details. 43 #### raw cmd for get SDR Info. [all …]
|
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 | 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 | bmc_network_utils.robot | 23 ${active_channel_config}= Get Active Channel Config 42 ${active_channel_config}= Get Active Channel Config 55 Get BMC IP Info 56 [Documentation] Get system IP address and prefix length. 59 # Get system IP address and prefix length details using "ip addr" 65 ${active_channel_config}= Get Active Channel Config 70 # Get line having IP address details. 71 ${lines}= Get Lines Containing String ${cmd_output} inet 78 # Get all IP addresses and prefix lengths on system. 81 ${ip_n_prefix}= Get Fro [all...] |
/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/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/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/phosphor-dbus-monitor/src/templates/ |
H A D | generated.mako.hpp | 36 static auto& get() in get() function 52 static auto& get() in get() function 68 static auto& get() in get() function 84 static auto& get() in get() function 100 static auto& get() in get() function 116 static auto& get() in get() function 127 static auto& get() in get() function 151 static auto& get() in get() function 162 ConfigPaths::get()[${i[0]}], in get() 163 ConfigInterfaces::get()[${i[2]}], in get() [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} 45 [Documentation] Check hostname was verified with get management 49 ${rsp}= Get DCMI Management Controller Identifier String 51 ${bmc_console_hostname_bytes_list}= Get Hostname From BMC Console 54 …... msg=response get from dcmi get mcid cmd and hostname from "cat /etc/os-release" cmd is not sa… 56 Test Get Management Controller Identifier String 57 [Documentation] Validate set and get mcid string. 59 [Setup] Get Default MCID [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/read-edid/read-edid/ |
H A D | 0001-get-edid-define-quiet-once.patch | 4 Subject: [PATCH] get-edid: define quiet once 12 get-edid/classic.c | 2 +- 13 get-edid/i2c.c | 2 +- 16 diff --git a/get-edid/classic.c b/get-edid/classic.c 18 --- a/get-edid/classic.c 19 +++ b/get-edid/classic.c 29 diff --git a/get-edid/i2c.c b/get-edid/i2c.c 31 --- a/get-edid/i2c.c 32 +++ b/get-edid/i2c.c
|
/openbmc/phosphor-hwmon/test/ |
H A D | sensor_unittest.cpp | 18 const char* EnvImpl::get(const char* key) const in get() function in env::EnvImpl 20 return mockEnv.get(key); in get() 55 EXPECT_CALL(env::mockEnv, get(StrEq("GPIOCHIP_temp5"))) in TEST_F() 57 EXPECT_CALL(env::mockEnv, get(StrEq("GPIO_temp5"))).WillOnce(Return("")); in TEST_F() 60 EXPECT_CALL(env::mockEnv, get(StrEq("GAIN_temp5"))).WillOnce(Return("")); in TEST_F() 61 EXPECT_CALL(env::mockEnv, get(StrEq("OFFSET_temp5"))).WillOnce(Return("")); in TEST_F() 62 EXPECT_CALL(env::mockEnv, get(StrEq("REMOVERCS_temp5"))) in TEST_F() 66 std::make_unique<sensor::Sensor>(sensorKey, hwmonio_mock.get(), path); in TEST_F() 87 EXPECT_CALL(env::mockEnv, get(StrEq("GPIOCHIP_temp5"))) in TEST_F() 89 EXPECT_CALL(env::mockEnv, get(StrEq("GPIO_temp5"))).WillOnce(Return("5")); in TEST_F() [all …]
|
/openbmc/phosphor-net-ipmid/sol/ |
H A D | sol_manager.cpp | 47 readSize = cmd.get(); in consoleInputHandler() 137 lg2::error("Get SOL service failed: {ERROR}", "ERROR", e); in updateSOLParameter() 152 progress = std::get<uint8_t>(properties["Progress"]); in updateSOLParameter() 154 enable = std::get<bool>(properties["Enable"]); in updateSOLParameter() 156 forceEncrypt = std::get<bool>(properties["ForceEncryption"]); in updateSOLParameter() 158 forceAuth = std::get<bool>(properties["ForceAuthentication"]); in updateSOLParameter() 161 std::get<uint8_t>(properties["Privilege"])); in updateSOLParameter() 164 std::get<uint8_t>((properties["AccumulateIntervalMS"])) * in updateSOLParameter() 167 sendThreshold = std::get<uint8_t>(properties["Threshold"]); in updateSOLParameter() 169 retryCount = std::get<uint8_t>(properties["RetryCount"]); in updateSOLParameter() [all …]
|