blob: 40984a41042596d32dad4a2f6764d3ad5471d489 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanous530520e2019-01-02 13:41:37 -08004<!--# Redfish Schema: Drive v1.5.0-->
Jason M. Billsea4aa752018-06-05 13:29:11 -07005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Ed Tanous530520e2019-01-02 13:41:37 -08008<!--# Copyright 2014-2018 DMTF. -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07009<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10<!--################################################################################ -->
11<!---->
12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13
14 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15 <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16 </edmx:Reference>
17 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19 </edmx:Reference>
20 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
21 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22 </edmx:Reference>
23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24 <edmx:Include Namespace="Resource"/>
25 <edmx:Include Namespace="Resource.v1_0_0"/>
26 </edmx:Reference>
27 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
28 <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
29 </edmx:Reference>
30 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Volume_v1.xml">
31 <edmx:Include Namespace="Volume"/>
32 </edmx:Reference>
33 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Endpoint_v1.xml">
34 <edmx:Include Namespace="Endpoint"/>
35 </edmx:Reference>
36 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Chassis_v1.xml">
37 <edmx:Include Namespace="Chassis"/>
38 </edmx:Reference>
39 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Assembly_v1.xml">
40 <edmx:Include Namespace="Assembly"/>
41 </edmx:Reference>
42 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Protocol_v1.xml">
43 <edmx:Include Namespace="Protocol"/>
44 </edmx:Reference>
45 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Task_v1.xml">
46 <edmx:Include Namespace="Task"/>
47 </edmx:Reference>
48
49 <edmx:DataServices>
50
51 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive">
52 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
53
54 <EntityType Name="Drive" BaseType="Resource.v1_0_0.Resource" Abstract="true">
55 <Annotation Term="OData.Description" String="The Drive schema represents a single physical disk drive for a system, including links to associated Volumes."/>
56 <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a disk drive or other physical storage medium for a Redfish implementation."/>
57 <Annotation Term="Capabilities.InsertRestrictions">
58 <Record>
59 <PropertyValue Property="Insertable" Bool="false"/>
60 </Record>
61 </Annotation>
62 <Annotation Term="Capabilities.UpdateRestrictions">
63 <Record>
64 <PropertyValue Property="Updatable" Bool="true"/>
65 <Annotation Term="OData.Description" String="Drives can be updated to change the IndicatorLED and other writable properties."/>
66 </Record>
67 </Annotation>
68 <Annotation Term="Capabilities.DeleteRestrictions">
69 <Record>
70 <PropertyValue Property="Deletable" Bool="false"/>
71 </Record>
72 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080073 <Annotation Term="Redfish.Uris">
74 <Collection>
75 <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Drives/{DriveId}</String>
76 <String>/redfish/v1/Chassis/{ChassisId}/Drives/{DriveId}</String>
77 <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Drives/{DriveId}</String>
78 <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Drives/{DriveId}</String>
79 </Collection>
80 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070081 </EntityType>
82
83 <Action Name="SecureErase" IsBound="true">
84 <Parameter Name="Drive" Type="Drive.v1_0_0.Actions"/>
85 <Annotation Term="OData.Description" String="This action is used to securely erase the contents of the drive."/>
86 <Annotation Term="OData.LongDescription" String="This action shall perform a secure erase of the drive."/>
87 </Action>
88
89 </Schema>
90
91 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_0">
92 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
93
94 <EntityType Name="Drive" BaseType="Drive.Drive">
95 <Property Name="StatusIndicator" Type="Drive.v1_0_0.StatusIndicator">
96 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
97 <Annotation Term="OData.Description" String="The state of the status indicator, used to communicate status information about this drive."/>
98 <Annotation Term="OData.LongDescription" String="The value of this property shall contain the status indicator state for the status indicator associated with this drive. The valid values for this property are specified through the Redfish.AllowableValues annotation."/>
99 </Property>
100 <Property Name="IndicatorLED" Type="Resource.IndicatorLED">
101 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
102 <Annotation Term="OData.Description" String="The state of the indicator LED, used to identify the drive."/>
103 <Annotation Term="OData.LongDescription" String="This value of this property shall contain the indicator light state for the indicator light associated with this drive."/>
104 </Property>
105 <Property Name="Model" Type="Edm.String">
106 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
107 <Annotation Term="OData.Description" String="This is the model number for the drive."/>
108 <Annotation Term="OData.LongDescription" String="The value of this property shall be the name by which the manufacturer generally refers to the drive."/>
109 </Property>
110 <Property Name="Revision" Type="Edm.String">
111 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
112 <Annotation Term="OData.Description" String="The revision of this Drive. This is typically the firmware/hardware version of the drive."/>
113 <Annotation Term="OData.LongDescription" String="This property shall contain the revision as defined by the manufacturer for the associated drive."/>
114 </Property>
Ed Tanous530520e2019-01-02 13:41:37 -0800115 <Property Name="Status" Type="Resource.Status" Nullable="false">
116 <Annotation Term="OData.Description" String="This property describes the status and health of the resource and its children."/>
117 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
118 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700119 <Property Name="CapacityBytes" Type="Edm.Int64">
120 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
121 <Annotation Term="OData.Description" String="The size in bytes of this Drive."/>
122 <Annotation Term="OData.LongDescription" String="This property shall contain the raw size in bytes of the associated drive."/>
123 <Annotation Term="Measures.Unit" String="By"/>
124 </Property>
125 <Property Name="FailurePredicted" Type="Edm.Boolean">
126 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
127 <Annotation Term="OData.Description" String="Is this drive currently predicting a failure in the near future."/>
128 <Annotation Term="OData.LongDescription" String="This property shall contain failure information as defined by the manufacturer for the associated drive."/>
129 </Property>
130 <Property Name="Protocol" Type="Protocol.Protocol">
131 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
132 <Annotation Term="OData.Description" String="The protocol this drive is using to communicate to the storage controller."/>
133 <Annotation Term="OData.LongDescription" String="This property shall contain the protocol the associated drive is using to communicate to the storage controller for this system."/>
134 </Property>
135 <Property Name="MediaType" Type="Drive.v1_0_0.MediaType">
136 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
137 <Annotation Term="OData.Description" String="The type of media contained in this drive."/>
138 <Annotation Term="OData.LongDescription" String="This property shall contain the type of media contained in the associated drive."/>
139 </Property>
140 <Property Name="Manufacturer" Type="Edm.String">
141 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
142 <Annotation Term="OData.Description" String="This is the manufacturer of this drive."/>
143 <Annotation Term="OData.LongDescription" String="The value of this property shall be the name of the organization responsible for producing the drive. This organization might be the entity from whom the drive is purchased, but this is not necessarily true."/>
144 </Property>
145 <Property Name="SKU" Type="Edm.String">
146 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
147 <Annotation Term="OData.Description" String="This is the SKU for this drive."/>
148 <Annotation Term="OData.LongDescription" String="The value of this property shall be the stock-keeping unit number for this drive."/>
149 </Property>
150 <Property Name="SerialNumber" Type="Edm.String">
151 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
152 <Annotation Term="OData.Description" String="The serial number for this drive."/>
153 <Annotation Term="OData.LongDescription" String="The value of this property shall be a manufacturer-allocated number used to identify the drive."/>
154 </Property>
155 <Property Name="PartNumber" Type="Edm.String">
156 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
157 <Annotation Term="OData.Description" String="The part number for this drive."/>
158 <Annotation Term="OData.LongDescription" String="The value of this property shall be a part number assigned by the organization that is responsible for producing or manufacturing the drive."/>
159 </Property>
160 <Property Name="AssetTag" Type="Edm.String">
161 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
162 <Annotation Term="OData.Description" String="The user assigned asset tag for this drive."/>
163 <Annotation Term="OData.LongDescription" String="The value of this property shall be an identifying string used to track the drive for inventory purposes."/>
164 </Property>
165 <Property Name="Identifiers" Type="Collection(Resource.Identifier)" Nullable="false">
166 <Annotation Term="OData.Description" String="The Durable names for the drive."/>
167 <Annotation Term="OData.LongDescription" String="This property shall contain a list of all known durable names for the associated drive."/>
168 </Property>
169 <Property Name="Location" Type="Collection(Resource.Location)" Nullable="false">
170 <Annotation Term="OData.Description" String="The Location of the drive."/>
171 <Annotation Term="OData.LongDescription" String="This property shall contain location information of the associated drive."/>
172 <Annotation Term="Redfish.Deprecated" String="This property has been Deprecated in favor of the singular property PhysicalLocation found in Drive.v1_4_0."/>
173 </Property>
174 <Property Name="HotspareType" Type="Drive.v1_0_0.HotspareType">
175 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
176 <Annotation Term="OData.Description" String="The type of hotspare this drive is currently serving as."/>
177 <Annotation Term="OData.LongDescription" String="This property shall contain the hot spare type for the associated drive. If the drive is currently serving as a hot spare its Status.State field shall be 'StandbySpare' and 'Enabled' when it is being used as part of a Volume."/>
178 </Property>
179 <Property Name="EncryptionAbility" Type="Drive.v1_0_0.EncryptionAbility">
180 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
181 <Annotation Term="OData.Description" String="The encryption abilities of this drive."/>
182 <Annotation Term="OData.LongDescription" String="This property shall contain the encryption ability for the associated drive."/>
183 </Property>
184 <Property Name="EncryptionStatus" Type="Drive.v1_0_0.EncryptionStatus">
185 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
186 <Annotation Term="OData.Description" String="The status of the encrytion of this drive."/>
187 <Annotation Term="OData.LongDescription" String="This property shall contain the encrytion status for the associated drive."/>
188 </Property>
189 <Property Name="RotationSpeedRPM" Type="Edm.Decimal">
190 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
191 <Annotation Term="OData.Description" String="The rotation speed of this Drive in Revolutions per Minute (RPM)."/>
192 <Annotation Term="OData.LongDescription" String="This property shall contain rotation speed of the associated drive."/>
193 <Annotation Term="Measures.Unit" String="RPM"/>
194 </Property>
195 <Property Name="BlockSizeBytes" Type="Edm.Int64">
196 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
197 <Annotation Term="OData.Description" String="The size of the smallest addressible unit (Block) of this drive in bytes."/>
198 <Annotation Term="OData.LongDescription" String="This property shall contain size of the smallest addressible unit of the associated drive."/>
199 <Annotation Term="Measures.Unit" String="By"/>
200 </Property>
201 <Property Name="CapableSpeedGbs" Type="Edm.Decimal">
202 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
203 <Annotation Term="OData.Description" String="The speed which this drive can communicate to a storage controller in ideal conditions in Gigabits per second."/>
204 <Annotation Term="OData.LongDescription" String="This property shall contain fastest capable bus speed of the associated drive."/>
205 <Annotation Term="Measures.Unit" String="Gbit/s"/>
206 </Property>
207 <Property Name="NegotiatedSpeedGbs" Type="Edm.Decimal">
208 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
209 <Annotation Term="OData.Description" String="The speed which this drive is currently communicating to the storage controller in Gigabits per second."/>
210 <Annotation Term="OData.LongDescription" String="This property shall contain current bus speed of the associated drive."/>
211 <Annotation Term="Measures.Unit" String="Gbit/s"/>
212 </Property>
213 <Property Name="PredictedMediaLifeLeftPercent" Type="Edm.Decimal">
214 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
215 <Annotation Term="OData.Description" String="The percentage of reads and writes that are predicted to still be available for the media."/>
216 <Annotation Term="OData.LongDescription" String="This property shall contain an indicator of the percentage of life remaining in the Drive's media."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800217 <Annotation Term="Measures.Unit" String="%"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700218 </Property>
219 <Property Name="Links" Type="Drive.v1_0_0.Links" Nullable="false">
220 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
221 <Annotation Term="OData.LongDescription" String="The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/>
222 </Property>
223 <Property Name="Actions" Type="Drive.v1_0_0.Actions" Nullable="false">
224 <Annotation Term="OData.Description" String="The available actions for this resource."/>
225 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
226 </Property>
227 </EntityType>
228
229 <ComplexType Name="Links" BaseType="Resource.Links">
230 <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>
231 <Annotation Term="OData.LongDescription" String="This type, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/>
232 <NavigationProperty Name="Volumes" Type="Collection(Volume.Volume)">
233 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
234 <Annotation Term="OData.Description" String="An array of references to the volumes contained in this drive. This will reference Volumes that are either wholly or only partly contained by this drive."/>
235 <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to the resources that this drive is associated with and shall reference a resource of type Volume. This shall include all Volume resources of which this Drive is a member and all Volumes for which this Drive is acting as a spare if the HotspareType is Dedicated."/>
236 <Annotation Term="OData.AutoExpandReferences"/>
237 </NavigationProperty>
238 </ComplexType>
239
240 <ComplexType Name="Actions">
241 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
242 <Annotation Term="OData.Description" String="The available actions for this resource."/>
243 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800244 <Property Name="Oem" Type="Drive.v1_0_0.OemActions" Nullable="false">
245 <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/>
246 <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/>
247 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700248 </ComplexType>
249
250 <ComplexType Name="OemActions">
251 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
252 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
253 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
254 </ComplexType>
255
256 <EnumType Name="MediaType">
257 <Member Name="HDD">
258 <Annotation Term="OData.Description" String="The drive media type is traditional magnetic platters."/>
259 </Member>
260 <Member Name="SSD">
261 <Annotation Term="OData.Description" String="The drive media type is solid state or flash memory."/>
262 </Member>
263 <Member Name="SMR">
264 <Annotation Term="OData.Description" String="The drive media type is shingled magnetic recording."/>
265 </Member>
266 </EnumType>
267
268 <EnumType Name="HotspareType">
269 <Member Name="None">
270 <Annotation Term="OData.Description" String="The drive is not currently a hotspare."/>
271 </Member>
272 <Member Name="Global">
273 <Annotation Term="OData.Description" String="The drive is currently serving as a hotspare for all other drives in the storage system."/>
274 </Member>
275 <Member Name="Chassis">
276 <Annotation Term="OData.Description" String="The drive is currently serving as a hotspare for all other drives in the chassis."/>
277 </Member>
278 <Member Name="Dedicated">
279 <Annotation Term="OData.Description" String="The drive is currently serving as a hotspare for a user defined set of drives."/>
280 </Member>
281 </EnumType>
282
283 <EnumType Name="EncryptionAbility">
284 <Member Name="None">
285 <Annotation Term="OData.Description" String="The drive is not capable of self encryption."/>
286 </Member>
287 <Member Name="SelfEncryptingDrive">
288 <Annotation Term="OData.Description" String="The drive is capable of self encryption per the Trusted Computing Group's Self Encrypting Drive Standard."/>
289 </Member>
290 <Member Name="Other">
291 <Annotation Term="OData.Description" String="The drive is capable of self encryption through some other means."/>
292 </Member>
293 </EnumType>
294
295 <EnumType Name="EncryptionStatus">
296 <Member Name="Unecrypted">
297 <Annotation Term="OData.Description" String="The drive is not currently encrypted."/>
298 <Annotation Term="Redfish.Deprecated" String="This value has been Deprecated in favor of Unencrypted."/>
299 </Member>
300 <Member Name="Unlocked">
301 <Annotation Term="OData.Description" String="The drive is currently encrypted but the data is accessible to the user unencrypted."/>
302 </Member>
303 <Member Name="Locked">
304 <Annotation Term="OData.Description" String="The drive is currently encrypted and the data is not accessible to the user, however the system has the ability to unlock the drive automatically."/>
305 </Member>
306 <Member Name="Foreign">
307 <Annotation Term="OData.Description" String="The drive is currently encrypted, the data is not accessible to the user, and the system requires user intervention to expose the data."/>
308 </Member>
309 <Member Name="Unencrypted">
310 <Annotation Term="OData.Description" String="The drive is not currently encrypted."/>
311 </Member>
312 </EnumType>
313
314 <EnumType Name="StatusIndicator">
315 <Member Name="OK">
316 <Annotation Term="OData.Description" String="The drive is OK."/>
317 </Member>
318 <Member Name="Fail">
319 <Annotation Term="OData.Description" String="The drive has failed."/>
320 </Member>
321 <Member Name="Rebuild">
322 <Annotation Term="OData.Description" String="The drive is being rebuilt."/>
323 </Member>
324 <Member Name="PredictiveFailureAnalysis">
325 <Annotation Term="OData.Description" String="The drive is still working but predicted to fail soon."/>
326 </Member>
327 <Member Name="Hotspare">
328 <Annotation Term="OData.Description" String="The drive is marked to be automatically rebuilt and used as a replacement for a failed drive."/>
329 </Member>
330 <Member Name="InACriticalArray">
331 <Annotation Term="OData.Description" String="The array that this drive is a part of is degraded."/>
332 </Member>
333 <Member Name="InAFailedArray">
334 <Annotation Term="OData.Description" String="The array that this drive is a part of is failed."/>
335 </Member>
336 </EnumType>
337
338 </Schema>
339
340 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_1">
341 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
342 <Annotation Term="OData.Description" String="This version was created to show the EncryptionStatus enumerated list was updated."/>
343 <EntityType Name="Drive" BaseType="Drive.v1_0_0.Drive"/>
344 </Schema>
345
346 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_2">
347 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
348 <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/>
349 <EntityType Name="Drive" BaseType="Drive.v1_0_1.Drive"/>
350 </Schema>
351
352 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_3">
353 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
354 <Annotation Term="OData.Description" String="This version was created to fix supported types and to remove the Nullable facet on NavigationProperties of type Collection and to use Redfish.Deprecated on certain enum values."/>
355 <EntityType Name="Drive" BaseType="Drive.v1_0_2.Drive"/>
356 </Schema>
357
358 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_4">
359 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
360 <Annotation Term="OData.Description" String="This version was created to change references to Identifier and Location to be their abstract base type, and IndicatorLED and Protocol to use the unversioned definition. It was also created to correct the Descriptions and LongDescriptions used in the defined Actions."/>
361 <EntityType Name="Drive" BaseType="Drive.v1_0_3.Drive"/>
362 </Schema>
363
Ed Tanous530520e2019-01-02 13:41:37 -0800364 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_0_5">
365 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
366 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number. It was also created to add missing percent units onto existing properties."/>
367 <EntityType Name="Drive" BaseType="Drive.v1_0_4.Drive"/>
368 </Schema>
369
Jason M. Billsea4aa752018-06-05 13:29:11 -0700370 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_1_0">
371 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
372
373 <EntityType Name="Drive" BaseType="Drive.v1_0_1.Drive">
374 <Property Name="Operations" Type="Collection(Drive.v1_1_0.Operations)" Nullable="false">
375 <Annotation Term="OData.Description" String="The operations currently running on the Drive."/>
376 <Annotation Term="OData.LongDescription" String="This property shall contain a list of all operations currently running on the Drive."/>
377 </Property>
378 </EntityType>
379
380 <ComplexType Name="Links" BaseType="Drive.v1_0_0.Links">
381 <NavigationProperty Name="Endpoints" Type="Collection(Endpoint.Endpoint)">
382 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
383 <Annotation Term="OData.Description" String="An array of references to the endpoints that connect to this drive."/>
384 <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to the resources that this drive is associated with and shall reference a resource of type Endpoint."/>
385 <Annotation Term="OData.AutoExpandReferences"/>
386 </NavigationProperty>
387 </ComplexType>
388
389 <ComplexType Name="Operations">
390 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
391 <Annotation Term="OData.Description" String="An operation currently running on this resource."/>
392 <Annotation Term="OData.LongDescription" String="This type shall describe a currently running operation on the resource."/>
393 <Property Name="OperationName" Type="Edm.String">
394 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
395 <Annotation Term="OData.Description" String="The name of the operation."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800396 <Annotation Term="OData.LongDescription" String="This property shall be a string of the name of the operation."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700397 </Property>
398 <Property Name="PercentageComplete" Type="Edm.Int64">
399 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
400 <Annotation Term="OData.Description" String="The percentage of the operation that has been completed."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800401 <Annotation Term="OData.LongDescription" String="This property shall be an interger of the percentage of the operation that has been completed."/>
402 <Annotation Term="Measures.Unit" String="%"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700403 </Property>
404 <NavigationProperty Name="AssociatedTask" Type="Task.Task" Nullable="false">
405 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
406 <Annotation Term="OData.Description" String="A reference to the task associated with the operation if any."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800407 <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to a resource of type Task that represents the task associated with the operation."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700408 </NavigationProperty>
409 </ComplexType>
410
411 </Schema>
412
413 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_1_1">
414 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
415 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
416 <EntityType Name="Drive" BaseType="Drive.v1_1_0.Drive"/>
417 </Schema>
418
419 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_1_2">
420 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
421 <Annotation Term="OData.Description" String="This version was created to fix supported types to remove the Nullable facet on NavigationProperties of type Collection and to use Redfish.Deprecated on certain enum values."/>
422 <EntityType Name="Drive" BaseType="Drive.v1_1_1.Drive"/>
423 </Schema>
424
425 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_1_3">
426 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
427 <Annotation Term="OData.Description" String="This version was created to migrate the Operations definition, to change references to Identifier and Location to be their abstract base type, and IndicatorLED, Protocol, and Operations to use the unversioned definition. It was also created to correct the Descriptions and LongDescriptions used in the defined Actions."/>
428 <EntityType Name="Drive" BaseType="Drive.v1_1_2.Drive"/>
429 </Schema>
430
Ed Tanous530520e2019-01-02 13:41:37 -0800431 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_1_4">
432 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
433 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number. It was also created to add missing percent units onto existing properties."/>
434 <EntityType Name="Drive" BaseType="Drive.v1_1_3.Drive"/>
435 </Schema>
436
Jason M. Billsea4aa752018-06-05 13:29:11 -0700437 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_2_0">
438 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
439 <EntityType Name="Drive" BaseType="Drive.v1_1_2.Drive"/>
440
441 <ComplexType Name="Links" BaseType="Drive.v1_1_0.Links">
442 <NavigationProperty Name="Chassis" Type="Chassis.Chassis" Nullable="false">
443 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
444 <Annotation Term="OData.Description" String="A reference to the Chassis which contains this Drive."/>
445 <Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to a resource of type Chassis that represent the physical container associated with this Drive."/>
446 <Annotation Term="OData.AutoExpandReferences"/>
447 </NavigationProperty>
448 </ComplexType>
449 </Schema>
450
451 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_2_1">
452 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
453 <Annotation Term="OData.Description" String="This version was created to migrate the Operations definition, to change references to Identifier and Location to be their abstract base type, and IndicatorLED, Protocol, and Operations to use the unversioned definition. It was also created to correct the Descriptions and LongDescriptions used in the defined Actions."/>
454 <EntityType Name="Drive" BaseType="Drive.v1_2_0.Drive"/>
455 </Schema>
456
Ed Tanous530520e2019-01-02 13:41:37 -0800457 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_2_2">
458 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
459 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number. It was also created to add missing percent units onto existing properties."/>
460 <EntityType Name="Drive" BaseType="Drive.v1_2_1.Drive"/>
461 </Schema>
462
Jason M. Billsea4aa752018-06-05 13:29:11 -0700463 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_3_0">
464 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
465 <EntityType Name="Drive" BaseType="Drive.v1_2_1.Drive">
466 <NavigationProperty Name="Assembly" Type="Assembly.Assembly" ContainsTarget="true" Nullable="false">
467 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
468 <Annotation Term="OData.Description" String="A reference to the Assembly resource associated with this drive."/>
469 <Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a resource of type Assembly."/>
470 <Annotation Term="OData.AutoExpandReferences"/>
471 </NavigationProperty>
472 </EntityType>
473 </Schema>
474
Ed Tanous530520e2019-01-02 13:41:37 -0800475 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_3_1">
476 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
477 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number. It was also created to add missing percent units onto existing properties."/>
478 <EntityType Name="Drive" BaseType="Drive.v1_3_0.Drive"/>
479 </Schema>
480
Jason M. Billsea4aa752018-06-05 13:29:11 -0700481 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_4_0">
482 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
483 <EntityType Name="Drive" BaseType="Drive.v1_3_0.Drive">
484 <Property Name="PhysicalLocation" Type="Resource.Location" Nullable="false">
485 <Annotation Term="OData.Description" String="The Location of the drive."/>
486 <Annotation Term="OData.LongDescription" String="This property shall contain location information of the associated drive."/>
487 </Property>
488 </EntityType>
489 </Schema>
490
Ed Tanous530520e2019-01-02 13:41:37 -0800491 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_4_1">
492 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
493 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number. It was also created to add missing percent units onto existing properties."/>
494 <EntityType Name="Drive" BaseType="Drive.v1_4_0.Drive"/>
495 </Schema>
496
497 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Drive.v1_5_0">
498 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
499 <EntityType Name="Drive" BaseType="Drive.v1_4_1.Drive">
500 <Property Name="HotspareReplacementMode" Type="Drive.v1_5_0.HotspareReplacementModeType">
501 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
502 <Annotation Term="OData.Description" String="The replacement mode for the hotspare drive."/>
503 <Annotation Term="OData.LongDescription" String="This property shall specify if a commissioned hotspare will continue to serve as a hotspare once the failed drive is replaced."/>
504 </Property>
505 </EntityType>
506
507 <EnumType Name="HotspareReplacementModeType">
508 <Member Name="Revertible">
509 <Annotation Term="OData.Description" String="A hotspare drive that is commissioned due to a drive failure will revert to being a hotspare once the failed drive is replaced and rebuilt."/>
510 </Member>
511 <Member Name="NonRevertible">
512 <Annotation Term="OData.Description" String="A hotspare drive that is commissioned due to a drive failure will remain as a data drive and will not revert to a hotspare if the failed drive is replaced."/>
513 </Member>
514 </EnumType>
515 </Schema>
516
Jason M. Billsea4aa752018-06-05 13:29:11 -0700517 </edmx:DataServices>
518</edmx:Edmx>