Ed Tanous | 710adfc | 2017-10-24 17:04:52 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <!---->
|
| 3 | <!--################################################################################ -->
|
| 4 | <!--# Redfish Schema: MemoryMetrics v1.1.1-->
|
| 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 -->
|
| 8 | <!--# Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). -->
|
| 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/RedfishExtensions_v1.xml">
|
| 21 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
|
| 22 | </edmx:Reference>
|
| 23 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
|
| 24 | <edmx:Include Namespace="Resource.v1_0_0"/>
|
| 25 | </edmx:Reference>
|
| 26 | <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
|
| 27 | <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
|
| 28 | </edmx:Reference>
|
| 29 |
|
| 30 | <edmx:DataServices>
|
| 31 |
|
| 32 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MemoryMetrics">
|
| 33 |
|
| 34 | <EntityType Name="MemoryMetrics" BaseType="Resource.v1_0_0.Resource" Abstract="true">
|
| 35 | <Annotation Term="OData.Description" String="MemoryMetrics contains usage and health statistics for a single Memory module or device instance."/>
|
| 36 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the Memory Metrics for a single Memory device in a Redfish implementation."/>
|
| 37 | <Annotation Term="OData.AdditionalProperties" Bool="false"/>
|
| 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="false"/>
|
| 46 | </Record>
|
| 47 | </Annotation>
|
| 48 | <Annotation Term="Capabilities.DeleteRestrictions">
|
| 49 | <Record>
|
| 50 | <PropertyValue Property="Deletable" Bool="false"/>
|
| 51 | </Record>
|
| 52 | </Annotation>
|
| 53 | </EntityType>
|
| 54 |
|
| 55 | <Action Name="ClearCurrentPeriod" IsBound="true">
|
| 56 | <Parameter Name="MemoryMetrics" Type="MemoryMetrics.v1_0_0.Actions"/>
|
| 57 | <Annotation Term="OData.Description" String="This sets the CurrentPeriod object values to zero."/>
|
| 58 | <Annotation Term="OData.LongDescription" String="This action shall set the CurrentPeriod object property values to zero."/>
|
| 59 | </Action>
|
| 60 |
|
| 61 | </Schema>
|
| 62 |
|
| 63 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MemoryMetrics.v1_0_0">
|
| 64 |
|
| 65 | <EntityType Name="MemoryMetrics" BaseType="MemoryMetrics.MemoryMetrics">
|
| 66 | <Property Name="BlockSizeBytes" Type="Edm.Int64">
|
| 67 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 68 | <Annotation Term="OData.Description" String="Block size in bytes."/>
|
| 69 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the block size in bytes of all stucture elements."/>
|
| 70 | <Annotation Term="Measures.Unit" String="By"/>
|
| 71 | </Property>
|
| 72 | <Property Name="CurrentPeriod" Type="MemoryMetrics.v1_0_0.CurrentPeriod" Nullable="false">
|
| 73 | <Annotation Term="OData.Description" String="This object describes the central memory of the system in general detail."/>
|
| 74 | <Annotation Term="OData.LongDescription" String="This object shall contain properties which describe the CurrentPeriod metrics for the current resource."/>
|
| 75 | </Property>
|
| 76 | <Property Name="LifeTime" Type="MemoryMetrics.v1_0_0.LifeTime" Nullable="false">
|
| 77 | <Annotation Term="OData.Description" String="This object describes the central memory of the system in general detail."/>
|
| 78 | <Annotation Term="OData.LongDescription" String="This object shall contain properties which describe the LifeTime metrics for the current resource."/>
|
| 79 | </Property>
|
| 80 | <Property Name="HealthData" Type="MemoryMetrics.v1_0_0.HealthData" Nullable="false">
|
| 81 | <Annotation Term="OData.Description" String="This object describes the central memory of the system in general detail."/>
|
| 82 | <Annotation Term="OData.LongDescription" String="This object shall contain properties which describe the HealthData metrics for the current resource."/>
|
| 83 | </Property>
|
| 84 | <Property Name="Actions" Type="MemoryMetrics.v1_0_0.Actions" Nullable="false">
|
| 85 | <Annotation Term="OData.Description" String="The available actions for this resource."/>
|
| 86 | <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
|
| 87 | </Property>
|
| 88 | </EntityType>
|
| 89 |
|
| 90 | <ComplexType Name="CurrentPeriod">
|
| 91 | <Annotation Term="OData.AdditionalProperties" Bool="false"/>
|
| 92 | <Property Name="BlocksRead" Type="Edm.Int64">
|
| 93 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 94 | <Annotation Term="OData.Description" String="Number of blocks read since reset."/>
|
| 95 | <Annotation Term="OData.LongDescription" String="The value of this property shall be number of blocks read since reset."/>
|
| 96 | </Property>
|
| 97 | <Property Name="BlocksWritten" Type="Edm.String">
|
| 98 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 99 | <Annotation Term="OData.Description" String="Number of blocks written since reset."/>
|
| 100 | <Annotation Term="OData.LongDescription" String="The value of this property shall be mumber of blocks written since reset."/>
|
| 101 | </Property>
|
| 102 | <Annotation Term="OData.Description" String="This object contains the Memory metrics since last reset or ClearCurrentPeriod action."/>
|
| 103 | </ComplexType>
|
| 104 |
|
| 105 | <ComplexType Name="LifeTime">
|
| 106 | <Annotation Term="OData.AdditionalProperties" Bool="false"/>
|
| 107 | <Property Name="BlocksRead" Type="Edm.Int64">
|
| 108 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 109 | <Annotation Term="OData.Description" String="Number of blocks read for the lifetime of the Memory."/>
|
| 110 | <Annotation Term="OData.LongDescription" String="The value of this property shall be number of blocks read for the lifetime of the Memory."/>
|
| 111 | </Property>
|
| 112 | <Property Name="BlocksWritten" Type="Edm.String">
|
| 113 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 114 | <Annotation Term="OData.Description" String="Number of blocks written for the lifetime of the Memory."/>
|
| 115 | <Annotation Term="OData.LongDescription" String="The value of this property shall be number of blocks written for the lifetime of the Memory."/>
|
| 116 | </Property>
|
| 117 | <Annotation Term="OData.Description" String="This objects contains the Memory metrics for the lifetime of the Memory."/>
|
| 118 | </ComplexType>
|
| 119 |
|
| 120 | <ComplexType Name="HealthData">
|
| 121 | <Annotation Term="OData.AdditionalProperties" Bool="false"/>
|
| 122 | <Property Name="RemainingSpareBlockPercentage" Type="Edm.Decimal">
|
| 123 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 124 | <Annotation Term="OData.Description" String="Remaining spare blocks in percentage."/>
|
| 125 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the remaining spare blocks in percentage."/>
|
| 126 | </Property>
|
| 127 | <Property Name="LastShutdownSuccess" Type="Edm.Boolean">
|
| 128 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 129 | <Annotation Term="OData.Description" String="Status of last shutdown."/>
|
| 130 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the status ofthe last shutdown, with true indicating success."/>
|
| 131 | </Property>
|
| 132 | <Property Name="DataLossDetected" Type="Edm.Boolean">
|
| 133 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 134 | <Annotation Term="OData.Description" String="Data loss detection status."/>
|
| 135 | <Annotation Term="OData.LongDescription" String="The value of this property shall be data loss detection status, with true indicating data loss detected."/>
|
| 136 | </Property>
|
| 137 | <Property Name="PerformanceDegraded" Type="Edm.Boolean">
|
| 138 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 139 | <Annotation Term="OData.Description" String="Performance degraded mode status."/>
|
| 140 | <Annotation Term="OData.LongDescription" String="The value of this property shall be verformance degraded mode status, with true indicating perfomance degraded."/>
|
| 141 | </Property>
|
| 142 | <Property Name="AlarmTrips" Type="MemoryMetrics.v1_0_0.AlarmTrips" Nullable="false">
|
| 143 | <Annotation Term="OData.Description" String="Alarm trip information about the memory."/>
|
| 144 | <Annotation Term="OData.LongDescription" String="This object shall contain properties describe the types of alarms that have been raised by the memory."/>
|
| 145 | </Property>
|
| 146 | </ComplexType>
|
| 147 |
|
| 148 | <ComplexType Name="AlarmTrips">
|
| 149 | <Annotation Term="OData.AdditionalProperties" Bool="false"/>
|
| 150 | <Property Name="Temperature" Type="Edm.Boolean">
|
| 151 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 152 | <Annotation Term="OData.Description" String="Temperature threshold crossing alarm trip detected status."/>
|
| 153 | <Annotation Term="OData.LongDescription" String="The value of this property shall be true if a temperature threshold alarm trip was detected."/>
|
| 154 | </Property>
|
| 155 | <Property Name="SpareBlock" Type="Edm.Boolean">
|
| 156 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 157 | <Annotation Term="OData.Description" String="Spare block capacity crossing alarm trip detected status."/>
|
| 158 | <Annotation Term="OData.LongDescription" String="The value of this property shall be true if the spare block capacity crossing alarm trip was detected."/>
|
| 159 | </Property>
|
| 160 | <Property Name="UncorrectableECCError" Type="Edm.Boolean">
|
| 161 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 162 | <Annotation Term="OData.Description" String="Uncorrectable data error threshold crossing alarm trip detected status."/>
|
| 163 | <Annotation Term="OData.LongDescription" String="The value of this property shall be true if the uncorrectable error threshold alarm trip was detected."/>
|
| 164 | </Property>
|
| 165 | <Property Name="CorrectableECCError" Type="Edm.Boolean">
|
| 166 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 167 | <Annotation Term="OData.Description" String="Correctable data error threshold crossing alarm trip detected status."/>
|
| 168 | <Annotation Term="OData.LongDescription" String="The value of this property shall be true if the correctable error threshold crossing alarm trip was detected."/>
|
| 169 | </Property>
|
| 170 | <Property Name="AddressParityError" Type="Edm.Boolean">
|
| 171 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 172 | <Annotation Term="OData.Description" String="Address parity error detected status."/>
|
| 173 | <Annotation Term="OData.LongDescription" String="The value of this property shall be true if an Address Parity Error was detected which could not be corrected by retry."/>
|
| 174 | </Property>
|
| 175 | </ComplexType>
|
| 176 |
|
| 177 | <ComplexType Name="Actions">
|
| 178 | <Annotation Term="OData.AdditionalProperties" Bool="false"/>
|
| 179 | <Property Name="Oem" Type="MemoryMetrics.v1_0_0.OemActions" Nullable="false"/>
|
| 180 | </ComplexType>
|
| 181 |
|
| 182 | <ComplexType Name="OemActions">
|
| 183 | <Annotation Term="OData.AdditionalProperties" Bool="true"/>
|
| 184 | </ComplexType>
|
| 185 |
|
| 186 | </Schema>
|
| 187 |
|
| 188 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MemoryMetrics.v1_0_1">
|
| 189 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 190 | <EntityType Name="MemoryMetrics" BaseType="MemoryMetrics.v1_0_0.MemoryMetrics"/>
|
| 191 | </Schema>
|
| 192 |
|
| 193 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MemoryMetrics.v1_1_0">
|
| 194 | <EntityType Name="MemoryMetrics" BaseType="MemoryMetrics.v1_0_0.MemoryMetrics"/>
|
| 195 |
|
| 196 | <ComplexType Name="HealthData" BaseType="MemoryMetrics.v1_0_0.HealthData">
|
| 197 | <Property Name="PredictedMediaLifeLeftPercent" Type="Edm.Decimal">
|
| 198 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 199 | <Annotation Term="OData.Description" String="The percentage of reads and writes that are predicted to still be available for the media."/>
|
| 200 | <Annotation Term="OData.LongDescription" String="This property shall contain an indicator of the percentage of life remaining in the media."/>
|
| 201 | </Property>
|
| 202 | </ComplexType>
|
| 203 | </Schema>
|
| 204 |
|
| 205 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MemoryMetrics.v1_1_1">
|
| 206 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 207 | <EntityType Name="MemoryMetrics" BaseType="MemoryMetrics.v1_1_0.MemoryMetrics"/>
|
| 208 | </Schema>
|
| 209 |
|
| 210 | </edmx:DataServices>
|
| 211 | </edmx:Edmx>
|