Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
127
13.2.3 Verify Initialization / Formatting
After invoking InitializeMedia(), get the instance of DCIM_VFlashView to confirm successful
initialization.
Get a specific DCIM_VFlashView with the following parameters and syntax:
[INSTANCE_ID] = Obtained from Section 13.2.1, such as Disk.vFlashCard.1
EXAMPLE:
wsman get http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_VFlashView?InstanceID=[INSTANCEID]
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -j utf-8 -y basic
OUTPUT:
<n1:DCIM_VFlashView>
<n1:AvailableSize>970</n1:AvailableSize>
<n1:Capacity>976</n1:Capacity>
<n1:ComponentName>vFlash SD Card</n1:ComponentName>
<n1:FQDD>Disk.vFlashCard.1</n1:FQDD>
<n1:HealthStatus>OK</n1:HealthStatus>
<n1:InitializedState>Initialized
</n1:InitializedState>
<n1:InstanceID>Disk.vFlashCard.1
</n1:InstanceID>
<n1:LastSystemInventoryTime>20110322110525.000000+000
</n1:LastSystemInventoryTime>
<n1:LastUpdateTime>20110322110525.000000+000</n1:LastUpdateTime>
<n1:Licensed>true</n1:Licensed>
<n1:VFlashEnabledState>true</n1:VFlashEnabledState>
<n1:WriteProtected>false</n1:WriteProtected>
</n1:DCIM_VFlashView>
InitializedState: Field indicates status of element to be initialized
InstanceID: InstanceID of desired element for initialization
13.3 Enable/Disable VFlash using VFlash State Change
This method is used to enable or disable the virtual flash media device. When the
VFlashStateChange() method is successfully executed, the change will be dictated in the
VFlashEnabledState parameter as shown in Section 13.2.1 and Section 13.2.3.
Invoke VFlashStateChange() with the following parameters and syntax:
RequestedState: The state to set to
See Section 13.2.1 for
the populated
uninitialized fields