Lines Matching +full:attribute +full:- +full:set

3 Documentation    Module to test PLDM BIOS attribute types.
13 Suite Setup PLDM BIOS Attribute Suite Setup
14 Suite Teardown PLDM BIOS Attribute Suite Cleanup
26 Verify Get BIOS Attribute With Invalid Attribute Name
27 [Documentation] Verify get BIOS attribute with invalid attribute name.
31 ${pldm_output}= pldmtool bios GetBIOSAttributeCurrentValueByHandle -a ${random_attr}
35 # pldmtool bios GetBIOSAttributeCurrentValueByHandle -a hjkhkj
36 # Can not find the attribute hjkhkj
39 Should Contain ${pldm_output} Can not find the attribute
42 Verify Set BIOS Attribute With Invalid Attribute Name
43 [Documentation] Verify set BIOS attribute with invalid attribute name.
47 ${pldm_output}= pldmtool bios SetBIOSAttributeCurrentValue -a ${random_str} -d ${random_str}
51 # pldmtool bios SetBIOSAttributeCurrentValue -a hjkhkj -d 0
52 # Could not find attribute :hjkhkj
55 Should Contain ${pldm_output} Could not find attribute
58 Verify Set Invalid Optional Value For BIOS Enumeration Attribute Type
59 [Documentation] Verify set invalid optional value for BIOS enumeration attribute type.
68 # pldmtool bios SetBIOSAttributeCurrentValue -a pvm_os_boot_side -d hhhhhj
69 # Set Attribute Error: It's not a possible value
72 ${pldm_output}= pldmtool bios SetBIOSAttributeCurrentValue -a ${enum_attr} -d 0
73 Should Contain ${pldm_output} Set Attribute Error
76 Verify Set Out Of Range Integer Value For BIOS Integer Attribute Type
77 [Documentation] Verify set out of range integer value for BIOS integer attribute type.
87 # pldmtool bios SetBIOSAttributeCurrentValue -a vmi_if_count -d 12
91 ${pldm_output}= pldmtool bios SetBIOSAttributeCurrentValue -a ${int_attr} -d ${count}
95 Verify Set Out Of Range String Value For BIOS String Attribute Type
96 [Documentation] Verify set out of range string value for BIOS string attribute type.
107 # pldmtool bios SetBIOSAttributeCurrentValue -a vmi_if0_ipv4_ipaddr -d 1234566788999
111 ${pldm_output}= pldmtool bios SetBIOSAttributeCurrentValue -a ${str_attr} -d ${random_value}
115 Verify Set BIOS String Attribute Type
116 [Documentation] Verify set BIOS string attribute type for various BIOS
117 ... attribute handle with random values with in the range.
124 # pldmtool bios SetBIOSAttributeCurrentValue -a vmi_hostname -d BMC
134 Validate Set BIOS Attributes With Optional Values ${i} @{attr_val_list}
138 Verify Set BIOS Integer Attribute Type
139 [Documentation] Verify set BIOS integer attribute type for various BIOS
140 ... attribute handle with random values with in the range.
147 # pldmtool bios SetBIOSAttributeCurrentValue -a vmi_if_count -d 1
158 Validate Set BIOS Attributes With Optional Values ${i} @{attr_val_list}
162 Verify Set BIOS Enumeration Attribute Type
163 [Documentation] Verify set BIOS enumeration attribute type for various BIOS
164 ... attribute handle with random values with in the range of
172 # pldmtool bios SetBIOSAttributeCurrentValue -a pvm_default_os_type -d AIX
179 @{attr_val_list}= Set Variable ${attr_val_data}[${i}]
180 Validate Set BIOS Attributes With Optional Values ${i} @{attr_val_list}
185 PLDM BIOS Attribute Suite Setup
186 [Documentation] Perform PLDM BIOS attribute suite setup.
188 ${pldm_output}= Pldmtool bios GetBIOSTable --type AttributeTable
189 Set Global Variable ${attr_table_data} ${pldm_output}
192 Set Global Variable ${bios_original_data} ${data}
195 PLDM BIOS Attribute Suite Cleanup
196 [Documentation] Perform PLDM BIOS attribute suite cleanup.
199 ... Validate Set All BIOS Attributes Values ${bios_original_data}
202 Validate Set BIOS Attributes With Optional Values
203 [Documentation] Set BIOS attribute with the available attribute handle
204 ... values and revert back to original attribute handle value.
208 # attr_handle BIOS attribute handle (e.g. pvm_system_power_off_policy).
209 # attr_val_list List of the attribute values for the given attribute handle
213 ${pldm_resp}= pldmtool bios SetBIOSAttributeCurrentValue -a ${attr_handle} -d ${j}
216 # Compare BIOS attribute values after set operation.
217 ${output}= pldmtool bios GetBIOSAttributeCurrentValueByHandle -a ${attr_handle}
226 Validate Set All BIOS Attributes Values
227 [Documentation] Validate Set BIOS Attributes Values.
231 # bios_attr_data Dictionary containing BIOS attribute name and values.
236 …${pldm_resp}= pldmtool bios SetBIOSAttributeCurrentValue -a ${key} -d ${bios_attr_data['${key}']}
239 # Compare BIOS attribute values after set operation.
240 ${output}= pldmtool bios GetBIOSAttributeCurrentValueByHandle -a ${key}