Home
last modified time | relevance | path

Searched full:ipmi (Results 1 – 25 of 1291) sorted by relevance

12345678910>>...52

/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_user.robot2 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}
57 # Verify maximum user count IPMI local user can have.
61 Verify IPMI User List
62 [Documentation] Verify user list via IPMI.
67 ${random_userid} ${random_username}= Create Random IPMI User
70 Run IPMI Standard Command
[all …]
H A Dtest_ipmi_disable.robot2 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 Dtest_ipmi_chassis.robot3 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 …]
H A Dtest_ipmi_network_configuration.robot3 Documentation Module to test IPMI network functionality.
35 Verify IPMI Inband Network Configuration
36 [Documentation] Verify BMC network configuration via inband IPMI.
40 ... Redfish.Login AND Run IPMI Command ${IPMI_RAW_CMD['Device ID']['Get'][0]}
44 Set IPMI Inband Network Configuration ${STATIC_IP} ${NETMASK} ${GATEWAY}
52 # To verify changed static ip is communicable through external IPMI cmd.
53 Run External IPMI Raw Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} H=${STATIC_IP}
75 Disable VLAN Via IPMI When Multiple VLAN Exist On BMC
76 [Documentation] Disable VLAN Via IPMI When Multiple VLAN Exist On BMC.
83 Create VLAN Via IPMI off
[all …]
/openbmc/phosphor-host-ipmid/user_channel/
H A Dusercommands.cpp29 namespace ipmi namespace
36 * @param ctx - IPMI context pointer (for channel)
38 * @param ipmiEnabled - indicates ipmi messaging state
48 * @returns ipmi completion code
50 ipmi::RspType<> ipmiSetUserAccess( in ipmiSetUserAccess()
51 ipmi::Context::ptr ctx, uint4_t channel, uint1_t ipmiEnabled, in ipmiSetUserAccess()
65 return ipmi::responseInvalidFieldRequest(); in ipmiSetUserAccess()
73 return ipmi::response(invalidChannel); in ipmiSetUserAccess()
78 return ipmi::response(ccActionNotSupportedForChannel); in ipmiSetUserAccess()
83 return ipmi::responseParmOutOfRange(); in ipmiSetUserAccess()
[all …]
/openbmc/phosphor-host-ipmid/
H A Dstoragehandler.cpp34 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 Ddcmihandler.cpp107 std::optional<uint32_t> getPcap(ipmi::Context::ptr& ctx) in getPcap()
111 ipmi::getService(ctx, pcapInterface, pcapPath, service); in getPcap()
117 ec = ipmi::getDbusProperty(ctx, service, pcapPath, pcapInterface, in getPcap()
128 std::optional<bool> getPcapEnabled(ipmi::Context::ptr& ctx) in getPcapEnabled()
132 ipmi::getService(ctx, pcapInterface, pcapPath, service); in getPcapEnabled()
138 ec = ipmi::getDbusProperty(ctx, service, pcapPath, pcapInterface, in getPcapEnabled()
149 bool setPcap(ipmi::Context::ptr& ctx, const uint32_t powerCap) in setPcap()
153 ipmi::getService(ctx, pcapInterface, pcapPath, service); in setPcap()
159 ec = ipmi::setDbusProperty(ctx, service, pcapPath, pcapInterface, in setPcap()
170 bool setPcapEnable(ipmi
[all...]
H A Dchassishandler.cpp60 namespace ipmi namespace
68 } // namespace ipmi
166 int getHostNetworkData(ipmi::message::Payload& payload) in getHostNetworkData()
168 ipmi::PropertyMap properties; in getHostNetworkData()
170 uint8_t addrSize = ipmi::network::IPV4_ADDRESS_SIZE_BYTE; in getHostNetworkData()
184 auto ipObjectInfo = ipmi::getDbusObject(bus, IP_INTERFACE, in getHostNetworkData()
187 auto macObjectInfo = ipmi::getDbusObject(bus, MAC_INTERFACE, in getHostNetworkData()
190 properties = ipmi::getAllDbusProperties( in getHostNetworkData()
192 auto variant = ipmi::getDbusProperty( in getHostNetworkData()
216 if ((MACAddress == ipmi in getHostNetworkData()
[all...]
H A Dapphandler.cpp87 "/usr/share/ipmi-providers/master_write_read_white_list.json";
112 std::string getActiveSoftwareVersionInfo(ipmi::Context::ptr ctx) in getActiveSoftwareVersionInfo()
115 ipmi::ObjectTree objectTree; in getActiveSoftwareVersionInfo()
119 ipmi::getAllDbusObjects(*ctx->bus, softwareRoot, redundancyIntf); in getActiveSoftwareVersionInfo()
133 ipmi::getService(*ctx->bus, redundancyIntf, softObject.first); in getActiveSoftwareVersionInfo()
135 ipmi::getManagedObjects(*ctx->bus, service, softwareRoot); in getActiveSoftwareVersionInfo()
188 ipmi::DbusObjectInfo bmcObject = in getCurrentBmcState()
189 ipmi::getDbusObject(bus, bmc_state_interface); in getCurrentBmcState()
191 ipmi::getDbusProperty(bus, bmcObject.second, bmcObject.first, in getCurrentBmcState()
228 // Defined in 20.6 of ipmi do
1375 namespace ipmi global() namespace
[all...]
H A Dsystemintfcmds.cpp27 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 in ipmiAppGetMessageFlags()
[all...]
/openbmc/intel-ipmi-oem/src/
H A Dmanufacturingcommands.cpp31 namespace ipmi namespace
64 static inline Cc resetMtmTimer(ipmi::Context::ptr ctx) in resetMtmTimer()
111 ipmi::Value presentState; in ledStoreAndSet()
151 ipmi::method_no_args::callDbusMethod( in ledRevert()
227 ipmi::Value* reply) in getProperty()
231 *reply = ipmi::getDbusProperty(*getSdBus(), service, path, interface, in getProperty()
246 ipmi::Value value) in setProperty()
250 ipmi::setDbusProperty(*getSdBus(), service, path, interface, in setProperty()
281 static bool findPwmName(ipmi::Context::ptr& ctx, uint8_t instance, in findPwmName()
348 ipmi::RspType<uint8_t, // Signal value
[all …]
H A Dbridgingcommands.cpp39 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 …]
H A Dstoragecommands.cpp43 namespace intel_oem::ipmi::sel namespace
56 return ::ipmi::sel::invalidTimeStamp; in getFileTimestamp()
61 static constexpr const char* selEraseTimestamp = "/var/lib/ipmi/sel_erase_time";
87 } // namespace intel_oem::ipmi::sel
89 namespace ipmi namespace
246 ipmi::Cc getFru(ipmi::Context::ptr& ctx, uint8_t devId) in getFru()
250 return ipmi::ccSuccess; in getFru()
263 return ipmi::ccBusy; in getFru()
283 return ipmi::ccResponseError; in getFru()
287 return ipmi::ccSuccess; in getFru()
[all …]
H A Dfirmware-update.cpp41 namespace ipmi namespace
58 } // namespace ipmi
60 namespace ipmi namespace
74 } // namespace ipmi
383 std::map<std::string, ipmi::DbusVariant> props; in updateActivationPercent()
478 ipmi::DbusVariant("xyz.openbmc_project.Software.Activation." in activateImage()
495 auto service = ipmi::getService(*busp, bmcStateIntf, bmcStatePath); in getFirmwareUpdateMode()
496 ipmi::Value state = ipmi::getDbusProperty( in getFirmwareUpdateMode()
521 auto service = ipmi::getService(*busp, bmcStateIntf, bmcStatePath); in setFirmwareUpdateMode()
522 ipmi::setDbusProperty(*busp, service, bmcStatePath, bmcStateIntf, in setFirmwareUpdateMode()
[all …]
/openbmc/openbmc-test-automation/redfish/managers/
H A Dtest_bmc_protocol_settings.robot9 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-test-automation/data/boot_lists/
H A DAll5 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 …]
/openbmc/linux/drivers/char/ipmi/
H A DKconfig3 # IPMI device configuration
7 tristate 'IPMI top-level message handler'
11 This enables the central IPMI message handler, required for IPMI
14 IPMI is a standard for managing sensors (temperature,
17 See <file:Documentation/driver-api/ipmi.rst> for more details on the driver.
33 When a panic occurs, this will cause the IPMI message handler to,
34 by default, generate an IPMI event describing the panic to each
44 When a panic occurs, this will cause the IPMI message handler to,
45 by default, generate IPMI OEM type f0 events holding the IPMB
57 tristate 'Device interface for IPMI'
[all …]
/openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/
H A Dtest_policies_sub_menu.robot45 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-test-automation/redfish/account_service/
H A Dtest_ipmi_redfish_user.robot2 Documentation Test IPMI and Redfish combinations for user management.
27 Create Admin Redfish User And Verify Login Via IPMI
28 [Documentation] Create user using redfish and verify via IPMI.
43 Verify IPMI Username And Password ${random_username} ${valid_password}
46 Update User Password Via Redfish And Verify Using IPMI
47 [Documentation] Update user password via Redfish and verify using IPMI.
64 # Verify that IPMI command works with new password and fails with older password.
65 Verify IPMI Username And Password ${random_username} ${valid_password2}
67 Run Keyword And Expect Error *Error: Unable to establish IPMI*
68 ... Verify IPMI Username And Password ${random_username} ${valid_password}
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dipmi_client.robot2 Documentation This module is for IPMI client for copying ipmitool to
3 ... openbmc box and execute ipmitool IPMI standard
4 ... command. IPMI raw command will use dbus-send command
31 Run IPMI Command
32 [Documentation] Run the raw IPMI command.
36 # command The IPMI command string to be executed
38 # fail_on_err Fail if the IPMI command execution fails.
41 # used for external IPMI commands.
44 ... Run External IPMI Raw Command ${command} ${fail_on_err} &{options}
46 ... Run Inband IPMI Raw Command ${command}
[all …]
/openbmc/phosphor-net-ipmid/
H A Dmessage_parsers.hpp16 // RMCP Messages with class=IPMI should be sent with an RMCP Sequence
21 // RMCP Message Class 7h is for IPMI
28 // as per IPMI spec 13.2.4
65 // IPMI partial session header
75 * @brief Unflatten an incoming packet and prepare the IPMI message
77 * @param[in] inPacket - Incoming IPMI packet
79 * @return A tuple with IPMI message and the session header type to sent the
88 * @brief Flatten an IPMI message and generate the IPMI packet with the
91 * @param[in] outMessage - IPMI message to be flattened
92 * @param[in] authType - Session header type to be added to the IPMI
[all …]
/openbmc/phosphor-host-ipmid/test/message/
H A Dpayload.cpp29 ipmi::SecureBuffer i = {0xbf, 0x04, 0x86, 0x00, 0x02}; in TEST()
31 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST()
37 ipmi::message::Payload p; in TEST()
39 ipmi::SecureBuffer i = {0xbf, 0x04, 0x86, 0x00, 0x02}; in TEST()
49 ipmi::SecureBuffer i = {0xbf, 0x04, 0x86, 0x00, 0x02}; in TEST()
50 ipmi::message::Payload p; in TEST()
58 ipmi::SecureBuffer i = {0xbf, 0x04, 0x86, 0x00, 0x02}; in TEST()
59 ipmi::message::Payload p; in TEST()
67 ipmi::message::Payload p; in TEST()
75 ipmi::message::Payload p; in TEST()
[all …]
/openbmc/openbmc-test-automation/openpower/localuser/
H A Dtest_ipmi_redfish_user.robot2 Documentation Test IPMI and Redfish combinations for user management.
25 Create IPMI User Without Any Privilege And Verify Via Redfish
26 [Documentation] Create user using IPMI without privilege and verify user privilege
30 # Create IPMI user with random id and username.
33 Run IPMI Standard Command
42 Create Admin User Via Redfish And Verify Login Via IPMI
43 [Documentation] Create user via redfish and verify via IPMI.
58 Enable IPMI Access To User Using Redfish ${random_username}
64 Verify IPMI Username And Password ${random_username} ${valid_password2}
67 Delete User Via Redfish And Verify Using IPMI
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/
H A Dacx22-yaml-config.bb10 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/fb-ipmi-oem/src/
H A Dbiccommands.cpp29 namespace ipmi namespace
54 // ipmiOemBicHandler (IPMI/Section - ) (CMD_OEM_BIC_INFO)
59 ipmi::RspType<IanaType, uint8_t, uint2_t, uint6_t, uint8_t, uint8_t,
60 ipmi::message::Payload>
61 ipmiOemBicHandler(ipmi::Context::ptr ctx, IanaType reqIana, in ipmiOemBicHandler()
65 ipmi::message::Response::ptr res; in ipmiOemBicHandler()
67 // Updating the correct netfn and cmd in the ipmi Context in ipmiOemBicHandler()
71 // creating ipmi message request for calling executeIpmiCommand function in ipmiOemBicHandler()
72 auto req = std::make_shared<ipmi::message::Request>(ctx, std::move(data)); in ipmiOemBicHandler()
75 res = ipmi::executeIpmiCommand(req); in ipmiOemBicHandler()
[all …]

12345678910>>...52