summaryrefslogtreecommitdiff
path: root/static/redfish/v1/JsonSchemas/LogService/index.json
diff options
context:
space:
mode:
Diffstat (limited to 'static/redfish/v1/JsonSchemas/LogService/index.json')
-rw-r--r--static/redfish/v1/JsonSchemas/LogService/index.json263
1 files changed, 18 insertions, 245 deletions
diff --git a/static/redfish/v1/JsonSchemas/LogService/index.json b/static/redfish/v1/JsonSchemas/LogService/index.json
index 95f9134875..93fb5cd4e9 100644
--- a/static/redfish/v1/JsonSchemas/LogService/index.json
+++ b/static/redfish/v1/JsonSchemas/LogService/index.json
@@ -1,248 +1,21 @@
{
- "$ref": "#/definitions/LogService",
- "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_3_0.json",
- "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
- "definitions": {
- "Actions": {
- "additionalProperties": false,
- "description": "The available actions for this resource.",
- "longDescription": "This type shall contain the available actions for this resource.",
- "patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
- "description": "This property shall specify a valid odata or Redfish property.",
- "type": [
- "array",
- "boolean",
- "number",
- "null",
- "object",
- "string"
- ]
- }
- },
- "properties": {
- "#LogService.ClearLog": {
- "$ref": "#/definitions/ClearLog"
- },
- "Oem": {
- "$ref": "#/definitions/OemActions"
- }
- },
- "type": "object"
- },
- "ClearLog": {
- "additionalProperties": false,
- "description": "This action is used to clear the log for this Log Service.",
- "longDescription": "This action shall delete all entries found in the Entries collection for this Log Service.",
- "parameters": {},
- "patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
- "description": "This property shall specify a valid odata or Redfish property.",
- "type": [
- "array",
- "boolean",
- "number",
- "null",
- "object",
- "string"
- ]
- }
- },
- "properties": {
- "target": {
- "description": "Link to invoke action",
- "format": "uri",
- "type": "string"
- },
- "title": {
- "description": "Friendly action name",
- "type": "string"
- }
- },
- "type": "object"
- },
- "LogEntryTypes": {
- "enum": [
- "Event",
- "SEL",
- "Multiple",
- "OEM"
- ],
- "enumDescriptions": {
- "Event": "The log contains Redfish-defined messages (events).",
- "Multiple": "The log contains multiple Log Entry types or a single entry type cannot be guaranteed by the Log Service.",
- "OEM": "The log contains entries in an OEM-defined format.",
- "SEL": "The log contains legacy IPMI System Event Log (SEL) entries."
- },
- "type": "string"
- },
- "LogService": {
- "additionalProperties": false,
- "description": "This resource represents the log service for the resource or service to which it is associated.",
- "longDescription": "This resource shall be used to represent a log service for a Redfish implementation.",
- "patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
- "description": "This property shall specify a valid odata or Redfish property.",
- "type": [
- "array",
- "boolean",
- "number",
- "null",
- "object",
- "string"
- ]
- }
- },
- "properties": {
- "@odata.context": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/context"
- },
- "@odata.id": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/id"
- },
- "@odata.type": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/type"
- },
- "Actions": {
- "$ref": "#/definitions/Actions",
- "description": "The available actions for this resource.",
- "longDescription": "The Actions property shall contain the available actions for this resource."
- },
- "DateTime": {
- "description": "The current DateTime (with offset) for the log service, used to set or read time.",
- "format": "date-time",
- "longDescription": "The value of this property shall represent the current DateTime value that the log service is using, with offset from UTC, in Redfish Timestamp format.",
- "readonly": false,
- "type": [
- "string",
- "null"
- ]
- },
- "DateTimeLocalOffset": {
- "description": "The time offset from UTC that the DateTime property is set to in format: +06:00 .",
- "longDescription": "The value is property shall represent the offset from UTC time that the current value of DataTime property contains.",
- "pattern": "([-+][0-1][0-9]:[0-5][0-9])",
- "readonly": false,
- "type": [
- "string",
- "null"
- ]
- },
- "Description": {
- "anyOf": [
- {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
- },
- {
- "type": "null"
- }
- ],
- "readonly": true
- },
- "Entries": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/LogEntryCollection.json#/definitions/LogEntryCollection",
- "description": "References to the log entry collection.",
- "longDescription": "The value of this property shall reference a collection of resources of type LogEntry.",
- "readonly": true
- },
- "Id": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
- "readonly": true
- },
- "LogEntryType": {
- "anyOf": [
- {
- "$ref": "#/definitions/LogEntryTypes"
- },
- {
- "type": "null"
- }
- ],
- "description": "The format of the Entries of this log.",
- "longDescription": "The value of this property shall represent the EntryType of all LogEntry resources contained in the Entries collection. If a single EntryType for all LogEntry resources cannot be determined or guaranteed by the Service, the value of this property shall be 'Multiple'.",
- "readonly": true
- },
- "MaxNumberOfRecords": {
- "description": "The maximum number of log entries this service can have.",
- "longDescription": "The value of this property shall be the maximum numbers of LogEntry resources in the Entries collection for this service.",
- "minimum": 0,
- "readonly": true,
- "type": "number"
- },
- "Name": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
- "readonly": true
- },
- "Oem": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
- "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
- "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
- },
- "OverWritePolicy": {
- "$ref": "#/definitions/OverWritePolicy",
- "description": "The overwrite policy for this service that takes place when the log is full.",
- "longDescription": "The value of this property shall indicate the policy of the log service when the MaxNumberOfRecords has been reached. Unknown indicates the log overwrite policy is unknown. WrapsWhenFull indicates that the log overwrites its entries with new entries when the log has reached its maximum capacity. NeverOverwrites indicates that the log never overwrites its entries by the new entries and ceases logging when the limit has been reached.",
- "readonly": true
- },
- "ServiceEnabled": {
- "description": "This indicates whether this service is enabled.",
- "longDescription": "The value of this property shall be a boolean indicating whether this service is enabled.",
- "readonly": false,
- "type": [
- "boolean",
- "null"
- ]
- },
- "Status": {
- "anyOf": [
- {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "Id",
- "Name"
- ],
- "type": "object"
- },
- "OemActions": {
- "additionalProperties": true,
- "description": "The available OEM specific actions for this resource.",
- "longDescription": "This type shall contain any additional OEM actions for this resource.",
- "patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
- "description": "This property shall specify a valid odata or Redfish property.",
- "type": [
- "array",
- "boolean",
- "number",
- "null",
- "object",
- "string"
- ]
- }
- },
- "properties": {},
- "type": "object"
- },
- "OverWritePolicy": {
- "enum": [
- "Unknown",
- "WrapsWhenFull",
- "NeverOverWrites"
- ],
- "enumDescriptions": {
- "NeverOverWrites": "When full, new entries to the Log will be discarded.",
- "Unknown": "The overwrite policy is not known or is undefined.",
- "WrapsWhenFull": "When full, new entries to the Log will overwrite previous entries."
- },
- "type": "string"
+ "@odata.context": "/redfish/v1/$metadata#JsonSchemaFile.JsonSchemaFile",
+ "@odata.id": "/redfish/v1/JSONSchemas/LogService",
+ "@odata.type": "#JsonSchemaFile.v1_0_2.JsonSchemaFile",
+ "Name": "LogService Schema File",
+ "Schema": "#LogService.LogService",
+ "Description": "LogService Schema File Location",
+ "Id": "LogService",
+ "Languages": [
+ "en"
+ ],
+ "Languages@odata.count": 1,
+ "Location": [
+ {
+ "Language": "en",
+ "PublicationUri": "http://redfish.dmtf.org/schemas/v1/LogService.json",
+ "Uri": "/redfish/v1/JSONSchemas/LogService/LogService.json"
}
- },
- "title": "#LogService.v1_1_0.LogService"
+ ],
+ "Location@odata.count": 1
} \ No newline at end of file