Reference Guide
140 Lifecycle Controller Web Services Interface Guide for Linux
EXAMPLE:
wsman invoke -a CreateTargetedConfigJob
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 CreateTargetedConfigJob_NIC.xml -j utf-8 -y basic
The input file CreateTargetedConfigJob_CNA.xml is shown below:
<p:CreateTargetedConfigJob_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:RebootJobType>1</p:RebootJobType>
<p:ScheduledStartTime>TIME_NOW</p:ScheduledStartTime>
<p:UntilTime>20201111111111</p:UntilTime>
</p:CreateTargetedConfigJob_INPUT>
OUTPUT:
After running this method, a jobid or a message is displayed indicating an error. The status of this jobid
can be checked within the job control provider in Section 10.
CreateTargetedConfigJob_OUTPUT
Job
Address = http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
ReferenceParameters
ResourceURI =
http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_Lifecycl
eJob
SelectorSet
Selector: InstanceID = JID_001269609760, __cimnamespace =
root/dcim
ReturnValue = 4096
15.8 Deleting the Pending Values for
CNADeletePendingConfiguration()
The DeletePendingConfiguration() method cancels the pending configuration changes made before the
configuration job is created using the CreateTargetedConfigJob() method. This method only operates on
the pending changes before running the CreateTargetedConfigJob() method. After the configuration job
is created, to cancel the pending changes, call the DeleteJobQueue() method in the Job Control profile.
Invoke the DeletePendingConfiguration() method with the following parameters and syntax:
EXAMPLE:
wsman invoke -a DeletePendingConfiguration
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 DeletePendingConfiguration_NIC.xml
-j utf-8 -y basic