xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/VolumeCollection_v1.xml (revision 28cfceb2980baa76d7f0599dd4a331ceaec52e1f)
12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
3*28cfceb2SGunnar Mills<!-- Copyright 2015-2024 Storage Networking Industry Association (SNIA), USA. All rights reserved.-->
42bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
52bde4061SEd Tanous
62bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
72bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
82bde4061SEd Tanous  </edmx:Reference>
92bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
102bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
112bde4061SEd Tanous  </edmx:Reference>
122bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
132bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
142bde4061SEd Tanous  </edmx:Reference>
152bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
162bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
172bde4061SEd Tanous  </edmx:Reference>
182bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/swordfish/v1/Volume_v1.xml">
192bde4061SEd Tanous    <edmx:Include Namespace="Volume"/>
202bde4061SEd Tanous  </edmx:Reference>
212bde4061SEd Tanous  <edmx:DataServices>
222bde4061SEd Tanous
232bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VolumeCollection">
242bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="SNIA"/>
252bde4061SEd Tanous      <EntityType Name="VolumeCollection" BaseType="Resource.v1_0_0.ResourceCollection">
262bde4061SEd Tanous        <Annotation Term="OData.Description" String="A Collection of Volume resource instances."/>
272bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This collection shall contain references to all Volume resource instances sharing the same parent resource."/>
282bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
292bde4061SEd Tanous          <Record>
302bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="true"/>
312bde4061SEd Tanous            <Annotation Term="OData.Description" String="Volume collections may support adding Volume resources by clients."/>
322bde4061SEd Tanous          </Record>
332bde4061SEd Tanous        </Annotation>
342bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
352bde4061SEd Tanous          <Record>
362bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="false"/>
372bde4061SEd Tanous          </Record>
382bde4061SEd Tanous        </Annotation>
392bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
402bde4061SEd Tanous          <Record>
412bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
422bde4061SEd Tanous          </Record>
432bde4061SEd Tanous        </Annotation>
442bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
452bde4061SEd Tanous          <Collection>
462bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes</String>
472bde4061SEd Tanous            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String>
482bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes</String>
492bde4061SEd Tanous            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String>
502bde4061SEd Tanous            <String>/redfish/v1/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String>
512bde4061SEd Tanous            <String>/redfish/v1/Storage/{StorageId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
522bde4061SEd Tanous            <String>/redfish/v1/Storage/{StorageId}/StoragePools/{StoragePoolId}/AllocatedVolumes</String>
532bde4061SEd Tanous            <String>/redfish/v1/Storage/{StorageId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
542bde4061SEd Tanous            <String>/redfish/v1/Storage/{StorageId}/Volumes</String>
552bde4061SEd Tanous            <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String>
562bde4061SEd Tanous            <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
572bde4061SEd Tanous            <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/StoragePools/{StoragePoolId}/AllocatedVolumes</String>
582bde4061SEd Tanous            <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
592bde4061SEd Tanous            <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String>
602bde4061SEd Tanous            <String>/redfish/v1/StorageServices/{StorageServiceId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String>
612bde4061SEd Tanous            <String>/redfish/v1/StorageServices/{StorageServiceId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
622bde4061SEd Tanous            <String>/redfish/v1/StorageServices/{StorageServiceId}/StoragePools/{StoragePoolId}/AllocatedVolumes</String>
632bde4061SEd Tanous            <String>/redfish/v1/StorageServices/{StorageServiceId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
642bde4061SEd Tanous            <String>/redfish/v1/StorageServices/{StorageServiceId}/Volumes</String>
652bde4061SEd Tanous            <String>/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes</String>
662bde4061SEd Tanous          </Collection>
672bde4061SEd Tanous        </Annotation>
682bde4061SEd Tanous        <NavigationProperty Name="Members" Type="Collection(Volume.Volume)">
692bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
702bde4061SEd Tanous          <Annotation Term="OData.Description" String="The value of each member references a Volume resource."/>
712bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="The value of each member entry shall reference a Volume resource."/>
722bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
732bde4061SEd Tanous          <Annotation Term="Redfish.Required"/>
742bde4061SEd Tanous        </NavigationProperty>
752bde4061SEd Tanous      </EntityType>
762bde4061SEd Tanous
772bde4061SEd Tanous    </Schema>
782bde4061SEd Tanous  </edmx:DataServices>
792bde4061SEd Tanous</edmx:Edmx>
80