Technical White Paper

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
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.Integrated.1-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>
<n1:AttributeName>LegacyBootProto</n1:AttributeName>
<n1:CurrentValue>iSCSI</n1:CurrentValue>
<n1:DefaultValue xsi:nil="true"/>
<n1:FQDD>NIC.Embedded.1-1</n1:FQDD>
<n1:InstanceID>NIC.Embedded.1-1:LegacyBootProto</n1:InstanceID>
<n1:IsReadOnly>false</n1:IsReadOnly>
<n1:PendingValue xsi:nil="true"/>
<n1:PossibleValues>PXE</n1:PossibleValues>
<n1:PossibleValues>iSCSI</n1:PossibleValues>