Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
223
PossibleValues = Disabled
PossibleValues = Enabled
PossibleValuesDescription
.
.
23.6 Changing the FC Attributes-SetAttribute()
The SetAttribute() method can be used to change the FC configuration.
Invoke SetAttribute() with the following parameters and syntax:
TARGET: Obtained from the InstanceID field
AttributeName: Obtained from the AttributeName field
AttributeValue: Obtained from the PossibleValues field
EXAMPLE:
winrm i SetAttribute http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_FCService
?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_FCService
+SystemName=DCIM:ComputerSystem
+Name=DCIM:FCService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:SetAttribute_FC.xml
The input file SetAttribute_FC.xml is shown below:
<p:SetAttribute_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_FCService">
<p:Target>FC.Slot.2-2</p:Target>
<p:AttributeName>PortSpeed</p:AttributeName>
<p:AttributeValue>4G</p:AttributeValue>
</p:SetAttribute_INPUT>
OUTPUT:
SetAttribute_OUTPUT
Message = The command was successful
MessageID = FC001
RebootRequired = Yes
ReturnValue = 0
SetResult = Set PendingValue
23.7 Applying the Pending Values for FC-CreateTargetedConfigJob()
This method is called to apply the pending values created by the SetAttribute() and SetAttributes()
methods. The system will automatically reboot depending on the ScheduledStartTime selected. Using