Reference Guide

191 Lifecycle Controller Web Services Interface Guide for Linux
<n1:PendingValue xsi:nil="true"/>
</n1:DCIM_BIOSString>
<n1:DCIM_BIOSString>
<n1:AttributeName>AssetTag</n1:AttributeName>
<n1:CurrentValue xsi:nil="true"/>
<n1:DefaultValue xsi:nil="true"/>
<n1:FQDD>BIOS.Setup.1-1</n1:FQDD>
<n1:InstanceID>BIOS.Setup.1-1:AssetTag</n1:InstanceID>
<n1:IsReadOnly>false</n1:IsReadOnly>
<n1:MaxLength>10</n1:MaxLength>
<n1:MinLength>0</n1:MinLength>
<n1:PendingValue xsi:nil="true"/>
</n1:DCIM_BIOSString>
17.7 Applying the Pending Values for BIOS &
BootCreateTargetedConfigJob()
This method is called to apply the pending values created by the SetAttribute(), SetAttributes(),
ChangeBootOrderByInstanceID(), and ChangeBootSourceState() methods. The System will
automatically reboot depending on the ScheduledStartTime selected. Using the
CreateTargetedConfigJob() jobID output with the job control section can be used to obtain its status.
Invoke CreateTargetedConfigJob() with the following parameters and syntax:
TARGET : This Parameter is the FQDD of the BIOSAttribute instances, obtained from the InstanceID
field in Section 17.1
RebootJobType: There are three options for rebooting the System.
1 = PowerCycle
2 = Graceful Reboot without forced shutdown
3 = Graceful reboot with forced shutdown
Note: When you do not want to set a reboot type when creating a target job, you should comment the
RebootJobType in the input xml. You should not enter “0” or give no parameter at all in the input XML.
EXAMPLE:
wsman invoke -a CreateTargetedConfigJob
http://schemas.dmtf.org/wbem/wscim/1/cimschema/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 CreateTargetedConfigJob_BIOS.xml -j utf-8 -y basic
The input file CreateTargetedConfigJob_BIOS.xml is shown below:
<p:CreateTargetedConfigJob_INPUT
xmlns:p=“http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_BIOSS
ervice”>
<p:Target>BIOS.Setup.1-1</p:Target>
<p:RebootJobType>2</p:RebootJobType>
<p:ScheduledStartTime>TIME_NOW</p:ScheduledStartTime>
<p:UntilTime>20111111111111</p:UntilTime>
</p:CreateTargetedConfigJob_INPUT>