Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 4 | <!--# Redfish Schema: MetricReport v1.2.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 --> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 8 | <!--# Copyright 2014-2019 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"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 21 | <edmx:Include Namespace="Resource"/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 22 | <edmx:Include Namespace="Resource.v1_0_0"/> |
| 23 | </edmx:Reference> |
| 24 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> |
| 25 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
| 26 | </edmx:Reference> |
| 27 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/MetricReportDefinition_v1.xml"> |
| 28 | <edmx:Include Namespace="MetricReportDefinition"/> |
| 29 | </edmx:Reference> |
| 30 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/MetricDefinition_v1.xml"> |
| 31 | <edmx:Include Namespace="MetricDefinition"/> |
| 32 | </edmx:Reference> |
| 33 | |
| 34 | <edmx:DataServices> |
| 35 | |
| 36 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport"> |
| 37 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 38 | |
| 39 | <EntityType Name="MetricReport" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 40 | <Annotation Term="OData.Description" String="The metric definitions that create a metric report."/> |
| 41 | <Annotation Term="OData.LongDescription" String="The definition for this metric report."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 42 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 43 | <Record> |
| 44 | <PropertyValue Property="Insertable" Bool="false"/> |
| 45 | </Record> |
| 46 | </Annotation> |
| 47 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 48 | <Record> |
| 49 | <PropertyValue Property="Updatable" Bool="false"/> |
| 50 | </Record> |
| 51 | </Annotation> |
| 52 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 53 | <Record> |
| 54 | <PropertyValue Property="Deletable" Bool="true"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 55 | <Annotation Term="OData.Description" String="Metric reports can be deleted."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 56 | </Record> |
| 57 | </Annotation> |
| 58 | <Annotation Term="Redfish.Uris"> |
| 59 | <Collection> |
| 60 | <String>/redfish/v1/TelemetryService/MetricReports/{MetricReportId}</String> |
| 61 | </Collection> |
| 62 | </Annotation> |
| 63 | </EntityType> |
| 64 | </Schema> |
| 65 | |
| 66 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_0"> |
| 67 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 68 | <Annotation Term="Redfish.Release" String="2018.2"/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 69 | |
| 70 | <EntityType Name="MetricReport" BaseType="MetricReport.MetricReport"> |
| 71 | <NavigationProperty Name="MetricReportDefinition" Type="MetricReportDefinition.MetricReportDefinition" Nullable="false"> |
| 72 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 73 | <Annotation Term="OData.Description" String="The definitions in the metric report."/> |
| 74 | <Annotation Term="OData.LongDescription" String="The definitions in this metric report."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 75 | <Annotation Term="OData.AutoExpandReferences"/> |
| 76 | </NavigationProperty> |
| 77 | <Property Name="ReportSequence" Type="Edm.String" Nullable="false"> |
| 78 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 79 | <Annotation Term="OData.Description" String="The current sequence identifier for this metric report."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 80 | <Annotation Term="OData.LongDescription" String="This property shall contain the current sequence identifier for this metric report."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 81 | <Annotation Term="Redfish.Required"/> |
| 82 | </Property> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 83 | <Property Name="MetricValues" Type="Collection(MetricReport.v1_0_0.MetricValue)" Nullable="false"> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 84 | <Annotation Term="OData.Description" String="An array of metric values for the metered items of this Metric."/> |
| 85 | <Annotation Term="OData.LongDescription" String="The values shall be metric values for this MetricReport."/> |
| 86 | </Property> |
| 87 | <Property Name="Actions" Type="MetricReport.v1_0_0.Actions" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 88 | <Annotation Term="OData.Description" String="The available actions for this Resource."/> |
| 89 | <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] | 90 | </Property> |
| 91 | </EntityType> |
| 92 | |
| 93 | <ComplexType Name="MetricValue"> |
| 94 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 95 | <Annotation Term="OData.Description" String="A metric Value."/> |
| 96 | <Annotation Term="OData.LongDescription" String="A metric value in the context of a Metric."/> |
| 97 | <Property Name="MetricId" Type="Edm.String"> |
| 98 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 99 | <Annotation Term="OData.Description" String="The metric definitions identifier for this metric."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 100 | <Annotation Term="OData.LongDescription" String="This property shall contain the same as the Id property of the source metric within the associated MetricDefinition."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 101 | </Property> |
| 102 | <Property Name="MetricValue" Type="Edm.String"> |
| 103 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 104 | <Annotation Term="OData.Description" String="The metric value, as a string."/> |
| 105 | <Annotation Term="OData.LongDescription" String="This property shall contain the metric value, as a string."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 106 | </Property> |
| 107 | <Property Name="Timestamp" Type="Edm.DateTimeOffset"> |
| 108 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 109 | <Annotation Term="OData.Description" String="The time when the metric is obtained. A management application may establish a time series of metric data by retrieving the instances of metric value and sorting them according to their Timestamp."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 110 | <Annotation Term="OData.LongDescription" String="The value shall time when the metric value was obtained. Note that this may be different from the time when this instance is created."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 111 | </Property> |
| 112 | <Property Name="MetricProperty" Type="Edm.String"> |
| 113 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 114 | <Annotation Term="OData.Description" String="The URI for the property from which this metric is derived."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 115 | <Annotation Term="OData.LongDescription" String="The value shall be URI to the property following the JSON fragment notation, as defined by RFC6901, to identify an individual property in a Redfish Resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 116 | <Annotation Term="OData.IsURL"/> |
| 117 | </Property> |
| 118 | <NavigationProperty Name="MetricDefinition" Type="MetricDefinition.MetricDefinition" Nullable="false"> |
| 119 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 120 | <Annotation Term="OData.Description" String="The link to the metric."/> |
| 121 | <Annotation Term="OData.LongDescription" String="The Metric Definition Resource that describes what this Metric Report captures."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 122 | <Annotation Term="OData.AutoExpandReferences"/> |
| 123 | </NavigationProperty> |
| 124 | </ComplexType> |
| 125 | |
| 126 | <ComplexType Name="Actions"> |
| 127 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 128 | <Annotation Term="OData.Description" String="The available actions for this Resource."/> |
| 129 | <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] | 130 | <Property Name="Oem" Type="MetricReport.v1_0_0.OemActions" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 131 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/> |
| 132 | <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] | 133 | </Property> |
| 134 | </ComplexType> |
| 135 | |
| 136 | <ComplexType Name="OemActions"> |
| 137 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 138 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/> |
| 139 | <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] | 140 | </ComplexType> |
| 141 | </Schema> |
| 142 | |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 143 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_1"> |
| 144 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 145 | <Annotation Term="OData.Description" String="This version was created to clarify descriptions of several properties."/> |
| 146 | <EntityType Name="MetricReport" BaseType="MetricReport.v1_0_0.MetricReport"/> |
| 147 | </Schema> |
| 148 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 149 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_2"> |
| 150 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 151 | <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 MetricValues to disallow it from being null."/> |
| 152 | <EntityType Name="MetricReport" BaseType="MetricReport.v1_0_1.MetricReport"/> |
| 153 | </Schema> |
| 154 | |
| 155 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_3"> |
| 156 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 157 | <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> |
| 158 | <EntityType Name="MetricReport" BaseType="MetricReport.v1_0_2.MetricReport"/> |
| 159 | </Schema> |
| 160 | |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 161 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_1_0"> |
| 162 | <Annotation Term="OData.Description" String="This version was created to add a TimeStamp property for the metric report in its entirety."/> |
| 163 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 164 | <Annotation Term="Redfish.Release" String="2018.3"/> |
| 165 | <EntityType Name="MetricReport" BaseType="MetricReport.v1_0_1.MetricReport"> |
| 166 | <Property Name="Timestamp" Type="Edm.DateTimeOffset"> |
| 167 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 168 | <Annotation Term="OData.Description" String="The time associated with the metric report in its entirety. The time of the metric report may be relevant when the time of individual metrics are minimally different."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 169 | <Annotation Term="OData.LongDescription" String="This property shall contain the time when the metric report was generated."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 170 | </Property> |
| 171 | </EntityType> |
| 172 | </Schema> |
| 173 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 174 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_1_1"> |
| 175 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 176 | <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 MetricValues to disallow it from being null."/> |
| 177 | <EntityType Name="MetricReport" BaseType="MetricReport.v1_1_0.MetricReport"/> |
| 178 | </Schema> |
| 179 | |
| 180 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_1_2"> |
| 181 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 182 | <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> |
| 183 | <EntityType Name="MetricReport" BaseType="MetricReport.v1_1_1.MetricReport"/> |
| 184 | </Schema> |
| 185 | |
| 186 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_2_0"> |
| 187 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 188 | <Annotation Term="Redfish.Release" String="2019.2"/> |
| 189 | |
| 190 | <EntityType Name="MetricReport" BaseType="MetricReport.v1_1_2.MetricReport"/> |
| 191 | |
| 192 | <ComplexType Name="MetricValue" BaseType="MetricReport.v1_0_0.MetricValue"> |
| 193 | <Property Name="Oem" Type="Resource.Oem" Nullable="false"> |
| 194 | <Annotation Term="OData.Description" String="The OEM extension property."/> |
| 195 | <Annotation Term="OData.LongDescription" String="This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."/> |
| 196 | </Property> |
| 197 | </ComplexType> |
| 198 | </Schema> |
| 199 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 200 | </edmx:DataServices> |
| 201 | </edmx:Edmx> |