White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
137
For Broadcom CNA cards, the partitions on each port can be set to any personality. NICMode can always
be enabled or disabled for any of the given partitions. For the IscsiOffloadMode and FcoeOffloadMode
personalities, up to two personalities can be enabled on each port.
For the Qlogic CNA cards, partition three can be set to either NICMode or IscsiOffloadMode. Partition
four can be set to either NICMode or FcoeOffloadMode.
Invoke the SetAttribute() method with the following parameters (from Section 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:
winrm i SetAttribute http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_NICService
?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_NICService
+SystemName=DCIM:ComputerSystem
+Name=DCIM:NICService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:SetAttribute_NIC.xml
The information in the input file SetAttribute_NIC.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>IscsiOffloadMode</p:AttributeName>
<p:AttributeValue>Enabled</p:AttributeValue>
</p:SetAttributes_INPUT>
OUTPUT:
SetAttribute_OUTPUT
Message = The command was successful
MessageID = NIC001
RebootRequired = Yes
ReturnValue = 0
SetResult = Set PendingValue