Web Services Interface Guide
Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
204
CurrentValue = Administrator
DefaultValue = NoAccess
Dependency = null
DisplayOrder = 0
FQDD = iDRAC.Embedded.1
GroupDisplayName = Users
GroupID = Users.3
InstanceID = iDRAC.Embedded.1#Users.3#IpmiLanPrivilege
IsReadOnly = false
PossibleValues = User, Operator, Administrator, NoAccess
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:
winrm i ApplyAttributes http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_iDRACCardService ?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_iDRACCardService +SystemName=DCIM:ComputerSystem
+Name=DCIM:iDRACCardService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic
-file:DRACService_SetAttribute_group_enumerate.xml
The input file DRACService_SetAttribute_group_enumerate.xml is shown below.
<p:ApplyAttributes_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_iDRACCardService">
<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:AttributeName>