Web Services Interface Guide
106 Dell Lifecycle Controller Web Services Interface Guide for Windows
, SuSE Enterprise Linux 11 SP2 x64
, VMware ESX 4.1 U2
, VMware ESXi 4.1 U2 HDD
, VMware ESXi 5.0 HDD
, Citrix Xen Server 6.0 FP1 HDD
ReturnValue = 0
Version = 7.0.0.35
11.3.2 Unpack Selected Drivers and Attach to Host OS as USB Device
This method is used to unpack the drivers for the selected OS to a virtual storage partition, and to then
attach this partition to the host OS as an emulated USB storage device.
1. Invoke extrinsic method using the following parameters section:
a. object path = object path returned from Section 11.1 (profile conformance)
b. Method name = “UnpackAndAttach”
c. OSName = “” (Has to be a valid value from the list returned by GetDriverPackInfo)
d. ExposureStartTime = “” (for this release the value is NULL)
e. ExposureDuration = “” (a string formatted as an interval in CIM_DateTime format)
This parameter denotes the interval of time after which the partition containing OS drivers with label
OEMDRV is to be detached from the Host OS.
2. Invoke method shall return the following output parameters:
a. Job = object path to CIM_ConcreteJob (reports the status of unpack and attach)
b. Enumerating this instance of CIM_ConcreteJob will show the status of the current operation.
Invoke UnpackAndAttach() with the following syntax:
EXAMPLE:
winrm i UnpackAndAttach cimv2/root/dcim/DCIM_OSDeploymentService
?CreationClassName=DCIM_OSDeploymentService +Name=DCIM:OSDeploymentService
+SystemCreationClassName=DCIM_ComputerSystem +SystemName=DCIM:ComputerSystem
-u:[USER] -p:[PASSWORD] -r:https://[IPADDRESS]/wsman:443
-encoding:utf-8 -a:basic
@{OSName="[OSName]";ExposeDuration="00000000002200.000000:000"}
Above example uses Microsoft Windows Server 2008 with SP2 for OSName.
OUTPUT:
UnpackAndAttach_OUTPUT