blob: 4c5c1eabfac1cf13f31b523e705299490db345dd [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Gunnar Mills9d424662021-09-22 21:56:16 -05004<!--# Redfish Schema: LogService v1.3.0 -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Gunnar Mills10f270b2021-05-19 15:34:06 -05008<!--# Copyright 2014-2021 DMTF. -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07009<!--# 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="Validation.v1_0_0" Alias="Validation"/>
22 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
23 </edmx:Reference>
24 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
25 <edmx:Include Namespace="Resource"/>
26 <edmx:Include Namespace="Resource.v1_0_0"/>
27 </edmx:Reference>
28 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/LogEntryCollection_v1.xml">
29 <edmx:Include Namespace="LogEntryCollection"/>
30 </edmx:Reference>
31
32 <edmx:DataServices>
33
34 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService">
35 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
36
37 <EntityType Name="LogService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
Gunnar Mills9d424662021-09-22 21:56:16 -050038 <Annotation Term="OData.Description" String="The LogService schema contains properties for monitoring and configuring a log service. When the Id property contains `DeviceLog`, the log contains device-resident log entries that follow the physical device when moved from system-to-system, and not a replication or subset of a system event log."/>
39 <Annotation Term="OData.LongDescription" String="This resource shall represent a log service for a Redfish implementation. When the Id property contains `DeviceLog`, the log shall contain log entries that migrate with the device."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070040 <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"/>
Gunnar Mills9d424662021-09-22 21:56:16 -050048 <Annotation Term="OData.Description" String="The date and time properties can be updated for a log service."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070049 </Record>
50 </Annotation>
51 <Annotation Term="Capabilities.DeleteRestrictions">
52 <Record>
53 <PropertyValue Property="Deletable" Bool="false"/>
54 </Record>
55 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080056 <Annotation Term="Redfish.Uris">
57 <Collection>
58 <String>/redfish/v1/Managers/{ManagerId}/LogServices/{LogServiceId}</String>
59 <String>/redfish/v1/Systems/{ComputerSystemId}/LogServices/{LogServiceId}</String>
60 <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/LogServices/{LogServiceId}</String>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060061 <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/LogServices/{LogServiceId}</String>
Gunnar Mills09b9d452020-02-11 13:27:39 -060062 <String>/redfish/v1/Chassis/{ChassisId}/LogServices/{LogServiceId}</String>
Ed Tanouscb103132019-10-08 11:34:22 -070063 <String>/redfish/v1/JobService/Log</String>
64 <String>/redfish/v1/TelemetryService/LogService</String>
Gunnar Mills9d424662021-09-22 21:56:16 -050065 <String>/redfish/v1/Systems/{ComputerSystemId}/Memory/{MemoryId}/DeviceLog</String>
Ed Tanous530520e2019-01-02 13:41:37 -080066 </Collection>
67 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070068 </EntityType>
69
70 <Action Name="ClearLog" IsBound="true">
Gunnar Mills9d424662021-09-22 21:56:16 -050071 <Annotation Term="OData.Description" String="The action to clear the log for this log service."/>
72 <Annotation Term="OData.LongDescription" String="This action shall delete all entries found in the LogEntryCollection resource for this log service."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070073 <Parameter Name="LogService" Type="LogService.v1_0_0.Actions"/>
Gunnar Mills9d424662021-09-22 21:56:16 -050074 <Parameter Name="LogEntriesETag" Type="Edm.String">
75 <Annotation Term="OData.Description" String="The ETag of the log entry collection within this log service. If the provided ETag does not match the current ETag of the log entry collection, the request is rejected."/>
76 <Annotation Term="OData.LongDescription" String="This parameter shall contain the ETag of the LogEntryCollection resource for this log service. If the client-provided ETag does not match the current ETag of the LogEntryCollection resource for this log service, the service shall return the HTTP 428 (Precondition Required) status code to reject the request."/>
77 <Annotation Term="Redfish.Revisions">
78 <Collection>
79 <Record>
80 <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
81 <PropertyValue Property="Version" String="v1_3_0"/>
82 </Record>
83 </Collection>
84 </Annotation>
85 </Parameter>
Jason M. Billsea4aa752018-06-05 13:29:11 -070086 </Action>
87
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050088 <Action Name="CollectDiagnosticData" IsBound="true">
89 <Annotation Term="OData.Description" String="The action to collect the diagnostic data for the given type."/>
90 <Annotation Term="OData.LongDescription" String="This action shall collect the diagnostic data for the given type. The `Location` header in the response shall contain a URI to a resource of type LogEntry that contains the diagnostic data."/>
91 <Parameter Name="LogService" Type="LogService.v1_0_0.Actions"/>
92 <Parameter Name="DiagnosticDataType" Type="LogService.v1_2_0.LogDiagnosticDataTypes" Nullable="false">
93 <Annotation Term="OData.Description" String="The type of diagnostic data to collect."/>
94 <Annotation Term="OData.LongDescription" String="This parameter shall contain the type of diagnostic data to collect."/>
95 </Parameter>
96 <Parameter Name="OEMDiagnosticDataType" Type="Edm.String">
97 <Annotation Term="OData.Description" String="The OEM-defined type of diagnostic data to collect."/>
98 <Annotation Term="OData.LongDescription" String="This parameter shall contain the OEM-defined type of diagnostic data to collect. This parameter shall be required if DiagnosticDataType is `OEM`."/>
99 </Parameter>
100 <Annotation Term="Redfish.Revisions">
101 <Collection>
102 <Record>
103 <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
104 <PropertyValue Property="Version" String="v1_2_0"/>
105 </Record>
106 </Collection>
107 </Annotation>
108 </Action>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700109 </Schema>
110
111 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_0_0">
112 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600113 <Annotation Term="Redfish.Release" String="1.0"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700114
115 <EntityType Name="LogService" BaseType="LogService.LogService">
Jason M. Billsea4aa752018-06-05 13:29:11 -0700116 <Property Name="ServiceEnabled" Type="Edm.Boolean">
117 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700118 <Annotation Term="OData.Description" String="An indication of whether this service is enabled."/>
119 <Annotation Term="OData.LongDescription" String="This property shall indicate whether this service is enabled."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700120 </Property>
121 <Property Name="MaxNumberOfRecords" Type="Edm.Int64" Nullable="false">
122 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700123 <Annotation Term="OData.Description" String="The maximum number of log entries that this service can have."/>
Gunnar Mills9d424662021-09-22 21:56:16 -0500124 <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of LogEntry resources in the LogEntryCollection resource for this service."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700125 <Annotation Term="Validation.Minimum" Int="0"/>
126 </Property>
127 <Property Name="OverWritePolicy" Type="LogService.v1_0_0.OverWritePolicy" Nullable="false">
128 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
129 <Annotation Term="OData.Description" String="The overwrite policy for this service that takes place when the log is full."/>
Gunnar Mills9d424662021-09-22 21:56:16 -0500130 <Annotation Term="OData.LongDescription" String="This property shall indicate the policy of the log service when the MaxNumberOfRecords has been reached."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700131 </Property>
132 <Property Name="DateTime" Type="Edm.DateTimeOffset">
133 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Gunnar Mills9d424662021-09-22 21:56:16 -0500134 <Annotation Term="OData.Description" String="The current date and time with UTC offset of the log service."/>
135 <Annotation Term="OData.LongDescription" String="This property shall contain the current date and time with UTC offset of the log service."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700136 </Property>
137 <Property Name="DateTimeLocalOffset" Type="Edm.String">
138 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Gunnar Mills9d424662021-09-22 21:56:16 -0500139 <Annotation Term="OData.Description" String="The time offset from UTC that the DateTime property is in `+HH:MM` format."/>
140 <Annotation Term="OData.LongDescription" String="This property shall contain the offset from UTC time that the DateTime property contains. If both DateTime and DateTimeLocalOffset are provided in modification requests, services shall apply DateTimeLocalOffset after DateTime is applied."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700141 <Annotation Term="Validation.Pattern" String="^([-+][0-1][0-9]:[0-5][0-9])$"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700142 </Property>
143 <NavigationProperty Name="Entries" Type="LogEntryCollection.LogEntryCollection" ContainsTarget="true" Nullable="false">
144 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700145 <Annotation Term="OData.Description" String="The link to the log entry collection."/>
Gunnar Mills9d424662021-09-22 21:56:16 -0500146 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type LogEntryCollection."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700147 <Annotation Term="OData.AutoExpandReferences"/>
148 </NavigationProperty>
149 <Property Name="Actions" Type="LogService.v1_0_0.Actions" Nullable="false">
Gunnar Mills9d424662021-09-22 21:56:16 -0500150 <Annotation Term="OData.Description" String="The available actions for this resource."/>
151 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700152 </Property>
Ed Tanous530520e2019-01-02 13:41:37 -0800153 <Property Name="Status" Type="Resource.Status" Nullable="false">
Gunnar Mills9d424662021-09-22 21:56:16 -0500154 <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
155 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800156 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700157 </EntityType>
158
159 <ComplexType Name="Actions">
160 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Gunnar Mills9d424662021-09-22 21:56:16 -0500161 <Annotation Term="OData.Description" String="The available actions for this resource."/>
162 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800163 <Property Name="Oem" Type="LogService.v1_0_0.OemActions" Nullable="false">
Gunnar Mills9d424662021-09-22 21:56:16 -0500164 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
165 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800166 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700167 </ComplexType>
168
169 <ComplexType Name="OemActions">
170 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Gunnar Mills9d424662021-09-22 21:56:16 -0500171 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
172 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700173 </ComplexType>
174
175 <EnumType Name="OverWritePolicy">
176 <Member Name="Unknown">
177 <Annotation Term="OData.Description" String="The overwrite policy is not known or is undefined."/>
178 </Member>
179 <Member Name="WrapsWhenFull">
Ed Tanouscb103132019-10-08 11:34:22 -0700180 <Annotation Term="OData.Description" String="When full, new entries to the log overwrite earlier entries."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700181 </Member>
182 <Member Name="NeverOverWrites">
Ed Tanouscb103132019-10-08 11:34:22 -0700183 <Annotation Term="OData.Description" String="When full, new entries to the log are discarded."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700184 </Member>
185 </EnumType>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700186 </Schema>
187
188 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_0_2">
189 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
190 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
191 <EntityType Name="LogService" BaseType="LogService.v1_0_0.LogService"/>
192 </Schema>
193
194 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_0_3">
195 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
196 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
197 <EntityType Name="LogService" BaseType="LogService.v1_0_2.LogService"/>
198 </Schema>
199
200 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_0_4">
201 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
202 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
203 <EntityType Name="LogService" BaseType="LogService.v1_0_3.LogService"/>
204 </Schema>
205
206 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_0_5">
207 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Gunnar Mills9d424662021-09-22 21:56:16 -0500208 <Annotation Term="OData.Description" String="This version was created to correct the short and long descriptions in the defined actions."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700209 <EntityType Name="LogService" BaseType="LogService.v1_0_4.LogService"/>
210 </Schema>
211
Ed Tanous530520e2019-01-02 13:41:37 -0800212 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_0_6">
213 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
214 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
215 <EntityType Name="LogService" BaseType="LogService.v1_0_5.LogService"/>
216 </Schema>
217
Ed Tanouscb103132019-10-08 11:34:22 -0700218 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_0_7">
219 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
220 <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."/>
221 <EntityType Name="LogService" BaseType="LogService.v1_0_6.LogService"/>
222 </Schema>
223
224 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_0_8">
225 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
226 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
227 <EntityType Name="LogService" BaseType="LogService.v1_0_7.LogService"/>
228 </Schema>
229
Gunnar Mills9d424662021-09-22 21:56:16 -0500230 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_0_9">
231 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
232 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
233 <EntityType Name="LogService" BaseType="LogService.v1_0_8.LogService"/>
234 </Schema>
235
Jason M. Billsea4aa752018-06-05 13:29:11 -0700236 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_1_0">
237 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600238 <Annotation Term="Redfish.Release" String="2017.3"/>
Gunnar Mills262d7d42021-01-20 16:28:41 -0600239 <Annotation Term="OData.Description" String="This version was created to add LogEntryType property."/>
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500240
Jason M. Billsea4aa752018-06-05 13:29:11 -0700241 <EntityType Name="LogService" BaseType="LogService.v1_0_5.LogService">
242 <Property Name="LogEntryType" Type="LogService.v1_1_0.LogEntryTypes">
243 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700244 <Annotation Term="OData.Description" String="The format of the log entries."/>
Gunnar Mills9d424662021-09-22 21:56:16 -0500245 <Annotation Term="OData.LongDescription" String="This property shall contain the value for the EntryType property of all LogEntry resources contained in the LogEntryCollection resource for this log service. If the service cannot determine or guarantee a single EntryType value for all LogEntry resources, this property shall contain the value `Multiple`."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700246 </Property>
247 </EntityType>
248
249 <EnumType Name="LogEntryTypes">
250 <Member Name="Event">
Ed Tanouscb103132019-10-08 11:34:22 -0700251 <Annotation Term="OData.Description" String="The log contains Redfish-defined messages."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700252 </Member>
253 <Member Name="SEL">
254 <Annotation Term="OData.Description" String="The log contains legacy IPMI System Event Log (SEL) entries."/>
255 </Member>
256 <Member Name="Multiple">
Gunnar Mills9d424662021-09-22 21:56:16 -0500257 <Annotation Term="OData.Description" String="The log contains multiple log entry types and, therefore, the log service cannot guarantee a single entry type."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700258 </Member>
259 <Member Name="OEM">
260 <Annotation Term="OData.Description" String="The log contains entries in an OEM-defined format."/>
261 </Member>
262 </EnumType>
263 </Schema>
264
Ed Tanous530520e2019-01-02 13:41:37 -0800265 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_1_1">
266 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
267 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
268 <EntityType Name="LogService" BaseType="LogService.v1_1_0.LogService"/>
269 </Schema>
270
Ed Tanouscb103132019-10-08 11:34:22 -0700271 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_1_2">
272 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
273 <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."/>
274 <EntityType Name="LogService" BaseType="LogService.v1_1_1.LogService"/>
275 </Schema>
276
277 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_1_3">
278 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
279 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
280 <EntityType Name="LogService" BaseType="LogService.v1_1_2.LogService"/>
281 </Schema>
282
Gunnar Mills9d424662021-09-22 21:56:16 -0500283 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_1_4">
284 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
285 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
286 <EntityType Name="LogService" BaseType="LogService.v1_1_3.LogService"/>
287 </Schema>
288
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500289 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_2_0">
290 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
291 <Annotation Term="Redfish.Release" String="2020.3"/>
292 <Annotation Term="OData.Description" String="This version was created to add local syslog support and the CollectDiagnosticData action."/>
293
294 <EntityType Name="LogService" BaseType="LogService.v1_1_3.LogService">
295 <Property Name="SyslogFilters" Type="Collection(LogService.v1_2_0.SyslogFilter)">
296 <Annotation Term="OData.Description" String="A list of syslog message filters to be logged locally."/>
297 <Annotation Term="OData.LongDescription" String="This property shall describe all desired syslog messages to be logged locally. If this property contains an empty array, all messages shall be logged."/>
298 </Property>
299 </EntityType>
300
301 <ComplexType Name="SyslogFilter">
302 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
303 <Annotation Term="OData.Description" String="A syslog filter."/>
304 <Annotation Term="OData.LongDescription" String="This type shall contain the filter for a syslog message. The filter shall describe the desired syslog message to be enabled locally."/>
305 <Property Name="LowestSeverity" Type="LogService.v1_2_0.SyslogSeverity">
306 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
307 <Annotation Term="OData.Description" String="The lowest severity level message that will be logged."/>
308 <Annotation Term="OData.LongDescription" String="This property shall contain the lowest syslog severity level that will be logged. The service shall log all messages equal to or greater than the value in this property. The value `All` shall indicate all severities."/>
309 </Property>
310 <Property Name="LogFacilities" Type="Collection(LogService.v1_2_0.SyslogFacility)">
311 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
312 <Annotation Term="OData.Description" String="The types of programs that can log messages."/>
313 <Annotation Term="OData.LongDescription" String="This property shall contain the types of programs that can log messages. If this property contains an empty array or is absent, all facilities shall be indicated."/>
314 </Property>
315 </ComplexType>
316
317 <EnumType Name="SyslogSeverity">
318 <Annotation Term="OData.Description" String="The syslog severity is an application-specific rating used to describe the urgency of the message."/>
319 <Annotation Term="OData.LongDescription" String="This type shall specify the syslog severity levels as an application-specific rating used to describe the urgency of the message. `Emergency` should be reserved for messages indicating the system is unusable and `Debug` should only be used when debugging a program. Severity values are described in RFC5424."/>
320 <Member Name="Emergency">
321 <Annotation Term="OData.Description" String="A panic condition."/>
322 </Member>
323 <Member Name="Alert">
324 <Annotation Term="OData.Description" String="A condition that should be corrected immediately, such as a corrupted system database."/>
325 </Member>
326 <Member Name="Critical">
327 <Annotation Term="OData.Description" String="Hard device errors."/>
328 </Member>
329 <Member Name="Error">
330 <Annotation Term="OData.Description" String="An Error."/>
331 </Member>
332 <Member Name="Warning">
333 <Annotation Term="OData.Description" String="A Warning."/>
334 </Member>
335 <Member Name="Notice">
336 <Annotation Term="OData.Description" String="Conditions that are not error conditions, but that may require special handling."/>
337 </Member>
338 <Member Name="Informational">
339 <Annotation Term="OData.Description" String="Informational only."/>
340 </Member>
341 <Member Name="Debug">
342 <Annotation Term="OData.Description" String="Messages that contain information normally of use only when debugging a program."/>
343 </Member>
344 <Member Name="All">
345 <Annotation Term="OData.Description" String="A message of any severity."/>
346 </Member>
347 </EnumType>
348
349 <EnumType Name="SyslogFacility">
350 <Annotation Term="OData.Description" String="The syslog facility code is an enumeration of program types."/>
351 <Annotation Term="OData.LongDescription" String="This type shall specify the syslog facility codes as program types. Facility values are described in the RFC5424."/>
352 <Member Name="Kern">
353 <Annotation Term="OData.Description" String="Kernel messages."/>
354 </Member>
355 <Member Name="User">
356 <Annotation Term="OData.Description" String="User-level messages."/>
357 </Member>
358 <Member Name="Mail">
359 <Annotation Term="OData.Description" String="Mail system."/>
360 </Member>
361 <Member Name="Daemon">
362 <Annotation Term="OData.Description" String="System daemons."/>
363 </Member>
364 <Member Name="Auth">
365 <Annotation Term="OData.Description" String="Security/authentication messages."/>
366 </Member>
367 <Member Name="Syslog">
368 <Annotation Term="OData.Description" String="Messages generated internally by syslogd."/>
369 </Member>
370 <Member Name="LPR">
371 <Annotation Term="OData.Description" String="Line printer subsystem."/>
372 </Member>
373 <Member Name="News">
374 <Annotation Term="OData.Description" String="Network news subsystem."/>
375 </Member>
376 <Member Name="UUCP">
377 <Annotation Term="OData.Description" String="UUCP subsystem."/>
378 </Member>
379 <Member Name="Cron">
380 <Annotation Term="OData.Description" String="Clock daemon."/>
381 </Member>
382 <Member Name="Authpriv">
383 <Annotation Term="OData.Description" String="Security/authentication messages."/>
384 </Member>
385 <Member Name="FTP">
386 <Annotation Term="OData.Description" String="FTP daemon."/>
387 </Member>
388 <Member Name="NTP">
389 <Annotation Term="OData.Description" String="NTP subsystem."/>
390 </Member>
391 <Member Name="Security">
392 <Annotation Term="OData.Description" String="Log audit."/>
393 </Member>
394 <Member Name="Console">
395 <Annotation Term="OData.Description" String="Log alert."/>
396 </Member>
397 <Member Name="SolarisCron">
398 <Annotation Term="OData.Description" String="Scheduling daemon."/>
399 </Member>
400 <Member Name="Local0">
401 <Annotation Term="OData.Description" String="Locally used facility 0."/>
402 </Member>
403 <Member Name="Local1">
404 <Annotation Term="OData.Description" String="Locally used facility 1."/>
405 </Member>
406 <Member Name="Local2">
407 <Annotation Term="OData.Description" String="Locally used facility 2."/>
408 </Member>
409 <Member Name="Local3">
410 <Annotation Term="OData.Description" String="Locally used facility 3."/>
411 </Member>
412 <Member Name="Local4">
413 <Annotation Term="OData.Description" String="Locally used facility 4."/>
414 </Member>
415 <Member Name="Local5">
416 <Annotation Term="OData.Description" String="Locally used facility 5."/>
417 </Member>
418 <Member Name="Local6">
419 <Annotation Term="OData.Description" String="Locally used facility 6."/>
420 </Member>
421 <Member Name="Local7">
422 <Annotation Term="OData.Description" String="Locally used facility 7."/>
423 </Member>
424 </EnumType>
425
426 <EnumType Name="LogDiagnosticDataTypes">
427 <Member Name="Manager">
428 <Annotation Term="OData.Description" String="Manager diagnostic data."/>
429 </Member>
430 <Member Name="PreOS">
431 <Annotation Term="OData.Description" String="Pre-OS diagnostic data."/>
432 </Member>
433 <Member Name="OS">
434 <Annotation Term="OData.Description" String="Operating system (OS) diagnostic data."/>
435 </Member>
436 <Member Name="OEM">
437 <Annotation Term="OData.Description" String="OEM diagnostic data."/>
438 </Member>
439 </EnumType>
440 </Schema>
441
Gunnar Mills9d424662021-09-22 21:56:16 -0500442 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_2_1">
443 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
444 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
445 <EntityType Name="LogService" BaseType="LogService.v1_2_0.LogService"/>
446 </Schema>
447
448 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="LogService.v1_3_0">
449 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
450 <Annotation Term="Redfish.Release" String="2021.2"/>
451 <Annotation Term="OData.Description" String="This version was created to add the LogEntriesETag parameter to the ClearLog action."/>
452
453 <EntityType Name="LogService" BaseType="LogService.v1_2_1.LogService">
454 <Property Name="AutoDSTEnabled" Type="Edm.Boolean" Nullable="false">
455 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
456 <Annotation Term="OData.Description" String="An indication of whether the log service is configured for automatic Daylight Saving Time (DST) adjustment."/>
457 <Annotation Term="OData.LongDescription" String="This property shall indicate whether the log service is configured for automatic Daylight Saving Time (DST) adjustment. DST adjustment shall not modify the timestamp of existing log entries."/>
458 </Property>
459 </EntityType>
460 </Schema>
461
Jason M. Billsea4aa752018-06-05 13:29:11 -0700462 </edmx:DataServices>
463</edmx:Edmx>