Reference Guide
142 Lifecycle Controller Web Services Interface Guide for Linux
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:
wsman invoke -a SetAttribute
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_NICService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_NICService,
SystemName=DCIM:ComputerSystem,Name=DCIM:NICService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J SetAttribute_CNA_IscsiOffloadMode.xml
-j utf-8 -y basic
The information in the input file SetAttribute_NIC.xml is shown below:
<p:SetAttributes_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:AttributeName>IscsiOffloadMode</p:AttributeName>
<p:AttributeValue>Enabled</p:AttributeValue>
</p:SetAttributes_INPUT>
OUTPUT:
<n1:SetAttribute_OUTPUT>
<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.11 Setting the MaxBandwidth Attribute
The SetAttribute() method is used to set or change the value of a CNA attribute.
The MinBandwidth and MaxBandwidth attributes control the bandwidth allocations for a given CNA
partition. The values are displayed in percentage.
For Broadcom CNA cards, the MinBandwidth attribute values for a given port must always add up to
either 0 or 100. MaxBandwidth is a value of 100 or less for any given partition.
For the Qlogic CNA cards, the MinBandwidth attribute values for a given port must add up to 100 or less.
MaxBandwidth again is a value of 100 or less for any given partition.
Invoke SetAttribute() with the following parameters(from Section 15.1) and syntax:
Target: FQDD attained through DCIM_NICInteger
AttributeName: Attained from AttributeName field