Lines Matching refs:component
35 [Documentation] Verify details of all VPD component via vpdtool.
40 FOR ${component} IN @{components}
41 Verify VPD Component Read Operation ${component}
51 FOR ${component} IN @{components}
52 # Drive component field values response in ascii format
54 IF 'drive' in '${component}'
57 Verify VPD Field Read Operation ${component}
67 FOR ${component} IN @{components}
71 Verify VPD Field Write Operation ${component} ${field}
78 [Documentation] Verify reading VPD details of given component via vpdtool.
79 [Arguments] ${component}
81 # component VDP component (e.g. /system/chassis/motherboard/vdd_vrm1).
83 ${vpd_records}= Vpdtool -o -O ${component}
95 ${vpdtool_res}= Set To Dictionary ${vpd_records}[${component}]
101 IF 'drive' in '${component}'
105 Run Keyword If '${vpd_records['${component}']['${vpd_field}']}' == ''
114 ... /xyz/openbmc_project/inventory${component} ${busctl_field}
117 Valid Value vpd_records['${component}']['${vpd_field}']
126 [Documentation] Verify reading all VPD fields for given component via vpdtool.
127 [Arguments] ${component}
129 # component VDP component (e.g. /system/chassis/motherboard/vdd_vrm1).
131 ${vpd_records}= Vpdtool -o -O ${component}
132 ${vpdtool_res}= Set To Dictionary ${vpd_records}[${component}]
137 ${vpd_records}= Vpdtool -r -O ${component} -R VINI -K ${field}
139 Run Keyword If '${vpd_records['${component}']['${field}']}' == ''
146 ... /xyz/openbmc_project/inventory${component} ${busctl_field}
149 # Check vpdtool response and busctl response for the component field.
150 Valid Value vpd_records['${component}']['${field}']
159 [Documentation] Verify writing VPD fields for given component via vpdtool.
160 [Arguments] ${component} ${field}
161 [Teardown] Restore VPD Value ${component} ${field} ${old_field_value}
163 # component VPD component (e.g. /system/chassis/motherboard/vdd_vrm1).
164 # field VPD component field (e.g. PN, SN)
166 ${vpd_records}= Vpdtool -r -O ${component} -R VINI -K ${field}
167 ${old_field_value}= Set Variable ${vpd_records['${component}']['${field}']}
174 Vpdtool -w -O ${component} -R VINI -K ${field} --value ${write_value}
176 Verify VPD Field Value ${component} ${field}
180 [Documentation] Restore VPD's field value of given component.
181 [Arguments] ${component} ${field} ${value}
183 # component VPD component (e.g. /system/chassis/motherboard/vdd_vrm1).
184 # field VPD component field (e.g. PN, SN)
187 Vpdtool -w -O ${component} -R VINI -K ${field} --value ${value}
192 [Arguments] ${component} ${field}
194 # component VDP component (e.g. /system/chassis/motherboard/vdd_vrm1).
197 ${vpd_records}= Vpdtool -r -O ${component} -R VINI -K ${field}
204 ${cmd}= Catenate ${CMD_GET_PROPERTY_INVENTORY} /xyz/openbmc_project/inventory${component}
208 …Valid Value vpd_records['${component}']['${field}'] ['${cmd_output[0].split('"')[1].strip('"')}']
212 [Documentation] Get VPD details of given component via vpdtool and verify it
214 [Arguments] ${component} ${field}
216 # component VPD component (e.g. System,Chassis etc).
220 ... '${component}' == 'System' Set Variable /system
222 # Get VPD details of given component via vpd-tool.
225 # Get VPD details of given component via busctl command.