White Papers

Version 1.0.0 21
Qualifiers
Name
Type
Description/Values
OUT
SetResult
String
Returns:
"Set CurrentValue property" when the attributes current
value is set.
“Set PendingValue” when the attributes pending value is
set.
OUT
RebootRequired
String
Returns:
“Yes” if reboot is required,
“No” if reboot is not required.
OUT
MessageID
String
Error MessageID
OUT
Message
String
Error Message
OUT
MessageArguments[]
String
Error MessageArguments
8.2 DCIM_NICService.SetAttributes()
The SetAttributes() method is used to set or change the values of a group of attributes.
Invocation of the SetAttributes( ) method shall change the values of the DCIM_NICAttribute.CurrentValue
or PendingValue properties that correspond to the names specified by the AttributeName parameter and
the values specified by the AttributeValue parameter if the respective DCIM_NICAttribute.IsReadOnly
property is FALSE. Invocation of this method when the respective DCIM_NICAttribute.IsReadOnly
property is TRUE shall result in no change to the corresponding value of the
DCIM_NICAttribute.CurrentValue property.
Return code values for the SetAttributes() method are specified in Table 20, and parameters are
specified in Table 21 .
Invoking the SetAttributes() method multiple times can result in the earlier requests being overwritten or
lost.
Table 20 SetAttributes() Method: Return Code Values
Value
Description
0
Completed with no error
1
Not supported
2
Failed
Table 21 SetAttributes() Method: Parameters
Qualifiers
Name
Type
Description/Values
IN, REQ
Target
String
FQDD of the NIC
IN, REQ
AttributeName[]
String
Shall contain the AttributeName property value
for the attribute to be modified.
IN, REQ
AttributeValue[]
String
Shall contain the desired attribute values.
If the value is valid, the CurrentValue or
PendingValue property of the specified attribute
will be modified.