xref: /openbmc/bmcweb/features/redfish/schema/dmtf/csdl/StorageMetrics_v1.xml (revision d125652e8a30dfeaad88bbfa5b1e04a80610469c)
19b46bc0bSMyung Bae<?xml version="1.0" encoding="UTF-8"?>
29b46bc0bSMyung Bae<!---->
39b46bc0bSMyung Bae<!--################################################################################               -->
49b46bc0bSMyung Bae<!--# Redfish Schema:  StorageMetrics v1.0.0                                                       -->
59b46bc0bSMyung Bae<!--#                                                                                              -->
69b46bc0bSMyung Bae<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,              -->
79b46bc0bSMyung Bae<!--# available at http://www.dmtf.org/standards/redfish                                           -->
8*d125652eSGunnar Mills<!--# Copyright 2014-2025 DMTF in cooperation with Storage Networking Industry Association (SNIA). -->
99b46bc0bSMyung Bae<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright         -->
109b46bc0bSMyung Bae<!--################################################################################               -->
119b46bc0bSMyung Bae<!---->
129b46bc0bSMyung Bae<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
139b46bc0bSMyung Bae
149b46bc0bSMyung Bae  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
159b46bc0bSMyung Bae    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
169b46bc0bSMyung Bae  </edmx:Reference>
179b46bc0bSMyung Bae  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
189b46bc0bSMyung Bae    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
199b46bc0bSMyung Bae  </edmx:Reference>
209b46bc0bSMyung Bae  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
219b46bc0bSMyung Bae    <edmx:Include Namespace="Resource.v1_0_0"/>
229b46bc0bSMyung Bae  </edmx:Reference>
239b46bc0bSMyung Bae  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Storage_v1.xml">
249b46bc0bSMyung Bae    <edmx:Include Namespace="Storage"/>
259b46bc0bSMyung Bae  </edmx:Reference>
269b46bc0bSMyung Bae  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/swordfish/v1/IOStatistics_v1.xml">
279b46bc0bSMyung Bae    <edmx:Include Namespace="IOStatistics"/>
289b46bc0bSMyung Bae  </edmx:Reference>
299b46bc0bSMyung Bae  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
309b46bc0bSMyung Bae    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
319b46bc0bSMyung Bae    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
329b46bc0bSMyung Bae  </edmx:Reference>
339b46bc0bSMyung Bae  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
349b46bc0bSMyung Bae    <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
359b46bc0bSMyung Bae  </edmx:Reference>
369b46bc0bSMyung Bae
379b46bc0bSMyung Bae  <edmx:DataServices>
389b46bc0bSMyung Bae
399b46bc0bSMyung Bae    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="StorageMetrics">
409b46bc0bSMyung Bae      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
419b46bc0bSMyung Bae      <Annotation Term="Redfish.Language" String="en"/>
429b46bc0bSMyung Bae
439b46bc0bSMyung Bae      <EntityType Name="StorageMetrics" BaseType="Resource.v1_0_0.Resource" Abstract="true">
449b46bc0bSMyung Bae        <Annotation Term="OData.Description" String="The usage and health statistics for a storage subsystem."/>
459b46bc0bSMyung Bae        <Annotation Term="OData.LongDescription" String="The `StorageMetrics` schema shall contain the usage and health statistics for a storage subsystem in a Redfish implementation."/>
469b46bc0bSMyung Bae        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
479b46bc0bSMyung Bae        <Annotation Term="Capabilities.InsertRestrictions">
489b46bc0bSMyung Bae          <Record>
499b46bc0bSMyung Bae            <PropertyValue Property="Insertable" Bool="false"/>
509b46bc0bSMyung Bae          </Record>
519b46bc0bSMyung Bae        </Annotation>
529b46bc0bSMyung Bae        <Annotation Term="Capabilities.UpdateRestrictions">
539b46bc0bSMyung Bae          <Record>
549b46bc0bSMyung Bae            <PropertyValue Property="Updatable" Bool="false"/>
559b46bc0bSMyung Bae          </Record>
569b46bc0bSMyung Bae        </Annotation>
579b46bc0bSMyung Bae        <Annotation Term="Capabilities.DeleteRestrictions">
589b46bc0bSMyung Bae          <Record>
599b46bc0bSMyung Bae            <PropertyValue Property="Deletable" Bool="false"/>
609b46bc0bSMyung Bae          </Record>
619b46bc0bSMyung Bae        </Annotation>
629b46bc0bSMyung Bae        <Annotation Term="Redfish.Uris">
639b46bc0bSMyung Bae          <Collection>
649b46bc0bSMyung Bae            <String>/redfish/v1/Storage/{StorageId}/Metrics</String>
659b46bc0bSMyung Bae            <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Metrics</String>
669b46bc0bSMyung Bae            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Metrics</String>
679b46bc0bSMyung Bae            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Metrics</String>
689b46bc0bSMyung Bae            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Metrics</String>
699b46bc0bSMyung Bae            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Metrics</String>
709b46bc0bSMyung Bae          </Collection>
719b46bc0bSMyung Bae        </Annotation>
729b46bc0bSMyung Bae      </EntityType>
739b46bc0bSMyung Bae    </Schema>
749b46bc0bSMyung Bae
759b46bc0bSMyung Bae    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="StorageMetrics.v1_0_0">
769b46bc0bSMyung Bae      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
779b46bc0bSMyung Bae      <Annotation Term="Redfish.Release" String="2024.4"/>
789b46bc0bSMyung Bae
799b46bc0bSMyung Bae      <EntityType Name="StorageMetrics" BaseType="StorageMetrics.StorageMetrics">
809b46bc0bSMyung Bae        <Property Name="Actions" Type="StorageMetrics.v1_0_0.Actions" Nullable="false">
819b46bc0bSMyung Bae          <Annotation Term="OData.Description" String="The available actions for this resource."/>
829b46bc0bSMyung Bae          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
839b46bc0bSMyung Bae        </Property>
849b46bc0bSMyung Bae        <Property Name="CompressionSavingsBytes" Type="Edm.Int64">
859b46bc0bSMyung Bae          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
869b46bc0bSMyung Bae          <Annotation Term="OData.Description" String="Current compression savings on the storage system in bytes."/>
879b46bc0bSMyung Bae          <Annotation Term="OData.LongDescription" String="The value shall represent the current compression savings on the storage system in bytes."/>
889b46bc0bSMyung Bae          <Annotation Term="Measures.Unit" String="By"/>
899b46bc0bSMyung Bae        </Property>
909b46bc0bSMyung Bae        <Property Name="DeduplicationSavingsBytes" Type="Edm.Int64">
919b46bc0bSMyung Bae          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
929b46bc0bSMyung Bae          <Annotation Term="OData.Description" String="Current deduplication savings on the storage system in bytes."/>
939b46bc0bSMyung Bae          <Annotation Term="OData.LongDescription" String="The value shall represent the current deduplication savings on the storage system in bytes."/>
949b46bc0bSMyung Bae          <Annotation Term="Measures.Unit" String="By"/>
959b46bc0bSMyung Bae        </Property>
969b46bc0bSMyung Bae        <Property Name="ThinProvisioningSavingsBytes" Type="Edm.Int64">
979b46bc0bSMyung Bae          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
989b46bc0bSMyung Bae          <Annotation Term="OData.Description" String="Current thin provisioning savings on the storage system in bytes."/>
999b46bc0bSMyung Bae          <Annotation Term="OData.LongDescription" String="The value shall represent the current thin provisioning savings on the storage system in bytes."/>
1009b46bc0bSMyung Bae          <Annotation Term="Measures.Unit" String="By"/>
1019b46bc0bSMyung Bae        </Property>
1029b46bc0bSMyung Bae        <Property Name="IOStatistics" Type="IOStatistics.IOStatistics" Nullable="false">
1039b46bc0bSMyung Bae          <Annotation Term="OData.Description" String="Statistics for this storage system."/>
1049b46bc0bSMyung Bae          <Annotation Term="OData.LongDescription" String="The value shall contain the I/O statistics for this storage system."/>
1059b46bc0bSMyung Bae        </Property>
1069b46bc0bSMyung Bae        <Property Name="StateChangeCount" Type="Edm.Decimal">
1079b46bc0bSMyung Bae          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
1089b46bc0bSMyung Bae          <Annotation Term="OData.Description" String="The number of state changes for this storage subsystem."/>
1099b46bc0bSMyung Bae          <Annotation Term="OData.LongDescription" String="This property shall contain the number of times the `State` property within the `Status` property of the parent `Storage` resource changed."/>
1109b46bc0bSMyung Bae        </Property>
1119b46bc0bSMyung Bae      </EntityType>
1129b46bc0bSMyung Bae
1139b46bc0bSMyung Bae      <ComplexType Name="Actions">
1149b46bc0bSMyung Bae        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
1159b46bc0bSMyung Bae        <Annotation Term="OData.Description" String="The available actions for this resource."/>
1169b46bc0bSMyung Bae        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
1179b46bc0bSMyung Bae        <Property Name="Oem" Type="StorageMetrics.v1_0_0.OemActions" Nullable="false">
1189b46bc0bSMyung Bae          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1199b46bc0bSMyung Bae          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
1209b46bc0bSMyung Bae        </Property>
1219b46bc0bSMyung Bae      </ComplexType>
1229b46bc0bSMyung Bae
1239b46bc0bSMyung Bae      <ComplexType Name="OemActions">
1249b46bc0bSMyung Bae        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
1259b46bc0bSMyung Bae        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
1269b46bc0bSMyung Bae        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
1279b46bc0bSMyung Bae      </ComplexType>
1289b46bc0bSMyung Bae    </Schema>
1299b46bc0bSMyung Bae
1309b46bc0bSMyung Bae  </edmx:DataServices>
1319b46bc0bSMyung Bae</edmx:Edmx>
132