blob: caf35ae9b61223ca647597d458dbdec70f571b1e [file] [log] [blame]
George Liuf1240b42022-10-28 17:26:15 +08001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
4<!--# Redfish Schema: ThermalMetrics v1.0.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-2022 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://redfish.dmtf.org/schemas/v1/Sensor_v1.xml">
27 <edmx:Include Namespace="Sensor"/>
28 </edmx:Reference>
29
30 <edmx:DataServices>
31
32 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ThermalMetrics">
33 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
34
35 <EntityType Name="ThermalMetrics" BaseType="Resource.v1_0_0.Resource" Abstract="true">
36 <Annotation Term="OData.Description" String="The ThermalMetrics schema represents the thermal metrics of a chassis."/>
37 <Annotation Term="OData.LongDescription" String="This resource shall represent the thermal metrics of a chassis for a Redfish implementation."/>
38 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
39 <Annotation Term="Capabilities.InsertRestrictions">
40 <Record>
41 <PropertyValue Property="Insertable" Bool="false"/>
42 </Record>
43 </Annotation>
44 <Annotation Term="Capabilities.UpdateRestrictions">
45 <Record>
46 <PropertyValue Property="Updatable" Bool="false"/>
47 </Record>
48 </Annotation>
49 <Annotation Term="Capabilities.DeleteRestrictions">
50 <Record>
51 <PropertyValue Property="Deletable" Bool="false"/>
52 </Record>
53 </Annotation>
54 <Annotation Term="Redfish.Uris">
55 <Collection>
56 <String>/redfish/v1/Chassis/{ChassisId}/ThermalSubsystem/ThermalMetrics</String>
57 </Collection>
58 </Annotation>
59 </EntityType>
60
61 <Action Name="ResetMetrics" IsBound="true">
62 <Parameter Name="ThermalMetrics" Type="ThermalMetrics.v1_0_0.Actions"/>
63 <Annotation Term="OData.Description" String="This action resets the summary metrics related to this equipment."/>
64 <Annotation Term="OData.LongDescription" String="This action shall reset any time intervals or counted values for this equipment."/>
65 </Action>
66 </Schema>
67
68 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ThermalMetrics.v1_0_0">
69 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
70 <Annotation Term="Redfish.Release" String="2020.4"/>
71
72 <EntityType Name="ThermalMetrics" BaseType="ThermalMetrics.ThermalMetrics">
73 <Property Name="TemperatureSummaryCelsius" Type="ThermalMetrics.v1_0_0.TemperatureSummary">
74 <Annotation Term="OData.Description" String="The summary temperature readings for this chassis."/>
75 <Annotation Term="OData.LongDescription" String="This property shall contain the temperature sensor readings for this subsystem."/>
76 </Property>
77 <NavigationProperty Name="TemperatureReadingsCelsius" Type="Collection(Sensor.Sensor)">
78 <Annotation Term="Redfish.ExcerptCopy" String="Array"/>
79 <Annotation Term="OData.Description" String="The temperatures (Celsius) from all related sensors for this device."/>
80 <Annotation Term="OData.LongDescription" String="This property shall contain the temperatures, in degrees Celsius units, for this subsystem. The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`."/>
81 </NavigationProperty>
82 <Property Name="Actions" Type="ThermalMetrics.v1_0_0.Actions" Nullable="false">
83 <Annotation Term="OData.Description" String="The available actions for this resource."/>
84 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
85 </Property>
86 </EntityType>
87
88 <ComplexType Name="TemperatureSummary">
89 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
90 <Annotation Term="OData.Description" String="The temperature readings for a subsystem."/>
91 <Annotation Term="OData.LongDescription" String="This type shall contain properties that describe temperature sensor for a subsystem."/>
92 <NavigationProperty Name="Internal" Type="Sensor.Sensor">
93 <Annotation Term="Redfish.ExcerptCopy"/>
94 <Annotation Term="OData.Description" String="The internal temperature (Celsius) of this subsystem."/>
95 <Annotation Term="OData.LongDescription" String="This property shall contain the temperature, in degrees Celsius units, for the internal temperature of this subsystem. The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`."/>
96 </NavigationProperty>
97 <NavigationProperty Name="Intake" Type="Sensor.Sensor">
98 <Annotation Term="Redfish.ExcerptCopy"/>
99 <Annotation Term="OData.Description" String="The intake temperature (Celsius) of this subsystem."/>
100 <Annotation Term="OData.LongDescription" String="This property shall contain the temperature, in degrees Celsius units, for the intake temperature of this subsystem. The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`."/>
101 </NavigationProperty>
102 <NavigationProperty Name="Exhaust" Type="Sensor.Sensor">
103 <Annotation Term="Redfish.ExcerptCopy"/>
104 <Annotation Term="OData.Description" String="The exhaust temperature (Celsius) of this subsystem."/>
105 <Annotation Term="OData.LongDescription" String="This property shall contain the temperature, in degrees Celsius units, for the exhaust temperature of this subsystem. The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`."/>
106 </NavigationProperty>
107 <NavigationProperty Name="Ambient" Type="Sensor.Sensor">
108 <Annotation Term="Redfish.ExcerptCopy"/>
109 <Annotation Term="OData.Description" String="The ambient temperature (Celsius) of this subsystem."/>
110 <Annotation Term="OData.LongDescription" String="This property shall contain the temperature, in degrees Celsius units, for the ambient temperature of this subsystem. The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value `Temperature`."/>
111 </NavigationProperty>
112 </ComplexType>
113
114 <ComplexType Name="Actions">
115 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
116 <Annotation Term="OData.Description" String="The available actions for this resource."/>
117 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
118 <Property Name="Oem" Type="ThermalMetrics.v1_0_0.OemActions" Nullable="false">
119 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
120 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
121 </Property>
122 </ComplexType>
123
124 <ComplexType Name="OemActions">
125 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
126 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
127 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
128 </ComplexType>
129 </Schema>
130
131 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ThermalMetrics.v1_0_1">
132 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
133 <Annotation Term="OData.Description" String="This version was created to update descriptions to tie excerpt property definitions to a specific type of Sensor or Control. It was also created to correct various typographical errors."/>
134 <EntityType Name="ThermalMetrics" BaseType="ThermalMetrics.v1_0_0.ThermalMetrics"/>
135 </Schema>
136
137 </edmx:DataServices>
138</edmx:Edmx>