blob: d6cfb3fef0a508e47ad0e1a42c89d5f3570417f7 [file] [log] [blame]
Chris Austenb29d2e82016-06-07 12:25:35 -05001*** Settings ***
2Documentation This example demonstrates executing commands on a remote machine
3... and getting their output and the return code.
4...
5... Notice how connections are handled as part of the suite setup and
6... teardown. This saves some time when executing several test cases.
7
Rahul Maheshwari06174f22017-03-06 03:17:09 -06008Resource ../lib/rest_client.robot
9Resource ../lib/ipmi_client.robot
10Resource ../lib/openbmc_ffdc.robot
11Library ../data/model.py
Chris Austenb29d2e82016-06-07 12:25:35 -050012
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -050013Suite setup Setup The Suite
Rahul Maheshwari06174f22017-03-06 03:17:09 -060014Test Setup Open Connection And Log In
15Test Teardown Post Test Case Execution
Chris Austenb29d2e82016-06-07 12:25:35 -050016
17*** Variables ***
Gunnar Mills1cd544d2016-12-06 11:19:22 -060018${model}= ${OPENBMC_MODEL}
Chris Austenb29d2e82016-06-07 12:25:35 -050019
20*** Test Cases ***
21Verify connection
22 Execute new Command echo "hello"
23 Response Should Be Equal "hello"
24
25Execute ipmi BT capabilities command
George Keishingcac24c72016-09-23 04:44:19 -050026 [Tags] Execute_ipmi_BT_capabilities_command
Chris Austenb29d2e82016-06-07 12:25:35 -050027 Run IPMI command 0x06 0x36
28 response Should Be Equal " 01 40 40 0a 01"
29
Sridevi Ramesh83f5c592017-01-20 04:35:13 -060030Execute Set Sensor Boot Count
31 [Tags] Execute_Set_Sensor_Boot_Count
32
Gunnar Mills1cd544d2016-12-06 11:19:22 -060033 ${uri}= Get System component BootCount
34 ${x}= Get Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -050035
36 Run IPMI command 0x04 0x30 ${x} 0x01 0x00 0x35 0x00 0x00 0x00 0x00 0x00 0x00
37 Read the Attribute ${uri} value
Gunnar Mills1cd544d2016-12-06 11:19:22 -060038 ${val}= convert to integer 53
Chris Austenb29d2e82016-06-07 12:25:35 -050039 Response Should Be Equal ${val}
40
Sridevi Ramesh83f5c592017-01-20 04:35:13 -060041Set Sensor Boot Progress
42 [Tags] Set_Sensor_Boot_Progress
43
Gunnar Mills1cd544d2016-12-06 11:19:22 -060044 ${uri}= Get System component BootProgress
45 ${x}= Get Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -050046
47 Run IPMI command 0x04 0x30 ${x} 0xa9 0x00 0x04 0x00 0x00 0x00 0x00 0x14 0x00
48 Read the Attribute ${uri} value
49 Response Should Be Equal FW Progress, Baseboard Init
50
Sridevi Ramesh83f5c592017-01-20 04:35:13 -060051Set Sensor Boot Progress Longest String
52 [Tags] Set_Sensor_Boot_Progress_Longest_String
Gunnar Mills1cd544d2016-12-06 11:19:22 -060053 ${uri}= Get System component BootProgress
54 ${x}= Get Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -050055
56 Run IPMI command 0x04 0x30 ${x} 0xa9 0x00 0x04 0x00 0x00 0x00 0x00 0x0e 0x00
57 Read The Attribute ${uri} value
58 Response Should Be Equal FW Progress, Docking station attachment
59
Sridevi Ramesh83f5c592017-01-20 04:35:13 -060060Boot Progress Sensor FW Hang Unspecified Error
61 [Tags] Boot_Progress_Sensor_FW_Hang_Unspecified_Error
62
Gunnar Mills1cd544d2016-12-06 11:19:22 -060063 ${uri}= Get System component BootProgress
64 ${x}= Get Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -050065
66 Run IPMI command 0x04 0x30 ${x} 0xa9 0x00 0x02 0x00 0x00 0x00 0x00 0x00 0x00
67 Read The Attribute ${uri} value
68 Response Should Be Equal FW Hang, Unspecified
69
Sridevi Ramesh83f5c592017-01-20 04:35:13 -060070Boot Progress FW Hang State
71 [Tags] Boot_Progress_FW_Hang_State
72
Gunnar Mills1cd544d2016-12-06 11:19:22 -060073 ${uri}= Get System component BootProgress
74 ${x}= Get Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -050075
76 Run IPMI command 0x04 0x30 ${x} 0xa9 0x00 0x01 0x00 0x00 0x00 0x00 0x20 0x00
77 Read The Attribute ${uri} value
78 Response Should Be Equal POST Error, unknown
79
Sridevi Ramesh83f5c592017-01-20 04:35:13 -060080OS Status Sensor Boot Completed Progress
81 [Tags] OS_Status_Sensor_Boot_Completed_Progress
82
Gunnar Mills1cd544d2016-12-06 11:19:22 -060083 ${uri}= Get System component OperatingSystemStatus
84 ${x}= Get Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -050085
86 Run IPMI command 0x04 0x30 ${x} 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x20 0x00
87 Read The Attribute ${uri} value
88 Response Should Be Equal Boot completed (00)
89
Sridevi Ramesh83f5c592017-01-20 04:35:13 -060090OS Status Sensor Progress
91 [Tags] OS_Status_Sensor_Progress
92
Gunnar Mills1cd544d2016-12-06 11:19:22 -060093 ${uri}= Get System component OperatingSystemStatus
94 ${x}= Get Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -050095
96 Run IPMI command 0x04 0x30 ${x} 0x00 0x00 0x04 0x00 0x00 0x00 0x00 0x20 0x00
97 Read The Attribute ${uri} value
98 Response Should Be Equal PXE boot completed
99
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600100OCC Active Sensor On Enabled
101 [Tags] OCC_Active_Sensor_On_Enabled
102
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600103 ${uri}= Get System component OccStatus
104 ${x}= Get Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500105
106 Run IPMI command 0x04 0x30 ${x} 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x20 0x00
107 Read The Attribute ${uri} value
108 Response Should Be Equal Enabled
109
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600110OCC Active Sensor On Disabled
111 [Tags] OCC_Active_Sensor_On_Disabled
112
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600113 ${uri}= Get System component OccStatus
114 ${x}= Get Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500115
116 Run IPMI command 0x04 0x30 ${x} 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x20 0x00
117 Read The Attribute ${uri} value
118 Response Should Be Equal Disabled
119
120CPU Present
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600121 [Tags] CPU_Present
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500122
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600123 ${uri}= Get System component cpu
124 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500125
126 Run IPMI command 0x04 0x30 ${x} 0xa9 0x00 0x80 0x00 0x00 0x00 0x00 0x20 0x00
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500127 Read The Attribute ${uri} present
Chris Austenb29d2e82016-06-07 12:25:35 -0500128 Response Should Be Equal True
129
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600130CPU Not Present
131 [Tags] CPU_Not_Present
132
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600133 ${uri}= Get System component cpu
134 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500135
136 Run IPMI command 0x04 0x30 ${x} 0xa9 0x00 0x00 0x00 0x80 0x00 0x00 0x20 0x00
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500137 Read The Attribute ${uri} present
Chris Austenb29d2e82016-06-07 12:25:35 -0500138 Response Should Be Equal False
139
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600140CPU Fault
141 [Tags] CPU_Fault
142
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600143 ${uri}= Get System component cpu
144 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500145
146 Run IPMI command 0x04 0x30 ${x} 0xa9 0xff 0x00 0x01 0x00 0x00 0x00 0x20 0x00
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500147 Read The Attribute ${uri} fault
Chris Austenb29d2e82016-06-07 12:25:35 -0500148 Response Should Be Equal True
149
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600150CPU No Fault
151 [Tags] CPU_No_Fault
152
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600153 ${uri}= Get System component cpu
154 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500155
156 Run IPMI command 0x04 0x30 ${x} 0x00 0x00 0x00 0x00 0x00 0x01 0x00 0x20 0x00
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500157 Read The Attribute ${uri} fault
Chris Austenb29d2e82016-06-07 12:25:35 -0500158 Response Should Be Equal False
159
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600160Core Present
161 [Tags] Core_Present
162
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600163 ${uri}= Get System component core11
164 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500165
166 Run IPMI command 0x04 0x30 ${x} 0xa9 0x00 0x80 0x00 0x00 0x00 0x00 0x20 0x00
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500167 Read The Attribute ${uri} present
Chris Austenb29d2e82016-06-07 12:25:35 -0500168 Response Should Be Equal True
169
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600170Core Not Present
171 [Tags] Core_Not_Present
172
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600173 ${uri}= Get System component core11
174 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500175
176 Run IPMI command 0x04 0x30 ${x} 0xa9 0x00 0x00 0x00 0x80 0x00 0x00 0x20 0x00
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500177 Read The Attribute ${uri} present
Chris Austenb29d2e82016-06-07 12:25:35 -0500178 Response Should Be Equal False
179
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600180Core Fault
181 [Tags] Core_Fault
182
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600183 ${uri}= Get System component core11
184 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500185
186 Run IPMI command 0x04 0x30 ${x} 0xa9 0xff 0x00 0x01 0x00 0x00 0x00 0x20 0x00
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500187 Read The Attribute ${uri} fault
Chris Austenb29d2e82016-06-07 12:25:35 -0500188 Response Should Be Equal True
189
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600190Core No Fault
191 [Tags] Core_No_Fault
192
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600193 ${uri}= Get System component core11
194 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500195
196 Run IPMI command 0x04 0x30 ${x} 0x00 0x00 0x00 0x00 0x00 0x01 0x00 0x20 0x00
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500197 Read The Attribute ${uri} fault
Chris Austenb29d2e82016-06-07 12:25:35 -0500198 Response Should Be Equal False
199
200DIMM3 Present
Rahul Maheshwaribb20f732016-10-24 06:27:14 -0500201 [Tags] DIMM3_Present
202
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600203 ${uri}= Get System component dimm3
204 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500205
206 Run IPMI command 0x04 0x30 ${x} 0xa9 0x00 0x40 0x00 0x00 0x00 0x00 0x20 0x00
207 Read The Attribute ${uri} present
208 Response Should Be Equal True
209
210DIMM3 not Present
Rahul Maheshwaribb20f732016-10-24 06:27:14 -0500211 [Tags] DIMM3_not_Present
212
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600213 ${uri}= Get System component dimm3
214 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500215
216 Run IPMI command 0x04 0x30 ${x} 0xa9 0xff 0x00 0x00 0x40 0x00 0x00 0x20 0x00
217 Read The Attribute ${uri} present
218 Response Should Be Equal False
219
220DIMM0 fault
Rahul Maheshwaribb20f732016-10-24 06:27:14 -0500221 [Tags] DIMM0_fault
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600222 ${uri}= Get System component dimm0
223 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500224
225 Run IPMI command 0x04 0x30 ${x} 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x20 0x00
226 Read The Attribute ${uri} fault
227 Response Should Be Equal True
228
229DIMM0 no fault
Rahul Maheshwaribb20f732016-10-24 06:27:14 -0500230 [Tags] DIMM0_no_fault
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600231 ${uri}= Get System component dimm0
232 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500233
234 Run IPMI command 0x04 0x30 ${x} 0x00 0x00 0x00 0x00 0x10 0x00 0x00 0x20 0x00
235 Read The Attribute ${uri} fault
236 Response Should Be Equal False
237
238Centaur0 Present
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600239 [Tags] Centaur0_Present
Rahul Maheshwarif8119102016-10-05 01:15:56 -0500240
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600241 ${uri}= Get System component membuf
242 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500243
244 Run IPMI command 0x04 0x30 ${x} 0xa9 0x00 0x40 0x00 0x00 0x00 0x00 0x20 0x00
245 Read The Attribute ${uri} present
246 Response Should Be Equal True
247
248Centaur0 not Present
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600249 [Tags] Centaur0_not_Present
Rahul Maheshwarif8119102016-10-05 01:15:56 -0500250
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600251 ${uri}= Get System component membuf
252 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500253
254 Run IPMI command 0x04 0x30 ${x} 0x00 0x00 0x00 0x00 0x40 0x00 0x00 0x20 0x00
255 Read The Attribute ${uri} present
256 Response Should Be Equal False
257
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600258Centaur0 Fault
259 [Tags] Centaur0_Fault
260
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600261 ${uri}= Get System component membuf
262 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500263
264 Run IPMI command 0x04 0x30 ${x} 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x20 0x00
265 Read The Attribute ${uri} fault
266 Response Should Be Equal True
267
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600268Centaur0 No Fault
269 [Tags] Centaur0_No_Fault
270
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600271 ${uri}= Get System component membuf
272 ${x}= Get Inventory Sensor Number ${uri}
Chris Austenb29d2e82016-06-07 12:25:35 -0500273
274 Run IPMI command 0x04 0x30 ${x} 0x00 0x00 0x00 0x00 0x10 0x00 0x00 0x20 0x00
275 Read The Attribute ${uri} fault
276 Response Should Be Equal False
277
278System Present
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600279 [Tags] System_Present
Rahul Maheshwarif8119102016-10-05 01:15:56 -0500280
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600281 ${uri}= Get System component system
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500282 Read The Attribute ${uri} present
Chris Austenb29d2e82016-06-07 12:25:35 -0500283 Response Should Be Equal True
Rahul Maheshwarif8119102016-10-05 01:15:56 -0500284
Chris Austenb29d2e82016-06-07 12:25:35 -0500285System Fault
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600286 [Tags] System_Fault
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600287 ${uri}= Get System component system
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500288 Read The Attribute ${uri} fault
Chris Austenb29d2e82016-06-07 12:25:35 -0500289 Response Should Be Equal False
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500290
Chris Austenb29d2e82016-06-07 12:25:35 -0500291Chassis Present
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600292 [Tags] Chassis_Present
Rahul Maheshwarif8119102016-10-05 01:15:56 -0500293
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600294 ${uri}= Get System component chassis
George Keishingab1bd922016-12-05 05:29:59 -0600295 Read The Attribute
296 ... ${INVENTORY_URI}system/chassis present
Chris Austenb29d2e82016-06-07 12:25:35 -0500297 Response Should Be Equal True
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500298
Chris Austenb29d2e82016-06-07 12:25:35 -0500299Chassis Fault
Sridevi Ramesh83f5c592017-01-20 04:35:13 -0600300 [Tags] Chassis_Fault
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600301 ${uri}= Get System component chassis
George Keishingab1bd922016-12-05 05:29:59 -0600302 Read The Attribute
303 ... ${INVENTORY_URI}system/chassis fault
Chris Austenb29d2e82016-06-07 12:25:35 -0500304 Response Should Be Equal False
Chris Austenb29d2e82016-06-07 12:25:35 -0500305
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500306io_board Present
Rahul Maheshwarif8119102016-10-05 01:15:56 -0500307 [Tags] io_board_Present
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600308 ${uri}= Get System component io_board
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500309 Read The Attribute ${uri} present
310 Response Should Be Equal True
311
312io_board Fault
Rahul Maheshwarif8119102016-10-05 01:15:56 -0500313 [Tags] io_board_Fault
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600314 ${uri}= Get System component io_board
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500315 Read The Attribute ${uri} fault
316 Response Should Be Equal False
Chris Austenb29d2e82016-06-07 12:25:35 -0500317
318*** Keywords ***
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500319
320Setup The Suite
321
322 Open Connection And Log In
George Keishingab1bd922016-12-05 05:29:59 -0600323 ${resp}= Read Properties ${OPENBMC_BASE_URI}enumerate timeout=30
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500324 Set Suite Variable ${SYSTEM_INFO} ${resp}
325 log Dictionary ${resp}
326
327Get System component
328 [Arguments] ${type}
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600329 ${list}= Get Dictionary Keys ${SYSTEM_INFO}
330 ${resp}= Get Matches ${list} regexp=^.*[0-9a-z_].${type}[0-9]*$
331 ${url}= Get From List ${resp} 0
Gunnar Millsc9ea9362016-12-13 16:21:13 -0600332 [Return] ${url}
Rahul Maheshwari4a4eb6e2016-09-24 01:06:36 -0500333
Chris Austenb29d2e82016-06-07 12:25:35 -0500334Execute new Command
Gunnar Mills38032802016-12-12 13:43:40 -0600335 [Arguments] ${args}
Chris Austenb29d2e82016-06-07 12:25:35 -0500336 ${output}= Execute Command ${args}
337 set test variable ${OUTPUT} "${output}"
338
339response Should Be Equal
Gunnar Mills38032802016-12-12 13:43:40 -0600340 [Arguments] ${args}
Chris Austenb29d2e82016-06-07 12:25:35 -0500341 Should Be Equal ${OUTPUT} ${args}
342
343Response Should Be Empty
344 Should Be Empty ${OUTPUT}
345
Gunnar Mills56b32892016-11-14 13:56:17 -0600346Read the Attribute
Gunnar Mills38032802016-12-12 13:43:40 -0600347 [Arguments] ${uri} ${parm}
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600348 ${output}= Read Attribute ${uri} ${parm}
Chris Austenb29d2e82016-06-07 12:25:35 -0500349 set test variable ${OUTPUT} ${output}
350
351Get Sensor Number
Gunnar Mills38032802016-12-12 13:43:40 -0600352 [Arguments] ${name}
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600353 ${x}= get sensor ${OPENBMC_MODEL} ${name}
Gunnar Millsc9ea9362016-12-13 16:21:13 -0600354 [Return] ${x}
Chris Austenb29d2e82016-06-07 12:25:35 -0500355
356Get Inventory Sensor Number
Gunnar Mills38032802016-12-12 13:43:40 -0600357 [Arguments] ${name}
Gunnar Mills1cd544d2016-12-06 11:19:22 -0600358 ${x}= get inventory sensor ${OPENBMC_MODEL} ${name}
Gunnar Millsc9ea9362016-12-13 16:21:13 -0600359 [Return] ${x}
Rahul Maheshwari06174f22017-03-06 03:17:09 -0600360
361Post Test Case Execution
362 [Documentation] Do the post test teardown.
363 ... 1. Capture FFDC on test failure.
364 ... 2. Close all open SSH connections.
365
366 FFDC On Test Case Fail
367 Close All Connections