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: Triggers v1.1.1 --> |
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"> |
| 21 | <edmx:Include Namespace="Resource"/> |
| 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"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 26 | <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/> |
| 27 | </edmx:Reference> |
| 28 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/MetricReportDefinition_v1.xml"> |
| 29 | <edmx:Include Namespace="MetricReportDefinition"/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 30 | </edmx:Reference> |
| 31 | |
| 32 | <edmx:DataServices> |
| 33 | |
| 34 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers"> |
| 35 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 36 | |
| 37 | <EntityType Name="Triggers" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 38 | <Annotation Term="OData.Description" String="The Triggers schema describes a trigger that applies to metrics."/> |
| 39 | <Annotation Term="OData.LongDescription" String="This Resource shall contain a trigger that applies to metrics."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 40 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 41 | <Record> |
| 42 | <PropertyValue Property="Insertable" Bool="false"/> |
| 43 | </Record> |
| 44 | </Annotation> |
| 45 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 46 | <Record> |
| 47 | <PropertyValue Property="Updatable" Bool="true"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 48 | <Annotation Term="OData.Description" String="Triggers can be updated to configure them."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 49 | </Record> |
| 50 | </Annotation> |
| 51 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 52 | <Record> |
| 53 | <PropertyValue Property="Deletable" Bool="true"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 54 | <Annotation Term="OData.Description" String="Triggers can be deleted."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 55 | </Record> |
| 56 | </Annotation> |
| 57 | <Annotation Term="Redfish.Uris"> |
| 58 | <Collection> |
| 59 | <String>/redfish/v1/TelemetryService/Triggers/{TriggersId}</String> |
| 60 | </Collection> |
| 61 | </Annotation> |
| 62 | </EntityType> |
| 63 | </Schema> |
| 64 | |
| 65 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_0"> |
| 66 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 67 | <Annotation Term="Redfish.Release" String="2018.2"/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 68 | |
| 69 | <EntityType Name="Triggers" BaseType="Triggers.Triggers"> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 70 | <Property Name="MetricType" Type="Triggers.v1_0_0.MetricTypeEnum"> |
| 71 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 72 | <Annotation Term="OData.Description" String="The metric type of the trigger."/> |
| 73 | <Annotation Term="OData.LongDescription" String="This property shall contain the metric type of the trigger."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 74 | </Property> |
| 75 | <Property Name="TriggerActions" Type="Collection(Triggers.v1_0_0.TriggerActionEnum)" Nullable="false"> |
| 76 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 77 | <Annotation Term="OData.Description" String="The actions that the trigger initiates."/> |
| 78 | <Annotation Term="OData.LongDescription" String="This property shall contain the actions that the trigger initiates."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 79 | </Property> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 80 | <Property Name="NumericThresholds" Type="Triggers.v1_0_0.Thresholds" Nullable="false"> |
| 81 | <Annotation Term="OData.Description" String="The thresholds when a numeric metric triggers."/> |
| 82 | <Annotation Term="OData.LongDescription" String="This property shall contain the list of thresholds to which to compare a numeric metric value."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 83 | </Property> |
| 84 | <Property Name="DiscreteTriggerCondition" Type="Triggers.v1_0_0.DiscreteTriggerConditionEnum"> |
| 85 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 86 | <Annotation Term="OData.Description" String="The conditions when a discrete metric triggers."/> |
| 87 | <Annotation Term="OData.LongDescription" String="This property shall contain the conditions when a discrete metric triggers."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 88 | </Property> |
| 89 | <Property Name="DiscreteTriggers" Type="Collection(Triggers.v1_0_0.DiscreteTrigger)" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 90 | <Annotation Term="OData.Description" String="The list of discrete triggers."/> |
| 91 | <Annotation Term="OData.LongDescription" String="This property shall contain a list of values to which to compare a metric reading. This property shall be present when the DiscreteTriggerCondition property is `Specified`."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 92 | </Property> |
| 93 | |
| 94 | <Property Name="Status" Type="Resource.Status" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 95 | <Annotation Term="OData.Description" String="The status and health of the Resource and its subordinate or dependent Resources."/> |
| 96 | <Annotation Term="OData.LongDescription" String="This property shall contain any status and health properties of the Resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 97 | </Property> |
| 98 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 99 | <Property Name="Wildcards" Type="Collection(Triggers.v1_0_0.Wildcard)" Nullable="false"> |
| 100 | <Annotation Term="OData.Description" String="The wildcards and their substitution values for the entries in the MetricProperties array property."/> |
| 101 | <Annotation Term="OData.LongDescription" String="This property shall contain the wildcards and their substitution values for the entries in 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] | 102 | </Property> |
| 103 | <Property Name="MetricProperties" Type="Collection(Edm.String)"> |
| 104 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 105 | <Annotation Term="OData.Description" String="An array of URIs with wildcards and property identifiers for this trigger. Each wildcard shall be replaced with its corresponding entry in the Wildcard array property."/> |
| 106 | <Annotation Term="OData.LongDescription" String="This property shall contain an array of URIs with wildcards and property identifiers for this trigger. Use a set of curly braces to delimit each wildcard in the URI. Replace each wildcard with its corresponding entry in the Wildcard array property. A URI that contains wildcards shall link to a Resource property to which the metric definition applies after all wildcards are replaced with their corresponding entries in the Wildcard array property. The property identifiers portion of the URI shall follow the RFC6901-defined JSON fragment notation rules."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 107 | <Annotation Term="OData.IsURL"/> |
| 108 | </Property> |
| 109 | <Property Name="Actions" Type="Triggers.v1_0_0.Actions" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 110 | <Annotation Term="OData.Description" String="The available actions for this Resource."/> |
| 111 | <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] | 112 | </Property> |
| 113 | </EntityType> |
| 114 | |
| 115 | <EnumType Name="MetricTypeEnum"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 116 | <Annotation Term="OData.Description" String="The type of metric for which the trigger is configured."/> |
| 117 | <Annotation Term="OData.LongDescription" String="This type shall specify the type of metric for which the trigger is configured."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 118 | <Member Name="Numeric"> |
| 119 | <Annotation Term="OData.Description" String="The trigger is for numeric sensor."/> |
| 120 | </Member> |
| 121 | <Member Name="Discrete"> |
| 122 | <Annotation Term="OData.Description" String="The trigger is for a discrete sensor."/> |
| 123 | </Member> |
| 124 | </EnumType> |
| 125 | |
| 126 | <EnumType Name="TriggerActionEnum"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 127 | <Annotation Term="OData.Description" String="The actions to perform when a trigger condition is met."/> |
| 128 | <Annotation Term="OData.LongDescription" String="This type shall specify the actions to perform when a trigger condition is met."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 129 | <Member Name="LogToLogService"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 130 | <Annotation Term="OData.Description" String="When a trigger condition is met, record in a log."/> |
| 131 | <Annotation Term="OData.LongDescription" String="This value indicates that when a trigger condition is met, the Service shall log the occurrence of the condition to the log that the LogService property in the TelemetryService Resource describes."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 132 | </Member> |
| 133 | <Member Name="RedfishEvent"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 134 | <Annotation Term="OData.Description" String="When a trigger condition is met, the Service sends an event to subscribers."/> |
| 135 | <Annotation Term="OData.LongDescription" String="This value indicates that when a trigger condition is met, the Service shall send an event to subscribers."/> |
| 136 | </Member> |
| 137 | <Member Name="RedfishMetricReport"> |
| 138 | <Annotation Term="OData.Description" String="When a trigger condition is met, force an update of the specified metric reports."/> |
| 139 | <Annotation Term="OData.LongDescription" String="This value indicates that when a trigger condition is met, the Service shall force the metric reports managed by the MetricReportDefinitions specified by the MetricReportDefinitions property to be updated, regardless of the MetricReportDefinitionType property value. The actions specified in the ReportActions property of each MetricReportDefinition shall be performed."/> |
| 140 | <Annotation Term="Redfish.Revisions"> |
| 141 | <Collection> |
| 142 | <Record> |
| 143 | <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/> |
| 144 | <PropertyValue Property="Version" String="v1_1_0"/> |
| 145 | </Record> |
| 146 | </Collection> |
| 147 | </Annotation> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 148 | </Member> |
| 149 | </EnumType> |
| 150 | |
| 151 | <EnumType Name="DiscreteTriggerConditionEnum"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 152 | <Annotation Term="OData.Description" String="The condition, in relationship to the discrete trigger values, which constitutes a trigger."/> |
| 153 | <Annotation Term="OData.LongDescription" String="This type shall specify the condition, in relationship to the discrete trigger values, which constitutes a trigger."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 154 | <Member Name="Specified"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 155 | <Annotation Term="OData.Description" String="A discrete trigger condition is met when the metric value becomes one of the values that the DiscreteTriggers property lists."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 156 | </Member> |
| 157 | <Member Name="Changed"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 158 | <Annotation Term="OData.Description" String="A discrete trigger condition is met whenever the metric value changes."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 159 | </Member> |
| 160 | </EnumType> |
| 161 | |
| 162 | <ComplexType Name="Thresholds"> |
| 163 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 164 | <Annotation Term="OData.Description" String="The set of thresholds for a sensor."/> |
| 165 | <Annotation Term="OData.LongDescription" String="This type shall contain a set of thresholds for a sensor."/> |
| 166 | <Property Name="UpperWarning" Type="Triggers.v1_0_0.Threshold" Nullable="false"> |
| 167 | <Annotation Term="OData.Description" String="The value at which the reading is above normal range."/> |
| 168 | <Annotation Term="OData.LongDescription" String="This property shall contain the value at which the MetricProperties property is above the normal range. The value of the property shall use the same units as the MetricProperties property."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 169 | </Property> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 170 | <Property Name="UpperCritical" Type="Triggers.v1_0_0.Threshold" Nullable="false"> |
| 171 | <Annotation Term="OData.Description" String="The value at which the reading is above normal range and requires attention."/> |
| 172 | <Annotation Term="OData.LongDescription" String="This property shall contain the value at which the MetricProperties property is above the normal range and may require attention. The value of the property shall use the same units as the MetricProperties property."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 173 | </Property> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 174 | <Property Name="LowerWarning" Type="Triggers.v1_0_0.Threshold" Nullable="false"> |
| 175 | <Annotation Term="OData.Description" String="The value at which the reading is below normal range."/> |
| 176 | <Annotation Term="OData.LongDescription" String="This property shall contain the value at which the MetricProperties property is below the normal range. The value of the property shall use the same units as the MetricProperties property."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 177 | </Property> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 178 | <Property Name="LowerCritical" Type="Triggers.v1_0_0.Threshold" Nullable="false"> |
| 179 | <Annotation Term="OData.Description" String="The value at which the reading is below normal range and requires attention."/> |
| 180 | <Annotation Term="OData.LongDescription" String="This property shall contain the value at which the MetricProperties property is below the normal range and may require attention. The value of the property shall use the same units as the MetricProperties property."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 181 | </Property> |
| 182 | </ComplexType> |
| 183 | |
| 184 | <ComplexType Name="Threshold"> |
| 185 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 186 | <Annotation Term="OData.Description" String="A threshold definition for a sensor."/> |
| 187 | <Annotation Term="OData.LongDescription" String="This type shall contain the properties for an individual threshold for this sensor."/> |
| 188 | <Property Name="Reading" Type="Edm.Decimal"> |
| 189 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 190 | <Annotation Term="OData.Description" String="The threshold value."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 191 | <Annotation Term="OData.LongDescription" String="This property shall indicate the reading for this sensor that activates the threshold. The value of the property shall use the same units as the MetricProperties property."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 192 | </Property> |
| 193 | <Property Name="Activation" Type="Triggers.v1_0_0.ThresholdActivation"> |
| 194 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 195 | <Annotation Term="OData.Description" String="The direction of crossing that activates this threshold."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 196 | <Annotation Term="OData.LongDescription" String="This property shall indicate the direction of crossing of the reading for this sensor that activates the threshold."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 197 | </Property> |
| 198 | <Property Name="DwellTime" Type="Edm.Duration"> |
| 199 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 200 | <Annotation Term="OData.Description" String="The duration the sensor value must violate the threshold before the threshold is activated."/> |
| 201 | <Annotation Term="OData.LongDescription" String="This property shall indicate the duration the sensor value must violate the threshold before the threshold is activated."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 202 | </Property> |
| 203 | </ComplexType> |
| 204 | |
| 205 | <ComplexType Name="Actions"> |
| 206 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 207 | <Annotation Term="OData.Description" String="The available actions for this Resource."/> |
| 208 | <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] | 209 | <Property Name="Oem" Type="Triggers.v1_0_0.OemActions" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 210 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/> |
| 211 | <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] | 212 | </Property> |
| 213 | </ComplexType> |
| 214 | |
| 215 | <ComplexType Name="OemActions"> |
| 216 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 217 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/> |
| 218 | <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] | 219 | </ComplexType> |
| 220 | |
| 221 | <EnumType Name="ThresholdActivation"> |
| 222 | <Member Name="Increasing"> |
| 223 | <Annotation Term="OData.Description" String="Value increases above the threshold."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 224 | <Annotation Term="OData.LongDescription" String="This threshold is activated when the reading changes from a value lower than the threshold to a value higher than the threshold."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 225 | </Member> |
| 226 | <Member Name="Decreasing"> |
| 227 | <Annotation Term="OData.Description" String="Value decreases below the threshold."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 228 | <Annotation Term="OData.LongDescription" String="This threshold is activated when the reading changes from a value higher than the threshold to a value lower than the threshold."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 229 | </Member> |
| 230 | <Member Name="Either"> |
| 231 | <Annotation Term="OData.Description" String="Value crosses the threshold in either direction."/> |
| 232 | <Annotation Term="OData.LongDescription" String="This threshold is activated when either the Increasing or Decreasing conditions are met."/> |
| 233 | </Member> |
| 234 | </EnumType> |
| 235 | |
| 236 | <EnumType Name="DirectionOfCrossingEnum"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 237 | <Annotation Term="OData.Description" String="The direction of crossing that corresponds to a trigger."/> |
| 238 | <Annotation Term="OData.LongDescription" String="The value shall indicate the direction of crossing that corresponds to a trigger."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 239 | <Member Name="Increasing"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 240 | <Annotation Term="OData.Description" String="A trigger condition is met when the metric value crosses the trigger value while increasing."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 241 | </Member> |
| 242 | <Member Name="Decreasing"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 243 | <Annotation Term="OData.Description" String="A trigger is met when the metric value crosses the trigger value while decreasing."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 244 | </Member> |
| 245 | </EnumType> |
| 246 | |
| 247 | <ComplexType Name="DiscreteTrigger"> |
| 248 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 249 | <Annotation Term="OData.Description" String="The characteristics of the discrete trigger."/> |
| 250 | <Annotation Term="OData.LongDescription" String="This object shall contain the characteristics of the discrete trigger."/> |
| 251 | <Property Name="Name" Type="Edm.String"> |
| 252 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 253 | <Annotation Term="OData.Description" String="The name of trigger."/> |
| 254 | <Annotation Term="OData.LongDescription" String="This property shall contain a name for the trigger."/> |
| 255 | </Property> |
| 256 | <Property Name="Value" Type="Edm.String"> |
| 257 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 258 | <Annotation Term="OData.Description" String="The discrete metric value that constitutes a trigger event."/> |
| 259 | <Annotation Term="OData.LongDescription" String="This property shall contain the value discrete metric that constitutes a trigger event. The DwellTime shall be measured from this point in time."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 260 | </Property> |
| 261 | <Property Name="DwellTime" Type="Edm.Duration"> |
| 262 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 263 | <Annotation Term="OData.Description" String="The amount of time that a trigger event persists before the metric action is performed."/> |
| 264 | <Annotation Term="OData.LongDescription" String="This property shall contain the amount of time that a trigger event persists before the MetricAction is performed."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 265 | </Property> |
| 266 | <Property Name="Severity" Type="Resource.Health"> |
| 267 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 268 | <Annotation Term="OData.Description" String="The severity of the event message."/> |
| 269 | <Annotation Term="OData.LongDescription" String="This property shall contain the Severity property to be used in the Event message."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 270 | </Property> |
| 271 | </ComplexType> |
| 272 | |
| 273 | <ComplexType Name="Wildcard"> |
| 274 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 275 | <Annotation Term="OData.Description" String="The wildcard and its substitution values."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 276 | <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] | 277 | <Property Name="Name" Type="Edm.String"> |
| 278 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 279 | <Annotation Term="OData.Description" String="The wildcard."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 280 | <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] | 281 | </Property> |
| 282 | <Property Name="Values" Type="Collection(Edm.String)"> |
| 283 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 284 | <Annotation Term="OData.Description" String="An array of values to substitute for the wildcard."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 285 | <Annotation Term="OData.LongDescription" String="This array property shall contain the list of values to substitute for the wildcard."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 286 | </Property> |
| 287 | </ComplexType> |
| 288 | </Schema> |
| 289 | |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 290 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_1"> |
| 291 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 292 | <Annotation Term="OData.Description" String="This version was created to clarify descriptions of several properties."/> |
| 293 | <EntityType Name="Triggers" BaseType="Triggers.v1_0_0.Triggers"/> |
| 294 | </Schema> |
| 295 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 296 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_2"> |
| 297 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 298 | <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."/> |
| 299 | <EntityType Name="Triggers" BaseType="Triggers.v1_0_1.Triggers"/> |
| 300 | </Schema> |
| 301 | |
| 302 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_3"> |
| 303 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 304 | <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> |
| 305 | <EntityType Name="Triggers" BaseType="Triggers.v1_0_2.Triggers"/> |
| 306 | </Schema> |
| 307 | |
| 308 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_0"> |
| 309 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 310 | <Annotation Term="Redfish.Release" String="2019.1"/> |
| 311 | |
| 312 | <EntityType Name="Triggers" BaseType="Triggers.v1_0_2.Triggers"> |
| 313 | <Property Name="EventTriggers" Type="Collection(Edm.String)"> |
| 314 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 315 | <Annotation Term="OData.Description" String="The array of MessageIds that specify when a trigger condition is met based on an event."/> |
| 316 | <Annotation Term="OData.LongDescription" String="This property shall contain an array of MessageIds that specify when a trigger condition is met based on an event. When the Service generates an event and if it contains a MessageId within this array, a trigger condition shall be met."/> |
| 317 | <Annotation Term="Validation.Pattern" String="^[A-Za-z0-9]+\.\d+\.\d+\.[A-Za-z0-9.]+$"/> |
| 318 | </Property> |
| 319 | <Property Name="Links" Type="Triggers.v1_1_0.Links" Nullable="false"> |
| 320 | <Annotation Term="OData.Description" String="The links to other Resources that are related to this Resource."/> |
| 321 | <Annotation Term="OData.LongDescription" String="The Redfish Specification-described Links Property shall contain links to Resources related to but not subordinate to this Resource."/> |
| 322 | </Property> |
| 323 | </EntityType> |
| 324 | |
| 325 | <ComplexType Name="Links" BaseType="Resource.Links"> |
| 326 | <Annotation Term="OData.Description" String="The links to other Resources that are related to this Resource."/> |
| 327 | <Annotation Term="OData.LongDescription" String="This Redfish Specification-described type shall contain links to Resources related to but not subordinate to this Resource."/> |
| 328 | <NavigationProperty Name="MetricReportDefinitions" Type="Collection(MetricReportDefinition.MetricReportDefinition)"> |
| 329 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 330 | <Annotation Term="OData.Description" String="The metric report definitions that generate new metric reports when a trigger condition is met and when the TriggerActions property contains `RedfishMetricReport`."/> |
| 331 | <Annotation Term="OData.LongDescription" String="This property shall contain a set of links to metric report definitions that generate new metric reports when a trigger condition is met and when the TriggerActions property contains `RedfishMetricReport`."/> |
| 332 | <Annotation Term="OData.AutoExpandReferences"/> |
| 333 | </NavigationProperty> |
| 334 | </ComplexType> |
| 335 | </Schema> |
| 336 | |
| 337 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_1"> |
| 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="Triggers" BaseType="Triggers.v1_1_0.Triggers"/> |
| 341 | </Schema> |
| 342 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 343 | </edmx:DataServices> |
| 344 | </edmx:Edmx> |