Reference Guide

228 Lifecycle Controller Web Services Interface Guide for Linux
The input file apply_pending_fc.xml is shown below:
<p:CreateTargetedConfigJob_INPUT
xmlns:p=“http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_FCSer
vice”>
<p:Target>FC.Slot.2-2</p:Target>
<p:RebootJobType>2</p:RebootJobType>
<p:ScheduledStartTime>TIME_NOW</p:ScheduledStartTime>
<p:UntilTime>20151111111111</p:UntilTime>
</p:CreateTargetedConfigJob_INPUT>
OUTPUT:
After running this method, a job ID or message is displayed indicating an error. The status of this jobid can
be checked within the job control provider in Section 10.
<n1:CreateTargetedConfigJob_OUTPUT>
<n1:Job>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymou
s</wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cimsche
ma/2/DCIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_001300720080<
/wsman:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</ws
man:Selector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:CreateTargetedConfigJob_OUTPUT>
23.8 Deleting the Pending Values for FCDeletePendingConfiguration()
This method is called to cancel the pending values created by the SetAttribute() and SetAttributes()
methods. The DeletePendingConfiguration() method cancels the pending configuration changes made
before the configuration job is created with CreateTargetedConfigJob(). This method only operates on
the pending changes prior to CreateTargetedConfigJob() being called. After the configuration job is
created, the pending changes can only be canceled by calling DeleteJobQueue() in the Job Control
profile.
Invoke CreateTargetedConfigJob() with the following parameters and syntax:
Target: This parameter is the FQDD of the instances.
EXAMPLE:
wsman invoke -a DeletePendingConfiguration
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_FCService?
SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_FCService,SystemName=DCIM:ComputerSystem,Name=DCIM:FCSe
rvice
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-j Delete_Pending_fc.xml -j utf-8 -y basic