Web Services Interface Guide

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
102
NOTE: To query the system to determine when the last CSIOR event occurred, list system inventory
and examine the LastSystemInventoryTime attribute.
The Collect System Inventory on Restart attribute flags whether the system should do an automatic
inventory or not. To get the current status of this attribute, see Section 12.3. The values can be:
Disabled (default) = Disallow collecting inventory on restart
Enabled = Allow collecting system inventory on restart
The Part Firmware Update attribute flags whether the Part Replacement automatic firmware update
performed. The values can be:
Disable (default) = firmware update is not allowed
Allow version upgrade only = Allow firmware update only on up-revision
Match firmware of replaced part = Always update firmware
The example below configures the Part Replacement feature to allow upgrade only and for the
automatic synchronization to be on.
Invoke SetAttribute() with the following parameters and syntax:
EXAMPLE 1:
wsman invoke -a SetAttribute http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService
?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_LCService,SystemName
=DCIM:ComputerSystem,Name=DCIM:LCService -h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -J SetAttribute_LC.xml -j utf-8 -y basic
The input file SetAttribute_LC.xml is shown below:
<p:SetAttribute_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService">
<p:AttributeName>Part Firmware Update</p:AttributeName>
<p:AttributeValue>Allow version upgrade only</p:AttributeValue>
</p:SetAttribute_INPUT>
This method is used to set the values of multiple attributes.
Invoke SetAttributes() with the following parameters and syntax:
EXAMPLE 2:
wsman invoke -a SetAttributes http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService
?SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_LCService,SystemName=DCIM:ComputerSystem,