Reference Guide

48 Lifecycle Controller Web Services Interface Guide for Linux
The syntax for reboot.xml is:
<p:CreateRebootJob_INPUT
xmlns:p=“http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_Softw
areInstallationService">
<p:RebootJobType>2</p:RebootJobType>
</p:CreateRebootJob_INPUT>
OUTPUT:
This method will return a reboot jobid that can be set to reboot the System immediately or at a later time.
<n1:CreateRebootJob_OUTPUT>
<n1:RebootJobID>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/an
onymous</wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cimsche
ma/2/DCIM_SoftUpdateConcreteJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">RID_001299756950</wsman
:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Se
lector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:RebootJobID>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:CreateRebootJob_OUTPUT>
The jobid in the above output is the instanceID: Jobid = InstanceID = RID_001265648530
7.9 Automatic Updates
Automatic Updates feature allows for periodic firmware updates at regular intervals as configured by the
user.
7.9.1 Enable automatic update
This method enables or disables the “Automatic Update Feature ” attribute.
EXAMPLE:
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 SetAttribute_LC.xml file is as follows:
<p:SetAttribute_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_LCSer
vice">
<p:AttributeName>Automatic Update Feature</p:AttributeName>
<p:AttributeValue >Enabled</p:AttributeValue>
</p:SetAttribute_INPUT>