blob: 4404771a64ac859f88e34dc65208788e4473d0b9 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
Gunnar Mills6f44b752020-02-06 16:50:51 -06003<!-- Copyright 2015-2019 Storage Networking Industry Association (SNIA), USA. All rights reserved.-->
Jason M. Billsea4aa752018-06-05 13:29:11 -07004<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
5
6 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
7 <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
8 </edmx:Reference>
9 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
10 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
11 </edmx:Reference>
12 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
13 <edmx:Include Namespace="Resource.v1_0_0"/>
14 </edmx:Reference>
15 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
16 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
17 </edmx:Reference>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060018 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/swordfish/v1/Volume_v1.xml">
Jason M. Billsea4aa752018-06-05 13:29:11 -070019 <edmx:Include Namespace="Volume"/>
20 </edmx:Reference>
Jason M. Billsea4aa752018-06-05 13:29:11 -070021 <edmx:DataServices>
22
23 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VolumeCollection">
Gunnar Mills6f44b752020-02-06 16:50:51 -060024 <Annotation Term="Redfish.OwningEntity" String="SNIA"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070025 <EntityType Name="VolumeCollection" BaseType="Resource.v1_0_0.ResourceCollection">
Gunnar Mills6f44b752020-02-06 16:50:51 -060026 <Annotation Term="OData.Description" String="A Collection of Volume resource instances."/>
27 <Annotation Term="OData.LongDescription" String="This collection shall contain references to all Volume resource instances sharing the same parent resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070028 <Annotation Term="Capabilities.InsertRestrictions">
29 <Record>
30 <PropertyValue Property="Insertable" Bool="true"/>
Gunnar Mills6f44b752020-02-06 16:50:51 -060031 <Annotation Term="OData.Description" String="Volume collections may support adding Volume resources by clients."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070032 </Record>
33 </Annotation>
34 <Annotation Term="Capabilities.UpdateRestrictions">
35 <Record>
36 <PropertyValue Property="Updatable" Bool="false"/>
37 </Record>
38 </Annotation>
39 <Annotation Term="Capabilities.DeleteRestrictions">
40 <Record>
41 <PropertyValue Property="Deletable" Bool="false"/>
42 </Record>
43 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080044 <Annotation Term="Redfish.Uris">
45 <Collection>
Ed Tanous530520e2019-01-02 13:41:37 -080046 <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes</String>
47 <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060048 <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes</String>
49 <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String>
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050050 <String>/redfish/v1/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String>
51 <String>/redfish/v1/Storage/{StorageId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
52 <String>/redfish/v1/Storage/{StorageId}/StoragePools/{StoragePoolId}/AllocatedVolumes</String>
53 <String>/redfish/v1/Storage/{StorageId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
54 <String>/redfish/v1/Storage/{StorageId}/Volumes</String>
Gunnar Mills6f44b752020-02-06 16:50:51 -060055 <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String>
56 <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
57 <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/StoragePools/{StoragePoolId}/AllocatedVolumes</String>
58 <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
59 <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String>
60 <String>/redfish/v1/StorageServices/{StorageServiceId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String>
61 <String>/redfish/v1/StorageServices/{StorageServiceId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
62 <String>/redfish/v1/StorageServices/{StorageServiceId}/StoragePools/{StoragePoolId}/AllocatedVolumes</String>
63 <String>/redfish/v1/StorageServices/{StorageServiceId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
64 <String>/redfish/v1/StorageServices/{StorageServiceId}/Volumes</String>
65 <String>/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
Ed Tanous530520e2019-01-02 13:41:37 -080066 </Collection>
67 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070068 <NavigationProperty Name="Members" Type="Collection(Volume.Volume)">
69 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Gunnar Mills6f44b752020-02-06 16:50:51 -060070 <Annotation Term="OData.Description" String="The value of each member references a Volume resource."/>
71 <Annotation Term="OData.LongDescription" String="The value of each member entry shall reference a Volume resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070072 <Annotation Term="OData.AutoExpandReferences"/>
Ed Tanous530520e2019-01-02 13:41:37 -080073 <Annotation Term="Redfish.Required"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070074 </NavigationProperty>
75 </EntityType>
76
77 </Schema>
Jason M. Billsea4aa752018-06-05 13:29:11 -070078 </edmx:DataServices>
79</edmx:Edmx>