Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 4 | <!--# Redfish Schema: MetricDefinition v1.1.0 --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 5 | <!--# --> |
| 6 | <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> |
| 7 | <!--# available at http://www.dmtf.org/standards/redfish --> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 8 | <!--# Copyright 2014-2020 DMTF. --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 9 | <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> |
| 10 | <!--################################################################################ --> |
| 11 | <!----> |
| 12 | <edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> |
| 13 | |
| 14 | <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> |
| 15 | <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> |
| 16 | </edmx:Reference> |
| 17 | <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml"> |
| 18 | <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/> |
| 19 | </edmx:Reference> |
| 20 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> |
| 21 | <edmx:Include Namespace="Resource.v1_0_0"/> |
| 22 | </edmx:Reference> |
| 23 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> |
| 24 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
| 25 | </edmx:Reference> |
| 26 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PhysicalContext_v1.xml"> |
| 27 | <edmx:Include Namespace="PhysicalContext"/> |
| 28 | </edmx:Reference> |
| 29 | |
| 30 | <edmx:DataServices> |
| 31 | |
| 32 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricDefinition"> |
| 33 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 34 | |
| 35 | <EntityType Name="MetricDefinition" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 36 | <Annotation Term="OData.Description" String="The MetricDefinition schema describes the metadata information for a metric."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 37 | <Annotation Term="OData.LongDescription" String="This resource shall contain the metadata information for a metric in a Redfish implementation."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 38 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 39 | <Record> |
| 40 | <PropertyValue Property="Insertable" Bool="false"/> |
| 41 | </Record> |
| 42 | </Annotation> |
| 43 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 44 | <Record> |
| 45 | <PropertyValue Property="Updatable" Bool="true"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 46 | <Annotation Term="OData.Description" String="Any writable properties can be updated for metric definitions."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 47 | </Record> |
| 48 | </Annotation> |
| 49 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 50 | <Record> |
| 51 | <PropertyValue Property="Deletable" Bool="true"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 52 | <Annotation Term="OData.Description" String="The metric definitions can be deleted."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 53 | </Record> |
| 54 | </Annotation> |
| 55 | <Annotation Term="Redfish.Uris"> |
| 56 | <Collection> |
| 57 | <String>/redfish/v1/TelemetryService/MetricDefinitions/{MetricDefinitionId}</String> |
| 58 | </Collection> |
| 59 | </Annotation> |
| 60 | </EntityType> |
| 61 | </Schema> |
| 62 | |
| 63 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricDefinition.v1_0_0"> |
| 64 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 65 | <Annotation Term="Redfish.Release" String="2018.2"/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 66 | |
| 67 | <EnumType Name="MetricType"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 68 | <Annotation Term="OData.Description" String="The type of metric. Provides information to the client on how the metric can be handled."/> |
| 69 | <Annotation Term="OData.LongDescription" String="This property shall contain the type of metric."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 70 | <Member Name="Numeric"> |
| 71 | <Annotation Term="OData.Description" String="The metric is a numeric metric. The metric value is any real number."/> |
| 72 | </Member> |
| 73 | <Member Name="Discrete"> |
| 74 | <Annotation Term="OData.Description" String="The metric is a discrete metric. The metric value is discrete. The possible values are listed in the DiscreteValues property."/> |
| 75 | <Annotation Term="OData.LongDescription" String="The metric values shall indicate discrete states."/> |
| 76 | </Member> |
| 77 | <Member Name="Gauge"> |
| 78 | <Annotation Term="OData.Description" String="The metric is a gauge metric. The metric value is a real number. When the metric value reaches the gauges extrema, it stays at that value, until the reading falls within the extrema."/> |
| 79 | </Member> |
| 80 | <Member Name="Counter"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 81 | <Annotation Term="OData.Description" String="The metric is a counter metric. The metric reading is a non-negative integer that increases monotonically. When a counter reaches its maximum, the value resets to 0 and resumes counting."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 82 | </Member> |
| 83 | <Member Name="Countdown"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 84 | <Annotation Term="OData.Description" String="The metric is a countdown metric. The metric reading is a non-negative integer that decreases monotonically. When a counter reaches its minimum, the value resets to preset value and resumes counting down."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 85 | </Member> |
| 86 | </EnumType> |
| 87 | |
| 88 | <EnumType Name="ImplementationType"> |
| 89 | <Member Name="PhysicalSensor"> |
| 90 | <Annotation Term="OData.Description" String="The metric is implemented as a physical sensor."/> |
| 91 | </Member> |
| 92 | <Member Name="Calculated"> |
| 93 | <Annotation Term="OData.Description" String="The metric is implemented by applying a calculation on another metric property. The calculation is specified in the CalculationAlgorithm property."/> |
| 94 | </Member> |
| 95 | <Member Name="Synthesized"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 96 | <Annotation Term="OData.Description" String="The metric is implemented by applying a calculation on one or more metric properties. The calculation is not provided."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 97 | </Member> |
| 98 | <Member Name="DigitalMeter"> |
| 99 | <Annotation Term="OData.Description" String="The metric is implemented as digital meter."/> |
| 100 | </Member> |
| 101 | </EnumType> |
| 102 | |
| 103 | <EnumType Name="MetricDataType"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 104 | <Annotation Term="OData.Description" String="The data type of the related metric values. Provides information to the client on the nature of the metric reading."/> |
| 105 | <Annotation Term="OData.LongDescription" String="This type shall describe the data type of the related metric values as defined by JSON data types."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 106 | <Member Name="Boolean"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 107 | <Annotation Term="OData.Description" String="The JSON boolean definition."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 108 | </Member> |
| 109 | <Member Name="DateTime"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 110 | <Annotation Term="OData.Description" String="The JSON string definition with the date-time format."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 111 | </Member> |
| 112 | <Member Name="Decimal"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 113 | <Annotation Term="OData.Description" String="The JSON decimal definition."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 114 | </Member> |
| 115 | <Member Name="Integer"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 116 | <Annotation Term="OData.Description" String="The JSON integer definition."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 117 | </Member> |
| 118 | <Member Name="String"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 119 | <Annotation Term="OData.Description" String="The JSON string definition."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 120 | </Member> |
| 121 | <Member Name="Enumeration"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 122 | <Annotation Term="OData.Description" String="The JSON string definition with a set of defined enumerations."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 123 | </Member> |
| 124 | </EnumType> |
| 125 | |
| 126 | <EnumType Name="Calculable"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 127 | <Annotation Term="OData.Description" String="The types of calculations that can be applied to the metric reading. Provides information to the client on the suitability of calculation using the metric reading."/> |
| 128 | <Annotation Term="OData.LongDescription" String="The type shall describe the types of calculations that can be applied to the metric reading."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 129 | <Member Name="NonCalculatable"> |
| 130 | <Annotation Term="OData.Description" String="No calculations should be performed on the metric reading."/> |
| 131 | </Member> |
| 132 | <Member Name="Summable"> |
| 133 | <Annotation Term="OData.Description" String="The sum of the metric reading across multiple instances is meaningful."/> |
| 134 | </Member> |
| 135 | <Member Name="NonSummable"> |
| 136 | <Annotation Term="OData.Description" String="The sum of the metric reading across multiple instances is not meaningful."/> |
| 137 | </Member> |
| 138 | </EnumType> |
| 139 | |
| 140 | <EntityType Name="MetricDefinition" BaseType="MetricDefinition.MetricDefinition"> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 141 | <Property Name="MetricType" Type="MetricDefinition.v1_0_0.MetricType"> |
| 142 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 143 | <Annotation Term="OData.Description" String="The type of metric."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 144 | <Annotation Term="OData.LongDescription" String="This property shall specify the type of metric."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 145 | </Property> |
| 146 | <Property Name="MetricDataType" Type="MetricDefinition.v1_0_0.MetricDataType"> |
| 147 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 148 | <Annotation Term="OData.Description" String="The data type of the metric."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 149 | <Annotation Term="OData.LongDescription" String="This property shall specify the data-type of the metric."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 150 | </Property> |
| 151 | <Property Name="Units" Type="Edm.String"> |
| 152 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 153 | <Annotation Term="OData.Description" String="The units of measure for this metric."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 154 | <Annotation Term="OData.LongDescription" String="This property shall specify the units of the metric. This property shall be consistent with the case-sensitive ('C/s' column) Unified Code for Units of Measure. Note: Not all units of measured are covered by UCUM."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 155 | </Property> |
| 156 | <Property Name="Implementation" Type="MetricDefinition.v1_0_0.ImplementationType"> |
| 157 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 158 | <Annotation Term="OData.Description" String="The implementation of the metric."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 159 | <Annotation Term="OData.LongDescription" String="This property shall specify the implementation of the metric."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 160 | </Property> |
| 161 | <Property Name="Calculable" Type="MetricDefinition.v1_0_0.Calculable"> |
| 162 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 163 | <Annotation Term="OData.Description" String="An indication of whether the metric can be used in a calculation."/> |
| 164 | <Annotation Term="OData.LongDescription" String="This property shall specify whether the metric can be used in a calculation."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 165 | </Property> |
| 166 | <Property Name="IsLinear" Type="Edm.Boolean"> |
| 167 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 168 | <Annotation Term="OData.Description" String="An indication of whether the metric values are linear versus non-linear."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 169 | <Annotation Term="OData.LongDescription" String="This property shall indicate whether the metric values are linear versus non-linear. Linear metrics can use a greater than relation to compared them. An example of linear metrics include performance metrics. Examples of non-linear metrics include error codes."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 170 | </Property> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 171 | <Property Name="Wildcards" Type="Collection(MetricDefinition.v1_0_0.Wildcard)" Nullable="false"> |
| 172 | <Annotation Term="OData.Description" String="The wildcards and their substitution values for the entries in the MetricProperties array property."/> |
| 173 | <Annotation Term="OData.LongDescription" String="The property shall contain a list of wildcards and their replacement strings, which are applied to the MetricProperties array property. Each wildcard shall have a corresponding entry in this array property."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 174 | </Property> |
| 175 | <Property Name="MetricProperties" Type="Collection(Edm.String)"> |
| 176 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 177 | <Annotation Term="OData.Description" String="The list of URIs with wildcards and property identifiers that this metric definition defines. If a URI has wildcards, the wildcards are substituted as specified in the Wildcards array property."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 178 | <Annotation Term="OData.LongDescription" String="This array property shall list the URIs with wildcards and property identifiers that this metric defines. A set of curly braces shall delimit each wildcard in the URI. The corresponding entry in the Wildcard property shall replace each wildcard. After a URI with wildcards replaces its wildcards, it shall identify a resource property to which the metric definition applies. The property identifiers portion of the URI shall follow RFC6901-defined JSON fragment notation rules."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 179 | <Annotation Term="OData.IsURL"/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 180 | </Property> |
| 181 | |
| 182 | <Property Name="CalculationParameters" Type="Collection(MetricDefinition.v1_0_0.CalculationParamsType)"> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 183 | <Annotation Term="OData.Description" String="The metric properties that are part of a calculation."/> |
| 184 | <Annotation Term="OData.LongDescription" String="This property shall list the metric properties that are part of a calculation. This property should be present when the value of the ImplementationType property is `Synthesized or `Calculated`."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 185 | </Property> |
| 186 | |
| 187 | <Property Name="PhysicalContext" Type="PhysicalContext.PhysicalContext"> |
| 188 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 189 | <Annotation Term="OData.Description" String="The physical context of the metric."/> |
| 190 | <Annotation Term="OData.LongDescription" String="This property shall contain the physical context of the metric."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 191 | </Property> |
| 192 | <Property Name="SensingInterval" Type="Edm.Duration"> |
| 193 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 194 | <Annotation Term="OData.Description" String="The time interval between when a metric is updated."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 195 | <Annotation Term="OData.LongDescription" String="This property shall specify the time interval between when a metric is updated."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 196 | </Property> |
| 197 | <Property Name="DiscreteValues" Type="Collection(Edm.String)"> |
| 198 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 199 | <Annotation Term="OData.Description" String="This array property specifies possible values of a discrete metric."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 200 | <Annotation Term="OData.LongDescription" String="The values of the property shall specify the possible values of the discrete metic. This property shall have values when the MetricType property is `Discrete`."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 201 | </Property> |
| 202 | |
| 203 | <Property Name="Precision" Type="Edm.Int64"> |
| 204 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 205 | <Annotation Term="OData.Description" String="Number of significant digits in the metric reading."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 206 | <Annotation Term="OData.LongDescription" String="This property shall specify the number of significant digits in the metric reading. The property is not meaningful when the MetricType property is `Discrete`."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 207 | </Property> |
| 208 | <Property Name="Accuracy" Type="Edm.Decimal"> |
| 209 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 210 | <Annotation Term="OData.Description" String="The estimated percent error of measured versus actual values."/> |
| 211 | <Annotation Term="OData.LongDescription" String="This property shall contain the percent error +/- of the measured versus actual values. The property is not meaningful when the MetricType property is `Discrete`."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 212 | </Property> |
| 213 | <Property Name="Calibration" Type="Edm.Decimal"> |
| 214 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 215 | <Annotation Term="OData.Description" String="The calibration offset added to the metric reading."/> |
| 216 | <Annotation Term="OData.LongDescription" String="This property shall contain the calibration offset added to the metric reading. The value shall have the units specified in the Units property. The property is not meaningful when the MetricType property is `Discrete`."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 217 | </Property> |
| 218 | <Property Name="TimestampAccuracy" Type="Edm.Duration"> |
| 219 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 220 | <Annotation Term="OData.Description" String="The accuracy of the timestamp."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 221 | <Annotation Term="OData.LongDescription" String="This property shall specify the expected + or - variability of the timestamp."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 222 | </Property> |
| 223 | <Property Name="MinReadingRange" Type="Edm.Decimal"> |
| 224 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 225 | <Annotation Term="OData.Description" String="Minimum value for metric reading."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 226 | <Annotation Term="OData.LongDescription" String="This property shall contain the lowest possible value for the metric reading. The value shall have the units specified in the property Units. The property is not meaningful when the MetricType property is `Discrete`."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 227 | </Property> |
| 228 | <Property Name="MaxReadingRange" Type="Edm.Decimal"> |
| 229 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 230 | <Annotation Term="OData.Description" String="Maximum value for metric reading."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 231 | <Annotation Term="OData.LongDescription" String="The value shall indicate the highest possible value for a related MetricValue. The value shall have the units specified in the property Units. The property is not meaningful when the MetricType property is `Discrete`."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 232 | </Property> |
| 233 | <Property Name="CalculationAlgorithm" Type="MetricDefinition.v1_0_0.CalculationAlgorithmEnum"> |
| 234 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 235 | <Annotation Term="OData.Description" String="The calculation that is performed on a source metric to obtain the metric being defined."/> |
| 236 | <Annotation Term="OData.LongDescription" String="This property shall contain the calculation performed to obtain the metric."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 237 | </Property> |
| 238 | <Property Name="CalculationTimeInterval" Type="Edm.Duration"> |
| 239 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 240 | <Annotation Term="OData.Description" String="The time interval over which the metric calculation is performed."/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 241 | <Annotation Term="OData.LongDescription" String="This property shall specify the time interval over the metric calculation is performed."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 242 | </Property> |
| 243 | <Property Name="Actions" Type="MetricDefinition.v1_0_0.Actions" Nullable="false"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 244 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 245 | <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 246 | </Property> |
| 247 | </EntityType> |
| 248 | |
| 249 | <ComplexType Name="CalculationParamsType"> |
| 250 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 251 | <Annotation Term="OData.Description" String="The usage of the parameter in the calculation."/> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 252 | <Annotation Term="OData.LongDescription" String="The list element shall contain the usage of the parameter in the calculation."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 253 | <Property Name="SourceMetric" Type="Edm.String"> |
| 254 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 255 | <Annotation Term="OData.Description" String="The metric property used as the input into the calculation. If the link has wildcards, the wildcards are substituted as specified in the Wildcards array property."/> |
| 256 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to a metric property used in a calcuation. A set of curly braces shall delimit each wildcard in the URI. The corresponding entry in the Wildcard property shall replace each wildcard. After a URI with wildcards replaces its wildcards, it shall identify a resource property to which the metric definition applies. The property identifiers portion of the URI shall follow RFC6901-defined JSON fragment notation rules."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 257 | </Property> |
| 258 | <Property Name="ResultMetric" Type="Edm.String"> |
| 259 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 260 | <Annotation Term="OData.Description" String="The link to a metric property that stores the result of the calculation. If the link has wildcards, the wildcards are substituted as specified in the Wildcards array property."/> |
| 261 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to a metric property that stores the result of the calcuation. A set of curly braces shall delimit each wildcard in the URI. The corresponding entry in the Wildcard property shall replace each wildcard. After a URI with wildcards replaces its wildcards, it shall identify a resource property to which the metric definition applies. The property identifiers portion of the URI shall follow RFC6901-defined JSON fragment notation rules."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 262 | </Property> |
| 263 | </ComplexType> |
| 264 | |
| 265 | <ComplexType Name="Wildcard"> |
| 266 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 267 | <Annotation Term="OData.Description" String="The wildcard and its substitution values."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 268 | <Annotation Term="OData.LongDescription" String="This property shall contain a wildcard and its substitution values."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 269 | <Property Name="Name" Type="Edm.String"> |
| 270 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 271 | <Annotation Term="OData.Description" String="The string used as a wildcard."/> |
| 272 | <Annotation Term="OData.LongDescription" String="This property shall contain the string used as a wildcard."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 273 | </Property> |
| 274 | <Property Name="Values" Type="Collection(Edm.String)"> |
| 275 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 276 | <Annotation Term="OData.Description" String="An array of values to substitute for the wildcard."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 277 | <Annotation Term="OData.LongDescription" String="This property shall contain the list of values to substitute for the wildcard."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 278 | </Property> |
| 279 | </ComplexType> |
| 280 | |
| 281 | <EnumType Name="CalculationAlgorithmEnum"> |
| 282 | <Member Name="Average"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 283 | <Annotation Term="OData.Description" String="The metric is calculated as the average metric reading over a sliding time interval."/> |
| 284 | <Annotation Term="OData.LongDescription" String="The metric shall be calculated as the average metric reading over a sliding time interval. The time interval shall contain the CalculationTimeInterval property value."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 285 | </Member> |
| 286 | <Member Name="Maximum"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 287 | <Annotation Term="OData.Description" String="The metric is calculated as the maximum metric reading over during a time interval."/> |
| 288 | <Annotation Term="OData.LongDescription" String="The metric shall be calculated as the maximum metric reading over a sliding time interval. The time interval shall contain the CalculationTimeInterval property value."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 289 | </Member> |
| 290 | <Member Name="Minimum"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 291 | <Annotation Term="OData.Description" String="The metric is calculated as the minimum metric reading over a sliding time interval."/> |
| 292 | <Annotation Term="OData.LongDescription" String="The metric shall be calculated as the minimum metric reading over a sliding time interval. The time interval shall contain the CalculationTimeInterval property value."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 293 | </Member> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 294 | <Member Name="OEM"> |
| 295 | <Annotation Term="OData.Description" String="The metric is calculated as specified by an OEM."/> |
| 296 | <Annotation Term="OData.LongDescription" String="The metric shall be calculated as specified by an OEM. The OEMCalculationAlgorithm property shall contain the specific OEM calculation algorithm."/> |
| 297 | <Annotation Term="Redfish.Revisions"> |
| 298 | <Collection> |
| 299 | <Record> |
| 300 | <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/> |
| 301 | <PropertyValue Property="Version" String="v1_1_0"/> |
| 302 | </Record> |
| 303 | </Collection> |
| 304 | </Annotation> |
| 305 | </Member> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 306 | </EnumType> |
| 307 | |
| 308 | <ComplexType Name="Actions"> |
| 309 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 310 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 311 | <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 312 | <Property Name="Oem" Type="MetricDefinition.v1_0_0.OemActions" Nullable="false"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 313 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> |
| 314 | <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 315 | </Property> |
| 316 | </ComplexType> |
| 317 | |
| 318 | <ComplexType Name="OemActions"> |
| 319 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 320 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> |
| 321 | <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 322 | </ComplexType> |
| 323 | </Schema> |
| 324 | |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 325 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricDefinition.v1_0_1"> |
| 326 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 327 | <Annotation Term="OData.Description" String="This version was created to clarify descriptions of several properties."/> |
| 328 | <EntityType Name="MetricDefinition" BaseType="MetricDefinition.v1_0_0.MetricDefinition"/> |
| 329 | </Schema> |
| 330 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 331 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricDefinition.v1_0_2"> |
| 332 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 333 | <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format, and to add a missing term to several properties to disallow them from being null."/> |
| 334 | <EntityType Name="MetricDefinition" BaseType="MetricDefinition.v1_0_1.MetricDefinition"/> |
| 335 | </Schema> |
| 336 | |
| 337 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricDefinition.v1_0_3"> |
| 338 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 339 | <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> |
| 340 | <EntityType Name="MetricDefinition" BaseType="MetricDefinition.v1_0_2.MetricDefinition"/> |
| 341 | </Schema> |
| 342 | |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 343 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricDefinition.v1_0_4"> |
| 344 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 345 | <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> |
| 346 | <EntityType Name="MetricDefinition" BaseType="MetricDefinition.v1_0_3.MetricDefinition"/> |
| 347 | </Schema> |
| 348 | |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 349 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricDefinition.v1_0_5"> |
| 350 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 351 | <Annotation Term="OData.Description" String="This version was created to update the descriptions for CalculationParameters."/> |
| 352 | <EntityType Name="MetricDefinition" BaseType="MetricDefinition.v1_0_4.MetricDefinition"/> |
| 353 | </Schema> |
| 354 | |
| 355 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricDefinition.v1_1_0"> |
| 356 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 357 | <Annotation Term="Redfish.Release" String="2020.3"/> |
| 358 | <Annotation Term="OData.Description" String="This version was created to remove to add `OEM` to CalculationAlgorithm."/> |
| 359 | |
| 360 | <EntityType Name="MetricDefinition" BaseType="MetricDefinition.v1_0_5.MetricDefinition"> |
| 361 | <Property Name="OEMCalculationAlgorithm" Type="Edm.String"> |
| 362 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 363 | <Annotation Term="OData.Description" String="The OEM-defined calculation that is performed on a source metric to obtain the metric being defined."/> |
| 364 | <Annotation Term="OData.LongDescription" String="This property shall contain the OEM-defined calculation performed to obtain the metric. This property shall be present if CalculationAlgorithm is `OEM`."/> |
| 365 | </Property> |
| 366 | </EntityType> |
| 367 | </Schema> |
| 368 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 369 | </edmx:DataServices> |
| 370 | </edmx:Edmx> |