/openbmc/bmcweb/redfish-core/include/generated/enums/ |
H A D | log_entry.hpp | 195 {LogEntryCode::TransitiontoIdle, "Transition to Idle"}, 196 {LogEntryCode::TransitiontoActive, "Transition to Active"}, 197 {LogEntryCode::TransitiontoBusy, "Transition to Busy"}, 206 {LogEntryCode::TransitiontoOK, "Transition to OK"}, 207 {LogEntryCode::TransitiontoNonCriticalfromOK, "Transition to Non-Critical from OK"}, 208 {LogEntryCode::TransitiontoCriticalfromlesssevere, "Transition to Critical from less severe"}, 209 …{LogEntryCode::TransitiontoNonrecoverablefromlesssevere, "Transition to Non-recoverable from less … 210 …{LogEntryCode::TransitiontoNonCriticalfrommoresevere, "Transition to Non-Critical from more severe… 211 …{LogEntryCode::TransitiontoCriticalfromNonrecoverable, "Transition to Critical from Non-recoverabl… 212 {LogEntryCode::TransitiontoNonrecoverable, "Transition to Non-recoverable"}, [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | scheduled_host_transition.hpp | 20 using Transition = typedef 21 sdbusplus::server::xyz::openbmc_project::state::Host::Transition; 26 * @brief Scheduled host transition implementation. 54 * @return The time for the transition. It is the same as the input value if 72 /** @brief Timer used for host transition with seconds */ 84 /** @brief Implement host transition 91 /** @brief Used by the timer to do host transition */ 131 * @param[out] trans - Deserialized requested transition 135 static bool deserializeScheduledValues(uint64_t& time, Transition& trans); 137 /** @brief Restore scheduled time and requested transition from persisted
|
H A D | scheduled_host_transition.cpp | 51 info("A scheduled host transition request has been made for {TIME}", "TIME", in scheduledTime() 55 // 0 means the function Scheduled Host Transition is disabled in scheduledTime() 61 "scheduledTime: The function Scheduled Host Transition is disabled."); in scheduledTime() 70 "Scheduled time is earlier than current time. Fail to schedule host transition."); in scheduledTime() 76 // Start a timer to do host transition at scheduled time in scheduledTime() 111 // Set RestartCause to indicate this transition is occurring due to a in hostTransition() 112 // scheduled host transition as long as it's not an off request in hostTransition() 113 if (HostTransition::scheduledTransition() != HostState::Transition::Off) in hostTransition() 125 // Stop timer, since we need to do host transition once only in callback() 128 // Set scheduledTime to 0 to disable host transition and update scheduled in callback() [all …]
|
H A D | host_state_manager.cpp | 70 server::Host::requestedHostTransition(Transition::On, true); in determineInitialState() 76 server::Host::requestedHostTransition(Transition::Off, true); in determineInitialState() 82 server::Host::requestedHostTransition(Transition::Off, true); in determineInitialState() 89 std::set<Transition> supportedTransitions = { in setupSupportedTransitions() 90 Transition::On, in setupSupportedTransitions() 91 Transition::Off, in setupSupportedTransitions() 92 Transition::Reboot, in setupSupportedTransitions() 93 Transition::GracefulWarmReboot, in setupSupportedTransitions() 95 Transition::ForceWarmReboot, in setupSupportedTransitions() 111 {Transition::Off, std::format("obmc-host-shutdown@{}.target", id)}, in createSystemdTargetMaps() [all …]
|
H A D | hypervisor_state_manager.cpp | 28 server::Host::Transition Hypervisor::requestedHostTransition(Transition value) in requestedHostTransition() 30 info("Hypervisor state transition request of {TRAN_REQUEST}", in requestedHostTransition() 33 // Only support the transition to On in requestedHostTransition() 34 if (value != server::Host::Transition::On) in requestedHostTransition() 36 error("Hypervisor state only supports a transition to On"); in requestedHostTransition() 38 return server::Host::Transition::Off; in requestedHostTransition() 83 server::Host::requestedHostTransition(server::Host::Transition::Off); in updateCurrentHostState()
|
H A D | bmc_state_manager.cpp | 38 /* Map a transition to it's systemd target */ 39 const std::map<server::BMC::Transition, const char*> SYSTEMD_TABLE = { 40 {server::BMC::Transition::Reboot, "reboot.target"}}; 141 void BMC::executeTransition(const Transition tranReq) in executeTransition() 145 if (server::BMC::Transition::HardReboot == tranReq) in executeTransition() 176 // The only valid transition is reboot and that in executeTransition() 226 BMC::Transition BMC::requestedBMCTransition(Transition value) in requestedBMCTransition() 234 * Do not do transition when the any firmware being updated in requestedBMCTransition() 236 if ((server::BMC::Transition::Reboot == value) && in requestedBMCTransition() 239 info("Firmware being updated, reject the transition request"); in requestedBMCTransition()
|
/openbmc/u-boot/drivers/misc/ |
H A D | fsl_sec_mon.c | 28 * Security Violation Bit and transition to Non-Secure State. in set_sec_mon_state_non_sec() 47 printf("SEC_MON state transition timeout.\n"); in set_sec_mon_state_non_sec() 54 * the Software Security Violation Bit and transition to Soft-Fail in set_sec_mon_state_non_sec() 76 printf("SEC_MON state transition timeout.\n"); in set_sec_mon_state_non_sec() 83 * If SSM Soft Fail to Non-Secure State Transition in set_sec_mon_state_non_sec() 85 * transition to Non-Secure State. in set_sec_mon_state_non_sec() 105 printf("SEC_MON state transition timeout.\n"); in set_sec_mon_state_non_sec() 140 printf("SEC_MON state transition timeout.\n"); in set_sec_mon_state_soft_fail() 158 printf("SEC_MON state transition not supported.\n"); in set_sec_mon_state()
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/ |
H A D | Drive.interface.yaml | 11 type: enum[self.Transition] 14 The desired Drive transition 33 - name: Transition 35 The desired transition for the Drive 48 No transition is in progress. 51 Transition request is not supported.
|
H A D | BMC.interface.yaml | 3 transition. When Ready all services required are running 9 type: enum[self.Transition] 12 The desired BMC transition 34 - name: Transition 36 The desired transition for the BMC firmware 46 No transition is in progress
|
H A D | Host.interface.yaml | 6 type: enum[self.Transition] 9 The desired host transition. This will be preserved across AC power 17 type: set[enum[self.Transition]] 30 firmware. A user can determine if a system is in transition by 41 - name: Transition 43 The desired transition for host firmware 77 Host firmware is in a standby state. It is awaiting a Transition
|
H A D | Chassis.interface.yaml | 5 type: enum[self.Transition] 8 The desired power transition to start on this chassis. This will be 18 user can determine if a chassis is in transition by comparing the 38 - name: Transition 40 The desired power transition for the chassis
|
H A D | ScheduledHostTransition.interface.yaml | 16 the transition starts, there won't be any retries. When the real time 27 type: enum[xyz.openbmc_project.State.Host.Transition] 30 The desired power transition to support scheduled power on/off. The
|
/openbmc/docs/designs/ |
H A D | state-management-and-external-interfaces.md | 94 - Keep legacy support where `xyz.openbmc_project.State.Host.Transition.Reboot` 109 Create two new `xyz.openbmc_project.State.Host.Transition` options: 113 Create a new `xyz.openbmc_project.State.Chassis.Transition` option: 123 - `ForceRestart` -> `xyz.openbmc_project.State.Chassis.Transition.Reset` 124 - `PowerCycle` -> `xyz.openbmc_project.State.Chassis.Transition.PowerCycle` 127 change the current bmcweb mapping for `ForceRestart` to a new host transition: 128 `xyz.openbmc_project.State.Host.Transition.ForceWarmReboot` 130 A `GracefulRestart` will map to our new host transition: 131 `xyz.openbmc_project.State.Host.Transition.GracefulWarmReboot` 134 host is on, it will map to `xyz.openbmc_project.State.Host.Transition.Reboot` [all …]
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/state/phosphor-state-manager/ |
H A D | power-cmd | 133 local transition 134 transition=$(busctl get-property \ 140 …if [ "$transition" != "xyz.openbmc_project.State.Host.Transition.Off" ] && [ "$(power_status)" == … 145 xyz.openbmc_project.State.Host.Transition.Off 163 local transition 164 transition=$(busctl get-property \ 170 …if [ "$transition" != "xyz.openbmc_project.State.Host.Transition.On" ] && [ "$(power_status)" == "… 175 xyz.openbmc_project.State.Host.Transition.On
|
/openbmc/phosphor-state-manager/test/ |
H A D | test_scheduled_host_transition.cpp | 83 // set requested transition to be on in TEST_F() 84 scheduledHostTransition.scheduledTransition(Transition::On); in TEST_F() 85 EXPECT_EQ(scheduledHostTransition.scheduledTransition(), Transition::On); in TEST_F() 86 // set requested transition to be off in TEST_F() 87 scheduledHostTransition.scheduledTransition(Transition::Off); in TEST_F() 88 EXPECT_EQ(scheduledHostTransition.scheduledTransition(), Transition::Off); in TEST_F() 93 // Disable host transition in TEST_F()
|
/openbmc/phosphor-buttons/src/ |
H A D | button_handler.cpp | 25 const std::map<std::string, Chassis::Transition> chassisPwrCtls = { 26 {"chassis-on", Chassis::Transition::On}, 27 {"chassis-off", Chassis::Transition::Off}, 28 {"chassis-cycle", Chassis::Transition::PowerCycle}}; 49 std::vector<std::map<uint16_t, Chassis::Transition>> multiPwrBtnActConf; 77 std::map<uint16_t, Chassis::Transition> mapEntry; in Handler() 290 std::variant<Host::Transition, Chassis::Transition> transition; in handlePowerEvent() local 327 transition = iter.second; in handlePowerEvent() 338 transition = Host::Transition::On; in handlePowerEvent() 342 transition = Host::Transition::Off; in handlePowerEvent() [all …]
|
H A D | host_then_chassis_poweroff.cpp | 128 void HostThenChassisPowerOff::hostTransition(Host::Transition transition) in hostTransition() argument 132 std::variant<std::string> state = convertForMessage(transition); in hostTransition() 134 lg2::info("Power button action requesting host transition of {TRANS}", in hostTransition() 146 lg2::error("Failed requesting host transition {TRANS}: {ERROR}", in hostTransition() 147 "TRANS", convertForMessage(transition), "ERROR", e); in hostTransition() 153 hostTransition(Host::Transition::On); in powerOn() 158 hostTransition(Host::Transition::Off); in hostPowerOff() 168 convertForMessage(Chassis::Transition::Off); in chassisPowerOff()
|
/openbmc/webui-vue/src/assets/styles/bmc/helpers/ |
H A D | _variables.scss | 4 $transition-base: all $duration--moderate-02 $standard-easing--productive; 5 $transition-fade: opacity $duration--moderate-01 $standard-easing--productive; 6 $transition-collapse: height $duration--slow-01 $standard-easing--expressive; 15 $focus-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
|
/openbmc/phosphor-state-manager/service_files/ |
H A D | meson.build | 20 'phosphor-set-host-transition-to-off@.service', 21 'phosphor-set-host-transition-to-running@.service', 25 'phosphor-set-chassis-transition-to-on@.service', 26 'phosphor-set-chassis-transition-to-off@.service',
|
/openbmc/openbmc/meta-facebook/meta-santabarbara/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | assert-power-good-drop | 33 transition=$(busctl get-property \ 39 if [ "$transition" != "xyz.openbmc_project.State.Host.Transition.Off" ] && [ "$(power_status)" == "… 44 xyz.openbmc_project.State.Host.Transition.Off
|
H A D | deassert-power-good-drop | 32 transition=$(busctl get-property \ 38 if [ "$transition" != "xyz.openbmc_project.State.Host.Transition.On" ] && [ "$(power_status)" == "o… 43 xyz.openbmc_project.State.Host.Transition.On
|
/openbmc/bmcweb/test/redfish-core/lib/ |
H A D | system_test.cpp | 72 "xyz.openbmc_project.State.Host.Transition.On", in TEST() 73 "xyz.openbmc_project.State.Host.Transition.Off", in TEST() 74 "xyz.openbmc_project.State.Host.Transition.GracefulWarmReboot", in TEST() 104 "xyz.openbmc_project.State.Host.Transition.On", in TEST() 105 "xyz.openbmc_project.State.Host.Transition.Off", in TEST() 106 "xyz.openbmc_project.State.Host.Transition.GracefulWarmReboot", in TEST() 107 "xyz.openbmc_project.State.Host.Transition.ForceWarmReboot", in TEST()
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | LogEntry.v1_19_0.json | 663 "Transition to Idle", 664 "Transition to Active", 665 "Transition to Busy", 674 "Transition to OK", 675 "Transition to Non-Critical from OK", 676 "Transition to Critical from less severe", 677 "Transition to Non-recoverable from less severe", 678 "Transition to Non-Critical from more severe", 679 "Transition to Critical from Non-recoverable", 680 "Transition to Non-recoverable", [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | LogEntry.v1_19_0.json | 663 "Transition to Idle", 664 "Transition to Active", 665 "Transition to Busy", 674 "Transition to OK", 675 "Transition to Non-Critical from OK", 676 "Transition to Critical from less severe", 677 "Transition to Non-recoverable from less severe", 678 "Transition to Non-Critical from more severe", 679 "Transition to Critical from Non-recoverable", 680 "Transition to Non-recoverable", [all …]
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/gpio/phosphor-gpio-monitor/catalina/ |
H A D | platform-gpio-monitor | 61 … if [ "$(get_request_host_transition)" != "xyz.openbmc_project.State.Host.Transition.On" ]; then 62 set_request_host_transition "xyz.openbmc_project.State.Host.Transition.On" 71 …1 ] && [ "$(get_request_host_transition)" != "xyz.openbmc_project.State.Host.Transition.On" ]; then 72 set_request_host_transition "xyz.openbmc_project.State.Host.Transition.On" 83 … if [ "$(get_request_host_transition)" != "xyz.openbmc_project.State.Host.Transition.Off" ]; then 84 set_request_host_transition "xyz.openbmc_project.State.Host.Transition.Off" 91 … ] && [ "$(get_request_host_transition)" != "xyz.openbmc_project.State.Host.Transition.Off" ]; then 92 set_request_host_transition "xyz.openbmc_project.State.Host.Transition.Off" 191 set_request_host_transition "xyz.openbmc_project.State.Host.Transition.Off" 271 set_request_host_transition "xyz.openbmc_project.State.Host.Transition.On"
|