1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!-- Copyright 2015-2023 Storage Networking Industry Association (SNIA), USA. All rights reserved.-->
4<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>
18  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/swordfish/v1/Volume_v1.xml">
19    <edmx:Include Namespace="Volume"/>
20  </edmx:Reference>
21  <edmx:DataServices>
22
23    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VolumeCollection">
24      <Annotation Term="Redfish.OwningEntity" String="SNIA"/>
25      <EntityType Name="VolumeCollection" BaseType="Resource.v1_0_0.ResourceCollection">
26        <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."/>
28        <Annotation Term="Capabilities.InsertRestrictions">
29          <Record>
30            <PropertyValue Property="Insertable" Bool="true"/>
31            <Annotation Term="OData.Description" String="Volume collections may support adding Volume resources by clients."/>
32          </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>
44        <Annotation Term="Redfish.Uris">
45          <Collection>
46            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes</String>
47            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String>
48            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes</String>
49            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String>
50            <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>
55            <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>
66          </Collection>
67        </Annotation>
68        <NavigationProperty Name="Members" Type="Collection(Volume.Volume)">
69          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
70          <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."/>
72          <Annotation Term="OData.AutoExpandReferences"/>
73          <Annotation Term="Redfish.Required"/>
74        </NavigationProperty>
75      </EntityType>
76
77    </Schema>
78  </edmx:DataServices>
79</edmx:Edmx>
80