Fix parsing for virtual disk RAIDStatus attribute
This patch changes the parsing of virtual disks so that if the DCIM_VirutalDiskView.RAIDStatus attribute is not present then DCIM_VirutalDiskView.RaidStatus will be used instead. This is needed due to the attribute being renamed in LCC version 4.0.0 Change-Id: I4ca1b7f6df47ce808920b5e24ad0be6b76963917changes/31/704731/2
parent
091b516725
commit
01e7ca19ce
@ -0,0 +1,55 @@
|
||||
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
|
||||
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
||||
xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration"
|
||||
xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
|
||||
xmlns:n1="http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_VirtualDiskView"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<s:Header>
|
||||
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
||||
<wsa:Action>http://schemas.xmlsoap.org/ws/2004/09/enumeration/EnumerateResponse</wsa:Action>
|
||||
<wsa:RelatesTo>uuid:b182f1ee-103a-103a-8002-fd0aa2bdb228</wsa:RelatesTo>
|
||||
<wsa:MessageID>uuid:b80f21ed-103f-103f-8992-a36fc6fe83b0</wsa:MessageID>
|
||||
</s:Header>
|
||||
<s:Body>
|
||||
<wsen:EnumerateResponse>
|
||||
<wsman:Items>
|
||||
<n1:DCIM_VirtualDiskView>
|
||||
<n1:BlockSizeInBytes>512</n1:BlockSizeInBytes>
|
||||
<n1:BusProtocol>6</n1:BusProtocol>
|
||||
<n1:Cachecade>0</n1:Cachecade>
|
||||
<n1:DeviceDescription>Virtual Disk 0 on Integrated RAID Controller 1</n1:DeviceDescription>
|
||||
<n1:DiskCachePolicy>1024</n1:DiskCachePolicy>
|
||||
<n1:FQDD>Disk.Virtual.0:RAID.Integrated.1-1</n1:FQDD>
|
||||
<n1:InstanceID>Disk.Virtual.0:RAID.Integrated.1-1</n1:InstanceID>
|
||||
<n1:LastSystemInventoryTime>20150301200527.000000+000</n1:LastSystemInventoryTime>
|
||||
<n1:LastUpdateTime>20150301200527.000000+000</n1:LastUpdateTime>
|
||||
<n1:LockStatus>0</n1:LockStatus>
|
||||
<n1:MediaType>1</n1:MediaType>
|
||||
<n1:Name>disk 0</n1:Name>
|
||||
<n1:ObjectStatus>0</n1:ObjectStatus>
|
||||
<n1:OperationName>Background Intialization</n1:OperationName>
|
||||
<n1:OperationPercentComplete>8</n1:OperationPercentComplete>
|
||||
<n1:PendingOperations>0</n1:PendingOperations>
|
||||
<n1:PhysicalDiskIDs>Disk.Bay.4:Enclosure.Internal.0-1:RAID.Integrated.1-1</n1:PhysicalDiskIDs>
|
||||
<n1:PhysicalDiskIDs>Disk.Bay.5:Enclosure.Internal.0-1:RAID.Integrated.1-1</n1:PhysicalDiskIDs>
|
||||
<n1:PrimaryStatus>1</n1:PrimaryStatus>
|
||||
<n1:RaidStatus>2</n1:RaidStatus>
|
||||
<n1:RAIDTypes>4</n1:RAIDTypes>
|
||||
<n1:ReadCachePolicy>16</n1:ReadCachePolicy>
|
||||
<n1:RemainingRedundancy>1</n1:RemainingRedundancy>
|
||||
<n1:RollupStatus>1</n1:RollupStatus>
|
||||
<n1:SizeInBytes>599550590976</n1:SizeInBytes>
|
||||
<n1:SpanDepth>1</n1:SpanDepth>
|
||||
<n1:SpanLength>2</n1:SpanLength>
|
||||
<n1:StartingLBAinBlocks>0</n1:StartingLBAinBlocks>
|
||||
<n1:StripeSize>128</n1:StripeSize>
|
||||
<n1:T10PIStatus>0</n1:T10PIStatus>
|
||||
<n1:VirtualDiskTargetID>0</n1:VirtualDiskTargetID>
|
||||
<n1:WriteCachePolicy>2</n1:WriteCachePolicy>
|
||||
</n1:DCIM_VirtualDiskView>
|
||||
</wsman:Items>
|
||||
<wsen:EnumerationContext/>
|
||||
<wsman:EndOfSequence/>
|
||||
</wsen:EnumerateResponse>
|
||||
</s:Body>
|
||||
</s:Envelope>
|
Loading…
Reference in New Issue