blob: feb0560a2770978528ecaaecd46d669f2ca64fa3 [file] [log] [blame]
George Keishing713dd5e2018-11-29 01:16:19 -06001*** Settings ***
2
3Documentation Utilities keywords for BMC redfish.
4
5Resource resource.txt
6Resource redfish_client.robot
7
8*** Keywords ***
9
10Boot Action
11 [Documentation] Host boot to power on, off or reboot.
12 [Arguments] ${boot_option}
13
14 # Description of argument(s):
15 # boot_option On/GracefulShutdown/ForceOff
16
17 ${args}= Create Dictionary ResetType=${boot_option}
18 ${resp}= Redfish Post Request ${REDFISH_POWER_URI} data=${args}