Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Test IPMI sensor IDs |
| 3 | |
| 4 | Resource ../../lib/rest_client.robot |
| 5 | Resource ../../lib/ipmi_client.robot |
| 6 | Resource ../../lib/openbmc_ffdc.robot |
| 7 | Resource ../../lib/state_manager.robot |
| 8 | Library ../../data/model.py |
| 9 | Resource ../../lib/boot_utils.robot |
| 10 | Resource ../../lib/utils.robot |
| 11 | |
| 12 | Test Setup Open Connection And Log In |
| 13 | Test Teardown Test Teardown Execution |
| 14 | |
| 15 | *** Test Cases *** |
| 16 | |
| 17 | DIMM Present And Not Present |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 18 | [Documentation] Verify the IPMI sensor for DIMM3 present and not present. |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 19 | [Tags] DIMM_Present_And_Not_Present |
| 20 | |
| 21 | # Set the dimm3 Present to 1 |
| 22 | Run IPMI Command |
| 23 | ... 0x04 0x30 0xac 0xa9 0x00 0x40 0x00 0x00 0x00 0x00 0x20 0x00 |
| 24 | Verify The Attribute |
| 25 | ... ${HOST_INVENTORY_URI}system/chassis/motherboard/dimm3 Present ${1} |
| 26 | |
| 27 | # Set the dimm3 Present to 0 |
| 28 | Run IPMI Command |
| 29 | ... 0x04 0x30 0xac 0xa9 0xff 0x00 0x00 0x40 0x00 0x00 0x20 0x00 |
| 30 | Verify The Attribute |
| 31 | ... ${HOST_INVENTORY_URI}system/chassis/motherboard/dimm3 Present ${0} |
| 32 | |
| 33 | DIMM Functional And Not Functional |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 34 | [Documentation] Verify that the DIMM3 is functional. |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 35 | [Tags] DIMM_Functional_And_Not_Functional |
| 36 | |
| 37 | # Set the dimm3 Functional to 0 |
| 38 | Run IPMI Command |
| 39 | ... 0x04 0x30 0xac 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x20 0x00 |
| 40 | Verify The Attribute |
| 41 | ... ${HOST_INVENTORY_URI}system/chassis/motherboard/dimm3 |
| 42 | ... Functional ${0} |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 43 | # Set the dimm3 Functional to 1 |
| 44 | Run IPMI Command |
| 45 | ... 0x04 0x30 0xac 0x00 0x00 0x00 0x00 0x10 0x00 0x00 0x20 0x00 |
| 46 | Verify The Attribute |
| 47 | ... ${HOST_INVENTORY_URI}system/chassis/motherboard/dimm3 |
| 48 | ... Functional ${1} |
| 49 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 50 | CPU Present |
| 51 | [Documentation] Verify the IPMI sensor for CPU present. |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 52 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 53 | # SensorID Component |
| 54 | 0x5a cpu0 |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 55 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 56 | [Template] Check Present Bit |
| 57 | [Tags] CPU_Present |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 58 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 59 | CPU Not Present |
| 60 | [Documentation] Verify the IPMI sensor for CPU not present. |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 61 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 62 | # SensorID Component |
| 63 | 0x5a cpu0 |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 64 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 65 | [Template] Check Not Present Bit |
| 66 | [Tags] CPU_Not_Present |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 67 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 68 | CPU Functional |
| 69 | [Documentation] Verify the IPMI sensor for CPU functional. |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 70 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 71 | # SensorID Component |
| 72 | 0x5a cpu0 |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 73 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 74 | [Template] Check Functional Bit |
| 75 | [Tags] CPU_Functional |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 76 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 77 | CPU Not Functional |
| 78 | [Documentation] Verify the IPMI sensor for CPU not functional. |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 79 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 80 | # SensorID Component |
| 81 | 0x5a cpu0 |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 82 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 83 | [Template] Check Not Functional Bit |
| 84 | [Tags] CPU_Not_Functional |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 85 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 86 | GPU Present |
| 87 | [Documentation] Verify the IPMI sensor for GPU present. |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 88 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 89 | # SensorID Component |
| 90 | 0xC5 gv100card0 |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 91 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 92 | [Template] Check Present Bit |
| 93 | [Tags] GPU_Present |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 94 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 95 | GPU Not Present |
| 96 | [Documentation] Verify the IPMI sensor for GPU not present. |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 97 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 98 | # SensorID Component |
| 99 | 0xC5 gv100card0 |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 100 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 101 | [Template] Check Not Present Bit |
| 102 | [Tags] GPU_Not_Present |
| 103 | |
| 104 | GPU Functional |
| 105 | [Documentation] Verify the IPMI sensor GPU for functional. |
| 106 | |
| 107 | # SensorID Component |
| 108 | 0xC5 gv100card0 |
| 109 | |
| 110 | [Template] Check Functional Bit |
| 111 | [Tags] GPU_Functional |
| 112 | |
| 113 | GPU Not Functional |
| 114 | [Documentation] Verify the IPMI sensor GPU for not functional. |
| 115 | |
| 116 | # SensorID Component |
| 117 | 0xC5 gv100card0 |
| 118 | |
| 119 | [Template] Check Not Functional Bit |
| 120 | [Tags] GPU_Not_Functional |
| 121 | |
| 122 | Core Present |
| 123 | [Documentation] Verify the IPMI sensor for core present. |
| 124 | |
| 125 | # SensorID Component |
| 126 | 0x1e cpu0/core4 |
| 127 | |
| 128 | [Template] Check Present Bit |
| 129 | [Tags] Core_Present |
| 130 | |
| 131 | Core Not Present |
| 132 | [Documentation] Verify the IPMI sensor for core not present. |
| 133 | |
| 134 | # SensorID Component |
| 135 | 0x1e cpu0/core4 |
| 136 | |
| 137 | [Template] Check Not Present Bit |
| 138 | [Tags] Core_Not_Present |
| 139 | |
| 140 | Core Functional |
| 141 | [Documentation] Verify the IPMI sensor for core functional. |
| 142 | |
| 143 | # SensorID Component |
| 144 | 0x1e cpu0/core4 |
| 145 | |
| 146 | [Template] Check Functional Bit |
| 147 | [Tags] Core_Functional |
| 148 | |
| 149 | Core Not Functional |
| 150 | [Documentation] Verify the IPMI sensor for core not functional. |
| 151 | |
| 152 | # SensorID Component |
| 153 | 0x1e cpu0/core4 |
| 154 | |
| 155 | [Template] Check Not Functional Bit |
| 156 | [Tags] Core_Not_Functional |
| 157 | |
| 158 | # Operating System State Test Cases. |
| 159 | |
| 160 | Set BootProgress To OSStart And Verify |
| 161 | [Documentation] Set BootProgress To OSStart and verify. |
| 162 | |
| 163 | # BootProgressID BootProgress |
| 164 | 0x13 ${OS_BOOT_START} |
| 165 | |
| 166 | [Template] Check BootProgress |
| 167 | [Tags] Set_BootProgress_To_OSStart_And_Verify |
| 168 | |
| 169 | Set OperatingSystemState To CBoot And Verify |
| 170 | [Documentation] Set Operating System State to "CBoot" |
| 171 | ... and verify using REST. |
| 172 | |
| 173 | # OperatingSystemStateID OperatingSystemState |
| 174 | 0x02 ${OS_BOOT_CBoot} |
| 175 | |
| 176 | [Template] Check OperatingSystemState |
| 177 | [Tags] Set_OperatingSystemState_To_CBoot_And_Verify |
| 178 | |
| 179 | Set OperatingSystemState To PXEBoot And Verify |
| 180 | [Documentation] Set Operating System State to "PXEBoot" |
| 181 | ... and verify using REST. |
| 182 | |
| 183 | # OperatingSystemStateID OperatingSystemState |
| 184 | 0x05 ${OS_BOOT_PXE} |
| 185 | |
| 186 | [Template] Check OperatingSystemState |
| 187 | [Tags] Set_OperatingSystemState_To_PXEBoot_And_Verify |
| 188 | |
| 189 | Set OperatingSystemState To BootComplete And Verify |
| 190 | [Documentation] Set Operating System State to "BootComplete" |
| 191 | ... and verify using REST. |
| 192 | |
| 193 | # OperatingSystemStateID OperatingSystemState |
| 194 | 0x40 ${OS_BOOT_COMPLETE} |
| 195 | |
| 196 | [Template] Check OperatingSystemState |
| 197 | [Tags] Set_OperatingSystemState_To_BootComplete_And_Verify |
| 198 | |
| 199 | Set OperatingSystemState To CDROMBoot And Verify |
| 200 | [Documentation] Set Operating System State to "CDROMBoot" |
| 201 | ... and verify using REST. |
| 202 | |
| 203 | # OperatingSystemStateID OperatingSystemState |
| 204 | 0x10 ${OS_BOOT_CDROM} |
| 205 | |
| 206 | [Template] Check OperatingSystemState |
| 207 | [Tags] Set_OperatingSystemState_To_CDROMBoot_And_Verify |
| 208 | |
| 209 | Set OperatingSystemState To ROMBoot And Verify |
| 210 | [Documentation] Set Operating System State to "ROMBoot" |
| 211 | ... and verify using REST. |
| 212 | |
| 213 | # OperatingSystemStateID OperatingSystemState |
| 214 | 0x20 ${OS_BOOT_ROM} |
| 215 | |
| 216 | [Template] Check OperatingSystemState |
| 217 | [Tags] Set_OperatingSystemState_To_ROMBoot_And_Verify |
| 218 | |
| 219 | Set OperatingSystemState To DiagBoot And Verify |
| 220 | [Documentation] Set Operating System State to "DiagBoot" |
| 221 | ... and verify using REST. |
| 222 | |
| 223 | # OperatingSystemStateID OperatingSystemState |
| 224 | 0x08 ${OS_BOOT_DiagBoot} |
| 225 | |
| 226 | [Template] Check OperatingSystemState |
| 227 | [Tags] Set_OperatingSystemState_To_DiagBoot_And_Verify |
| 228 | |
| 229 | # Boot Progress Test Cases. |
| 230 | |
| 231 | Set BootProgress To MemoryInit And Verify |
| 232 | [Documentation] Set BootProgress To MemoryInit and verify. |
| 233 | |
| 234 | # BootProgressID BootProgress |
| 235 | 0x01 ${OS_BOOT_MEM} |
| 236 | |
| 237 | [Template] Check BootProgress |
| 238 | [Tags] Set_BootProgress_To_MemoryInit_And_Verify |
| 239 | |
| 240 | Set BootProgress To MemoryInit And Verify |
| 241 | [Documentation] Set BootProgress To MemoryInit and verify. |
| 242 | |
| 243 | # BootProgressID BootProgress |
| 244 | 0x14 ${OS_BOOT_MOTHERBOARD} |
| 245 | |
| 246 | [Template] Check BootProgress |
| 247 | [Tags] Set_BootProgress_To_MotherboardInit_And_Verify |
| 248 | |
| 249 | Set BootProgress To SecondaryProcInit And Verify |
| 250 | [Documentation] Set BootProgress To SecondaryProcInit and verify. |
| 251 | |
| 252 | # BootProgressID BootProgress |
| 253 | 0x03 ${OS_BOOT_SECPCI} |
| 254 | |
| 255 | [Template] Check BootProgress |
| 256 | [Tags] Set_BootProgress_To_SecondaryProcInit_And_Verify |
| 257 | |
| 258 | Set BootProgress To PCIinit And Verify |
| 259 | [Documentation] Set BootProgress To PCIinit and verify. |
| 260 | |
| 261 | #BootProgressID BootProgress |
| 262 | 0x07 ${OS_BOOT_PCI} |
| 263 | |
| 264 | [Template] Check BootProgress |
| 265 | [Tags] Set_BootProgress_To_PCIinit_And_Verify |
| 266 | |
| 267 | Set BootProgress To Unspecified And Verify |
| 268 | [Documentation] Set BootProgress To Unspecified and verify. |
| 269 | |
| 270 | # BootProgressID BootProgress |
| 271 | 0x00 ${OS_BOOT_OFF} |
| 272 | |
| 273 | [Template] Check BootProgress |
| 274 | [Tags] Set_BootProgress_To_Unspecified_And_Verify |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 275 | |
| 276 | TPM Enable and Disable |
| 277 | [Documentation] Enable and disable TPM. |
| 278 | [Tags] TPM_Enable_and_Disable |
| 279 | |
| 280 | # Set the TPMEnable to 0 |
| 281 | Run IPMI Command |
| 282 | ... 0x04 0x30 0xD7 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x20 0x00 |
| 283 | Verify The Attribute ${CONTROL_URI}/host0/TPMEnable TPMEnable ${0} |
| 284 | |
| 285 | # Set the TPMEnable to 1 |
| 286 | Run IPMI Command |
| 287 | ... 0x04 0x30 0xD7 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x20 0x00 |
| 288 | Verify The Attribute ${CONTROL_URI}/host0/TPMEnable TPMEnable ${1} |
| 289 | |
| 290 | Autoreboot Enable and Disable |
| 291 | [Documentation] Enable and disable Autoreboot. |
| 292 | [Tags] Autoreboot_Enable_and_Disable |
| 293 | |
| 294 | # Set the TPMEnable to 0 |
| 295 | Run IPMI Command |
| 296 | ... 0x04 0x30 0xDA 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x20 0x00 |
| 297 | Verify The Attribute ${CONTROL_URI}/host0/auto_reboot AutoReboot ${0} |
| 298 | |
| 299 | # Set the TPMEnable to 1 |
| 300 | Run IPMI Command |
| 301 | ... 0x04 0x30 0xDA 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x20 0x00 |
| 302 | Verify The Attribute ${CONTROL_URI}/host0/auto_reboot AutoReboot ${1} |
| 303 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 304 | OccActive Enable And Disable |
| 305 | [Documentation] OCC Active Enable And Disable. |
| 306 | [Tags] OCC_Active_Enable_And_Disable |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 307 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 308 | # Set the OccActive to 1 |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 309 | Run IPMI Command |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 310 | ... 0x04 0x30 0x08 0xa8 0x00 0x02 0x00 0x01 0x00 0x00 0x00 0x00 |
| 311 | Verify The Attribute ${OPENPOWER_CONTROL}/occ0 OccActive ${1} |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 312 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 313 | # Set the OccActive to 0 |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 314 | Run IPMI Command |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 315 | ... 0x04 0x30 0x08 0xa8 0x00 0x01 0x00 0x02 0x00 0x00 0x00 0x00 |
| 316 | Verify The Attribute ${OPENPOWER_CONTROL}/occ0 OccActive ${0} |
| 317 | |
| 318 | Verify IPMI BT Capabilities Command |
| 319 | [Documentation] Verify IPMI BT capability command response. |
| 320 | [Tags] Verify_IPMI_BT_Capabilities_Command |
| 321 | [Setup] REST Power On |
| 322 | |
| 323 | ${output} = Run IPMI command 0x06 0x36 |
| 324 | Should Be True "${output}" == " 01 3f 3f 0a 01" |
| 325 | ... msg=Incorrect Output. |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 326 | |
| 327 | *** Keywords *** |
| 328 | |
Sweta Potthuri | 09a3cf9 | 2017-12-08 01:19:53 -0600 | [diff] [blame] | 329 | Check Present Bit |
| 330 | [Documentation] Set the present field to 1 and verify. |
| 331 | [Arguments] ${Sensor_id} ${Comp} |
| 332 | |
| 333 | Run IPMI Command |
| 334 | ... 0x04 0x30 ${Sensor_id} 0xa9 0x00 0x80 0x00 0x00 0x00 0x00 0x20 0x00 |
| 335 | Verify The Attribute |
| 336 | ... ${HOST_INVENTORY_URI}system/chassis/motherboard/${Comp} Present ${1} |
| 337 | |
| 338 | Check Not Present Bit |
| 339 | [Documentation] Set the present field to 1 and verify. |
| 340 | [Arguments] ${Sensor_id} ${Comp} |
| 341 | |
| 342 | Run IPMI Command |
| 343 | ... 0x04 0x30 ${Sensor_id} 0xa9 0x00 0x00 0x00 0x80 0x00 0x00 0x20 0x00 |
| 344 | Verify The Attribute |
| 345 | ... ${HOST_INVENTORY_URI}system/chassis/motherboard/${Comp} Present ${0} |
| 346 | |
| 347 | Check Functional Bit |
| 348 | [Documentation] Set the functional to 1 and verify. |
| 349 | [Arguments] ${Sensor_id} ${Comp} |
| 350 | |
| 351 | Run IPMI Command |
| 352 | ... 0x04 0x30 ${Sensor_id} 0x00 0x00 0x00 0x00 0x00 0x01 0x00 0x20 0x00 |
| 353 | Verify The Attribute |
| 354 | ... ${HOST_INVENTORY_URI}system/chassis/motherboard/${Comp} Functional ${1} |
| 355 | |
| 356 | Check Not Functional Bit |
| 357 | [Documentation] Set the functional to 0 and verify. |
| 358 | [Arguments] ${Sensor_id} ${Comp} |
| 359 | |
| 360 | Run IPMI Command |
| 361 | ... 0x04 0x30 ${Sensor_id} 0xa9 0xff 0x00 0x01 0x00 0x00 0x00 0x20 0x00 |
| 362 | Verify The Attribute |
| 363 | ... ${HOST_INVENTORY_URI}system/chassis/motherboard/${Comp} Functional ${0} |
| 364 | |
| 365 | Check OperatingSystemState |
| 366 | [Documentation] Set OperatingSystemState and verify. |
| 367 | [Arguments] ${Sensor_ID} ${OperatingSystemState} |
| 368 | # Description of argument(s): |
| 369 | # ${Sensor_ID} Corresponding to OperatingSystemState |
| 370 | # ${OperatingSystemState} OperatingSystemState to be set |
| 371 | |
| 372 | Run IPMI Command |
| 373 | ... 0x04 0x30 0x05 0xa9 0x00 ${sensor_id} 0x00 0x00 0x00 0x00 0x00 0x00 |
| 374 | ${resp}= Read Attribute ${SYSTEM_STATE_URI}/host0 OperatingSystemState |
| 375 | Should Be Equal ${OperatingSystemState} ${resp} |
| 376 | |
| 377 | Check BootProgress |
| 378 | [Documentation] Set the Bootprogress and verify. |
| 379 | [Arguments] ${BootProgressID} ${BootProgress} |
| 380 | # Description of argument(s): |
| 381 | # ${Sensor_ID} Corresponding to BootProgress |
| 382 | # ${BootProgress} BootProgress to be set |
| 383 | |
| 384 | Run IPMI Command |
| 385 | ... 0x04 0x30 0x03 0xa8 0x00 0x04 0x00 0x00 0x00 0x00 ${BootProgressID} 0x00 |
| 386 | ${resp}= Read Attribute ${SYSTEM_STATE_URI}/host0 BootProgress |
| 387 | Should Be Equal ${BootProgress} ${resp} |
| 388 | |
Sweta Potthuri | 4a55602 | 2017-11-24 04:03:37 -0600 | [diff] [blame] | 389 | Verify The Attribute |
| 390 | [Arguments] ${uri} ${parm} ${value} |
| 391 | # Description of arguments: |
| 392 | # ${uri} URI path. |
| 393 | # ${parm} Attribute. |
| 394 | # ${value} Output to be compared. |
| 395 | |
| 396 | ${output}= Read Attribute ${uri} ${parm} |
| 397 | Should Be Equal ${value} ${output} |
| 398 | |
| 399 | Test Teardown Execution |
| 400 | [Documentation] Do the post test teardown. |
| 401 | ... 1. Capture FFDC on test failure. |
| 402 | ... 2. Close all open SSH connections. |
| 403 | |
| 404 | FFDC On Test Case Fail |
| 405 | Close All Connections |
| 406 | |