Reference Guide

119 Lifecycle Controller Web Services Interface Guide for Linux
OUTPUT:
After running this method, a jobid or a message is displayed indicating an error.
<n1:InitializeMedia_OUTPUT>
<n1:Job>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymou
s</wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cimsche
ma/2/DCIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_001300791673</wsman
:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Se
lector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:InitializeMedia_OUTPUT>
13.2.3 Verify Initialization or 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/cimschema/2/root/dcim/DCIM_VFla
shView?InstanceID=[INSTANCEID]
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-j utf-8 -y basic
13.2.3.1 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:LastSystemInvento
ryTime>
<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
See Section 13.2.1 for the
populated uninitialized fields.