Lines Matching +full:os +full:- +full:initiated
31 import os
48 os.path.dirname(
49 os.path.dirname(importlib.util.find_spec("gen_robot_print").origin)
51 + os.sep
63 # have failed so far. For the moment, we will hard-code the value we need from
81 OBMC_STATES_VERSION = int(os.environ.get("OBMC_STATES_VERSION", 1))
84 os.environ.get("REDFISH_SUPPORT_TRANS_STATE", 0)
89 platform_arch_type = os.environ.get(
106 USE_BMC_EPOCH_TIME = int(os.environ.get("USE_BMC_EPOCH_TIME", 0))
176 # A match state for checking that the system is at "os running".
181 ("boot_progress", "FW Progress, Starting OS|OSStart"),
190 # A master dictionary to determine whether the os may be up.
195 ("boot_progress", "FW Progress, Starting OS|OSStart"),
277 # A match state for checking that the system is at "os running".
293 # A master dictionary to determine whether the os may be up.
477 os_username The username to be used to login to the OS.
479 os_password The password to be used to login to the OS.
483 os_up If the caller knows that the os can't possibly be up, it can
485 will then simply return default values for all requested os
532 # See if the OS pings.
534 "ping -c 1 -w 2 " + os_host,
607 os_username The username to be used to login to the OS.
609 os_password The password to be used to login to the OS.
639 # NOTE: OS parms are optional.
690 # See if the OS pings.
692 "ping -c 1 -w 2 " + openbmc_host,
701 # See if the OS pings.
703 "ping -c 5 -w 5 "
705 + " | egrep 'packet loss' | sed -re 's/.* ([0-9]+)%.*/\\1/g'"
715 # wait_until_keyword_succeeds to ensure a non-blank value is obtained.
717 "bash -c 'read uptime filler 2>/dev/null < /proc/uptime"
718 + ' && [ ! -z "${uptime}" ] && echo ${uptime}\''
739 date_cmd_buf = "date -u +%s"
760 elapsed_boot_time = int(epoch_seconds) - start_boot_seconds
824 r"([A-Z][a-z])", r"_\1", new_attr_name
897 # information on os substates.
900 # determination of whether the os is even up. We'll pass the result
977 os_username The username to be used to login to the OS.
979 os_password The password to be used to login to the OS.
996 # Remove special-case match key from req_states.
1082 os_username The username to be used to login to the OS.
1084 os_password The password to be used to login to the OS.
1123 check_state_quiet = 1 - debug
1179 This function is useful when some kind of reboot has been initiated by the
1185 1970-01-01 00:00:00 UTC. This value should be obtained
1207 ("uptime", "^[0-9\\.]+$"),
1208 ("elapsed_boot_time", "^[0-9]+$"),