Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
154
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/cim-
schema/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
The input file DeletePendingConfiguration_CNA.xml is shown below:
<p:DeletePendingConfiguration_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_NICService">
<p:Target>NIC.Integrated.1-1-1</p:Target>
</p:DeletePendingConfiguration_INPUT>
OUTPUT:
<n1:DeletePendingConfiguration_OUTPUT>
<n1:Message> The command was successful</n1:Message>
<n1:MessageID>NIC001</n1:MessageID>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:DeletePendingConfiguration_OUTPUT>
15.9 Getting the CNA Enumeration Instance
Use the following example to get an instance of the DCIM_NICEnumeration class.
Get a DCIM_NICEnumeration class instance from the first port and first partition with the following
parameters and syntax:
[INSTANCEID]: This is obtained from the enumeration in Section 15.1, in which this example
would use NIC.Embedded.1-1: as an InstanceID.
EXAMPLE:
wsman get http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_NICEnumeration
?InstanceID=[INSTANCEID] -h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -j utf-8 -y basic
OUTPUT:
<n1:DCIM_NICEnumeration>