White Papers

28 Version 1.0.0a
If an instance of CIM_USBRedirectionCapabilites is not associated with an instance of
DCIM_OEMVirtualMediaService by a CIM_ServiceAccessBySAP association, then this method shall not
be supported.
Invocation of the CreateUSBDevice(
) method 1) creates an instance of CIM_USBDevice and 2) creates a
CIM_ServiceAffectsElement association between the CIM_USBDevice and the
DCIM_OEMVirtualMediaService.
The LogicalDevice parameter may be NULL. When the LogicalDevice parameter is not NULL, the method
shall create a CIM_LogicalIdentity association between the CIM_USBDevice and the CIM_LogicalDevice.
Instances of CIM_USBDevice created by this method may be deleted by using the CIM_USBDevice class
“Delete” intrinsic that will remove the CIM_USBDevice instance and all the associations that reference it.
Detailed requirements of the method are specified in Table 5 and Table 6.
No sta
ndard messages are defined.
Table 5 – DCIM_OEMVirtualMediaService.CreateUSBDevice(
) Method: Return Code Values
Value Description
0 Request was successfully executed.
1 Method is unsupported.
2 Error occurred.
4096 Job started: REF returned to started CIM_ConcreteJob.
Table 6 – DCIM_OEMVirtualMediaService.CreateUSBDevice( ) Method: Parameters
Qualifiers Name Type Description/Values
IN NewUSBDevice string
Encoded String-valued embedded
instance of CIM_USBDevice
IN
RedirectedLogical
Device
CIM_LogicalDevice REF
Reference to an instance of a concrete
subclass of CIM_LogicalDevice.
OUT Job CIM_ConcreteJob REF Returned if job started
OUT USBDevice CIM_USBDevice REF
8.4 DCIM_OEMVirtualMediaService.CreateRedirectionSAP( )
This method is conditional on the CIM_USBRedirectionCapabilities.SAPCapabilitiesSupported property
array containing a value of 2 (Creates SAP). For more information, see section 7.3.3.
If an instance
of CIM_USBRedirectionCapabilites is not associated with an instance of
DCIM_OEMVirtualMediaService by a CIM_ServiceAccessBySAP association, then this method shall not
be supported.
Invocation of the CreateRedirectionSAP(
) method:
Creates an instance of CIM_USBRedirectionSAP
Creates a CIM_ServiceAccessBySAP association between the new CIM_USBRedirectionSAP
and DCIM_OEMVirtualMediaService
Creates an CIM_HostedAccessPoint between the new CIM_USBRedirectionSAP and the
CIM_ComputerSystem instance that hosts the Virtual Media Service