Lines Matching +full:wait +full:- +full:on +full:- +full:read

79     [Documentation]  Wait for Host to be online. Checks every X seconds
86 # max_timeout Maximum time to wait.
89 # interval Interval to wait between status checks.
93 Wait Until Keyword Succeeds
115 ... Read Attribute ${HOST_WATCHDOG_URI} ExpireAction
140 Redfish Power On stack_mode=skip quiet=1
171 ... echo ${os_password} | sudo -S reboot
192 ... echo ${os_password} | sudo -S shutdown${time_string}
203 # led_state LED state to be set (e.g. On, Off).
220 ${state}= Read Attribute ${OPENBMC_BASE_URI}sensors/host/BootProgress
233 # prior call to this function or via a -v parm), this keyword will simply
241 # -v boot_prog_method:Old to force old behavior on such builds.
247 # If the new style read fails, the method must necessarily be "Old".
259 Initiate Power On
260 [Documentation] Initiates the power on and waits until the Is Power On
261 ... keyword returns that the power state has switched to on.
262 [Arguments] ${wait}=${1}
265 # wait Indicates whether to wait for a powered on state after issuing
266 # the power on command.
274 # Does caller want to wait for power on status?
275 IF '${wait}' == '${0}' Return From Keyword
276 Wait Until Keyword Succeeds 3 min 10 sec Is Power On
288 Wait Until Keyword Succeeds 1 min 10 sec Is Power Off
317 ${state}= Read Attribute ${HOST_STATE_URI} BootProgress quiet=${quiet}
324 ${currentPolicy}= Read Attribute ${POWER_RESTORE_URI} PowerRestorePolicy
331 ${currentPolicy}= Read Attribute ${HOST_SETTING} power_policy
345 ${setting}= Read Attribute ${CONTROL_HOST_URI}/auto_reboot AutoReboot
353 ${resp}= Wait Until Keyword Succeeds 1 min 20 sec
414 Wait Until Keyword Succeeds 2 min 10 sec Is PNOR Flashing
420 ${data}= Read Properties /org/openbmc/control/flash/bios
466 ... cpu -
478 ${resp}= Read Properties ${path}enumerate timeout=30
485 …${resp}= Get Matches ${list} regexp=^.*[0-9a-z_].${endpoint}\[_0-9a-z]*$ case_insensitive=${Tr…
541 ${url_list}= Read Properties /xyz/openbmc_project/logging/entry/
550 # 0 - indicates chip select is current side.
551 # 32 - indicates chip select is alternate side.
574 ${state}= Read Attribute ${LED_PHYSICAL_URI}${led_name} State
583 # led_state LED state to be verified (e.g. On, Off).
596 ${state}= Read Attribute ${LED_GROUPS_URI}${led_name} Asserted
597 # Returns the state of the LED, either On or Off.
621 ${output}= Read Attribute ${uri} ${attribute_name}
662 [Arguments] ${power_restore_policy}=always-off
666 # always-on : turn on when power is restored
668 # always-off : stay off after power is restored
671 # Example: Set chassis power restore policy to always-off
723 [Documentation] Set given boot mode on the boot object path attribute.
739 Is Power On
740 [Documentation] Verify that the BMC chassis state is on.
754 …${bmc_time_via_date} ${stderr} ${rc}= BMC Execute Command date +"%Y-%m-%dT%H:%M:%S" print_err…
768 ${headers}= Create Dictionary Content-Type=application/json X-Auth-Token=${XAUTH_TOKEN}
769 ${resp}= POST On Session openbmc ${BMC_USER_URI}root/action/SetPassword
782 # Immediate: Wait For Reboot start_boot_seconds=${state['epoch_seconds']}
786 # Immediate: Wait State os_running_match_state 10 mins
799 [Documentation] Get task states from pre-define data/task_state.json file.
864 # "Enabled" -> BMC Ready, "Starting" -> BMC NotReady
873 ${status}= Wait Until Keyword Succeeds 1 min 20 sec
885 ${Status}= Wait Until Keyword Succeeds 1 min 20 sec
904 ${chassis}= Wait Until Keyword Succeeds 1 min 20 sec
917 ${boot_progress}= Wait Until Keyword Succeeds 1 min 20 sec
930 # Refer: openbmc/docs/designs/boot-progress.md
974 Wait Until Keyword Succeeds 3 min 10 sec Redfish Get States
976 Wait Until Keyword Succeeds 5 min 10 sec Match State ${standby_states}
990 Wait For Host Boot Progress To Reach Required State
991 [Documentation] Wait till host boot progress reaches required state.
997 Wait Until Keyword Succeeds ${power_on_timeout} 20 sec
1011 Redfish Power Operation On
1013 Wait Until Keyword Succeeds 2 min 5 sec Is Boot Progress Changed
1075 ${cmd}= Catenate busctl set-property xyz.openbmc_project.Watchdog
1081 Stop PLDM Service And Wait
1082 [Documentation] Stop PLDM service and wait for Host to initiate reset.
1114 Wait Until Keyword Succeeds 5 min 5 sec Ping Host ${OPENBMC_HOST}
1137 ${resp}= pldmtool bios SetBIOSAttributeCurrentValue -a ${attribute_name} -d ${attribute_value}
1157 ${pldm_output}= pldmtool bios GetBIOSAttributeCurrentValueByHandle -a ${attribute_name}
1166 # expected_power_state State of Host e.g. Off or On.
1175 Wait Until Keyword Succeeds 3 min 30 sec Verify Host Power State On
1177 Wait Until Keyword Succeeds 10 min 30 sec OS Execute Command uptime