xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/Reservoir_v1.xml (revision c6d7a45d427f9a6d9e761afcf305761dca60d7cf)
12bde4061SEd Tanous<?xml version="1.0" encoding="UTF-8"?>
22bde4061SEd Tanous<!---->
32bde4061SEd Tanous<!--################################################################################       -->
4f2a8e57eSGunnar Mills<!--# Redfish Schema:  Reservoir v1.0.2                                                    -->
52bde4061SEd Tanous<!--#                                                                                      -->
62bde4061SEd Tanous<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
72bde4061SEd Tanous<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8d125652eSGunnar Mills<!--# Copyright 2014-2025 DMTF.                                                            -->
92bde4061SEd Tanous<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
102bde4061SEd Tanous<!--################################################################################       -->
112bde4061SEd Tanous<!---->
122bde4061SEd Tanous<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
132bde4061SEd Tanous
142bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
152bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
162bde4061SEd Tanous  </edmx:Reference>
172bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
182bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
192bde4061SEd Tanous  </edmx:Reference>
202bde4061SEd Tanous  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
212bde4061SEd Tanous    <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
222bde4061SEd Tanous  </edmx:Reference>
232bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
242bde4061SEd Tanous    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
252bde4061SEd Tanous  </edmx:Reference>
262bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
272bde4061SEd Tanous    <edmx:Include Namespace="Resource"/>
282bde4061SEd Tanous    <edmx:Include Namespace="Resource.v1_0_0"/>
292bde4061SEd Tanous  </edmx:Reference>
302bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Chassis_v1.xml">
312bde4061SEd Tanous    <edmx:Include Namespace="Chassis"/>
322bde4061SEd Tanous  </edmx:Reference>
332bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PhysicalContext_v1.xml">
342bde4061SEd Tanous    <edmx:Include Namespace="PhysicalContext"/>
352bde4061SEd Tanous  </edmx:Reference>
362bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Redundancy_v1.xml">
372bde4061SEd Tanous    <edmx:Include Namespace="Redundancy"/>
382bde4061SEd Tanous  </edmx:Reference>
392bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Sensor_v1.xml">
402bde4061SEd Tanous    <edmx:Include Namespace="Sensor"/>
412bde4061SEd Tanous  </edmx:Reference>
422bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Control_v1.xml">
432bde4061SEd Tanous    <edmx:Include Namespace="Control"/>
442bde4061SEd Tanous  </edmx:Reference>
452bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Assembly_v1.xml">
462bde4061SEd Tanous    <edmx:Include Namespace="Assembly"/>
472bde4061SEd Tanous  </edmx:Reference>
482bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/CoolingLoop_v1.xml">
492bde4061SEd Tanous    <edmx:Include Namespace="CoolingLoop"/>
502bde4061SEd Tanous  </edmx:Reference>
512bde4061SEd Tanous  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/FilterCollection_v1.xml">
522bde4061SEd Tanous    <edmx:Include Namespace="FilterCollection"/>
532bde4061SEd Tanous  </edmx:Reference>
542bde4061SEd Tanous
552bde4061SEd Tanous  <edmx:DataServices>
562bde4061SEd Tanous
572bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Reservoir">
582bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
59f2a8e57eSGunnar Mills      <Annotation Term="Redfish.Language" String="en"/>
602bde4061SEd Tanous
612bde4061SEd Tanous      <EntityType Name="Reservoir" BaseType="Resource.v1_0_0.Resource" Abstract="true">
62f2a8e57eSGunnar Mills        <Annotation Term="OData.Description" String="The `Reservoir` schema describes a reservoir unit for a cooling system or similar device."/>
632bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This resource shall represent the management properties for monitoring and management of reservoirs for a Redfish implementation."/>
642bde4061SEd Tanous        <Annotation Term="Capabilities.InsertRestrictions">
652bde4061SEd Tanous          <Record>
662bde4061SEd Tanous            <PropertyValue Property="Insertable" Bool="false"/>
672bde4061SEd Tanous          </Record>
682bde4061SEd Tanous        </Annotation>
692bde4061SEd Tanous        <Annotation Term="Capabilities.UpdateRestrictions">
702bde4061SEd Tanous          <Record>
712bde4061SEd Tanous            <PropertyValue Property="Updatable" Bool="true"/>
722bde4061SEd Tanous            <Annotation Term="OData.Description" String="Any writable properties can be updated."/>
732bde4061SEd Tanous          </Record>
742bde4061SEd Tanous        </Annotation>
752bde4061SEd Tanous        <Annotation Term="Capabilities.DeleteRestrictions">
762bde4061SEd Tanous          <Record>
772bde4061SEd Tanous            <PropertyValue Property="Deletable" Bool="false"/>
782bde4061SEd Tanous          </Record>
792bde4061SEd Tanous        </Annotation>
802bde4061SEd Tanous        <Annotation Term="Redfish.Uris">
812bde4061SEd Tanous          <Collection>
822bde4061SEd Tanous            <String>/redfish/v1/ThermalEquipment/CDUs/{CoolingUnitId}/Reservoirs/{ReservoirId}</String>
832bde4061SEd Tanous            <String>/redfish/v1/ThermalEquipment/ImmersionUnits/{CoolingUnitId}/Reservoirs/{ReservoirId}</String>
842bde4061SEd Tanous            <String>/redfish/v1/ThermalEquipment/HeatExchangers/{CoolingUnitId}/Reservoirs/{ReservoirId}</String>
85*c6d7a45dSGunnar Mills            <String>/redfish/v1/ThermalEquipment/RPUs/{CoolingUnitId}/Reservoirs/{ReservoirId}</String>
862bde4061SEd Tanous          </Collection>
872bde4061SEd Tanous        </Annotation>
882bde4061SEd Tanous      </EntityType>
892bde4061SEd Tanous    </Schema>
902bde4061SEd Tanous
912bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Reservoir.v1_0_0">
922bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
932bde4061SEd Tanous      <Annotation Term="Redfish.Release" String="2023.1"/>
942bde4061SEd Tanous
952bde4061SEd Tanous      <EntityType Name="Reservoir" BaseType="Reservoir.Reservoir">
962bde4061SEd Tanous        <Property Name="PhysicalContext" Type="PhysicalContext.PhysicalContext" Nullable="false">
972bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
982bde4061SEd Tanous          <Annotation Term="OData.Description" String="The area or device associated with this reservoir."/>
992bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain a description of the affected device or region within the chassis with which this reservoir is associated."/>
1002bde4061SEd Tanous        </Property>
1012bde4061SEd Tanous        <Property Name="Status" Type="Resource.Status" Nullable="false">
1022bde4061SEd Tanous          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
1032bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
1042bde4061SEd Tanous        </Property>
1052bde4061SEd Tanous        <Property Name="UserLabel" Type="Edm.String" Nullable="false">
1062bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1072bde4061SEd Tanous          <Annotation Term="OData.Description" String="A user-assigned label."/>
1082bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain a user-assigned label used to identify this resource.  If a value has not been assigned by a user, the value of this property shall be an empty string."/>
1092bde4061SEd Tanous        </Property>
1102bde4061SEd Tanous        <Property Name="ReservoirType" Type="Reservoir.v1_0_0.ReservoirType">
1112bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1122bde4061SEd Tanous          <Annotation Term="OData.Description" String="The type of reservoir."/>
1132bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the type of reservoir represented by this resource."/>
1142bde4061SEd Tanous        </Property>
1152bde4061SEd Tanous        <Property Name="CapacityLiters" Type="Edm.Decimal">
1162bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1172bde4061SEd Tanous          <Annotation Term="OData.Description" String="The capacity of the reservoir (L)."/>
1182bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the capacity of the reservoir in liter units."/>
1192bde4061SEd Tanous        </Property>
1202bde4061SEd Tanous        <Property Name="Manufacturer" Type="Edm.String">
1212bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1222bde4061SEd Tanous          <Annotation Term="OData.Description" String="The manufacturer of this reservoir."/>
1232bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the name of the organization responsible for producing the reservoir.  This organization may be the entity from whom the reservoir is purchased, but this is not necessarily true."/>
1242bde4061SEd Tanous        </Property>
1252bde4061SEd Tanous        <Property Name="Model" Type="Edm.String">
1262bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1272bde4061SEd Tanous          <Annotation Term="OData.Description" String="The model number for this reservoir."/>
1282bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the model information as defined by the manufacturer for this reservoir."/>
1292bde4061SEd Tanous        </Property>
1302bde4061SEd Tanous        <Property Name="SerialNumber" Type="Edm.String">
1312bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1322bde4061SEd Tanous          <Annotation Term="OData.Description" String="The serial number for this reservoir."/>
1332bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the serial number as defined by the manufacturer for this reservoir."/>
1342bde4061SEd Tanous        </Property>
1352bde4061SEd Tanous        <Property Name="PartNumber" Type="Edm.String">
1362bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1372bde4061SEd Tanous          <Annotation Term="OData.Description" String="The part number for this reservoir."/>
1382bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the part number as defined by the manufacturer for this reservoir."/>
1392bde4061SEd Tanous        </Property>
1402bde4061SEd Tanous        <Property Name="SparePartNumber" Type="Edm.String">
1412bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1422bde4061SEd Tanous          <Annotation Term="OData.Description" String="The spare part number for this reservoir."/>
1432bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the spare or replacement part number as defined by the manufacturer for this reservoir."/>
1442bde4061SEd Tanous        </Property>
1452bde4061SEd Tanous        <Property Name="Location" Type="Resource.Location" Nullable="false">
1462bde4061SEd Tanous          <Annotation Term="OData.Description" String="The location of the reservoir."/>
1472bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the location information of this reservoir."/>
1482bde4061SEd Tanous        </Property>
1492bde4061SEd Tanous        <Property Name="LocationIndicatorActive" Type="Edm.Boolean">
1502bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
1512bde4061SEd Tanous          <Annotation Term="OData.Description" String="An indicator allowing an operator to physically locate this resource."/>
1522bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the state of the indicator used to physically identify or locate this resource."/>
1532bde4061SEd Tanous        </Property>
1542bde4061SEd Tanous        <Property Name="Coolant" Type="CoolingLoop.Coolant" Nullable="false">
1552bde4061SEd Tanous          <Annotation Term="OData.Description" String="Details about the coolant used in this unit."/>
1562bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain details regarding the coolant contained or used by this unit."/>
1572bde4061SEd Tanous        </Property>
1582bde4061SEd Tanous        <Property Name="FluidLevelStatus" Type="Resource.Health">
1592bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1602bde4061SEd Tanous          <Annotation Term="OData.Description" String="The status of the fluid level in this reservoir."/>
1612bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall indicate the status of the fluid level in this reservoir."/>
1622bde4061SEd Tanous        </Property>
1632bde4061SEd Tanous        <NavigationProperty Name="FluidLevelPercent" Type="Sensor.Sensor">
1642bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1652bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy"/>
1662bde4061SEd Tanous          <Annotation Term="OData.Description" String="The fluid capacity filled (percent)."/>
167f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain the amount of fluid capacity, in percent units, filled in this reservoir.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `Percent`.  Services that support this property shall also return the `FluidLevelStatus` property."/>
1682bde4061SEd Tanous        </NavigationProperty>
1692bde4061SEd Tanous        <NavigationProperty Name="InternalPressurekPa" Type="Sensor.Sensor">
1702bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1712bde4061SEd Tanous          <Annotation Term="Redfish.ExcerptCopy"/>
1722bde4061SEd Tanous          <Annotation Term="OData.Description" String="The internal pressure (kPa) reading."/>
173f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain the internal pressure, measured in kilopascal units, for the reservoir.  The value of the `DataSourceUri` property, if present, shall reference a resource of type `Sensor` with the `ReadingType` property containing the value `PressurekPa`."/>
1742bde4061SEd Tanous        </NavigationProperty>
1752bde4061SEd Tanous        <NavigationProperty Name="Filters" Type="FilterCollection.FilterCollection" Nullable="false">
1762bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1772bde4061SEd Tanous          <Annotation Term="OData.Description" String="A link to a collection of filters."/>
178f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `FilterCollection` that contains a set of filters."/>
1792bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1802bde4061SEd Tanous        </NavigationProperty>
1812bde4061SEd Tanous        <NavigationProperty Name="Assembly" Type="Assembly.Assembly" ContainsTarget="true" Nullable="false">
1822bde4061SEd Tanous          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1832bde4061SEd Tanous          <Annotation Term="OData.Description" String="The link to the assembly associated with this reservoir."/>
184f2a8e57eSGunnar Mills          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource of type `Assembly`."/>
1852bde4061SEd Tanous          <Annotation Term="OData.AutoExpandReferences"/>
1862bde4061SEd Tanous        </NavigationProperty>
1872bde4061SEd Tanous        <Property Name="Actions" Type="Reservoir.v1_0_0.Actions" Nullable="false">
1882bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available actions for this resource."/>
1892bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
1902bde4061SEd Tanous        </Property>
1912bde4061SEd Tanous      </EntityType>
1922bde4061SEd Tanous
1932bde4061SEd Tanous      <EnumType Name="ReservoirType">
1942bde4061SEd Tanous        <Member Name="Reserve">
1952bde4061SEd Tanous          <Annotation Term="OData.Description" String="A reservoir providing reserve fluid capacity."/>
1962bde4061SEd Tanous        </Member>
1972bde4061SEd Tanous        <Member Name="Overflow">
1982bde4061SEd Tanous          <Annotation Term="OData.Description" String="An overflow reservoir for excess fluid."/>
1992bde4061SEd Tanous        </Member>
2002bde4061SEd Tanous        <Member Name="Inline">
2012bde4061SEd Tanous          <Annotation Term="OData.Description" String="An inline or integrated reservoir."/>
2022bde4061SEd Tanous        </Member>
2032bde4061SEd Tanous        <Member Name="Immersion">
2042bde4061SEd Tanous          <Annotation Term="OData.Description" String="An immersion cooling tank."/>
2052bde4061SEd Tanous        </Member>
2062bde4061SEd Tanous      </EnumType>
2072bde4061SEd Tanous
2082bde4061SEd Tanous      <ComplexType Name="Actions">
2092bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
2102bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available actions for this resource."/>
2112bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
2122bde4061SEd Tanous        <Property Name="Oem" Type="Reservoir.v1_0_0.OemActions" Nullable="false">
2132bde4061SEd Tanous          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
2142bde4061SEd Tanous          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
2152bde4061SEd Tanous        </Property>
2162bde4061SEd Tanous      </ComplexType>
2172bde4061SEd Tanous
2182bde4061SEd Tanous      <ComplexType Name="OemActions">
2192bde4061SEd Tanous        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
2202bde4061SEd Tanous        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
2212bde4061SEd Tanous        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
2222bde4061SEd Tanous      </ComplexType>
2232bde4061SEd Tanous    </Schema>
2242bde4061SEd Tanous
2252bde4061SEd Tanous    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Reservoir.v1_0_1">
2262bde4061SEd Tanous      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
2272bde4061SEd Tanous      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
2282bde4061SEd Tanous      <EntityType Name="Reservoir" BaseType="Reservoir.v1_0_0.Reservoir"/>
2292bde4061SEd Tanous    </Schema>
2302bde4061SEd Tanous
231f2a8e57eSGunnar Mills    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Reservoir.v1_0_2">
232f2a8e57eSGunnar Mills      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
233f2a8e57eSGunnar Mills      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
234f2a8e57eSGunnar Mills      <EntityType Name="Reservoir" BaseType="Reservoir.v1_0_1.Reservoir"/>
235f2a8e57eSGunnar Mills    </Schema>
236f2a8e57eSGunnar Mills
2372bde4061SEd Tanous  </edmx:DataServices>
2382bde4061SEd Tanous</edmx:Edmx>
239