Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation This testsuite is for testing the Boot Device Functions |
| 4 | |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 5 | Resource ../lib/rest_client.robot |
| 6 | Resource ../lib/ipmi_client.robot |
| 7 | Resource ../lib/openbmc_ffdc.robot |
George Keishing | ddc605f | 2016-09-15 00:46:32 -0500 | [diff] [blame] | 8 | Resource ../lib/utils.robot |
Sweta Potthuri | af741cb | 2017-07-04 09:41:17 -0500 | [diff] [blame] | 9 | Resource ../lib/boot_utils.robot |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 10 | |
George Keishing | 3ce958c | 2017-03-27 01:09:02 -0500 | [diff] [blame] | 11 | Suite Setup Test Suite Setup |
Sweta Potthuri | f93a746 | 2017-03-21 06:38:26 -0500 | [diff] [blame] | 12 | Test Teardown Post Test Case Execution |
George Keishing | ec80737 | 2016-12-05 03:54:51 -0600 | [diff] [blame] | 13 | |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 14 | *** Variables *** |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 15 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 16 | ${stack_mode} skip |
| 17 | |
George Keishing | ec80737 | 2016-12-05 03:54:51 -0600 | [diff] [blame] | 18 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 19 | *** Test Cases *** |
| 20 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 21 | Set The Boot Source As Default Using REST API |
| 22 | [Documentation] Set default boot source via REST and verify with both |
| 23 | ... REST and IPMI. |
| 24 | [Tags] Set_The_Boot_Source_As_Default_Using_REST_API |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 25 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 26 | Set Boot Source ${BOOT_SOURCE_DEFAULT} |
| 27 | |
| 28 | ${boot_source}= |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 29 | ... Read Attribute ${CONTROL_HOST_URI}boot/one_time BootSource |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 30 | Should Be Equal As Strings ${boot_source} ${BOOT_SOURCE_DEFAULT} |
| 31 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 32 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 33 | Should Contain ${output} No override |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 34 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 35 | |
| 36 | Set The Boot Source As Default Using Ipmitool |
| 37 | [Documentation] Set default boot source via IPMI and verify with both |
| 38 | ... REST and IPMI. |
| 39 | [Tags] Set_The_Boot_Source_As_Default_Using_Ipmitool |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 40 | |
Rahul Maheshwari | 8dc8a48 | 2017-01-29 21:41:55 -0600 | [diff] [blame] | 41 | Run IPMI command 0x0 0x8 0x05 0x80 0x00 0x00 0x00 0x00 |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 42 | |
| 43 | ${boot_source}= |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 44 | ... Read Attribute ${CONTROL_HOST_URI}boot/one_time BootSource |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 45 | Should Be Equal As Strings ${boot_source} ${BOOT_SOURCE_DEFAULT} |
| 46 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 47 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 48 | Should Contain ${output} No override |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 49 | |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 50 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 51 | Set The Boot Source As Network Using REST API |
| 52 | [Documentation] Set boot source as Network via REST and verify with both |
| 53 | ... REST and IPMI. |
| 54 | [Tags] Set_The_Boot_Source_As_Network_Using_REST_API |
| 55 | |
| 56 | Set Boot Source ${BOOT_SOURCE_NETWORK} |
| 57 | |
| 58 | ${boot_source}= |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 59 | ... Read Attribute ${CONTROL_HOST_URI}boot/one_time BootSource |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 60 | Should Be Equal As Strings ${boot_source} ${BOOT_SOURCE_NETWORK} |
| 61 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 62 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 63 | Should Contain ${output} Force PXE |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 64 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 65 | |
| 66 | Set The Boot Source As Network Using Ipmitool |
| 67 | [Documentation] Set boot source as Network via IPMI and verify with both |
| 68 | ... REST and IPMI. |
| 69 | [Tags] Set_The_Boot_Source_As_Network_Using_Ipmitool |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 70 | |
Rahul Maheshwari | 8dc8a48 | 2017-01-29 21:41:55 -0600 | [diff] [blame] | 71 | Run IPMI command 0x0 0x8 0x05 0x80 0x04 0x00 0x00 0x00 |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 72 | |
| 73 | ${boot_source}= |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 74 | ... Read Attribute ${CONTROL_HOST_URI}boot/one_time BootSource |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 75 | Should Be Equal As Strings ${boot_source} ${BOOT_SOURCE_NETWORK} |
| 76 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 77 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 78 | Should Contain ${output} Force PXE |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 79 | |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 80 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 81 | Set The Boot Source As Disk Using REST API |
| 82 | [Documentation] Set boot source as Disk via REST and verify with both |
| 83 | ... REST and IPMI. |
| 84 | [Tags] Set_The_Boot_Source_As_Disk_Using_REST_API |
| 85 | |
| 86 | Set Boot Source ${BOOT_SOURCE_DISK} |
| 87 | |
| 88 | ${boot_source}= |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 89 | ... Read Attribute ${CONTROL_HOST_URI}boot/one_time BootSource |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 90 | Should Be Equal As Strings ${boot_source} ${BOOT_SOURCE_DISK} |
| 91 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 92 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 93 | Should Contain ${output} Force Boot from default Hard-Drive |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 94 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 95 | |
| 96 | Set The Boot Source As Disk Using Ipmitool |
| 97 | [Documentation] Set boot source as Disk via IPMI and verify with both |
| 98 | ... REST and IPMI. |
| 99 | [Tags] Set_The_Boot_Source_As_Disk_Using_Ipmitool |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 100 | |
Rahul Maheshwari | 8dc8a48 | 2017-01-29 21:41:55 -0600 | [diff] [blame] | 101 | Run IPMI command 0x0 0x8 0x05 0x80 0x08 0x00 0x00 0x00 |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 102 | |
| 103 | ${boot_source}= |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 104 | ... Read Attribute ${CONTROL_HOST_URI}boot/one_time BootSource |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 105 | Should Be Equal As Strings ${boot_source} ${BOOT_SOURCE_DISK} |
| 106 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 107 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 108 | Should Contain ${output} Force Boot from default Hard-Drive |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 109 | |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 110 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 111 | Set The Boot Mode As Safe Using REST API |
| 112 | [Documentation] Set boot mode as Safe via REST and verify with both |
| 113 | ... REST and IPMI. |
| 114 | [Tags] Set_The_Boot_Mode_As_Safe_Using_REST_API |
| 115 | |
| 116 | Set Boot Mode ${BOOT_MODE_SAFE} |
| 117 | |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 118 | ${boot_mode}= Read Attribute ${CONTROL_HOST_URI}boot/one_time BootMode |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 119 | Should Be Equal As Strings ${boot_mode} ${BOOT_MODE_SAFE} |
| 120 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 121 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 122 | Should Contain ${output} Safe-Mode |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 123 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 124 | |
| 125 | Set The Boot Mode As Safe Using Ipmitool |
| 126 | [Documentation] Set boot mode as Safe via IPMI and verify with both |
| 127 | ... REST and IPMI. |
| 128 | [Tags] Set_The_Boot_Mode_As_Safe_Using_Ipmitool |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 129 | |
Rahul Maheshwari | 8dc8a48 | 2017-01-29 21:41:55 -0600 | [diff] [blame] | 130 | Run IPMI command 0x0 0x8 0x05 0x80 0x0C 0x00 0x00 0x00 |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 131 | |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 132 | ${boot_mode}= Read Attribute ${CONTROL_HOST_URI}boot/one_time BootMode |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 133 | Should Be Equal As Strings ${boot_mode} ${BOOT_MODE_SAFE} |
| 134 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 135 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 136 | Should Contain ${output} Safe-Mode |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 137 | |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 138 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 139 | Set The Boot Source As CDROM Using REST API |
| 140 | [Documentation] Set boot source as CDROM via REST and verify with both |
| 141 | ... REST and IPMI. |
| 142 | [Tags] Set_The_Boot_Source_As_CDROM_Using_REST_API |
| 143 | |
| 144 | Set Boot Source ${BOOT_SOURCE_CDROM} |
| 145 | |
| 146 | ${boot_source}= |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 147 | ... Read Attribute ${CONTROL_HOST_URI}boot/one_time BootSource |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 148 | Should Be Equal As Strings ${boot_source} ${BOOT_SOURCE_CDROM} |
| 149 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 150 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 151 | Should Contain ${output} Force Boot from CD/DVD |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 152 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 153 | |
| 154 | Set The Boot Source As CDROM Using Ipmitool |
| 155 | [Documentation] Set boot source as CDROM via IPMI and verify with both |
| 156 | ... REST and IPMI. |
| 157 | [Tags] Set_The_Boot_Source_As_CDROM_Using_Ipmitool |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 158 | |
Rahul Maheshwari | 8dc8a48 | 2017-01-29 21:41:55 -0600 | [diff] [blame] | 159 | Run IPMI command 0x0 0x8 0x05 0x80 0x14 0x00 0x00 0x00 |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 160 | |
| 161 | ${boot_source}= |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 162 | ... Read Attribute ${CONTROL_HOST_URI}boot/one_time BootSource |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 163 | Should Be Equal As Strings ${boot_source} ${BOOT_SOURCE_CDROM} |
| 164 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 165 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 166 | Should Contain ${output} Force Boot from CD/DVD |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 167 | |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 168 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 169 | Set The Boot Mode As Setup Using REST API |
| 170 | [Documentation] Set boot mode as Setup via REST and verify with both |
| 171 | ... REST and IPMI. |
| 172 | [Tags] Set_The_Boot_Mode_As_Setup_Using_REST_API |
| 173 | |
| 174 | Set Boot Mode ${BOOT_MODE_SETUP} |
| 175 | |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 176 | ${boot_mode}= Read Attribute ${CONTROL_HOST_URI}boot/one_time BootMode |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 177 | Should Be Equal As Strings ${boot_mode} ${BOOT_MODE_SETUP} |
| 178 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 179 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 180 | Should Contain ${output} Force Boot into BIOS Setup |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 181 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 182 | |
| 183 | Set The Boot Mode As Setup Using Ipmitool |
| 184 | [Documentation] Set boot mode as Setup via IPMI and verify with both |
| 185 | ... REST and IPMI. |
| 186 | [Tags] Set_The_Boot_Mode_As_Setup_Using_Ipmitool |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 187 | |
Rahul Maheshwari | 8dc8a48 | 2017-01-29 21:41:55 -0600 | [diff] [blame] | 188 | Run IPMI command 0x0 0x8 0x05 0x80 0x18 0x00 0x00 0x00 |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 189 | |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 190 | ${boot_mode}= Read Attribute ${CONTROL_HOST_URI}boot/one_time BootMode |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 191 | Should Be Equal As Strings ${boot_mode} ${BOOT_MODE_SETUP} |
| 192 | |
Rahul Maheshwari | 56d8675 | 2017-04-07 14:25:01 -0500 | [diff] [blame] | 193 | ${output}= Run IPMI Standard Command chassis bootparam get 5 |
| 194 | Should Contain ${output} Force Boot into BIOS Setup |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 195 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 196 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 197 | *** Keywords *** |
| 198 | |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 199 | Set Boot Source |
| 200 | [Documentation] Set given boot source. |
| 201 | [Arguments] ${boot_source} |
| 202 | # Description of argument(s): |
| 203 | # boot_source Boot source which need to be set. |
| 204 | |
| 205 | ${valueDict}= Create Dictionary data=${boot_source} |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 206 | Write Attribute ${CONTROL_HOST_URI}boot/one_time BootSource |
Rahul Maheshwari | 3087f34 | 2017-09-22 05:22:44 -0500 | [diff] [blame] | 207 | ... data=${valueDict} |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 208 | |
| 209 | |
| 210 | Set Boot Mode |
| 211 | [Documentation] Set given boot mode. |
| 212 | [Arguments] ${boot_mode} |
| 213 | # Description of argument(s): |
| 214 | # boot_mode Boot mode which need to be set. |
| 215 | |
| 216 | ${valueDict}= Create Dictionary data=${boot_mode} |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 217 | Write Attribute ${CONTROL_HOST_URI}boot/one_time BootMode |
Rahul Maheshwari | 3087f34 | 2017-09-22 05:22:44 -0500 | [diff] [blame] | 218 | ... data=${valueDict} |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 219 | |
| 220 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 221 | Response Should Be Equal |
Joy Onyerikwu | f4a807b | 2018-06-20 08:43:54 -0500 | [diff] [blame] | 222 | [Documentation] Verify that the output is equal to the given args. |
Rahul Maheshwari | 8dc8a48 | 2017-01-29 21:41:55 -0600 | [diff] [blame] | 223 | [Arguments] ${args} |
| 224 | Should Be Equal ${OUTPUT} ${args} |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 225 | |
Sivas SRR | e1143ae | 2016-08-26 22:31:02 -0500 | [diff] [blame] | 226 | Read the Attribute |
Joy Onyerikwu | f4a807b | 2018-06-20 08:43:54 -0500 | [diff] [blame] | 227 | [Documentation] Read the given attribute. |
Rahul Maheshwari | 8dc8a48 | 2017-01-29 21:41:55 -0600 | [diff] [blame] | 228 | [Arguments] ${uri} ${parm} |
| 229 | ${output}= Read Attribute ${uri} ${parm} |
| 230 | Set Test Variable ${OUTPUT} ${output} |
Sweta Potthuri | f93a746 | 2017-03-21 06:38:26 -0500 | [diff] [blame] | 231 | |
Sweta Potthuri | f93a746 | 2017-03-21 06:38:26 -0500 | [diff] [blame] | 232 | Post Test Case Execution |
| 233 | [Documentation] Do the post test teardown. |
| 234 | |
| 235 | FFDC On Test Case Fail |
Rahul Maheshwari | 85c4d34 | 2017-08-09 21:59:30 -0500 | [diff] [blame] | 236 | Set Boot Source ${BOOT_SOURCE_DEFAULT} |
| 237 | Set Boot Mode ${BOOT_MODE_REGULAR} |
George Keishing | 3ce958c | 2017-03-27 01:09:02 -0500 | [diff] [blame] | 238 | |
| 239 | Test Suite Setup |
| 240 | [Documentation] Do the initial suite setup. |
George Keishing | f142668 | 2017-07-12 23:17:17 -0500 | [diff] [blame] | 241 | |
Rahul Maheshwari | 3087f34 | 2017-09-22 05:22:44 -0500 | [diff] [blame] | 242 | Smart Power Off |
| 243 | |
| 244 | # Set boot policy to default i.e. one time enabled. |
| 245 | ${valueDict}= Create Dictionary data=${1} |
George Keishing | df3e65f | 2018-12-18 13:06:56 -0600 | [diff] [blame] | 246 | Write Attribute ${CONTROL_HOST_URI}boot/one_time Enabled |
Rahul Maheshwari | 3087f34 | 2017-09-22 05:22:44 -0500 | [diff] [blame] | 247 | ... data=${valueDict} |