Lines Matching +full:power +full:- +full:on
2 Documentation This suite tests Timed Power On(TPO) feature via busctl command
3 ... and verify the power status of the system.
5 ... System can be scheduled to Power ON at a specified time by using this feature.
22 ${CMD_ENABLE_TPO} busctl set-property xyz.openbmc_project.State.ScheduledHostTransition
24 ... ScheduledTransition s "xyz.openbmc_project.State.Host.Transition.On"
26 ${CMD_SET_TPO_TIME} busctl set-property xyz.openbmc_project.State.ScheduledHostTransition
29 ${CMD_GET_TPO_TIME} busctl get-property xyz.openbmc_project.State.ScheduledHostTransition
36 # - Red Hat Enterprise Linux
37 # - SUSE Linux Enterprise Server
38 # Tested on RHEL 8.4.
41 # User can input -v HOST_TIMER_POWER_ON:h24 ( e.g. 24 hours )
43 ${HOST_TIMED_POWER_ON_REQUEST} set_poweron_time -d ${HOST_TIMER_POWER_ON} -s
47 Test Timed Powered On Via BMC
48 [Documentation] Set time to power on host attribute ScheduledTime and expect
49 ... the system to boot on scheduled time.
53 Redfish Power Off stack_mode=skip
55 # Set Host transition to ON to enable TPO.
58 ${tpo_set_value}= Set Timer For Power ON
59 ${new_tpo_value}= Get Time Power ON Value
65 # system is powering on. Though we have set system to power on in 100 seconds
69 Log To Console BMC Scheduled Time Power on success.
72 Test Timed Powered On Via Host OS
73 [Documentation] Set time to power on host via service aids tool set_poweron_time
74 ... and expect the system to boot on scheduled time.
77 # Make sure the host is powered on and booted to host OS partition.
78 Redfish Power On
82 … Skip If ${rc} != ${0} INFO: ${stdout} Skip the test since the tool does not. Install and re-run.
84 # Set Host transition to ON to enable TPO.
87 # Wait for host to Power off.
90 Log To Console Power Off completed.
95 # system is powering on after user timer set and delta time to update BootProgress
98 # Example: h1 , logic to convert x[1:] -> 1 and x[:1] ->h to robot format 1 h.
100 Log To Console Waiting for system to power on.
104 Log To Console Host Scheduled Time Power on success.
113 Set Power Policy For TPO Automatic
116 Set Power Policy For TPO
117 [Documentation] Change 'server power policy' option to automatic.
121 # power_policy_mode BIOS attribute value. E.g. "Stay On", "Automatic".
131 FFDC On Test Case Fail
134 Set Timer For Power ON
135 [Documentation] Set the time for power ON with given value.
144 Get Time Power ON Value
145 [Documentation] Returns time power ON value.