/openbmc/phosphor-host-ipmid/oem/nvidia/ |
H A D | bootstrap-credentials-oem-cmds.cpp | 21 namespace ipmi namespace 23 ipmi::RspType<uint8_t, uint8_t> ipmiGetUsbVendorIdProductId(uint8_t type) in ipmiGetUsbVendorIdProductId() 28 // IPMI OEM USB Linux Gadget info in ipmiGetUsbVendorIdProductId() 34 return ipmi::responseSuccess(static_cast<uint8_t>(usbVendorId >> 8), in ipmiGetUsbVendorIdProductId() 39 return ipmi::responseSuccess(static_cast<uint8_t>(usbProductId >> 8), in ipmiGetUsbVendorIdProductId() 42 return ipmi::responseInvalidFieldRequest(); in ipmiGetUsbVendorIdProductId() 45 ipmi::RspType<ipmi::message::Payload> ipmiGetUsbSerialNumber() in ipmiGetUsbSerialNumber() 48 ipmi::message::Payload usbSerialNumberPayload; in ipmiGetUsbSerialNumber() 50 return ipmi::responseSuccess(usbSerialNumberPayload); in ipmiGetUsbSerialNumber() 53 ipmi::RspType<ipmi::message::Payload> ipmiGetRedfishHostName( in ipmiGetRedfishHostName() [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_user.robot | 2 Documentation Test suite for OpenBMC IPMI user management. 39 Verify IPMI User Summary 40 [Documentation] Verify IPMI maximum supported IPMI user ID and 48 ${random_userid} ${random_username}= Create Random IPMI User 50 Run IPMI Standard Command user enable ${random_userid} 52 # Enable IPMI user and verify 53 Enable IPMI User And Verify ${random_userid} 60 # Verify maximum user count IPMI local user can have. 64 Verify IPMI User List 65 [Documentation] Verify user list via IPMI. [all …]
|
H A D | test_ipmi_disable.robot | 2 Documentation Module to test IPMI disable functionality. 12 Verify Disabling And Enabling IPMI Via Host 13 [Documentation] Verify disabling and enabling IPMI via host. 16 ... AND Run Inband IPMI Standard Command lan set ${CHANNEL_NUMBER} access on 18 # Disable IPMI and verify 19 Run Inband IPMI Standard Command lan set ${CHANNEL_NUMBER} access off 20 Run Keyword and Expect Error *Unable to establish IPMI* 21 ... Run External IPMI Standard Command lan print ${CHANNEL_NUMBER} 23 # Enable IPMI and verify 24 Run Inband IPMI Standard Command lan set ${CHANNEL_NUMBER} access on [all …]
|
H A D | test_ipmi_chassis.robot | 3 Documentation Module to test IPMI chassis functionality. 27 IPMI Chassis Status On 29 ... using IPMI Get Chassis status command. 33 ${resp}= Run External IPMI Standard Command chassis status 37 IPMI Chassis Status Off 39 ... using IPMI Get Chassis status command. 43 ${resp}= Run External IPMI Standard Command chassis status 47 Verify Host PowerOff Via IPMI 48 [Documentation] Verify host power off operation using external IPMI command. 51 IPMI Power Off [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | storagehandler.cpp | 34 namespace ipmi namespace 40 } // namespace ipmi 41 extern const ipmi::sensor::InvObjectIDMap invSensors; 59 using namespace ipmi::fru; 65 using SELEntry = ipmi::sel::SELEventRecordFormat; 86 return std::string(ipmi::sel::logBasePath) + "/" + std::to_string(id); in getLoggingObjPath() 95 ipmi::sel::GetSELEntryResponse record{}; in parseLoggingEntry() 96 record = ipmi::sel::convertLogEntrytoSEL(p); in parseLoggingEntry() 166 bus, interfacesAdded(ipmi::sel::logWatchPath), in registerSelCallbackHandler() 172 bus, interfacesRemoved(ipmi in registerSelCallbackHandler() [all...] |
H A D | sbmrhandler.cpp | 40 namespace ipmi namespace 90 bool updateBootProgressProperty(ipmi::Context::ptr& ctx, in updateBootProgressProperty() 95 ipmi::DbusObjectInfo sbmrHostStateObject{}; in updateBootProgressProperty() 99 ipmi::getDbusObject(ctx, sbmrHostStateIntf, sbmrHostStateObject); in updateBootProgressProperty() 108 ec = ipmi::setDbusProperty(ctx, sbmrHostStateObject.second, in updateBootProgressProperty() 122 bool updateBootProgressLastUpdateProperty(ipmi::Context::ptr& ctx, in updateBootProgressLastUpdateProperty() 125 ipmi::DbusObjectInfo sbmrHostStateObject{}; in updateBootProgressLastUpdateProperty() 129 ipmi::getDbusObject(ctx, sbmrHostStateIntf, sbmrHostStateObject); in updateBootProgressLastUpdateProperty() 138 ec = ipmi::setDbusProperty(ctx, sbmrHostStateObject.second, in updateBootProgressLastUpdateProperty() 152 ipmi::RspType<> sendBootProgressCode( in sendBootProgressCode() [all …]
|
H A D | dcmihandler.cpp | 152 std::optional<ipmi::DbusObjectInfo> getPCapObject(ipmi::Context::ptr& ctx) in getPCapObject() 154 static std::optional<ipmi::DbusObjectInfo> pcapObject = std::nullopt; in getPCapObject() 161 ipmi::DbusObjectInfo objectPath{}; in getPCapObject() 163 ipmi::getDbusObject(ctx, pcapInterface, objectPath); in getPCapObject() 175 std::optional<uint32_t> getPcap(ipmi::Context::ptr& ctx) in getPcap() 177 std::optional<ipmi::DbusObjectInfo> pcapObject = getPCapObject(ctx); in getPcap() 185 boost::system::error_code ec = ipmi::getDbusProperty( in getPcap() 199 std::optional<bool> getPcapEnabled(ipmi::Context::ptr& ctx) in getPcapEnabled() 201 std::optional<ipmi::DbusObjectInfo> pcapObject = getPCapObject(ctx); in getPcapEnabled() 210 ipmi::getDbusProperty(ctx, pcapObject.value().second.c_str(), in getPcapEnabled() [all …]
|
H A D | chassishandler.cpp | 61 namespace ipmi namespace 75 } // namespace ipmi 174 int getHostNetworkData(ipmi::message::Payload& payload) in getHostNetworkData() 176 ipmi::PropertyMap properties; in getHostNetworkData() 178 uint8_t addrSize = ipmi::network::IPV4_ADDRESS_SIZE_BYTE; in getHostNetworkData() 192 auto ipObjectInfo = ipmi::getDbusObject(bus, IP_INTERFACE, in getHostNetworkData() 195 auto macObjectInfo = ipmi::getDbusObject(bus, MAC_INTERFACE, in getHostNetworkData() 198 properties = ipmi::getAllDbusProperties( in getHostNetworkData() 200 auto variant = ipmi::getDbusProperty( in getHostNetworkData() 224 if ((MACAddress == ipmi::network::DEFAULT_MAC_ADDRESS)) in getHostNetworkData() [all …]
|
H A D | systemintfcmds.cpp | 27 ipmi::RspType<uint16_t, // id 35 ipmiAppReadEventBuffer(ipmi::Context::ptr& ctx) in ipmiAppReadEventBuffer() 38 if (ctx->channel != ipmi::channelSystemIface) in ipmiAppReadEventBuffer() 40 return ipmi::responseInvalidCommand(); in ipmiAppReadEventBuffer() 50 const char* filename = "/usr/share/ipmi-providers/dev_id.json"; in ipmiAppReadEventBuffer() 64 // per IPMI spec NetFuntion for OEM in ipmiAppReadEventBuffer() 72 return ipmi::responseSuccess( in ipmiAppReadEventBuffer() 81 ipmi::RspType<uint8_t> ipmiAppGetMessageFlags() in ipmiAppGetMessageFlags() 83 // From IPMI spec V2.0 for Get Message Flags Command : in ipmiAppGetMessageFlags() 90 return ipmi::responseSuccess(setEventMsgBufferNotSupported); in ipmiAppGetMessageFlags() [all …]
|
/openbmc/openbmc-test-automation/data/boot_lists/ |
H A D | All | 5 IPMI Power On 6 IPMI Power On (mfg) 17 IPMI Power Off 18 IPMI Power Off (mfg) 19 IPMI Power Soft 20 IPMI Power Soft (mfg) 41 IPMI MC Reset Warm (run) 42 IPMI MC Reset Warm (run) (mfg) 43 IPMI MC Reset Warm (off) 44 IPMI MC Reset Warm (off) (mfg) [all …]
|
H A D | OBMC_reboot | 19 IPMI MC Reset Warm (run) 20 IPMI MC Reset Warm (run) (mfg) 21 IPMI MC Reset Warm (off) 22 IPMI MC Reset Warm (off) (mfg) 23 IPMI MC Reset Cold (off) 24 IPMI MC Reset Cold (off) (mfg) 25 IPMI MC Reset Cold (run) 26 IPMI MC Reset Cold (run) (mfg) 27 IPMI Std MC Reset Warm (off) 28 IPMI Std MC Reset Warm (off) (mfg) [all …]
|
/openbmc/phosphor-host-ipmid/user_channel/ |
H A D | usercommands.cpp | 29 namespace ipmi namespace 38 /** IPMI set password return codes (refer spec sec 22.30) */ 47 * @param ctx - IPMI context pointer (for channel) 49 * @param ipmiEnabled - indicates ipmi messaging state 59 * @returns ipmi completion code 61 ipmi::RspType<> ipmiSetUserAccess( in ipmiSetUserAccess() 62 ipmi::Context::ptr ctx, uint4_t channel, uint1_t ipmiEnabled, in ipmiSetUserAccess() 76 return ipmi::responseInvalidFieldRequest(); in ipmiSetUserAccess() 85 return ipmi::response(invalidChannel); in ipmiSetUserAccess() 90 return ipmi::responseActionNotSupportedForChannel(); in ipmiSetUserAccess() [all …]
|
/openbmc/intel-ipmi-oem/src/ |
H A D | manufacturingcommands.cpp | 31 namespace ipmi namespace 64 static inline Cc resetMtmTimer(ipmi::Context::ptr ctx) in resetMtmTimer() 106 return ipmi::ccInvalidFieldRequest; in ledStoreAndSet() 111 ipmi::Value presentState; in ledStoreAndSet() 118 return ipmi::ccUnspecifiedError; in ledStoreAndSet() 131 return ipmi::ccUnspecifiedError; in ledStoreAndSet() 133 return ipmi::ccSuccess; in ledStoreAndSet() 141 return ipmi::ccInvalidFieldRequest; in ledRevert() 151 ipmi::method_no_args::callDbusMethod( in ledRevert() 157 return ipmi::ccUnspecifiedError; in ledRevert() [all …]
|
H A D | bridgingcommands.cpp | 39 static constexpr const char* ipmbBus = "xyz.openbmc_project.Ipmi.Channel.Ipmb"; 40 static constexpr const char* ipmbObj = "/xyz/openbmc_project/Ipmi/Channel/Ipmb"; 223 case makeCmdKey(ipmi::netFnApp, ipmi::app::cmdMasterWriteRead): in isMeCmdAllowed() 242 ipmi::Cc Bridging::handleIpmbChannel( in handleIpmbChannel() 243 ipmi::Context::ptr& ctx, const uint8_t tracking, in handleIpmbChannel() 246 ipmi::Manufacturing mtm; in handleIpmbChannel() 253 return ipmi::ccReqDataLenInvalid; in handleIpmbChannel() 257 if ((ctx->priv) != ipmi::Privilege::Admin) in handleIpmbChannel() 259 return ipmi::ccInsufficientPrivilege; in handleIpmbChannel() 269 return ipmi::ccParmOutOfRange; in handleIpmbChannel() [all …]
|
/openbmc/openbmc-test-automation/redfish/managers/ |
H A D | test_bmc_protocol_settings.robot | 9 Suite Teardown Run Keywords Enable IPMI Protocol ${initial_ipmi_state} AND Redfish.Logout 136 Enable IPMI Protocol And Verify 137 [Documentation] Enable IPMI protocol and verify. 140 Enable IPMI Protocol ${True} 142 # Check if IPMI is really enabled via Redfish. 143 Verify IPMI Protocol State ${True} 145 # Check if IPMI commands starts working. 146 Verify IPMI Works lan print 149 Disable IPMI Protocol And Verify 150 [Documentation] Disable IPMI protocol and verify. [all …]
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/configuration/ |
H A D | romulus-yaml-config.bb | 9 file://romulus-ipmi-fru.yaml \ 10 file://romulus-ipmi-fru-bmc.yaml \ 11 file://romulus-ipmi-fru-properties.yaml \ 12 file://romulus-ipmi-inventory-sensors.yaml \ 13 file://romulus-ipmi-sensors.yaml \ 20 cat romulus-ipmi-fru.yaml romulus-ipmi-fru-bmc.yaml > fru-read.yaml 22 install -m 0644 -D romulus-ipmi-fru-properties.yaml \ 23 ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml 25 ${D}${datadir}/${BPN}/ipmi-fru-read.yaml 26 install -m 0644 -D romulus-ipmi-inventory-sensors.yaml \ [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/ |
H A D | test_policies_sub_menu.robot | 45 Page Should Contain Network IPMI (out-of-band IPMI) 93 Disable IPMI Via GUI And Verify 94 [Documentation] Login to GUI Policies page,disable IPMI and 95 ... verify that IPMI command does not work after disabling IPMI. 98 Set Policy Via GUI IPMI Disabled 102 ... Run IPMI Standard Command sel info 105 ... msg=IPMI command is working after disabling IPMI. 108 Enable IPMI Via GUI And Verify 109 [Documentation] Login to GUI Policies page,enable IPMI and 110 ... verify that IPMI command works after enabling IPMI. [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/ |
H A D | acx22-yaml-config.bb | 10 file://acx22-ipmi-fru-bmc.yaml \ 11 file://acx22-ipmi-fru-not-sent-by-host.yaml \ 12 file://acx22-ipmi-hwmon-sensors.yaml \ 13 file://acx22-ipmi-inventory-sensors.yaml \ 14 file://acx22-ipmi-occ-sensors.yaml \ 15 file://acx22-ipmi-sensors-mrw.yaml \ 27 acx22-ipmi-fru-bmc.yaml \ 28 acx22-ipmi-fru-not-sent-by-host.yaml \ 31 acx22-ipmi-hwmon-sensors.yaml \ 32 acx22-ipmi-occ-sensors.yaml \ [all …]
|
/openbmc/openbmc-test-automation/redfish/account_service/ |
H A D | test_ipmi_redfish_user.robot | 2 Documentation Test IPMI and Redfish combinations for user management. 29 Create Admin Redfish User And Verify Login Via IPMI 30 [Documentation] Create user using redfish and verify via IPMI. 45 Verify IPMI Username And Password ${random_username} ${valid_password} 48 Update User Password Via Redfish And Verify Using IPMI 49 [Documentation] Update user password via Redfish and verify using IPMI. 66 # Verify that IPMI command works with new password and fails with older password. 67 Verify IPMI Username And Password ${random_username} ${valid_password2} 69 Run Keyword And Expect Error *Error: Unable to establish IPMI* 70 ... Verify IPMI Username And Password ${random_username} ${valid_password} [all …]
|
/openbmc/openbmc-test-automation/openpower/localuser/ |
H A D | test_ipmi_redfish_user.robot | 2 Documentation Test IPMI and Redfish combinations for user management. 23 Create IPMI User Without Any Privilege And Verify Via Redfish 24 [Documentation] Create user using IPMI without privilege and verify user privilege 28 # Create IPMI user with random id and username. 31 Run IPMI Standard Command 40 Create Admin User Via Redfish And Verify Login Via IPMI 41 [Documentation] Create user via redfish and verify via IPMI. 56 Enable IPMI Access To User Using Redfish ${random_username} 62 Verify IPMI Username And Password ${random_username} ${valid_password2} 65 Delete User Via Redfish And Verify Using IPMI [all …]
|
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-phosphor/configuration/ |
H A D | g220a-yaml-config.bb | 9 file://g220a-ipmi-fru.yaml \ 10 file://g220a-ipmi-fru-properties.yaml \ 11 file://g220a-ipmi-inventory-sensors.yaml \ 12 file://g220a-ipmi-sensors.yaml \ 19 install -m 0644 -D g220a-ipmi-fru-properties.yaml \ 20 ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml 21 install -m 0644 -D g220a-ipmi-fru.yaml \ 22 ${D}${datadir}/${BPN}/ipmi-fru-read.yaml 23 install -m 0644 -D g220a-ipmi-inventory-sensors.yaml \ 24 ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml [all …]
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/configuration/ |
H A D | gbs-yaml-config.bb | 9 file://gbs-ipmi-fru.yaml \ 10 file://gbs-ipmi-sensors.yaml \ 11 file://gbs-ipmi-fru-properties.yaml \ 12 file://gbs-ipmi-inventory-sensors.yaml \ 19 install -m 0644 -D gbs-ipmi-fru.yaml \ 20 ${D}${datadir}/${BPN}/ipmi-fru-read.yaml 21 install -m 0644 -D gbs-ipmi-sensors.yaml \ 22 ${D}${datadir}/${BPN}/ipmi-sensors.yaml 23 install -m 0644 -D gbs-ipmi-fru-properties.yaml \ 24 ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml [all …]
|
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/configuration/ |
H A D | ncplite-yaml-config.bb | 9 file://ncplite-ipmi-fru.yaml \ 10 file://ncplite-ipmi-fru-properties.yaml \ 11 file://ncplite-ipmi-sensors.yaml \ 12 file://ncplite-ipmi-inventory-sensors.yaml \ 19 install -m 0644 -D ncplite-ipmi-fru.yaml \ 20 ${D}${datadir}/${BPN}/ipmi-fru-read.yaml 21 install -m 0644 -D ncplite-ipmi-fru-properties.yaml \ 22 ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml 23 install -m 0644 -D ncplite-ipmi-sensors.yaml \ 24 ${D}${datadir}/${BPN}/ipmi-sensors.yaml [all …]
|
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-phosphor/configuration/ |
H A D | s6q-yaml-config.bb | 9 file://ipmi-fru.yaml \ 10 file://ipmi-fru-properties.yaml \ 11 file://ipmi-sensors.yaml \ 12 file://ipmi-inventory-sensors.yaml \ 19 install -m 0644 -D ipmi-fru.yaml ${D}${datadir}/${BPN}/ipmi-fru-read.yaml 20 install -m 0644 -D ipmi-fru-properties.yaml ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml 21 install -m 0644 -D ipmi-sensors.yaml ${D}${datadir}/${BPN}/ipmi-sensors.yaml 22 install -m 0644 -D ipmi-inventory-sensors.yaml ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml 26 ${datadir}/${BPN}/ipmi-fru-read.yaml \ 27 ${datadir}/${BPN}/ipmi-extra-properties.yaml \ [all …]
|
/openbmc/openbmc/meta-yadro/meta-nicole/recipes-phosphor/configuration/ |
H A D | nicole-yaml-config.bb | 9 file://nicole-ipmi-fru.yaml \ 10 file://nicole-ipmi-fru-properties.yaml \ 11 file://nicole-ipmi-inventory-sensors.yaml \ 12 file://nicole-ipmi-sensors.yaml \ 19 install -m 0644 -D nicole-ipmi-fru-properties.yaml \ 20 ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml 21 install -m 0644 -D nicole-ipmi-fru.yaml \ 22 ${D}${datadir}/${BPN}/ipmi-fru-read.yaml 23 install -m 0644 -D nicole-ipmi-inventory-sensors.yaml \ 24 ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml [all …]
|