George Keishing | 713dd5e | 2018-11-29 01:16:19 -0600 | [diff] [blame^] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation Utilities keywords for BMC redfish. |
| 4 | |
| 5 | Resource resource.txt |
| 6 | Resource redfish_client.robot |
| 7 | |
| 8 | *** Keywords *** |
| 9 | |
| 10 | Boot 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} |