Web Services Interface Guide

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
142
The CurrentAssignedSequence attribute of each instance, from Section 14.3, defines the instance’s
place in the zero based indexed boot sequence. Note: In order for the changes to be applied, the
CreateTargetedConfigJob() method in Section 17.7 must be executed.
Invoke ChangeBootOrderByInstanceID() with the following parameters and syntax:
[INSTANCE ID]: Obtained from the BootSourceSetting Class enumeration, this example uses
the field IPL
source: Reference to the InstanceID attribute from Section 14.3
EXAMPLE:
wsman invoke -a ChangeBootOrderByInstanceID http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_BootConfigSetting
?InstanceID=$INSTANCEID -h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J ChangeBootOrderByInstanceID.xml -j utf-8 -y basic
The input file ChangeBootOrderByInstanceID.xml is shown below:
<p:ChangeBootOrderByInstanceID_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_BootConfigSetting">
<p:source>IPL:Optical.SATAEmbedded.A-1:eb8aeb15796fb85f8e1447f0cfb8a68e</p:source>
<p:source>UEFI:Disk.iDRACVirtual.1-2:1723</p:source>
<p:source>UEFI:Disk.iDRACVirtual.1-2:1723</p:source>
<p:source>UEFI:Disk.iDRACVirtual.1-3:1998</p:source>
<p:source>UEFI:Disk.iDRACVirtual.1-4:1821</p:source>
</p:ChangeBootOrderByInstanceID_INPUT>
OUTPUT:
<n1:ChangeBootOrderByInstanceID_OUTPUT>
<n1:Message> The command was successful</n1:Message>
<n1:MessageID>BOOT001</n1:MessageID>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:ChangeBootOrderByInstanceID_OUTPUT>
14.5 Enable or Disable the Boot Source-ChangeBootSourceState()
The ChangeBootSourceState() method is called to change the enabled status of BootSourceSetting
instances to Disable or Enable. The input parameter, source, is an array of InstanceID of
BootSourceSetting instances. Enumerating the BootSourceSetting Class in Section 14.3, displays the
CurrentEnabledStatus field which provides the applicable status.
Note 1: In order for the changes to be applied, the CreateTargetedConfigJob() method in Section 17.7
must be executed.
Note 2: BIOS does not support the setting of EnabledState for BCV devices.
Invoke ChangeBootSourceState() with the following parameters and syntax:
The source input is obtained from
the BootSourceSetting inventory in
Section 14.3