Technical White Paper

The input file ChangeBootOrderByInstanceID.xml is shown below:
<p:ChangeBootOrderByInstanceID_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/
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 ran.
Note 2: BIOS does not support the setting of
EnabledState
for BCV devices.
Invoke ChangeBootSourceState() 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
EnabledState: State of boot source element
Disabled=0, Enabled=1
EXAMPLE:
wsman invoke -a ChangeBootSourceState
http://schemas.dmtf.org/wbem/wscim/1/cimschema/
2/root/dcim/DCIM_BootConfigSetting
?InstanceID=$INSTANCEID -h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -J ChangeBootSourceState.xml
-j utf-8 -y basic
The
source
input is obtained from
the
BootSourceSetting
inventory in
Section 14.3