Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
249
23.5 Listing the FC Inventory-Enumeration Class
Enumerate FCEnumeration class ith the following parameters and syntax:
EXAMPLE:
wsman enumerate http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_FCEnumeration
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -j utf-8 -y basic
OUTPUT:
<s:Body>
<wsen:PullResponse>
<wsen:EnumerationContext>df22d0c1-d0f9-10f9-8194-215754cb2b78</wsen:EnumerationContext>
<wsen:Items>
<n1:DCIM_FCEnumeration>
<n1:AttributeDisplayName xsi:nil="true"/>
<n1:AttributeName>PortEnable</n1:AttributeName>
<n1:CurrentValue>Disabled</n1:CurrentValue>
<n1:Dependency xsi:nil="true"/>
<n1:FQDD>FC.Slot.4-1</n1:FQDD>
<n1:InstanceID>FC.Slot.4-1:PortEnable</n1:InstanceID>
<n1:IsReadOnly>false</n1:IsReadOnly>
<n1:PendingValue xsi:nil="true"/>
<n1:PossibleValues>Disabled</n1:PossibleValues>
<n1:PossibleValues>Enabled</n1:PossibleValues>
<n1:PossibleValuesDescription xsi:nil="true"/>
</n1:DCIM_FCEnumeration>
</wsen:Items>
</wsen:PullResponse>
</s:Body>
.
.
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:
wsman invoke -a SetAttributes http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_FCService