Lines Matching defs:is
84 // and persistent storage design is in place and sdbusplus
126 // The system is off. If we think it should be on then
139 "Chassis power was on before the BMC reboot and it is off now");
141 // Reset host sensors since system is off now
154 // 0 indicates pinhole reset. 1 is NOT pinhole reset
214 // If power status transitioned from bad to good and chassis power is
216 // power on now that power status is good
221 "chassis power is off, calling APR",
277 info("UPower device {OBJ_PATH} is not a UPS device",
284 // There is a UPS detected but it is not officially
286 info("UPower device {OBJ_PATH} is not present", "OBJ_PATH",
293 info("UPS is fully charged");
297 info("UPS is not fully charged: {UPS_STATE}", "UPS_STATE",
307 info("UPS Battery Level is Full");
314 info("UPS Battery Level is Low: {UPS_BAT_LEVEL}",
385 info("Power System Inputs status is in Fault state");
410 // If the change is to any of the properties we are interested in, then call
412 // interfaces, to see if a power status change is needed
449 // If the change is to any of the properties we are interested in, then call
451 // interfaces, to see if a power status change is needed
543 // newStateID is a throwaway that is needed in order to read the
559 info("Received signal that power OFF is complete");
567 info("Received signal that power ON is complete");
571 // Remove temporary file which is utilized for scenarios where the
572 // BMC is rebooted while the chassis power is still on.
573 // This file is used to indicate to chassis related systemd services
574 // that the chassis is already on and they should skip running.
575 // Once the chassis state is back to on we can clear this file.
594 info("BMC State is not Ready so no chassis on operations allowed");
678 std::ifstream is(path.c_str(), std::ios::in | std::ios::binary);
679 cereal::JSONInputArchive iarchive(is);
736 std::ifstream is(path.c_str(), std::ios::in | std::ios::binary);
737 cereal::JSONInputArchive iarchive(is);
776 // If power is on when the BMC is rebooted, this function will get called