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