Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame^] | 4 | <!--# Redfish Schema: MetricReport 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 --> |
| 8 | <!--# Copyright 2014-2018 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/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/MetricReportDefinition_v1.xml"> |
| 27 | <edmx:Include Namespace="MetricReportDefinition"/> |
| 28 | </edmx:Reference> |
| 29 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/MetricDefinition_v1.xml"> |
| 30 | <edmx:Include Namespace="MetricDefinition"/> |
| 31 | </edmx:Reference> |
| 32 | |
| 33 | <edmx:DataServices> |
| 34 | |
| 35 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport"> |
| 36 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 37 | |
| 38 | <EntityType Name="MetricReport" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| 39 | <Annotation Term="OData.Description" String="The metric definitions used to create a metric report."/> |
| 40 | <Annotation Term="OData.LongDescription" String="The value shall be reference to the definition for this metric report."/> |
| 41 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 42 | <Record> |
| 43 | <PropertyValue Property="Insertable" Bool="false"/> |
| 44 | </Record> |
| 45 | </Annotation> |
| 46 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 47 | <Record> |
| 48 | <PropertyValue Property="Updatable" Bool="false"/> |
| 49 | </Record> |
| 50 | </Annotation> |
| 51 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 52 | <Record> |
| 53 | <PropertyValue Property="Deletable" Bool="true"/> |
| 54 | </Record> |
| 55 | </Annotation> |
| 56 | <Annotation Term="Redfish.Uris"> |
| 57 | <Collection> |
| 58 | <String>/redfish/v1/TelemetryService/MetricReports/{MetricReportId}</String> |
| 59 | </Collection> |
| 60 | </Annotation> |
| 61 | </EntityType> |
| 62 | </Schema> |
| 63 | |
| 64 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_0"> |
| 65 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame^] | 66 | <Annotation Term="Redfish.Release" String="2018.2"/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 67 | |
| 68 | <EntityType Name="MetricReport" BaseType="MetricReport.MetricReport"> |
| 69 | <NavigationProperty Name="MetricReportDefinition" Type="MetricReportDefinition.MetricReportDefinition" Nullable="false"> |
| 70 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 71 | <Annotation Term="OData.Description" String="The metric definitions used to create a metric report."/> |
| 72 | <Annotation Term="OData.LongDescription" String="The value shall be reference to the definition for this metric report."/> |
| 73 | <Annotation Term="OData.AutoExpandReferences"/> |
| 74 | </NavigationProperty> |
| 75 | <Property Name="ReportSequence" Type="Edm.String" Nullable="false"> |
| 76 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 77 | <Annotation Term="OData.Description" String="The current sequence identifier for this metric report."/> |
| 78 | <Annotation Term="OData.LongDescription" String="The value shall be the current sequence identifier for this metric report."/> |
| 79 | <Annotation Term="Redfish.Required"/> |
| 80 | </Property> |
| 81 | <Property Name="MetricValues" Type="Collection(MetricReport.v1_0_0.MetricValue)"> |
| 82 | <Annotation Term="OData.Description" String="An array of metric values for the metered items of this Metric."/> |
| 83 | <Annotation Term="OData.LongDescription" String="The values shall be metric values for this MetricReport."/> |
| 84 | </Property> |
| 85 | <Property Name="Actions" Type="MetricReport.v1_0_0.Actions" Nullable="false"> |
| 86 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 87 | <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/> |
| 88 | </Property> |
| 89 | </EntityType> |
| 90 | |
| 91 | <ComplexType Name="MetricValue"> |
| 92 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 93 | <Annotation Term="OData.Description" String="A metric Value."/> |
| 94 | <Annotation Term="OData.LongDescription" String="A metric value in the context of a Metric."/> |
| 95 | <Property Name="MetricId" Type="Edm.String"> |
| 96 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 97 | <Annotation Term="OData.Description" String="The metric definitions identifier for this metric."/> |
| 98 | <Annotation Term="OData.LongDescription" String="The value shall be the same as the Id property of the source metric within the associated MetricDefinition."/> |
| 99 | </Property> |
| 100 | <Property Name="MetricValue" Type="Edm.String"> |
| 101 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 102 | <Annotation Term="OData.Description" String="The value identifies this resource."/> |
| 103 | <Annotation Term="OData.LongDescription" String="The value of the metric represented as a string."/> |
| 104 | </Property> |
| 105 | <Property Name="Timestamp" Type="Edm.DateTimeOffset"> |
| 106 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame^] | 107 | <Annotation Term="OData.Description" String="The time when the value of 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."/> |
| 108 | <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] | 109 | </Property> |
| 110 | <Property Name="MetricProperty" Type="Edm.String"> |
| 111 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 112 | <Annotation Term="OData.Description" String="The URI for the property from which this metric is derived."/> |
| 113 | <Annotation Term="OData.LongDescription" String="The value shall be URI to the a property following the JSON fragment notation, as defined by RFC6901, to identify an individual property in a Redfish resource."/> |
| 114 | <Annotation Term="OData.IsURL"/> |
| 115 | </Property> |
| 116 | <NavigationProperty Name="MetricDefinition" Type="MetricDefinition.MetricDefinition" Nullable="false"> |
| 117 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 118 | <Annotation Term="OData.Description" String="A link to the Metric Definition."/> |
| 119 | <Annotation Term="OData.LongDescription" String="The value shall be reference to the Metric Definition resource that describes what this Metric Report is capturing."/> |
| 120 | <Annotation Term="OData.AutoExpandReferences"/> |
| 121 | </NavigationProperty> |
| 122 | </ComplexType> |
| 123 | |
| 124 | <ComplexType Name="Actions"> |
| 125 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 126 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 127 | <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> |
| 128 | <Property Name="Oem" Type="MetricReport.v1_0_0.OemActions" Nullable="false"> |
| 129 | <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/> |
| 130 | <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/> |
| 131 | </Property> |
| 132 | </ComplexType> |
| 133 | |
| 134 | <ComplexType Name="OemActions"> |
| 135 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
| 136 | <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/> |
| 137 | <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/> |
| 138 | </ComplexType> |
| 139 | </Schema> |
| 140 | |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame^] | 141 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_0_1"> |
| 142 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 143 | <Annotation Term="OData.Description" String="This version was created to clarify descriptions of several properties."/> |
| 144 | <EntityType Name="MetricReport" BaseType="MetricReport.v1_0_0.MetricReport"/> |
| 145 | </Schema> |
| 146 | |
| 147 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="MetricReport.v1_1_0"> |
| 148 | <Annotation Term="OData.Description" String="This version was created to add a TimeStamp property for the metric report in its entirety."/> |
| 149 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 150 | <Annotation Term="Redfish.Release" String="2018.3"/> |
| 151 | <EntityType Name="MetricReport" BaseType="MetricReport.v1_0_1.MetricReport"> |
| 152 | <Property Name="Timestamp" Type="Edm.DateTimeOffset"> |
| 153 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 154 | <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."/> |
| 155 | <Annotation Term="OData.LongDescription" String="The value shall be the time when the metric report was generated."/> |
| 156 | </Property> |
| 157 | </EntityType> |
| 158 | </Schema> |
| 159 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 160 | </edmx:DataServices> |
| 161 | </edmx:Edmx> |