Lines Matching +full:attribute +full:- +full:set
117 ... Read Attribute ${HOST_WATCHDOG_URI} ExpireAction
119 ... Write Attribute ${HOST_WATCHDOG_URI} ExpireAction data=${data}
123 Write Attribute ${HOST_WATCHDOG_URI} Interval data=${data}
126 Write Attribute ${HOST_WATCHDOG_URI} Enabled data=${data}
155 # Set the auto reboot policy.
156 Set Auto Reboot ${1}
157 # Set the watchdog timer.
172 ... Set Variable reboot
174 ... Set Variable echo ${os_password} | sudo -S reboot
191 ${time_string}= Run Keyword If ${hard} Set Variable ${SPACE}now
192 ... ELSE Set Variable ${EMPTY}
195 ... Set Variable shutdown${time_string}
197 ... Set Variable echo ${os_password} | sudo -S shutdown${time_string}
203 Set System LED State
204 [Documentation] Set given system LED via REST.
208 # led_state LED state to be set (e.g. On, Off).
212 Write Attribute ${LED_PHYSICAL_URI}${led_name} State data=${args}
221 ${turbo_setting}= Read Attribute
226 Set Turbo Setting Via REST
227 [Documentation] Set turbo setting via REST.
231 # setting State to set TurboAllowed, 1=allowed, 0=not allowed.
235 Write Attribute ${CONTROL_HOST_URI}turbo_allowed TurboAllowed
239 Set REST Logging Policy
248 Write Attribute ${BMC_LOGGING_URI}rest_api_logs Enabled
260 ${state}= Read Attribute ${OPENBMC_BASE_URI}sensors/host/BootProgress
266 Set Boot Progress Method
267 [Documentation] Set the boot_prog_method to either 'Old' or 'New'.
271 # the boot progress is valid and will set the global boot_prog_method
272 # variable accordingly. If boot_prog_method is already set (either by a
273 # prior call to this function or via a -v parm), this keyword will simply
281 # -v boot_prog_method:Old to force old behavior on such builds.
290 ... Set Global Variable ${boot_prog_method} New AND
295 Set Global Variable ${boot_prog_method} Old
339 Set Boot Progress Method
356 ${state}= Read Attribute ${HOST_STATE_URI} BootProgress quiet=${quiet}
363 ${currentPolicy}= Read Attribute ${POWER_RESTORE_URI} PowerRestorePolicy
370 ${currentPolicy}= Read Attribute ${HOST_SETTING} power_policy
378 …${power_restore_policy}= Redfish.Get Attribute /redfish/v1/Systems/${SYSTEM_ID} PowerRestorePol…
384 ${setting}= Read Attribute ${CONTROL_HOST_URI}/auto_reboot AutoReboot
393 ... Redfish.Get Attribute /redfish/v1/Systems/${SYSTEM_ID} Boot
491 ${default_file_path}= Set Variable If ${status} == ${TRUE}
495 ${log_file_path}= Set Variable If '${log_file_path}' == '${EMPTY}'
506 ... cpu -
525 …${resp}= Get Matches ${list} regexp=^.*[0-9a-z_].${endpoint}\[_0-9a-z]*$ case_insensitive=${Tr…
530 Set BMC Power Policy
531 [Documentation] Set the given BMC power policy.
542 # Set the bmc_power_policy_method to either 'Old' or 'New'.
543 Set Power Policy Method
547 Run Key ${bmc_power_policy_method} Set Power Policy \ ${policy}
572 ${args}= Set Variable {"data": []}
590 # 0 - indicates chip select is current side.
591 # 32 - indicates chip select is alternate side.
614 ${state}= Read Attribute ${LED_PHYSICAL_URI}${led_name} State
636 ${state}= Read Attribute ${LED_GROUPS_URI}${led_name} Asserted
651 Verify The Attribute
652 [Documentation] Verify the given attribute.
658 # attribute_name Name of attribute to be verified (e.g. "TPMEnable").
659 # attribute_value The expected value of attribute (e.g. "1", "0", etc.)
661 ${output}= Read Attribute ${uri} ${attribute_name}
663 ... msg=Attribute "${attribute_name} does not have the expected value.
666 New Set Power Policy
667 [Documentation] Set the given BMC power policy (new method).
674 Write Attribute
678 Old Set Power Policy
679 [Documentation] Set the given BMC power policy (old method).
686 Write Attribute ${HOST_SETTING} power_policy data=${valueDict}
689 Redfish Set Power Restore Policy
690 [Documentation] Set the BMC power restore policy.
700 IPMI Set Power Restore Policy
701 [Documentation] Set the BMC power restore policy using IPMI.
702 [Arguments] ${power_restore_policy}=always-off
706 # always-on : turn on when power is restored
708 # always-off : stay off after power is restored
711 # Example: Set chassis power restore policy to always-off
715 Set Auto Reboot Setting
716 [Documentation] Set the given auto reboot setting (REST or Redfish).
729 ... Redfish Set Auto Reboot ${rest_redfish_dict["${value}"]}
731 ... Set Auto Reboot ${value}
733 Set Auto Reboot
734 [Documentation] Set the given auto reboot setting.
742 Write Attribute ${CONTROL_HOST_URI}/auto_reboot AutoReboot data=${data}
747 Redfish Set Auto Reboot
748 [Documentation] Set the given auto reboot setting.
761 Set Control Boot Mode
762 [Documentation] Set given boot mode on the boot object path attribute.
770 # boot_mode Boot mode which need to be set.
775 Write Attribute ${boot_path} BootMode data=${valueDict}
793 …${bmc_time_via_date} ${stderr} ${rc}= BMC Execute Command date +"%Y-%m-%d %H:%M:%S" print_err…
807 ${headers}= Create Dictionary Content-Type=application/json X-Auth-Token=${XAUTH_TOKEN}
838 [Documentation] Get task states from pre-define data/task_state.json file.
866 Redfish Set Boot Default
867 [Documentation] Set and Verify Boot source override
882 ... Set To Dictionary ${data} BootSourceOverrideMode ${override_mode}
889 ${resp}= Redfish.Get Attribute /redfish/v1/Systems/${SYSTEM_ID} Boot
901 # "Enabled" -> BMC Ready, "Starting" -> BMC NotReady
911 ... Redfish.Get Attribute /redfish/v1/Managers/${MANAGER_ID} Status
923 ... Redfish.Get Attribute /redfish/v1/Managers/${MANAGER_ID} Status
967 # Refer: openbmc/docs/designs/boot-progress.md
1008 ... Set To Dictionary ${standby_states} boot_progress=NA
1042 # interval Value in milliseconds to set Watchdog interval
1044 # Set auto reboot policy
1045 Redfish Set Auto Reboot RetryAttempts
1051 # Set watchdog timer
1052 Set Watchdog Interval Using Busctl ${interval}
1104 Set Watchdog Interval Using Busctl
1105 [Documentation] Set Watchdog time interval.
1111 ${cmd}= Catenate busctl set-property xyz.openbmc_project.Watchdog
1123 Get BIOS Attribute
1124 [Documentation] Get the BIOS attribute for /redfish/v1/Systems/system/Bios.
1128 ${bios_attr_dict}= Redfish.Get Attribute ${systems[0]}/Bios Attributes
1133 Set BIOS Attribute
1134 [Documentation] PATCH the BIOS attribute for /redfish/v1/Systems/system/Bios.
1138 # attribute_name Any valid BIOS attribute.
1139 # attribute_value Valid allowed attribute values.
1159 PLDM Set BIOS Attribute
1160 [Documentation] Set the BIOS attribute via pldmtool and verify the attribute is set.
1165 # attribute_name Valid BIOS attribute name e.g ("fw_boot_side")
1166 # attribute_value Valid BIOS attribute value for fw_boot_side.
1173 ${resp}= pldmtool bios SetBIOSAttributeCurrentValue -a ${attribute_name} -d ${attribute_value}
1181 ${pldm_output}= PLDM Get BIOS Attribute ${attribute_name}
1186 PLDM Get BIOS Attribute
1187 [Documentation] Get the BIOS attribute via pldmtool for a given attribute and return value.
1191 # attribute_name Valid BIOS attribute name e.g ("fw_boot_side")
1193 ${pldm_output}= pldmtool bios GetBIOSAttributeCurrentValueByHandle -a ${attribute_name}