Web Services Interface Guide

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
211
17.8 Deleting the Pending Values for BIOS & Boot-DeletePendingConfiguration()
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 BIOSAttribute instances (from Section 17.1)
EXAMPLE:
wsman invoke -a DeletePendingConfiguration http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_BIOSService
?SystemCreationClassName=DCIM_ComputerSystem,
CreationClassName=DCIM_BIOSService,SystemName=DCIM:ComputerSystem,
Name=DCIM:BIOSService -h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J DeletePendingConfiguration_BIOS.xml -j utf-8 -y basic
The input file DeletePendingConfiguration_BIOS.xml is shown below:
<p:DeletePendingConfiguration_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_BIOSService">
<p:Target>BIOS.Setup.1-1</p:Target>
</p:DeletePendingConfiguration_INPUT>
OUTPUT:
<n1:DeletePendingConfiguration_OUTPUT>
<n1:Message>The command was successful</n1:Message>
<n1:MessageID>BIOS001</n1:MessageID>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:DeletePendingConfiguration_OUTPUT>
17.9 Managing BIOS Passwords
The ChangePassword() method is used to set the BIOS passwords. The user can either set, change or
delete the BIOS system or setup password. Setting the BIOS password is performed in several stages as
described in the following sections.
17.9.1 Setting the BIOS Password
The following example sets the BIOS system password to “NEW_PASSWORD”. Three instances of XML
are shown below to demonstrate the following scenarios:
No BIOS password is set
Changing an existing BIOS password