Reference Guide

141 Lifecycle Controller Web Services Interface Guide for Linux
The input file DeletePendingConfiguration_CNA.xml is shown below:
<p:DeletePendingConfiguration_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_NICSe
rvice">
<p:Target>NIC.Integrated.1-1-1</p:Target>
</p:DeletePendingConfiguration_INPUT>
OUTPUT:
<n1:DeletePendingConfiguration_OUTPUT>
<n1:Message> The command was successful</n1:Message>
<n1:MessageID>NIC001</n1:MessageID>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:DeletePendingConfiguration_OUTPUT>
15.9 Getting the CNA Enumeration Instance
Use the following example to get an instance of the DCIM_NICEnumeration class.
Get a DCIM_NICEnumeration class instance from the first port and first partition with the following
parameters and syntax:
[INSTANCEID]: This is obtained from the enumeration in Section 15.1, in which this example would use
NIC.Integrated.1-1-1: as an InstanceID.
EXAMPLE:
wsman get http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_NICE
numeration?InstanceID=[INSTANCEID]
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-j utf-8 -y basic
OUTPUT:
<n1:DCIM_NICEnumeration>
<n1:AttributeName>LegacyBootProto</n1:AttributeName>
<n1:CurrentValue>iSCSI</n1:CurrentValue>
<n1:DefaultValue xsi:nil="true"/>
<n1:FQDD>NIC.Embedded.1-1</n1:FQDD>
<n1:InstanceID>NIC.Embedded.1-1:LegacyBootProto</n1:InstanceID>
<n1:IsReadOnly>false</n1:IsReadOnly>
<n1:PendingValue xsi:nil="true"/>
<n1:PossibleValues>PXE</n1:PossibleValues>
<n1:PossibleValues>iSCSI</n1:PossibleValues>
<n1:PossibleValues>NONE</n1:PossibleValues>
<n1:PossibleValues>PXE</n1:PossibleValues>
<n1:PossibleValues>NONE</n1:PossibleValues>
</n1:DCIM_NICEnumeration>
15.10 Setting the IscsiOffloadMode Attribute
The SetAttribute() method is used to set or change the value of a CNA attribute. Enable the NICMode,
IscsiOffloadMode, and FcoeOffloadMode personality attributes to enable the corresponding personalities:
NIC, ISCSI, and FCOE.
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.