White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
162
<n1:Message>The command was successful</n1:Message>
<n1:MessageID>NIC001</n1:MessageID>
<n1:RebootRequired>Yes</n1:RebootRequired >
<n1:ReturnValue>0</n1:ReturnValue>
<n1:SetResult>Set PendingValue</n1:SetResult >
</n1:SetAttribute_OUTPUT>
15.16 Setting the FCoE Boot Target
The SetAttributes() method is used to set or change the values of the FCoE boot target attributes.
Invoke the SetAttributes() method with the following parameters (from 15.1) and syntax:
Target: FQDD attained through DCIM_NICEnumeration
AttributeName: Attained from AttributeName field
AttributeValue: A new value to assign to the specified NICAttribute. If this value is valid, it is
applied to the PendingValue property or the Currentvalue property of the specified
NICAttribute. Possible choices are attained from PossibleValues field, such as:
Possible values: Disabled, Enabled
EXAMPLE:
wsman invoke -a SetAttributes http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_NIC
Service?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_NICService,Syst
emName=D
CIM:ComputerSystem,Name=DCIM:NICService -h $IPADDRESS -V -v -c dummy.cert -P 443 -u
$USERNAME -p $
PASSWORD -J SetAttributes_FCoE_BootTarget.xml -j utf-8 -y basic
The information in the input file SetAttributes_FCoE_BootTarget.xml is shown below:
<p:SetAttributes_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_NICService">
<p:Target>NIC.Integrated.1-1-1</p:Target>
<p:AttributeName>ConnectFirstFCoETarget</p:AttributeName>
<p:AttributeValue>Enabled</p:AttributeValue>
<p:AttributeName>FirstFCoEWWPNTarget</p:AttributeName>
<p:AttributeValue> 20:00:00:10:18:88:C0:03</p:AttributeValue>
<p:AttributeName>FirstFCoEBootTargetLUN</p:AttributeName>
<p:AttributeValue>33</p:AttributeValue>
<p:AttributeName>FirstFCoEFCFVLANID</p:AttributeName>
<p:AttributeValue>34</p:AttributeValue>
</p:SetAttributes_INPUT>