Home
last modified time | relevance | path

Searched refs:chassisState (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-buttons/src/
H A Dhost_then_chassis_poweroff.cpp19 constexpr auto chassisState = "xyz.openbmc_project.State.Chassis0"; variable
26 constexpr auto chassisState = "/xyz/openbmc_project/state/chassis0"; variable
34 constexpr auto chassisState = "xyz.openbmc_project.State.Chassis"; variable
170 auto method = bus.new_method_call(service::chassisState, in chassisPowerOff()
171 object_path::chassisState, in chassisPowerOff()
173 method.append(interface::chassisState, "RequestedPowerTransition", in chassisPowerOff()
186 Chassis::PowerState chassisState; in isPoweredOn() local
190 auto method = bus.new_method_call(service::chassisState, in isPoweredOn()
191 object_path::chassisState, in isPoweredOn()
193 method.append(interface::chassisState, "CurrentPowerState"); in isPoweredOn()
[all …]
/openbmc/openpower-pnor-code-mgmt/
H A Dversion.cpp149 std::string interface, chassisState; in updateDeleteInterface() local
158 chassisState = std::get<std::string>(p.second); in updateDeleteInterface()
161 if (chassisState.empty()) in updateDeleteInterface()
168 (chassisState != CHASSIS_STATE_OFF)) in updateDeleteInterface()
/openbmc/bmcweb/redfish-core/lib/
H A Dchassis.hpp161 const std::string& chassisState) { in getChassisState() argument
176 BMCWEB_LOG_DEBUG("Chassis state: {}", chassisState); in getChassisState()
178 if (chassisState == in getChassisState()
186 else if (chassisState == in getChassisState()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddata_interface.cpp65 constexpr auto chassisState = "/xyz/openbmc_project/state/chassis0"; variable
85 constexpr auto chassisState = "xyz.openbmc_project.State.Chassis"; variable
191 bus, object_path::chassisState, interface::chassisState, *this, in DataInterface()
/openbmc/openbmc-tools/openbmctool/
H A Dopenbmctool.py1400 chassisState = json.loads(res.text)['data'].split('.')[-1]
1414 outDict = {"Chassis Power State" : chassisState, "Host Power State" : hostState, "BMC Power State":bmcState}
1417 return "Chassis Power State: " +chassisState + "\nHost Power State: " + hostState + "\nBMC Power State: " + bmcState