Reference Guide

207 Lifecycle Controller Web Services Interface Guide for Linux
<n1:DCIM_iDRACCardInteger>
<n1:AttributeDisplayName>VLan ID</n1:AttributeDisplayName>
<n1:AttributeName>VLanID</n1:AttributeName>
<n1:CurrentValue>1</n1:CurrentValue>
<n1:DefaultValue>1</n1:DefaultValue>
<n1:Dependency xsi:nil="true"/>
<n1:DisplayOrder>0</n1:DisplayOrder>
<n1:FQDD>iDRAC.Embedded.1</n1:FQDD>
<n1:GroupDisplayName>NIC</n1:GroupDisplayName>
<n1:GroupID>NIC.1</n1:GroupID>
<n1:InstanceID>iDRAC.Embedded.1#NIC.1#VLanID</n1:InstanceID>
<n1:IsReadOnly>false</n1:IsReadOnly>
<n1:LowerBound>1</n1:LowerBound>
<n1:UpperBound>4094</n1:UpperBound>
</n1:DCIM_iDRACCardInteger>
19.4 Applying the Attributes and Polling Job Completion
19.4.1 Changing iDRAC Values-ApplyAttributes() (Immediate)
Invoke the ApplyAttributes() method on the DCIM_iDRACCardService class to set or change the value
of one or many enumerate type attributes. This method takes an xml file as input. The changes to the
attributes are defined in this xml file. This method returns a JobID that is used as input in the next section
(Section 19.3.2).
Invoke ApplyAttributes() method with the following parameters and syntax:
EXAMPLE:
wsman invoke -a ApplyAttributes
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_iDRACCardServi
ce?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_iDRACCar
dService,SystemName=DCIM:ComputerSystem,Name=DCIM:iDRACCardService"
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J DRACService_SetAttribute_group_enumerate.xml -j utf-8 -y basic
The input file SetAttribute_group_enumerate.xml is shown below.
<p:ApplyAttributes_INPUT
xmlns:p=“http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_iDRAC
CardService”>
<p:Target>iDRAC.Embedded.1</p:Target>
<p:AttributeName>NIC.1#Enable</p:AttributeName>
<p:AttributeValue>Enabled</p:AttributeValue>
<p:AttributeName>NIC.1#Selection</p:AttributeName>
<p:AttributeValue>Dedicated</p:AttributeValue>
<p:AttributeName>NIC.1#Speed</p:AttributeName>
<p:AttributeValue>100</p:AttributeValue>
<p:AttributeName>NIC.1#Autoneg</p:AttributeName>
<p:AttributeValue>Enabled</p:AttributeValue>
<p:AttributeName>NIC.1#Duplex</p:AttributeName>
<p:AttributeValue>Full</p:AttributeValue>
<p:AttributeName>NIC.1#DNSRegister</p:AttributeName>
<p:AttributeValue>Enabled</p:AttributeValue>
<p:AttributeName>NIC.1#DNSDomainNameFromDHCP</p:Attrib uteName>
<p:AttributeValue>Enabled</p:AttributeValue>