Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame^] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/LogEntry.v1_6_0.json", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 3 | "$ref": "#/definitions/LogEntry", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame^] | 5 | "copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 9 | "description": "The available actions for this Resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 11 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 12 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 17 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
| 26 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 27 | "$ref": "#/definitions/OemActions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 28 | "description": "The available OEM-specific actions for this Resource.", |
| 29 | "longDescription": "This property shall contain the available OEM-specific actions for this Resource.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 30 | "versionAdded": "v1_2_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 31 | } |
| 32 | }, |
| 33 | "type": "object" |
| 34 | }, |
| 35 | "EventSeverity": { |
| 36 | "enum": [ |
| 37 | "OK", |
| 38 | "Warning", |
| 39 | "Critical" |
| 40 | ], |
| 41 | "enumDescriptions": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 42 | "Critical": "A critical condition that requires immediate attention.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 43 | "OK": "Informational or operating normally.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 44 | "Warning": "A condition that requires attention." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 45 | }, |
| 46 | "type": "string" |
| 47 | }, |
| 48 | "Links": { |
| 49 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 50 | "description": "The links to other Resources that are related to this Resource.", |
| 51 | "longDescription": "This Redfish Specification-described type shall contain links to Resources that are related to but are not contained by or subordinate to this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 52 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 53 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 54 | "description": "This property shall specify a valid odata or Redfish property.", |
| 55 | "type": [ |
| 56 | "array", |
| 57 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 58 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 59 | "number", |
| 60 | "null", |
| 61 | "object", |
| 62 | "string" |
| 63 | ] |
| 64 | } |
| 65 | }, |
| 66 | "properties": { |
| 67 | "Oem": { |
| 68 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 69 | "description": "The OEM extension property.", |
| 70 | "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 71 | }, |
| 72 | "OriginOfCondition": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 73 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef", |
| 74 | "description": "The URI of the Resource that caused the log entry.", |
| 75 | "longDescription": "This property shall contain a link to the Resource that caused the log entry.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 76 | "readonly": true |
| 77 | } |
| 78 | }, |
| 79 | "type": "object" |
| 80 | }, |
| 81 | "LogEntry": { |
| 82 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 83 | "description": "The LogEntry schema defines the record format for a log. It is designed for Redfish event logs, OEM-specific log formats, and the IPMI System Event Log (SEL). The EntryType field indicates the type of log and the Resource includes several additional properties dependent on the EntryType.", |
| 84 | "longDescription": "This Resource shall represent the log format for Log Services in a Redfish implementation.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 85 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 86 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 87 | "description": "This property shall specify a valid odata or Redfish property.", |
| 88 | "type": [ |
| 89 | "array", |
| 90 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 91 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 92 | "number", |
| 93 | "null", |
| 94 | "object", |
| 95 | "string" |
| 96 | ] |
| 97 | } |
| 98 | }, |
| 99 | "properties": { |
| 100 | "@odata.context": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 101 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 102 | }, |
| 103 | "@odata.etag": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 104 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 105 | }, |
| 106 | "@odata.id": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 107 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 108 | }, |
| 109 | "@odata.type": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 110 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 111 | }, |
| 112 | "Actions": { |
| 113 | "$ref": "#/definitions/Actions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 114 | "description": "The available actions for this Resource.", |
| 115 | "longDescription": "This property shall contain the available actions for this Resource.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 116 | "versionAdded": "v1_2_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 117 | }, |
| 118 | "Created": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 119 | "description": "The date and time when the log entry was created.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 120 | "format": "date-time", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 121 | "longDescription": "This property shall contain the date and time when the log entry was created.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 122 | "readonly": true, |
| 123 | "type": "string" |
| 124 | }, |
| 125 | "Description": { |
| 126 | "anyOf": [ |
| 127 | { |
| 128 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 129 | }, |
| 130 | { |
| 131 | "type": "null" |
| 132 | } |
| 133 | ], |
| 134 | "readonly": true |
| 135 | }, |
| 136 | "EntryCode": { |
| 137 | "anyOf": [ |
| 138 | { |
| 139 | "$ref": "#/definitions/LogEntryCode" |
| 140 | }, |
| 141 | { |
| 142 | "type": "null" |
| 143 | } |
| 144 | ], |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 145 | "description": "The entry code for the log entry if the entry type is `SEL`.", |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 146 | "longDescription": "This property shall contain the entry code for the log entry if the EntryType is `SEL`. Tables 42-1 and 42-2 of the IPMI Specification v2.0 revision 1.1 describe these enumerations.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 147 | "readonly": true |
| 148 | }, |
| 149 | "EntryType": { |
| 150 | "$ref": "#/definitions/LogEntryType", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 151 | "description": "The type of log entry.", |
| 152 | "longDescription": "This property shall represent the type of log entry. If the Resource represents an IPMI SEL entry, the value shall contain `SEL`. If the Resource represents a Redfish event log entry, the value shall contain `Event`. If the Resource represents an OEM log entry format, the value shall contain `Oem`.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 153 | "readonly": true |
| 154 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 155 | "EventGroupId": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 156 | "description": "An identifier that correlates events with the same cause.", |
| 157 | "longDescription": "This property shall indicate that events are related and shall have the same value in the case where multiple event messages are produced by the same root cause. Implementations shall use separate values for events with separate root cause. There shall not be ordering of events implied by this property's value.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 158 | "readonly": true, |
| 159 | "type": [ |
| 160 | "integer", |
| 161 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 162 | ], |
| 163 | "versionAdded": "v1_4_0" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 164 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 165 | "EventId": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 166 | "description": "The unique instance identifier for an event.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 167 | "longDescription": "If present, this LogEntry records an Event and the value shall indicate a unique identifier for the event, the format of which is implementation dependent.", |
| 168 | "readonly": true, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 169 | "type": "string", |
| 170 | "versionAdded": "v1_1_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 171 | }, |
| 172 | "EventTimestamp": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 173 | "description": "The date and time when the event occurred.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 174 | "format": "date-time", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 175 | "longDescription": "If present, this LogEntry records an event and the value shall contain the date and time when the event occurred.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 176 | "readonly": true, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 177 | "type": "string", |
| 178 | "versionAdded": "v1_1_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 179 | }, |
| 180 | "EventType": { |
| 181 | "$ref": "http://redfish.dmtf.org/schemas/v1/Event.json#/definitions/EventType", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 182 | "deprecated": "This property has been deprecated. Starting with Redfish Specification v1.6 (Event v1.3), subscriptions are based on the RegistryPrefix and ResourceType properties and not on the EventType property.", |
| 183 | "description": "The type of event recorded in this log.", |
| 184 | "longDescription": "If present, this LogEntry records an event and the value shall indicate the type of event.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 185 | "readonly": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 186 | "versionAdded": "v1_1_0", |
| 187 | "versionDeprecated": "v1_4_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 188 | }, |
Gunnar Mills | 6f44b75 | 2020-02-06 16:50:51 -0600 | [diff] [blame] | 189 | "GeneratorId": { |
| 190 | "description": "An identifier of the device that has generated the IPMI SEL Event Record.", |
| 191 | "longDescription": "If EntryType is `SEL`, this property shall contain the 'Generator ID' field of the IPMI SEL Event Record. If EntryType is not `SEL`, this property should not be present.", |
| 192 | "pattern": "^0[xX](([a-fA-F]|[0-9]){2}){2}$", |
| 193 | "readonly": true, |
| 194 | "type": [ |
| 195 | "string", |
| 196 | "null" |
| 197 | ], |
| 198 | "versionAdded": "v1_5_0" |
| 199 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 200 | "Id": { |
| 201 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 202 | "readonly": true |
| 203 | }, |
| 204 | "Links": { |
| 205 | "$ref": "#/definitions/Links", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 206 | "description": "The links to other Resources that are related to this Resource.", |
| 207 | "longDescription": "This Redfish Specification-described property shall contain links to Resources that are related to but are not contained by or subordinate to this Resource." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 208 | }, |
| 209 | "Message": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 210 | "description": "The message of the log entry. This property decodes from the entry type. If the entry type is `Event`, this property contains a message. If the entry type is `SEL`, this property contains an SEL-specific message. Otherwise, this property contains an OEM-specific log entry. In most cases, this property contains the actual log entry.", |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 211 | "longDescription": "This property shall contain the message of the log entry. This property decodes from the entry type. If the entry type is `Event`, this property contains a message. If the entry type is `SEL`, this property contains an SEL-specific message, following the format specified in Table 32-1, SEL Event Records, in the IPMI Specification v2.0 revision 1.1. Otherwise, this property contains an OEM-specific log entry. In most cases, this property contains the actual log entry.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 212 | "readonly": true, |
| 213 | "type": [ |
| 214 | "string", |
| 215 | "null" |
| 216 | ] |
| 217 | }, |
| 218 | "MessageArgs": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 219 | "description": "The arguments for the message.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 220 | "items": { |
| 221 | "type": "string" |
| 222 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 223 | "longDescription": "This property shall contain message arguments to substitute into the included or looked-up message.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 224 | "readonly": true, |
| 225 | "type": "array" |
| 226 | }, |
| 227 | "MessageId": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 228 | "description": "The MessageId, event data, or OEM-specific information. This property decodes from the entry type. If the entry type is `Event`, this property contains a Redfish Specification-defined MessageId. If the entry type is `SEL`, this property contains the Event Data. Otherwise, this property contains OEM-specific information.", |
Gunnar Mills | 6f44b75 | 2020-02-06 16:50:51 -0600 | [diff] [blame] | 229 | "longDescription": "This property shall contain the MessageId, event data, or OEM-specific information. This property decodes from the entry type. If the entry type is `Event`, this property contains a Redfish Specification-defined MessageId property of the event. If the entry type is `SEL`, the format should follow the pattern '^0[xX](([a-fA-F]|[0-9]){2}){4}$', which results in a string in the form '0xNNaabbcc', where 'NN' is the EventDir/EventType byte, 'aa' is the Event Data 1 byte, 'bb' is Event Data 2 byte, 'cc' is Event Data 3 byte, corresponding with bytes 13-16 in the IPMI SEL Event Record. Otherwise, this property contains OEM-specific information.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 230 | "readonly": true, |
| 231 | "type": "string" |
| 232 | }, |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame^] | 233 | "Modified": { |
| 234 | "description": "The date and time when the log entry was last modified.", |
| 235 | "format": "date-time", |
| 236 | "longDescription": "This property shall contain the date and time when the log entry was last modified. This property shall not appear if the log entry has not been modified since it was created.", |
| 237 | "readonly": true, |
| 238 | "type": "string", |
| 239 | "versionAdded": "v1_6_0" |
| 240 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 241 | "Name": { |
| 242 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 243 | "readonly": true |
| 244 | }, |
| 245 | "Oem": { |
| 246 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 247 | "description": "The OEM extension property.", |
| 248 | "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 249 | }, |
| 250 | "OemLogEntryCode": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 251 | "description": "The OEM-specific entry code, if the LogEntryCode type is `OEM`.", |
| 252 | "longDescription": "This property shall represent the OEM-specific Log Entry Code type of the Entry. This property shall only be present if EntryType is `SEL` and LogEntryCode is `OEM`.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 253 | "readonly": true, |
| 254 | "type": [ |
| 255 | "string", |
| 256 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 257 | ], |
| 258 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 259 | }, |
| 260 | "OemRecordFormat": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 261 | "description": "The OEM-specific format of the entry. If the entry type is `Oem`, this property contains more information about the record format from the OEM.", |
| 262 | "longDescription": "This property shall represent the OEM-specific format of the entry. This property shall be required if the EntryType value is `Oem`.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 263 | "readonly": true, |
| 264 | "type": [ |
| 265 | "string", |
| 266 | "null" |
| 267 | ] |
| 268 | }, |
| 269 | "OemSensorType": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 270 | "description": "The OEM-specific sensor type if the sensor type is `OEM`.", |
| 271 | "longDescription": "This property shall represent the OEM-specific sensor type of the entry. This property shall only be used if EntryType is `SEL` and SensorType is `OEM`.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 272 | "readonly": true, |
| 273 | "type": [ |
| 274 | "string", |
| 275 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 276 | ], |
| 277 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 278 | }, |
| 279 | "SensorNumber": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 280 | "description": "The sensor number, the count of events, or OEM-specific information. This property value is decoded from the entry type. If the entry type is `SEL`, this property contains the sensor number. If the entry type is `Event`, this property contains the count of events. Otherwise, this property contains OEM-specific information.", |
| 281 | "longDescription": "This property shall contain the sensor number, the count of events, or OEM-specific information. This property value is decoded from the entry type. If the entry type is `SEL`, this property contains the sensor number. If the entry type is `Event`, this property contains the count of events. Otherwise, this property contains OEM-specific information.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 282 | "readonly": true, |
| 283 | "type": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 284 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 285 | "null" |
| 286 | ] |
| 287 | }, |
| 288 | "SensorType": { |
| 289 | "anyOf": [ |
| 290 | { |
| 291 | "$ref": "#/definitions/SensorType" |
| 292 | }, |
| 293 | { |
| 294 | "type": "null" |
| 295 | } |
| 296 | ], |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 297 | "description": "The sensor type to which the log entry pertains if the entry type is `SEL`.", |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 298 | "longDescription": "This property shall contain the sensor type to which the log entry pertains if the entry type is `SEL`. Table 42-3, Sensor Type Codes, in the IPMI Specification v2.0 revision 1.1 describes these enumerations.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 299 | "readonly": true |
| 300 | }, |
| 301 | "Severity": { |
| 302 | "anyOf": [ |
| 303 | { |
| 304 | "$ref": "#/definitions/EventSeverity" |
| 305 | }, |
| 306 | { |
| 307 | "type": "null" |
| 308 | } |
| 309 | ], |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 310 | "description": "The severity of the log entry.", |
| 311 | "longDescription": "This property shall contain the severity of the condition that created the log entry, as defined in the Status section of the Redfish Specification.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 312 | "readonly": true |
| 313 | } |
| 314 | }, |
| 315 | "required": [ |
| 316 | "EntryType", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 317 | "@odata.id", |
| 318 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 319 | "Id", |
| 320 | "Name" |
| 321 | ], |
| 322 | "requiredOnCreate": [ |
| 323 | "EntryType" |
| 324 | ], |
| 325 | "type": "object" |
| 326 | }, |
| 327 | "LogEntryCode": { |
| 328 | "enum": [ |
| 329 | "Assert", |
| 330 | "Deassert", |
| 331 | "Lower Non-critical - going low", |
| 332 | "Lower Non-critical - going high", |
| 333 | "Lower Critical - going low", |
| 334 | "Lower Critical - going high", |
| 335 | "Lower Non-recoverable - going low", |
| 336 | "Lower Non-recoverable - going high", |
| 337 | "Upper Non-critical - going low", |
| 338 | "Upper Non-critical - going high", |
| 339 | "Upper Critical - going low", |
| 340 | "Upper Critical - going high", |
| 341 | "Upper Non-recoverable - going low", |
| 342 | "Upper Non-recoverable - going high", |
| 343 | "Transition to Idle", |
| 344 | "Transition to Active", |
| 345 | "Transition to Busy", |
| 346 | "State Deasserted", |
| 347 | "State Asserted", |
| 348 | "Predictive Failure deasserted", |
| 349 | "Predictive Failure asserted", |
| 350 | "Limit Not Exceeded", |
| 351 | "Limit Exceeded", |
| 352 | "Performance Met", |
| 353 | "Performance Lags", |
| 354 | "Transition to OK", |
| 355 | "Transition to Non-Critical from OK", |
| 356 | "Transition to Critical from less severe", |
| 357 | "Transition to Non-recoverable from less severe", |
| 358 | "Transition to Non-Critical from more severe", |
| 359 | "Transition to Critical from Non-recoverable", |
| 360 | "Transition to Non-recoverable", |
| 361 | "Monitor", |
| 362 | "Informational", |
| 363 | "Device Removed / Device Absent", |
| 364 | "Device Inserted / Device Present", |
| 365 | "Device Disabled", |
| 366 | "Device Enabled", |
| 367 | "Transition to Running", |
| 368 | "Transition to In Test", |
| 369 | "Transition to Power Off", |
| 370 | "Transition to On Line", |
| 371 | "Transition to Off Line", |
| 372 | "Transition to Off Duty", |
| 373 | "Transition to Degraded", |
| 374 | "Transition to Power Save", |
| 375 | "Install Error", |
| 376 | "Fully Redundant", |
| 377 | "Redundancy Lost", |
| 378 | "Redundancy Degraded", |
| 379 | "Non-redundant:Sufficient Resources from Redundant", |
| 380 | "Non-redundant:Sufficient Resources from Insufficient Resources", |
| 381 | "Non-redundant:Insufficient Resources", |
| 382 | "Redundancy Degraded from Fully Redundant", |
| 383 | "Redundancy Degraded from Non-redundant", |
| 384 | "D0 Power State", |
| 385 | "D1 Power State", |
| 386 | "D2 Power State", |
| 387 | "D3 Power State", |
| 388 | "OEM" |
| 389 | ], |
| 390 | "enumDescriptions": { |
| 391 | "Assert": "The condition has been asserted.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 392 | "D0 Power State": "The ACPI-defined D0 power state.", |
| 393 | "D1 Power State": "The ACPI-defined D1 power state.", |
| 394 | "D2 Power State": "The ACPI-defined D2 power state.", |
| 395 | "D3 Power State": "The ACPI-defined D3 power state.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 396 | "Deassert": "The condition has been deasserted.", |
| 397 | "Device Disabled": "A device has been disabled.", |
| 398 | "Device Enabled": "A device has been enabled.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 399 | "Device Inserted / Device Present": "A device has been inserted or is present.", |
| 400 | "Device Removed / Device Absent": "A device has been removed or is absent.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 401 | "Fully Redundant": "Indicates that full redundancy has been regained.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 402 | "Informational": "An informational event.", |
| 403 | "Install Error": "An install error has been detected.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 404 | "Limit Exceeded": "A limit has been exceeded.", |
| 405 | "Limit Not Exceeded": "A limit has not been exceeded.", |
| 406 | "Lower Critical - going high": "The reading crossed the Lower Critical threshold while going high.", |
| 407 | "Lower Critical - going low": "The reading crossed the Lower Critical threshold while going low.", |
| 408 | "Lower Non-critical - going high": "The reading crossed the Lower Non-critical threshold while going high.", |
| 409 | "Lower Non-critical - going low": "The reading crossed the Lower Non-critical threshold while going low.", |
| 410 | "Lower Non-recoverable - going high": "The reading crossed the Lower Non-recoverable threshold while going high.", |
| 411 | "Lower Non-recoverable - going low": "The reading crossed the Lower Non-recoverable threshold while going low.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 412 | "Monitor": "A monitor event.", |
| 413 | "Non-redundant:Insufficient Resources": "Unit is non-redundant and has insufficient resources to maintain normal operation.", |
| 414 | "Non-redundant:Sufficient Resources from Insufficient Resources": "Unit has regained minimum resources needed for normal operation.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 415 | "Non-redundant:Sufficient Resources from Redundant": "Redundancy has been lost but unit is functioning with minimum resources needed for normal operation.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 416 | "OEM": "An OEM-defined event.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 417 | "Performance Lags": "Performance does not meet expectations.", |
| 418 | "Performance Met": "Performance meets expectations.", |
| 419 | "Predictive Failure asserted": "A Predictive Failure has been detected.", |
| 420 | "Predictive Failure deasserted": "A Predictive Failure is no longer present.", |
| 421 | "Redundancy Degraded": "Redundancy still exists, but at less than full level.", |
| 422 | "Redundancy Degraded from Fully Redundant": "Unit has lost some redundant resource(s) but is still in a redundant state.", |
| 423 | "Redundancy Degraded from Non-redundant": "Unit has regained some resource(s) and is redundant but not fully redundant.", |
| 424 | "Redundancy Lost": "Entered any non-redundant state, including Non-redundant: Insufficient Resources.", |
| 425 | "State Asserted": "The state has been asserted.", |
| 426 | "State Deasserted": "The state has been deasserted.", |
| 427 | "Transition to Active": "The state transitioned to active.", |
| 428 | "Transition to Busy": "The state transitioned to busy.", |
| 429 | "Transition to Critical from Non-recoverable": "A state has changed to Critical from Non-recoverable.", |
| 430 | "Transition to Critical from less severe": "A state has changed to Critical from less severe.", |
| 431 | "Transition to Degraded": "A state has transitioned to Degraded.", |
| 432 | "Transition to Idle": "The state transitioned to idle.", |
| 433 | "Transition to In Test": "A state has transitioned to In Test.", |
| 434 | "Transition to Non-Critical from OK": "A state has changed to Non-Critical from OK.", |
| 435 | "Transition to Non-Critical from more severe": "A state has changed to Non-Critical from more severe.", |
| 436 | "Transition to Non-recoverable": "A state has changed to Non-recoverable.", |
| 437 | "Transition to Non-recoverable from less severe": "A state has changed to Non-recoverable from less severe.", |
| 438 | "Transition to OK": "A state has changed to OK.", |
| 439 | "Transition to Off Duty": "A state has transitioned to Off Duty.", |
| 440 | "Transition to Off Line": "A state has transitioned to Off Line.", |
| 441 | "Transition to On Line": "A state has transitioned to On Line.", |
| 442 | "Transition to Power Off": "A state has transitioned to Power Off.", |
| 443 | "Transition to Power Save": "A state has transitioned to Power Save.", |
| 444 | "Transition to Running": "A state has transitioned to Running.", |
| 445 | "Upper Critical - going high": "The reading crossed the Upper Critical threshold while going high.", |
| 446 | "Upper Critical - going low": "The reading crossed the Upper Critical threshold while going low.", |
| 447 | "Upper Non-critical - going high": "The reading crossed the Upper Non-critical threshold while going high.", |
| 448 | "Upper Non-critical - going low": "The reading crossed the Upper Non-critical threshold while going low.", |
| 449 | "Upper Non-recoverable - going high": "The reading crossed the Upper Non-recoverable threshold while going high.", |
| 450 | "Upper Non-recoverable - going low": "The reading crossed the Upper Non-recoverable threshold while going low." |
| 451 | }, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 452 | "enumVersionAdded": { |
| 453 | "OEM": "v1_3_0" |
| 454 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 455 | "type": "string" |
| 456 | }, |
| 457 | "LogEntryType": { |
| 458 | "enum": [ |
| 459 | "Event", |
| 460 | "SEL", |
| 461 | "Oem" |
| 462 | ], |
| 463 | "enumDescriptions": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 464 | "Event": "A Redfish-defined message.", |
| 465 | "Oem": "An entry in an OEM-defined format.", |
| 466 | "SEL": "A legacy IPMI System Event Log (SEL) entry." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 467 | }, |
| 468 | "type": "string" |
| 469 | }, |
| 470 | "OemActions": { |
| 471 | "additionalProperties": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 472 | "description": "The available OEM-specific actions for this Resource.", |
| 473 | "longDescription": "This type shall contain the available OEM-specific actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 474 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 475 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 476 | "description": "This property shall specify a valid odata or Redfish property.", |
| 477 | "type": [ |
| 478 | "array", |
| 479 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 480 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 481 | "number", |
| 482 | "null", |
| 483 | "object", |
| 484 | "string" |
| 485 | ] |
| 486 | } |
| 487 | }, |
| 488 | "properties": {}, |
| 489 | "type": "object" |
| 490 | }, |
| 491 | "SensorType": { |
| 492 | "enum": [ |
| 493 | "Platform Security Violation Attempt", |
| 494 | "Temperature", |
| 495 | "Voltage", |
| 496 | "Current", |
| 497 | "Fan", |
| 498 | "Physical Chassis Security", |
| 499 | "Processor", |
| 500 | "Power Supply / Converter", |
| 501 | "PowerUnit", |
| 502 | "CoolingDevice", |
| 503 | "Other Units-based Sensor", |
| 504 | "Memory", |
| 505 | "Drive Slot/Bay", |
| 506 | "POST Memory Resize", |
| 507 | "System Firmware Progress", |
| 508 | "Event Logging Disabled", |
| 509 | "System Event", |
| 510 | "Critical Interrupt", |
| 511 | "Button/Switch", |
| 512 | "Module/Board", |
| 513 | "Microcontroller/Coprocessor", |
| 514 | "Add-in Card", |
| 515 | "Chassis", |
| 516 | "ChipSet", |
| 517 | "Other FRU", |
| 518 | "Cable/Interconnect", |
| 519 | "Terminator", |
| 520 | "SystemBoot/Restart", |
| 521 | "Boot Error", |
| 522 | "BaseOSBoot/InstallationStatus", |
| 523 | "OS Stop/Shutdown", |
| 524 | "Slot/Connector", |
| 525 | "System ACPI PowerState", |
| 526 | "Watchdog", |
| 527 | "Platform Alert", |
| 528 | "Entity Presence", |
| 529 | "Monitor ASIC/IC", |
| 530 | "LAN", |
| 531 | "Management Subsystem Health", |
| 532 | "Battery", |
| 533 | "Session Audit", |
| 534 | "Version Change", |
| 535 | "FRUState", |
| 536 | "OEM" |
| 537 | ], |
| 538 | "enumDescriptions": { |
| 539 | "Add-in Card": "A sensor for an add-in card.", |
| 540 | "BaseOSBoot/InstallationStatus": "A sensor for a base OS boot or installation status event.", |
| 541 | "Battery": "A sensor for a battery.", |
| 542 | "Boot Error": "A sensor for a boot error event.", |
| 543 | "Button/Switch": "A sensor for a button or switch.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 544 | "Cable/Interconnect": "A sensor for a cable or interconnect device type.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 545 | "Chassis": "A sensor for a chassis.", |
| 546 | "ChipSet": "A sensor for a chipset.", |
| 547 | "CoolingDevice": "A sensor for a cooling device.", |
| 548 | "Critical Interrupt": "A sensor for a critical interrupt event.", |
| 549 | "Current": "A current sensor.", |
| 550 | "Drive Slot/Bay": "A sensor for a drive slot or bay.", |
| 551 | "Entity Presence": "A sensor for an entity presence event.", |
| 552 | "Event Logging Disabled": "A sensor for the event log.", |
| 553 | "FRUState": "A sensor for a FRU state event.", |
| 554 | "Fan": "A fan sensor.", |
| 555 | "LAN": "A sensor for a LAN device.", |
| 556 | "Management Subsystem Health": "A sensor for a management subsystem health event.", |
| 557 | "Memory": "A sensor for a memory device.", |
| 558 | "Microcontroller/Coprocessor": "A sensor for a microcontroller or coprocessor.", |
| 559 | "Module/Board": "A sensor for a module or board.", |
| 560 | "Monitor ASIC/IC": "A sensor for a monitor ASIC or IC.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 561 | "OEM": "An OEM-defined sensor.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 562 | "OS Stop/Shutdown": "A sensor for an OS stop or shutdown event", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 563 | "Other FRU": "A sensor for another type of FRU.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 564 | "Other Units-based Sensor": "A sensor for a miscellaneous analog sensor.", |
| 565 | "POST Memory Resize": "A sensor for a POST memory resize event.", |
| 566 | "Physical Chassis Security": "A physical security sensor.", |
| 567 | "Platform Alert": "A sensor for a platform alert event.", |
| 568 | "Platform Security Violation Attempt": "A platform security sensor.", |
| 569 | "Power Supply / Converter": "A sensor for a power supply or DC-to-DC converter.", |
| 570 | "PowerUnit": "A sensor for a power unit.", |
| 571 | "Processor": "A sensor for a processor.", |
| 572 | "Session Audit": "A sensor for a session audit event.", |
| 573 | "Slot/Connector": "A sensor for a slot or connector.", |
| 574 | "System ACPI PowerState": "A sensor for an ACPI power state event.", |
| 575 | "System Event": "A sensor for a system event.", |
| 576 | "System Firmware Progress": "A sensor for a system firmware progress event.", |
| 577 | "SystemBoot/Restart": "A sensor for a system boot or restart event.", |
| 578 | "Temperature": "A temperature sensor.", |
| 579 | "Terminator": "A sensor for a terminator.", |
| 580 | "Version Change": "A sensor for a version change event.", |
| 581 | "Voltage": "A voltage sensor.", |
| 582 | "Watchdog": "A sensor for a watchdog event." |
| 583 | }, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 584 | "enumVersionAdded": { |
| 585 | "OEM": "v1_3_0" |
| 586 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 587 | "type": "string" |
| 588 | } |
| 589 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 590 | "owningEntity": "DMTF", |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame^] | 591 | "release": "2020.1", |
| 592 | "title": "#LogEntry.v1_6_0.LogEntry" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 593 | } |