Add Redfish model 1.0

This commit is contained in:
root 2015-12-22 15:18:14 +01:00
parent f37370484f
commit 881682cbc9
84 changed files with 8584 additions and 0 deletions

View File

@ -0,0 +1,123 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#AccountService.1.0.0.AccountService",
"$ref": "#/definitions/AccountService",
"definitions": {
"AccountService": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"ServiceEnabled": {
"type": [
"boolean",
"null"
],
"description": "This indicates whether this service is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether this service is enabled."
},
"AuthFailureLoggingThreshold": {
"type": "number",
"readonly": false,
"description": "This is the number of authorization failures that need to occur before the failure attempt is logged to the manager log.",
"longDescription": "This property shall reference the threshold for when an authorization failure is logged. This represents a modulo function value, thus the failure shall be logged every nth occurrence where n represents the value of this property.",
"minimum": 0
},
"MinPasswordLength": {
"type": "number",
"readonly": true,
"description": "This is the minimum password length for this service.",
"longDescription": "This property shall reference the minimum password length that the implementation will allow a password to be set to.",
"minimum": 0
},
"MaxPasswordLength": {
"type": "number",
"readonly": true,
"description": "This is the maximum password length for this service.",
"longDescription": "This property shall reference the maximum password length that the implementation will allow a password to be set to.",
"minimum": 0
},
"AccountLockoutThreshold": {
"type": [
"number",
"null"
],
"readonly": false,
"description": "The number of failed login attempts before a user account is locked for a specified duration. (0=never locked)",
"longDescription": "This property shall reference the threshold of failed login attempts at which point the user's account is locked. If set to 0, no lockout shall ever occur.",
"minimum": 0
},
"AccountLockoutDuration": {
"type": [
"number",
"null"
],
"readonly": false,
"description": "The time an account is locked after the account lockout threshold is met. Must be >= AccountLockoutResetAfter. If set to 0, no lockout will occur.",
"longDescription": "This property shall reference the period of time in seconds that an account is locked after the number of failed login attempts reaches the threshold referenced by AccountLockoutThreshold, within the window of time referenced by AccountLockoutCounterResetAfter. The value shall be greater than or equal to the value of AccountLockoutResetAfter. If set to 0, no lockout shall occur.",
"minimum": 0
},
"AccountLockoutCounterResetAfter": {
"type": "number",
"readonly": false,
"description": "The interval of time since the last failed login attempt at which point the lockout threshold counter for the account is reset to zero. Must be less than or equal to AccountLockoutDuration",
"longDescription": "This property shall reference the threshold of time in seconds from the last failed login attempt at which point the AccountLockoutThreshold counter (that counts number of failed login attempts) is reset back to zero (at which point AccountLockoutThreshold failures would be required before the account is locked). This value shall be less than or equal to AccountLockoutDuration. The threshold counter also resets to zero after each successful login.",
"minimum": 0
},
"Accounts": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ManagerAccountCollection.json#/definitions/ManagerAccountCollection",
"readonly": true,
"description": "Link to a collection of Manager Accounts",
"longDescription": "This property shall contain the link to a collection of type ManagerAccountCollection."
},
"Roles": {
"$ref": "http://redfish.dmtf.org/schemas/v1/RoleCollection.json#/definitions/RoleCollection",
"readonly": true,
"description": "Link to a collection of Roles",
"longDescription": "This property shall contain the link to a collection of type RoleCollection."
}
},
"description": "This is the schema definition for the Account Service. It represents the properties for the service itself and has links to the actual list of accounts.",
"longDescription": "This resource shall be used to represent a management account service for a Redfish implementation."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#AccountService.AccountService",
"$ref": "#/definitions/AccountService",
"definitions": {
"AccountService": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/AccountService.1.0.0.json#/definitions/AccountService"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,378 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Chassis.1.0.0.Chassis",
"$ref": "#/definitions/Chassis",
"definitions": {
"Chassis": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"ChassisType": {
"$ref": "#/definitions/ChassisType",
"readonly": true,
"description": "This property indicates the type of physical form factor of this resource.",
"longDescription": "ChassisType shall indicate the physical form factor for the type of chassis."
},
"Manufacturer": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "This is the manufacturer of this chassis.",
"longDescription": "The value of this property shall be the name of the organization responsible for producing the chassis. This organization might be the entity from whom the chassis is purchased, but this is not necessarily true."
},
"Model": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "This is the model number for the chassis.",
"longDescription": "The value of this property shall be the name by which the manufacturer generally refers to the chassis."
},
"SKU": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "This is the SKU for this chassis.",
"longDescription": "The value of this property shall be the stock-keeping unit number for this chassis."
},
"SerialNumber": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The serial number for this chassis.",
"longDescription": "The value of this property shall be a manufacturer-allocated number used to identify the chassis."
},
"PartNumber": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The part number for this chassis.",
"longDescription": "The value of this property shall be a part number assigned by the organization that is responsible for producing or manufacturing the chassis."
},
"AssetTag": {
"type": [
"string",
"null"
],
"description": "The user assigned asset tag for this chassis.",
"longDescription": "The value of this property shall be an identifying string used to track the chassis for inventory purposes."
},
"IndicatorLED": {
"$ref": "#/definitions/IndicatorLED",
"description": "The state of the indicator LED, used to identify the chassis.",
"longDescription": "This value of this property shall contain the indicator light state for the indicator light associated with this system."
},
"Links": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "Oem extension object.",
"longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"ComputerSystems@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"ComputerSystems@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"ComputerSystems": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.json#/definitions/ComputerSystem"
},
"readonly": true,
"description": "An array of references to the computer systems contained in this chassis. This will only reference ComputerSystems that are directly and wholly contained in this chassis.",
"longDescription": "The value of this property shall be a reference to the resource that this physical container is associated with and shall reference a resource of type ComputerSystem. If a ComputerSystem is also referenced in a Chassis that is referenced in a Contains link from this resource, that ComputerSystem shall not be referenced in this Chassis."
},
"ManagedBy@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"ManagedBy@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"ManagedBy": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Manager.json#/definitions/Manager"
},
"readonly": true,
"description": "An array of references to the managers contained in this chassis.",
"longDescription": "The value of this property shall be a reference to the resource that manages this chassis and shall reference a resource of type Manager."
},
"ContainedBy": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis",
"readonly": true,
"description": "A reference to the chassis that this chassis is contained by.",
"longDescription": "The value of this property shall be a reference to the resource that represents the chassis that contains this chassis and shall be of type Chassis."
},
"Contains@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Contains@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Contains": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis"
},
"readonly": true,
"description": "An array of references to any other chassis that this chassis has in it.",
"longDescription": "The value of this property shall be a reference to the resource that represents the chassis that this chassis contains and shall be of type Chassis."
},
"PoweredBy@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"PoweredBy@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"PoweredBy": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"readonly": true,
"description": "An array of ID[s] of resources that power this chassis. Normally the ID will be a chassis or a specific set of powerSupplies",
"longDescription": "The value of this property shall be an array of IDs containing pointers consistent with JSON pointer syntax to the resource that powers this chassis."
},
"CooledBy@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"CooledBy@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"CooledBy": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"readonly": true,
"description": "An array of ID[s] of resources that cool this chassis. Normally the ID will be a chassis or a specific set of fans.",
"longDescription": "The value of this property shall be an array of IDs containing pointers consistent with JSON pointer syntax to the resource that powers this chassis."
}
},
"readonly": true,
"description": "The links object contains the links to other resources that are related to this resource."
},
"Actions": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"type": [
"object",
"null"
],
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {}
},
"#Chassis.Reset": {
"$ref": "#/definitions/Reset"
}
},
"readonly": true,
"description": "The Actions object contains the available custom actions on this resource."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"LogServices": {
"$ref": "http://redfish.dmtf.org/schemas/v1/LogServiceCollection.json#/definitions/LogServiceCollection",
"readonly": true,
"description": "A reference to the logs for this chassis.",
"longDescription": "The value of this property shall be a link to a collection of type LogServiceCollection."
},
"Thermal": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Thermal.json#/definitions/Thermal",
"readonly": true,
"description": "A reference to the thermal properties (fans, cooling, sensors) for this chassis.",
"longDescription": "The value of this property shall be a reference to the resource that represents the thermal characteristics of this chassis and shall be of type Thermal."
},
"Power": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Power.json#/definitions/Power",
"readonly": true,
"description": "A reference to the power properties (power supplies, power policies, sensors) for this chassis.",
"longDescription": "The value of this property shall be a reference to the resource that represents the power characteristics of this chassis and shall be of type Power."
}
},
"required": [
"ChassisType"
],
"description": "This is the schema definition for the Chassis resource. It represents the properties for physical components for any system. This one object is intended to represent racks, rackmount servers, blades, standalone, modular systems, enclosures, and all other containers. The non-cpu/device centric parts of the schema are all accessed either directly or indirectly through this resource.",
"longDescription": "This resource shall be used to represent a chassis or other physical enclosure for a Redfish implementation."
},
"ChassisType": {
"type": "string",
"enum": [
"Rack",
"Blade",
"Enclosure",
"StandAlone",
"RackMount",
"Card",
"Cartridge",
"Row",
"Pod",
"Expansion",
"Sidecar",
"Zone",
"Sled",
"Shelf",
"Drawer",
"Module",
"Component",
"Other"
],
"enumDescriptions": {
"Rack": "An equipment rack, typically a 19-inch wide freestanding unit",
"Blade": "An enclosed or semi-enclosed, typically vertically-oriented, system chassis which must be plugged into a multi-system chassis to function normally",
"Enclosure": "A generic term for a chassis that does not fit any other description",
"StandAlone": "A single, free-standing system, commonly called a tower or desktop chassis",
"RackMount": "A single system chassis designed specifically for mounting in an equipment rack",
"Card": "A loose device or circuit board intended to be installed in a system or other enclosure",
"Cartridge": "A small self-contained system intended to be plugged into a multi-system chassis",
"Row": "A collection of equipment racks",
"Pod": "A collection of equipment racks in a large, likely transportable, container",
"Expansion": "A chassis which expands the capabilities or capacity of another chassis",
"Sidecar": "A chassis that mates mechanically with another chassis to expand its capabilities or capacity",
"Zone": "A logical division or portion of a physical chassis that contains multiple devices or systems that cannot be physically separated",
"Sled": "An enclosed or semi-enclosed, system chassis which must be plugged into a multi-system chassis to function normally similar to a blade type chassis.",
"Shelf": "An enclosed or semi-enclosed, typically horizontally-oriented, system chassis which must be plugged into a multi-system chassis to function normally",
"Drawer": "An enclosed or semi-enclosed, typically horizontally-oriented, system chassis which may be slid into a multi-system chassis.",
"Module": "A small, typically removable, chassis or card which contains devices for a particular subsystem or function",
"Component": "A small chassis, card, or device which contains devices for a particular subsystem or function",
"Other": "A chassis that does not fit any of these definitions"
}
},
"IndicatorLED": {
"type": "string",
"enum": [
"Unknown",
"Lit",
"Blinking",
"Off"
],
"enumDescriptions": {
"Unknown": "The state of the Indicator LED cannot be determined.",
"Lit": "The Indicator LED is lit.",
"Blinking": "The Indicator LED is blinking.",
"Off": "The Indicator LED is off."
}
},
"Reset": {
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string",
"description": "Friendly action name"
},
"target": {
"type": "string",
"format": "uri",
"description": "Link to invoke action"
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Chassis.Chassis",
"$ref": "#/definitions/Chassis",
"definitions": {
"Chassis": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/Chassis.1.0.0.json#/definitions/Chassis"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ChassisCollection.ChassisCollection",
"$ref": "#/definitions/ChassisCollection",
"definitions": {
"ChassisCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,546 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ComputerSystem.1.0.0.ComputerSystem",
"$ref": "#/definitions/ComputerSystem",
"definitions": {
"Boot": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"BootSourceOverrideTarget": {
"$ref": "#/definitions/BootSource",
"readonly": false,
"description": "The current boot source to be used at next boot instead of the normal boot device, if BootSourceOverrideEnabled is true.",
"longDescription": "The value of this property shall contain the source to boot the system from, overriding the normal boot order. The valid values for this property are specified through the DMTF.AllowableValues annotation. Pxe indicates to PXE boot from the primary NIC; Floppy, Cd, Usb, Hdd indicates to boot from their devices respectively. BiosSetup indicates to boot into the native BIOS screen setup. Utilities and Diags indicate to boot from the local utilities or diags partitions and UefiTarget indicates to boot from the UEFI device path found in UefiTargetBootSourceOverride."
},
"BootSourceOverrideEnabled": {
"$ref": "#/definitions/BootSourceOverrideEnabled",
"readonly": false,
"description": "Describes the state of the Boot Source Override feature",
"longDescription": "The value of this property shall be Once if this is a one time boot override and Continuous if this selection should remain active until cancelled."
},
"UefiTargetBootSourceOverride": {
"type": [
"string",
"null"
],
"readonly": false,
"description": "This property is the Uefi Device Path of the device to boot from when BootSourceOverrideSupported is UefiTarget.",
"longDescription": "The value of this property shall be the UEFI device path of the override boot target. The valid values for this property are specified through the DMTF.AllowableValues annotation. BootSourceOverrideEnabled = Continuous is not supported for Uefi Boot Source Override as this setting is defined in UEFI as a one time boot only."
}
},
"description": "This object contains the boot information for the current resource."
},
"BootSource": {
"type": "string",
"enum": [
"None",
"Pxe",
"Floppy",
"Cd",
"Usb",
"Hdd",
"BiosSetup",
"Utilities",
"Diags",
"UefiShell",
"UefiTarget"
],
"enumDescriptions": {
"None": "Boot from the normal boot device",
"Pxe": "Boot from the Pre-Boot EXecution (PXE) environment",
"Floppy": "Boot from the floppy disk drive",
"Cd": "Boot from the CD/DVD disc",
"Usb": "Boot from a USB device as specified by the system BIOS",
"Hdd": "Boot from a hard drive",
"BiosSetup": "Boot to the BIOS Setup Utility",
"Utilities": "Boot the manufacturer's Utilities program(s)",
"Diags": "Boot the manufacturer's Diagnostics program",
"UefiShell": "Boot to the UEFI Shell",
"UefiTarget": "Boot to the UEFI Device specified in the UefiTargetBootSourceOverride property"
}
},
"BootSourceOverrideEnabled": {
"type": "string",
"enum": [
"Disabled",
"Once",
"Continuous"
],
"enumDescriptions": {
"Disabled": "The system will boot as normal",
"Once": "On its next boot cycle, the system will boot (one time) to the Boot Source Override Target.",
"Continuous": "The system will boot to the target specified in the BootSourceOverrideTarget until this property is set to Disabled."
}
},
"ComputerSystem": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"SystemType": {
"$ref": "#/definitions/SystemType",
"readonly": true,
"description": "The type of computer system represented by this resource.",
"longDescription": "An enumeration that indicates the kind of system that this resource represents."
},
"Links": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "Oem extension object.",
"longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"Chassis@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Chassis@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Chassis": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis"
},
"readonly": true,
"description": "An array of references to the chassis in which this system is contained",
"longDescription": "The value of this property shall reference a resource of type Chassis that represents the physical container associated with this resource."
},
"ManagedBy@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"ManagedBy@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"ManagedBy": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Manager.json#/definitions/Manager"
},
"readonly": true,
"description": "An array of references to the Managers responsible for this system",
"longDescription": "The value of this property shall reference a resource of type manager that represents the resource with management responsibility for this resource."
},
"PoweredBy@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"PoweredBy@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"PoweredBy": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"readonly": true,
"description": "An array of ID[s] of resources that power this computer system. Normally the ID will be a chassis or a specific set of powerSupplies",
"longDescription": "The value of this property shall be an array of IDs containing pointers consistent with JSON pointer syntax to the resource that powers this computer system."
},
"CooledBy@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"CooledBy@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"CooledBy": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"readonly": true,
"description": "An array of ID[s] of resources that cool this computer system. Normally the ID will be a chassis or a specific set of fans.",
"longDescription": "The value of this property shall be an array of IDs containing pointers consistent with JSON pointer syntax to the resource that powers this computer system."
}
},
"readonly": true,
"description": "Contains links to other resources that are related to this resource."
},
"AssetTag": {
"type": [
"string",
"null"
],
"readonly": false,
"description": "The user definable tag that can be used to track this computer system for inventory or other client purposes",
"longDescription": "The value of this property shall contain the value of the asset tag of the system."
},
"Manufacturer": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The manufacturer or OEM of this system.",
"longDescription": "The value of this property shall contain a value that represents the manufacturer of the system."
},
"Model": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The model number for this system",
"longDescription": "The value of this property shall contain the information about how the manufacturer references this system."
},
"SKU": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The manufacturer SKU for this system",
"longDescription": "The value of this property shall contain the Stock Keeping Unit (SKU) for the system."
},
"SerialNumber": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The serial number for this system",
"longDescription": "The value of this property shall contain the serial number for the system."
},
"PartNumber": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The part number for this system",
"longDescription": "The value of this property shall contain the part number for the system as defined by the manufacturer."
},
"UUID": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/UUID",
"readonly": true,
"description": "The universal unique identifier (UUID) for this system",
"longDescription": "The value of this property shall be used to contain a universal unique identifier number for the system. RFC4122 describes methods that can be used to create the value. The value should be considered to be opaque. Client software should only treat the overall value as a universally unique identifier and should not interpret any sub-fields within the UUID. If the system supports SMBIOS, the value and byte order of the property should match byte-for-byte with the memory byte order (from lowest address to highest) of the SMBIOS UUID. Following this order will make it simpler to correlate the UUID with the SMBIOS UUID"
},
"HostName": {
"type": [
"string",
"null"
],
"description": "The DNS Host Name, without any domain information",
"longDescription": "The value of this property shall be the host name for this system, as reported by the operating system or hypervisor. This value is typically provided to the Manager by a service running in the host operating system."
},
"IndicatorLED": {
"$ref": "#/definitions/IndicatorLED",
"readonly": false,
"description": "The state of the indicator LED, used to identify the system",
"longDescription": "The value of this property shall contain the indicator light state for the indicator light associated with this system."
},
"PowerState": {
"$ref": "#/definitions/PowerState",
"readonly": true,
"description": "This is the current power state of the system",
"longDescription": "The value of this property shall contain the power state of the system."
},
"Boot": {
"$ref": "#/definitions/Boot",
"description": "Information about the boot settings for this system",
"longDescription": "This object shall contain properties which describe boot information for the current resource."
},
"BiosVersion": {
"type": [
"string",
"null"
],
"description": "The version of the system BIOS or primary system firmware.",
"longDescription": "The value of this property shall be the version string of the currently installed and running BIOS (for x86 systems). For other systems, the value may contain a version string representing the primary system firmware."
},
"ProcessorSummary": {
"$ref": "#/definitions/ProcessorSummary",
"description": "This object describes the central processors of the system in general detail.",
"longDescription": "This object shall contain properties which describe the central processors for the current resource."
},
"MemorySummary": {
"$ref": "#/definitions/MemorySummary",
"description": "This object describes the central memory of the system in general detail.",
"longDescription": "This object shall contain properties which describe the central memory for the current resource."
},
"Actions": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"type": [
"object",
"null"
],
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {}
},
"#ComputerSystem.Reset": {
"$ref": "#/definitions/Reset"
}
},
"readonly": true,
"description": "The Actions object contains the available custom actions on this resource."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"Processors": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ProcessorCollection.json#/definitions/ProcessorCollection",
"readonly": true,
"description": "A reference to the collection of Processors associated with this system",
"longDescription": "The value of this property shall be a link to a collection of type ProcessorCollection."
},
"EthernetInterfaces": {
"$ref": "http://redfish.dmtf.org/schemas/v1/EthernetInterfaceCollection.json#/definitions/EthernetInterfaceCollection",
"readonly": true,
"description": "A reference to the collection of Ethernet interfaces associated with this system",
"longDescription": "The value of this property shall be a link to a collection of type EthernetInterfaceCollection."
},
"SimpleStorage": {
"$ref": "http://redfish.dmtf.org/schemas/v1/SimpleStorageCollection.json#/definitions/SimpleStorageCollection",
"readonly": true,
"description": "A reference to the collection of storage devices associated with this system",
"longDescription": "The value of this property shall be a link to a collection of type SimpleStorageCollection."
},
"LogServices": {
"$ref": "http://redfish.dmtf.org/schemas/v1/LogServiceCollection.json#/definitions/LogServiceCollection",
"readonly": true,
"description": "A reference to the collection of Log Services associated with this system",
"longDescription": "The value of this property shall be a link to a collection of type LogServiceCollection."
}
},
"description": "This schema defines a computer system and its respective properties. A computer system represents a machine (physical or virtual) and the local resources such as memory, cpu and other devices that can be accessed from that machine.",
"longDescription": "This resource shall be used to represent resources that represent a computing system in the Redfish specification."
},
"IndicatorLED": {
"type": "string",
"enum": [
"Unknown",
"Lit",
"Blinking",
"Off"
],
"enumDescriptions": {
"Unknown": "The state of the Indicator LED cannot be determined.",
"Lit": "The Indicator LED is lit.",
"Blinking": "The Indicator LED is blinking.",
"Off": "The Indicator LED is off."
}
},
"MemorySummary": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"TotalSystemMemoryGiB": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The total installed, operating system-accessible memory (RAM), measured in GiB.",
"longDescription": "This property shall contain the amount of system general purpose volatile (RAM) memory as measured in gibibytes.",
"minimum": 0
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
}
},
"description": "This object describes the memory of the system in general detail."
},
"PowerState": {
"type": "string",
"enum": [
"On",
"Off",
"Unknown",
"Reset"
]
},
"ProcessorSummary": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Count": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The number of processors in the system.",
"longDescription": "This property shall contain the number of central processors in the system.",
"minimum": 0
},
"Model": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The processor model for the primary or majority of processors in this system.",
"longDescription": "This property shall contain the processor model for the central processors in the system, per the description in Table 22 of the SMBIOS Specification DSP0134 2.8 or later."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
}
},
"description": "This object describes the central processors of the system in general detail."
},
"SystemType": {
"type": "string",
"enum": [
"Physical",
"Virtual",
"OS",
"PhysicallyPartitioned",
"VirtuallyPartitioned"
],
"enumDescriptions": {
"Physical": "A computer system",
"Virtual": "A virtual machine instance running on this system",
"OS": "An operating system instance",
"PhysicallyPartitioned": "A hardware-based partition of a computer system",
"VirtuallyPartitioned": "A virtual or software-based partition of a computer system"
}
},
"Reset": {
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string",
"description": "Friendly action name"
},
"target": {
"type": "string",
"format": "uri",
"description": "Link to invoke action"
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ComputerSystem.ComputerSystem",
"$ref": "#/definitions/ComputerSystem",
"definitions": {
"ComputerSystem": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/ComputerSystem.1.0.0.json#/definitions/ComputerSystem"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ComputerSystemCollection.ComputerSystemCollection",
"$ref": "#/definitions/ComputerSystemCollection",
"definitions": {
"ComputerSystemCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.json#/definitions/ComputerSystem"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,258 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#EthernetInterface.1.0.0.EthernetInterface",
"$ref": "#/definitions/EthernetInterface",
"definitions": {
"EthernetInterface": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"UefiDevicePath": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The UEFI device path for this interface",
"longDescription": "The value of this property shall be the UEFI device path to the device which implements this interface (port)."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"InterfaceEnabled": {
"type": [
"boolean",
"null"
],
"description": "This indicates whether this interface is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether this interface is enabled."
},
"PermanentMACAddress": {
"$ref": "#/definitions/MACAddress",
"readonly": true,
"description": "This is the permanent MAC address assigned to this interface (port)",
"longDescription": "The value of this property shall be the Permanent MAC Address of this interface (port). This value is typically programmed during the manufacturing time. This address is not assignable."
},
"MACAddress": {
"$ref": "#/definitions/MACAddress",
"description": "This is the currently configured MAC address of the (logical port) interface.",
"longDescription": "The value of this property shall be the effective current MAC Address of this interface. If an assignable MAC address is not supported, this is a read only alias of the PermanentMACAddress."
},
"SpeedMbps": {
"type": [
"number",
"null"
],
"description": "This is the current speed in Mbps of this interface.",
"longDescription": "The value of this property shall be the link speed of the interface in Mbps."
},
"AutoNeg": {
"type": [
"boolean",
"null"
],
"description": "This indicates if the speed and duplex are automatically negotiated and configured on this interface.",
"longDescription": "The value of this property shall be true if auto negotiation of speed and duplex is enabled on this interface and false if it is disabled."
},
"FullDuplex": {
"type": [
"boolean",
"null"
],
"description": "This indicates if the interface is in Full Duplex mode or not.",
"longDescription": "The value of this property shall represent the duplex status of the Ethernet connection on this interface."
},
"MTUSize": {
"type": [
"number",
"null"
],
"description": "This is the currently configured Maximum Transmission Unit (MTU) in bytes on this interface.",
"longDescription": "The value of this property shall be the size in bytes of largest Protocol Data Unit (PDU) that can be passed in an Ethernet (MAC) frame on this interface."
},
"HostName": {
"type": [
"string",
"null"
],
"description": "The DNS Host Name, without any domain information",
"longDescription": "The value of this property shall be host name for this interface."
},
"FQDN": {
"type": [
"string",
"null"
],
"description": "This is the complete, fully qualified domain name obtained by DNS for this interface.",
"longDescription": "The value of this property shall be the fully qualified domain name for this interface."
},
"MaxIPv6StaticAddresses": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "This indicates the maximum number of Static IPv6 addresses that can be configured on this interface.",
"longDescription": "The value of this property shall indicate the number of array items supported by IPv6StaticAddresses."
},
"VLAN": {
"$ref": "http://redfish.dmtf.org/schemas/v1/VLanNetworkInterface.1.0.0.json#/definitions/VLAN",
"description": "If this Network Interface supports more than one VLAN, this property will not be present and the client should look for VLANs collection in the link section of this resource.",
"longDescription": "The value of this property shall be the VLAN for this interface. If this interface supports more than one VLAN, the VLAN property shall not be present and the VLANS collection link shall be present instead."
},
"IPv4Addresses": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/IPAddresses.1.0.0.json#/definitions/IPv4Address"
},
"readonly": true,
"description": "The IPv4 addresses assigned to this interface",
"longDescription": "The value of this property shall be an array of objects used to represent the IPv4 connection characteristics for this interface."
},
"IPv6AddressPolicyTable": {
"type": "array",
"items": {
"$ref": "#/definitions/IPv6AddressPolicyEntry"
},
"description": "An array representing the RFC3484 Address Selection Policy Table.",
"longDescription": "The value of this property shall be an array of objects used to represent the Address Selection Policy Table as defined in RFC 6724."
},
"IPv6Addresses": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/IPAddresses.1.0.0.json#/definitions/IPv6Address"
},
"readonly": true,
"description": "This array of objects enumerates all of the currently assigned IPv6 addresses on this interface.",
"longDescription": "The value of this property shall be an array of objects used to represent the IPv6 connection characteristics for this interface."
},
"IPv6StaticAddresses": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/IPAddresses.1.0.0.json#/definitions/IPv6StaticAddress"
},
"readonly": true,
"description": "This array of objects represents all of the IPv6 static addresses to be assigned on this interface.",
"longDescription": "The value of this property shall be an array of objects used to represent the IPv6 static connection characteristics for this interface."
},
"IPv6DefaultGateway": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "This is the IPv6 default gateway address that is currently in use on this interface.",
"longDescription": "The value of this property shall be the current IPv6 default gateway address that is in use on this interface."
},
"NameServers": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
},
"readonly": true,
"description": "This represents DNS name servers that are currently in use on this interface.",
"longDescription": "The value of this property shall be the DNS name servers used on this interface."
},
"VLANs": {
"$ref": "http://redfish.dmtf.org/schemas/v1/VLanNetworkInterfaceCollection.json#/definitions/VLanNetworkInterfaceCollection",
"readonly": true,
"description": "This is a reference to a collection of VLANs and is only used if the interface supports more than one VLANs.",
"longDescription": "The value of this property shall reference a collection of VLAN resources. If this property is used, the VLANEnabled and VLANId property shall not be used."
}
},
"description": "This schema defines a simple ethernet NIC resource.",
"longDescription": "This resource shall be used to represent NIC resources as part of the Redfish specification."
},
"IPv6AddressPolicyEntry": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Prefix": {
"type": [
"string",
"null"
],
"description": "The IPv6 Address Prefix (as defined in RFC 3484 section 2.1)",
"longDescription": "This property shall contain the IPv6 Address Prefix for this table entry as defined in RFC 6724 section 2.1."
},
"Precedence": {
"type": [
"number",
"null"
],
"description": "The IPv6 Precedence (as defined in RFC 6724 section 2.1",
"longDescription": "This property shall contain the IPv6 Precedence value for this table entry as defined in RFC 6724 section 2.1.",
"minimum": 1,
"maximum": 100
},
"Label": {
"type": [
"number",
"null"
],
"description": "The IPv6 Label (as defined in RFC 6724 section 2.1)",
"longDescription": "This property shall contain the IPv6 Label value for this table entry as defined in RFC 6724 section 2.1.",
"minimum": 0,
"maximum": 100
}
}
},
"MACAddress": {
"type": "string",
"pattern": "^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$"
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#EthernetInterface.EthernetInterface",
"$ref": "#/definitions/EthernetInterface",
"definitions": {
"EthernetInterface": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/EthernetInterface.1.0.0.json#/definitions/EthernetInterface"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#EthernetInterfaceCollection.EthernetInterfaceCollection",
"$ref": "#/definitions/EthernetInterfaceCollection",
"definitions": {
"EthernetInterfaceCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/EthernetInterface.json#/definitions/EthernetInterface"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,180 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Event.1.0.0.Event",
"$ref": "#/definitions/Event",
"definitions": {
"Event": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"Events@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Events@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Events": {
"type": "array",
"items": {
"$ref": "#/definitions/EventRecord"
},
"description": "Each event in this array has a set of properties that describe the event. Since this is an array, more than one event can be sent simultaneously.",
"longDescription": "The value of this resource shall be an array of Event objects used to represent the occurrence of one or more events."
}
},
"required": [
"Events"
],
"description": "This is the schema definition for Events. It represents the properties for the events themselves and not subscriptions or any other resource.",
"longDescription": "This resource shall be used to represent an event for a Redfish implementation."
},
"EventRecord": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"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*."
},
"MemberId": {
"type": "string",
"description": "This is the identifier for the member within the collection.",
"longDescription": "The value of this string shall uniquely identify the member within the collection."
},
"EventType": {
"$ref": "#/definitions/EventType",
"readonly": true,
"description": "This indicates the type of event sent, according to the definitions in the EventService.",
"longDescription": "The value of this property shall indicate the type of event as defined in the EventService schema."
},
"EventId": {
"type": "string",
"readonly": true,
"description": "This is a unique instance identifier of an event.",
"longDescription": "The value of this property shall indicate a unique identifier for the event, the format of which is implementation dependent."
},
"EventTimestamp": {
"type": "string",
"format": "date-time",
"readonly": true,
"description": "This is time the event occurred.",
"longDescription": "The value of this property shall indicate the time the event occurred where the value shall be consistent with the Redfish service time that is also used for the values of the Modified property."
},
"Severity": {
"type": "string",
"readonly": true,
"description": "This is the severity of the event.",
"longDescription": "The value of this property shall be the severity of the event, as defined in the Status section of the Redfish specification."
},
"Message": {
"type": "string",
"readonly": true,
"description": "This is the human readable message, if provided.",
"longDescription": "This property shall contain an optional human readable message."
},
"MessageId": {
"type": "string",
"readonly": true,
"description": "This is the key for this message which can be used to look up the message in a message registry.",
"longDescription": "This property shall be a key into message registry as described in the Redfish specification.",
"pattern": "^[A-Za-z0-9]+\\.\\d+\\.\\d+.[A-Za-z0-9.]+$"
},
"MessageArgs": {
"type": "array",
"items": {
"type": "string"
},
"readonly": true,
"description": "This array of message arguments are substituted for the arguments in the message when looked up in the message registry.",
"longDescription": "This property has the same semantics as the MessageArgs property in the Event schema for Redfish."
},
"Context": {
"type": "string",
"readonly": true,
"description": "A context can be supplied at subscription time. This property is the context value supplied by the subscriber.",
"longDescription": "This property shall contain a client supplied context for the Event Destination to which this event is being sent."
},
"OriginOfCondition": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef",
"readonly": true,
"description": "This indicates the resource that originated the condition that caused the event to be generated.",
"longDescription": "The value of this property shall contain a pointer consistent with JSON pointer syntax to the resource that caused the event to be generated."
}
},
"required": [
"EventType",
"MessageId"
],
"description": "This is the base type for addressable members of an array.",
"longDescription": "Array members can be referenced using the value returned in the @odata.id property which may or may not be a dereferenceable URL. The @odata.id of this entity shall be the location of this element within an Item."
},
"EventType": {
"type": "string",
"enum": [
"StatusChange",
"ResourceUpdated",
"ResourceAdded",
"ResourceRemoved",
"Alert"
],
"enumDescriptions": {
"StatusChange": "The status of this resource has changed",
"ResourceUpdated": "The value of this resource has been updated",
"ResourceAdded": "A resource has been added",
"ResourceRemoved": "A resource has been removed",
"Alert": "A condition exists which requires attention"
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Event.Event",
"$ref": "#/definitions/Event",
"definitions": {
"Event": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/Event.1.0.0.json#/definitions/Event"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,118 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#EventDestination.1.0.0.EventDestination",
"$ref": "#/definitions/EventDestination",
"definitions": {
"EventDestination": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"Destination": {
"type": "string",
"readonly": true,
"description": "The URI of the destination Event Service.",
"longDescription": "This property shall contain a URI to the destination where the events will be sent."
},
"EventTypes": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Event.1.0.0.json#/definitions/EventType"
},
"readonly": true,
"description": "This property shall contain the types of events that shall be sent to the desination."
},
"Context": {
"type": "string",
"description": "A client-supplied string that is stored with the event destination subscription.",
"longDescription": "This property shall contain a client supplied context that will remain with the connection through the connections lifetime."
},
"Protocol": {
"$ref": "#/definitions/EventDestinationProtocol",
"readonly": true,
"description": "The protocol type of the event connection.",
"longDescription": "This property shall contain the protocol type that the event will use for sending the event to the destination. A value of Redfish shall be used to indicate that the event type shall adhere to that defined in the Redfish specification."
},
"HttpHeaders": {
"type": "array",
"items": {
"$ref": "#/definitions/HttpHeaderProperty"
},
"description": "This is for setting HTTP headers, such as authorization information. This object will be null on a GET.",
"longDescription": "This property shall contain an object consisting of the names and values of of HTTP header to be included with every event POST to the Event Destination. This property shall be null on a GET."
}
},
"requiredOnCreate": [
"Destination",
"EventTypes",
"Context",
"Protocol"
],
"description": "This is the base type for resources and referenceable members."
},
"EventDestinationProtocol": {
"type": "string",
"enum": [
"Redfish"
]
},
"HttpHeaderProperty": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
},
"^[^:\\s]+$": {
"type": "string"
}
},
"additionalProperties": false,
"properties": {},
"description": "The value of the HTTP header is the property value. The header name is the property name."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#EventDestination.EventDestination",
"$ref": "#/definitions/EventDestination",
"definitions": {
"EventDestination": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/EventDestination.1.0.0.json#/definitions/EventDestination"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#EventDestinationCollection.EventDestinationCollection",
"$ref": "#/definitions/EventDestinationCollection",
"definitions": {
"EventDestinationCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/EventDestination.json#/definitions/EventDestination"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,162 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#EventService.1.0.0.EventService",
"$ref": "#/definitions/EventService",
"definitions": {
"EventService": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"ServiceEnabled": {
"type": [
"boolean",
"null"
],
"description": "This indicates whether this service is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether this service is enabled."
},
"DeliveryRetryAttempts": {
"type": "number",
"readonly": true,
"description": "This is the number of attempts an event posting is retried before the subscription is terminated.",
"longDescription": "The value of this property shall be the number of retrys attempted for any given event to the subscription destination before the subscription is terminated."
},
"DeliveryRetryIntervalSeconds": {
"type": "number",
"readonly": true,
"description": "This represents the number of seconds between retry attempts for sending any given Event",
"longDescription": "The value of this property shall be the interval in seconds between the retry attempts for any given event to the subscription destination."
},
"EventTypesForSubscription": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Event.1.0.0.json#/definitions/EventType"
},
"readonly": true,
"description": "This is the types of Events that can be subscribed to.",
"longDescription": "The value of this property shall be the types of events that subscriptions can subscribe to. The semantics associated with the enumerations values are defined in the Redfish specification."
},
"Actions": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"type": [
"object",
"null"
],
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {}
},
"#EventService.SubmitTestEvent": {
"$ref": "#/definitions/SubmitTestEvent"
}
},
"readonly": true,
"description": "The Actions object contains the available custom actions on this resource."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"Subscriptions": {
"$ref": "http://redfish.dmtf.org/schemas/v1/EventDestinationCollection.json#/definitions/EventDestinationCollection",
"readonly": true,
"description": "This is a reference to a collection of Event Destination resources.",
"longDescription": "The value of this property shall contain the link to a collection of type EventDestinationCollection."
}
},
"description": "This is the schema definition for the Event Service. It represents the properties for the service itself and has links to the actual list of subscriptions."
},
"SubmitTestEvent": {
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string",
"description": "Friendly action name"
},
"target": {
"type": "string",
"format": "uri",
"description": "Link to invoke action"
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#EventService.EventService",
"$ref": "#/definitions/EventService",
"definitions": {
"EventService": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/EventService.1.0.0.json#/definitions/EventService"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,44 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0",
"title": "#ExtendedInfo.1.0.0.ExtendedInfo",
"type": "object",
"additionalProperties": false,
"description": "This is the schema definition for Extended Info. Extended errors using this definition can be returned in the body of operation responses. They augment the HTTP error codes with more meaningful information about why the error occurred.",
"longDescription": "This resource shall be used to represent extended information for responses in a Redfish implementation.",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "This is the key for this message which can be used to look up the message in a message registry.",
"pattern": "^[A-Za-z0-9]+\\.\\d+\\.\\d+.[A-Za-z0-9.]+$",
"readonly": true,
"longDescription": "This property shall be a key into message registry as described in the Redfish specification."
},
"message": {
"type": "string",
"description": "A human readable message corresponding to the message in the message registry.",
"readonly": true,
"longDescription": "This property shall contain a human readable message."
},
"@Message.ExtendedInfo": {
"type": "array",
"items": {
"$ref": "Message.1.0.0.json#/definitions/Message"
}
}
},
"longDescription": "The value of this resource shall be an array of Message objects used to describe one or more conditions related to the request.",
"required": [
"code",
"message",
"@Message.ExtendedInfo"
]
}
},
"required": [
"error"
],
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,201 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#IPAddresses.1.0.0",
"definitions": {
"AddressState": {
"type": "string",
"enum": [
"Preferred",
"Deprecated",
"Tentative",
"Failed"
],
"enumDescriptions": {
"Preferred": "This address is currently within both it's valid and preferred lifetimes as defined in RFC 4862.",
"Deprecated": "This address is currently within it's valid lifetime, but is now outside of it's preferred lifetime as defined in RFC 4862.",
"Tentative": "This address is currently undergoing Duplicate Address Detection testing as defined in RFC 4862 section 5.4.",
"Failed": "This address has failed Duplicate Address Detection testing as defined in RFC 4862 section 5.4 and is not currently in use."
}
},
"IPv4Address": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem"
},
"Address": {
"type": [
"string",
"null"
],
"description": "This is the IPv4 Address.",
"longDescription": "The value of this property shall be an IPv4 address assigned to this interface. If DHCPv4 is enabled on the interface, this property becomes read-only.",
"pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$"
},
"SubnetMask": {
"$ref": "#/definitions/SubnetMask",
"description": "This is the IPv4 Subnet mask.",
"longDescription": "The value of this property shall be the IPv4 subnet mask for this address. If DHCPv4 is enabled on the interface, this property becomes read-only.",
"pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$"
},
"AddressOrigin": {
"$ref": "#/definitions/IPv4AddressOrigin",
"readonly": true,
"description": "This indicates how the address was determined.",
"longDescription": "The value of this property shall be the IP address origin for this network interface."
},
"Gateway": {
"type": [
"string",
"null"
],
"description": "This is the IPv4 gateway for this address.",
"longDescription": "The value of this property shall be the IPv4 default gateway address for this interface. If DHCPv4 is enabled on the interface and is configured to set the IPv4 default gateway address, this property becomes read-only."
}
}
},
"IPv4AddressOrigin": {
"type": "string",
"enum": [
"Static",
"DHCP",
"BOOTP",
"IPv4LinkLocal"
],
"enumDescriptions": {
"Static": "A static address as configured by the user",
"DHCP": "Address is provided by a DHCPv4 service",
"BOOTP": "Address is provided by a BOOTP service",
"IPv4LinkLocal": "Address is valid only for this network segment (link)"
}
},
"IPv6Address": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem"
},
"Address": {
"type": [
"string",
"null"
],
"description": "This is the IPv6 Address.",
"longDescription": "This property lists an IPv6 address that is currently assigned on this interface."
},
"PrefixLength": {
"$ref": "#/definitions/PrefixLength",
"readonly": true,
"description": "This is the IPv6 Address Prefix Length.",
"longDescription": "The value of this property shall be the IPv6 address prefix length for this interface."
},
"AddressOrigin": {
"$ref": "#/definitions/IPv6AddressOrigin",
"readonly": true,
"description": "This indicates how the address was determined.",
"longDescription": "The value of this property shall be the IPv6 address origin for this interface."
},
"AddressState": {
"$ref": "#/definitions/AddressState",
"readonly": true,
"description": "The current state of this address as defined in RFC 4862.",
"longDescription": "Preferred and Deprecated states follow the definitions given RFC4862 Section 5.5.4. An address is in the Tentative state while undergoing Duplicate Address Detection (DAD) per RFC4862 Section 5.4. The Failed state indicates a Static addresses which did not pass DAD. A Static address in the Failed state is not in use on the network stack, and corrective action will be needed to remedy this condition."
}
}
},
"IPv6AddressOrigin": {
"type": "string",
"enum": [
"Static",
"DHCPv6",
"LinkLocal",
"SLAAC"
],
"enumDescriptions": {
"Static": "A static address as configured by the user",
"DHCPv6": "Address is provided by a DHCPv6 service",
"LinkLocal": "Address is valid only for this network segment (link)",
"SLAAC": "Address is provided by a Stateless Address AutoConfiguration (SLAAC) service"
}
},
"IPv6StaticAddress": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem"
},
"Address": {
"type": [
"string",
"null"
],
"description": "A valid IPv6 address.",
"longDescription": "This property provides access to a static IPv6 address that is currently assigned on a network interface."
},
"PrefixLength": {
"$ref": "#/definitions/PrefixLength",
"readonly": true,
"description": "The Prefix Length of this IPv6 address.",
"longDescription": "Provides the IPv6 network prefix length in bits for this address."
}
},
"required": [
"Address",
"PrefixLength"
],
"description": "This object represents a single IPv6 static address to be assigned on a network interface."
},
"PrefixLength": {
"type": "number",
"minimum": 1,
"maximum": 128
},
"SubnetMask": {
"type": "string",
"pattern": "^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$"
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,129 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#JsonSchemaFile.1.0.0.JsonSchemaFile",
"$ref": "#/definitions/JsonSchemaFile",
"definitions": {
"JsonSchemaFile": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"Languages": {
"type": "array",
"items": {
"type": "string"
},
"readonly": true,
"description": "Language codes for the schemas available.",
"longDescription": "The value of this property shall be a string consisting of an RFC 5646 language code."
},
"Schema": {
"type": "string",
"readonly": true,
"description": "The type name this schema describes.",
"longDescription": "The value of this property shall be the value of the Type property for that schema and shall conform to the syntax specified in the Redfish specification for the Type property."
},
"Location": {
"type": "array",
"items": {
"$ref": "#/definitions/Location"
},
"readonly": true,
"description": "Location information for this schema file."
}
},
"required": [
"Languages",
"Schema",
"Location"
],
"description": "This is the schema definition for the Schema File locator resource.",
"longDescription": "This resource shall be used to represent the Schema File locator resource for a Redfish implementation."
},
"Location": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Language": {
"type": "string",
"readonly": true,
"description": "The language code for the file the schema is in.",
"longDescription": "The value of this property shall be a string consisting of an RFC5646 language code or the string 'default'."
},
"Uri": {
"type": "string",
"readonly": true,
"description": "Link to locally available URI for schema.",
"longDescription": "The value of this property shall be a URI co-located with the Redfish service that specifies the location of the schema file. This property shall only be used for individual schema files. The file name portion of the URI shall conform to the format [SchemaType].[MajorVersion].[MinorVersion].json and be in conformance with the Redfish specification."
},
"ArchiveUri": {
"type": "string",
"readonly": true,
"description": "If the schema is hosted on the service in an archive file, this is the link to the archive file.",
"longDescription": "The value of this property shall be a URI co-located with the Redfish service that specifies the location of the schema file. This property shall only be used for archive files (zip or other formats). The value of ArchiveFile shall have the file name of the individual schema file within the archive file."
},
"PublicationUri": {
"type": "string",
"readonly": true,
"description": "Link to publicly available (canonical) URI for schema.",
"longDescription": "The value of this property shall be a URI not co-located with the Redfish service that specifies the canonical location of the schema file. This property shall only be used for individual schema files."
},
"ArchiveFile": {
"type": "string",
"readonly": true,
"description": "If the schema is hosted on the service in an archive file, this is the name of the file within the archive.",
"longDescription": "The value of this property shall be the file name of the individual schema file within the archive file specified by the ArchiveUri property. The file name shall conform to the format [SchemaType].[MajorVersion].[MinorVersion].json and be in conformance with the Redfish specification."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#JsonSchemaFile.JsonSchemaFile",
"$ref": "#/definitions/JsonSchemaFile",
"definitions": {
"JsonSchemaFile": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/JsonSchemaFile.1.0.0.json#/definitions/JsonSchemaFile"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#JsonSchemaFileCollection.JsonSchemaFileCollection",
"$ref": "#/definitions/JsonSchemaFileCollection",
"definitions": {
"JsonSchemaFileCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/JsonSchemaFile.json#/definitions/JsonSchemaFile"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,294 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#LogEntry.1.0.0.LogEntry",
"$ref": "#/definitions/LogEntry",
"definitions": {
"EventSeverity": {
"type": "string",
"enum": [
"OK",
"Warning",
"Critical"
]
},
"LogEntry": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"Severity": {
"$ref": "#/definitions/EventSeverity",
"readonly": true,
"description": "This is the severity of the log entry.",
"longDescription": "The value of this property shall be the severity of the condition resulting in the log entry, as defined in the Status section of the Redfish specificaiton."
},
"Created": {
"type": "string",
"format": "date-time",
"readonly": true,
"description": "The time the log entry was created.",
"longDescription": "The value of this property shall be the time at which the log entry was created."
},
"EntryType": {
"$ref": "#/definitions/LogEntryType",
"readonly": true,
"description": "his is the type of log entry.",
"longDescription": "This property shall represent the type of LogEntry. If the resource represents an IPMI SEL log entry, the value shall be SEL. If the resource represents an Event log, the value shall be Event. If the resource represents an OEM log format, the value shall be Oem."
},
"OemRecordFormat": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "If the entry type is Oem, this will contain more information about the record format from the Oem.",
"longDescription": "The value of this property shall represent the OEM specific format of the Entry. This property shall be required if the value of EntryType is Oem"
},
"EntryCode": {
"$ref": "#/definitions/LogEntryCode",
"readonly": true,
"description": "If the EntryType is SEL, this will have the entry code for the log entry.",
"longDescription": "This property shall be present if the EntryType value is SEL. These enumerations are the values from table 42-1 and 42-2 of the IPMI specification"
},
"SensorType": {
"$ref": "#/definitions/SensorType",
"readonly": true,
"description": "If the EntryType is SEL, this will have the sensor type that the log entry pertains to.",
"longDescription": "This property shall be present if the EntryType value is SEL."
},
"SensorNumber": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "This property decodes from EntryType: If it is SEL, it is the sensor number; if Event then the count of events. Otherwise, it is Oem specific.",
"longDescription": "The value of this property shall be the EntityInstance from IPMI spec if EntryType is SEL, the count of events if EntryType is Event and OEM Specific if the EntryType is OEM."
},
"Message": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "This property decodes from EntryType: If it is Event then it is a message string. Otherwise, it is SEL or Oem specific. In most cases, this will be the actual Log Entry.",
"longDescription": "The value of this property shall be the Message property of the event if the EntryType is Event, the Description if EntryType is SEL and OEM Specific if the EntryType is OEM."
},
"MessageId": {
"type": "string",
"readonly": true,
"description": "This property decodes from EntryType: If it is Event then it is a message id. Otherwise, it is SEL or Oem specific. This value is only used for registries - for more information, see the specification.",
"longDescription": "The value of this property shall the MessageId property of the event if the EntryType is Event, the EventData if EntryType is SEL and OEM Specific if the EntryType is OEM. The format of this property shall be as defined in the Redfish specification."
},
"MessageArgs": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
},
"readonly": true,
"description": "The values of this property shall be any arguments for the message.",
"longDescription": "This contains message arguments to be substituted into the message included or in the message looked up via a registry."
},
"Links": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "Oem extension object.",
"longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"OriginOfCondition": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef",
"readonly": true,
"description": "This is the URI of the resource that caused the log entry",
"longDescription": "The value of this property shall be an href that references the resource for which the log is associated."
}
},
"readonly": true,
"description": "The links object contains the links to other resources that are related to this resource."
}
},
"required": [
"EntryType"
],
"requiredOnCreate": [
"EntryType"
],
"description": "This resource represents the log record format for logs. It is designed to be used for SEL logs from IPMI as well as Event Logs and OEM specific logs. The EntryType field indicates the type of log and there are other properties dependent on it's value.",
"longDescription": "This resource shall represent the log format for log services in a Redfish implementation."
},
"LogEntryCode": {
"type": "string",
"enum": [
"Assert",
"Deassert",
"Lower Non-critical - going low",
"Lower Non-critical - going high",
"Lower Critical - going low",
"Lower Critical - going high",
"Lower Non-recoverable - going low",
"Lower Non-recoverable - going high",
"Upper Non-critical - going low",
"Upper Non-critical - going high",
"Upper Critical - going low",
"Upper Critical - going high",
"Upper Non-recoverable - going low",
"Upper Non-recoverable - going high",
"Transition to Idle",
"Transition to Active",
"Transition to Busy",
"State Deasserted",
"State Asserted",
"Predictive Failure deasserted",
"Predictive Failure asserted",
"Limit Not Exceeded",
"Limit Exceeded",
"Performance Met",
"Performance Lags",
"Transition to OK",
"Transition to Non-Critical from OK",
"Transition to Critical from less severe",
"Transition to Non-recoverable from less severe",
"Transition to Non-Critical from more severe",
"Transition to Critical from Non-recoverable",
"Transition to Non-recoverable",
"Monitor",
"Informational",
"Device Removed / Device Absent",
"Device Inserted / Device Present",
"Device Disabled",
"Device Enabled",
"Transition to Running",
"Transition to In Test",
"Transition to Power Off",
"Transition to On Line",
"Transition to Off Line",
"Transition to Off Duty",
"Transition to Degraded",
"Transition to Power Save",
"Install Error",
"Fully Redundant",
"Redundancy Lost",
"Redundancy Degraded",
"Non-redundant:Sufficient Resources from Redundant",
"Non-redundant:Sufficient Resources from Insufficient Resources",
"Non-redundant:Insufficient Resources",
"Redundancy Degraded from Fully Redundant",
"Redundancy Degraded from Non-redundant",
"D0 Power State",
"D1 Power State",
"D2 Power State",
"D3 Power State"
]
},
"LogEntryType": {
"type": "string",
"enum": [
"Event",
"SEL",
"Oem"
]
},
"SensorType": {
"type": "string",
"enum": [
"Platform Security Violation Attempt",
"Temperature",
"Voltage",
"Current",
"Fan",
"Physical Chassis Security",
"Processor",
"Power Supply / Converter",
"PowerUnit",
"CoolingDevice",
"Other Units-based Sensor",
"Memory",
"Drive Slot/Bay",
"POST Memory Resize",
"System Firmware Progress",
"Event Logging Disabled",
"System Event",
"Critical Interrupt",
"Button/Switch",
"Module/Board",
"Microcontroller/Coprocessor",
"Add-in Card",
"Chassis",
"ChipSet",
"Other FRU",
"Cable/Interconnect",
"Terminator",
"SystemBoot/Restart",
"Boot Error",
"BaseOSBoot/InstallationStatus",
"OS Stop/Shutdown",
"Slot/Connector",
"System ACPI PowerState",
"Watchdog",
"Platform Alert",
"Entity Presence",
"Monitor ASIC/IC",
"LAN",
"Management Subsystem Health",
"Battery",
"Session Audit",
"Version Change",
"FRUState"
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#LogEntry.LogEntry",
"$ref": "#/definitions/LogEntry",
"definitions": {
"LogEntry": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/LogEntry.1.0.0.json#/definitions/LogEntry"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#LogEntryCollection.LogEntryCollection",
"$ref": "#/definitions/LogEntryCollection",
"definitions": {
"LogEntryCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/LogEntry.json#/definitions/LogEntry"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,185 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#LogService.1.0.0.LogService",
"$ref": "#/definitions/LogService",
"definitions": {
"LogService": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"ServiceEnabled": {
"type": [
"boolean",
"null"
],
"description": "This indicates whether this service is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether this service is enabled."
},
"MaxNumberOfRecords": {
"type": "number",
"readonly": true,
"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
},
"OverWritePolicy": {
"$ref": "#/definitions/OverWritePolicy",
"readonly": true,
"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."
},
"DateTime": {
"type": [
"string",
"null"
],
"format": "date-time",
"readonly": false,
"description": "The current DateTime (with offset) for the log service, used to set or read 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."
},
"DateTimeLocalOffset": {
"type": [
"string",
"null"
],
"readonly": false,
"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])"
},
"Actions": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {}
},
"#LogService.ClearLog": {
"$ref": "#/definitions/ClearLog"
}
},
"readonly": true,
"description": "The Actions object contains the available custom actions on this resource."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"Entries": {
"$ref": "http://redfish.dmtf.org/schemas/v1/LogEntryCollection.json#/definitions/LogEntryCollection",
"readonly": true,
"description": "References to the log entry collection.",
"longDescription": "The value of this property shall reference a collection of resources of type LogEntry."
}
},
"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."
},
"OverWritePolicy": {
"type": "string",
"enum": [
"Unknown",
"WrapsWhenFull",
"NeverOverWrites"
],
"enumDescriptions": {
"Unknown": "The overwrite policy is not known or is undefined",
"WrapsWhenFull": "When full, new entries to the Log will overwrite previous entries",
"NeverOverWrites": "When full, new entries to the Log will be discarded"
}
},
"ClearLog": {
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string",
"description": "Friendly action name"
},
"target": {
"type": "string",
"format": "uri",
"description": "Link to invoke action"
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#LogService.LogService",
"$ref": "#/definitions/LogService",
"definitions": {
"LogService": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/LogService.1.0.0.json#/definitions/LogService"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#LogServiceCollection.LogServiceCollection",
"$ref": "#/definitions/LogServiceCollection",
"definitions": {
"LogServiceCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/LogService.json#/definitions/LogService"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,542 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Manager.1.0.0.Manager",
"$ref": "#/definitions/Manager",
"definitions": {
"CommandConnectTypesSupported": {
"type": "string",
"enum": [
"SSH",
"Telnet",
"IPMI",
"Oem"
],
"enumDescriptions": {
"SSH": "The controller supports a Command Shell connection using the SSH protocol",
"Telnet": "The controller supports a Command Shell connection using the SSH protocol",
"IPMI": "The controller supports a Command Shell connection using the SSH protocol",
"Oem": "The controller supports a Command Shell connection using an OEM-specific protocol"
}
},
"CommandShell": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"ServiceEnabled": {
"type": "boolean",
"description": "Indicates if the service is enabled for this manager.",
"longDescription": "The value of this property shall contain the enabled status of the protocol used for the service. The value shall be true if enabled and false if disabled."
},
"MaxConcurrentSessions": {
"type": "number",
"readonly": true,
"description": "Indicates the maximum number of service sessions, regardless of protocol, this manager is able to support.",
"longDescription": "The value of this property shall contain the maximum number of concurrent service sessions supported by the implementation.",
"minimum": 0
},
"ConnectTypesSupported": {
"type": "array",
"items": {
"$ref": "#/definitions/CommandConnectTypesSupported"
},
"readonly": true,
"description": "This object is used to enumerate the Command Shell connection types allowed by the implementation.",
"longDescription": "The value of ConnectTypesSupported shall be an array of the enumerations provided here. SSH shall be included if the Secure Shell (SSH) protocol is supported. Telnet shall be included if the Telnet protocol is supported. IPMI shall be included if the IPMI (Serial-over-LAN) protocol is supported."
}
},
"description": "Used for describing services like Serial Console, Command Shell or Graphical Console"
},
"GraphicalConnectTypesSupported": {
"type": "string",
"enum": [
"KVMIP",
"Oem"
],
"enumDescriptions": {
"KVMIP": "The controller supports a Graphical Console connection using a KVM-IP (redirection of Keyboard, Video, Mouse over IP) protocol",
"Oem": "The controller supports a Graphical Console connection using an OEM-specific protocol"
}
},
"GraphicalConsole": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"ServiceEnabled": {
"type": "boolean",
"description": "Indicates if the service is enabled for this manager.",
"longDescription": "The value of this property shall contain the enabled status of the protocol used for the service. The value shall be true if enabled and false if disabled."
},
"MaxConcurrentSessions": {
"type": "number",
"readonly": true,
"description": "Indicates the maximum number of service sessions, regardless of protocol, this manager is able to support.",
"longDescription": "The value of this property shall contain the maximum number of concurrent service sessions supported by the implementation.",
"minimum": 0
},
"ConnectTypesSupported": {
"type": "array",
"items": {
"$ref": "#/definitions/GraphicalConnectTypesSupported"
},
"readonly": true,
"description": "This object is used to enumerate the Graphical Console connection types allowed by the implementation.",
"longDescription": "The value of ConnectTypesSupported shall be an array of the enumerations provided here. RDP shall be included if the Remote Desktop (RDP) protocol is supported. KVMIP shall be included if a vendor-define KVM-IP protocol is supported."
}
},
"description": "Used for describing services like Serial Console, Command Shell or Graphical Console"
},
"Manager": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"ManagerType": {
"$ref": "#/definitions/ManagerType",
"readonly": true,
"description": "This property represents the type of manager that this resource represents.",
"longDescription": "The value of this property shall describe the function of this manager. The value EnclosureManager shall be used if this manager controls one or more services through aggregation. The value BMC shall be used if this manager represents a traditional server management controller. The value ManagementController shall be used if none of the other enumerations apply."
},
"Links": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "Oem extension object.",
"longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"ManagerForServers@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"ManagerForServers@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"ManagerForServers": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.json#/definitions/ComputerSystem"
},
"readonly": true,
"description": "This property is an array of references to the systems that this manager has control over.",
"longDescription": "This is a reference to a collection of ComputerSystem resources."
},
"ManagerForChassis@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"ManagerForChassis@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"ManagerForChassis": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis"
},
"readonly": true,
"description": "This property is an array of references to the chasis that this manager has control over.",
"longDescription": "This is a reference to a collection of ListenerDestination resources."
}
},
"readonly": true,
"description": "This object contains the links to other resources that are related to this resource."
},
"ServiceEntryPointUUID": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/UUID",
"readonly": true,
"description": "The UUID of the Redfish Service Entry Point provided by this manager",
"longDescription": "This property shall contain the UUID of the Redfish Service Entry Point provided by this manager. This property shall not be present if this manager does not provide a Redfish Service Entry Point."
},
"UUID": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/UUID",
"readonly": true,
"description": "The Universal Unique Identifier (UUID) for this Manager",
"longDescription": "The value of this property shall contain the universal unique identifier number for the manager."
},
"Model": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The model information of this Manager as defined by the manufacturer",
"longDescription": "The value of this property shall contain the information about how the manufacturer references this manager."
},
"DateTime": {
"type": [
"string",
"null"
],
"format": "date-time",
"readonly": false,
"description": "The current DateTime (with offset) for the manager, used to set or read time.",
"longDescription": "The value of this property shall represent the current DateTime value for the manager, with offset from UTC, in Redfish Timestamp format."
},
"DateTimeLocalOffset": {
"type": [
"string",
"null"
],
"readonly": false,
"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])"
},
"FirmwareVersion": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The firmware version of this Manager",
"longDescription": "This property shall contain the firwmare version as defined by the manufacturer for the associated manager."
},
"SerialConsole": {
"$ref": "#/definitions/SerialConsole",
"description": "Information about the Serial Console service provided by this manager.",
"longDescription": "The value of this property shall contain information about the Serial Console service of this manager."
},
"CommandShell": {
"$ref": "#/definitions/CommandShell",
"description": "Information about the Command Shell service provided by this manager.",
"longDescription": "The value of this property shall contain information about the Command Shell service of this manager."
},
"GraphicalConsole": {
"$ref": "#/definitions/GraphicalConsole",
"description": "The value of this property shall contain the information about the Graphical Console (KVM-IP) service of this manager.",
"longDescription": "The value of this property shall contain the information about the Graphical Console (KVM-IP) service of this manager."
},
"Actions": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"type": [
"object",
"null"
],
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {}
},
"#Manager.ForceFailover": {
"$ref": "#/definitions/ForceFailover"
},
"#Manager.ModifyRedundancySet": {
"$ref": "#/definitions/ModifyRedundancySet"
},
"#Manager.Reset": {
"$ref": "#/definitions/Reset"
}
},
"readonly": true,
"description": "The Actions object contains the available custom actions on this resource."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"EthernetInterfaces": {
"$ref": "http://redfish.dmtf.org/schemas/v1/EthernetInterfaceCollection.json#/definitions/EthernetInterfaceCollection",
"readonly": true,
"description": "This is a reference to a collection of NICs that this manager uses for network communication. It is here that clients will find NIC configuration options and settings.",
"longDescription": "The value of this property shall be a link to a collection of type EthernetInterfaceCollection."
},
"SerialInterfaces": {
"$ref": "http://redfish.dmtf.org/schemas/v1/SerialInterfaceCollection.json#/definitions/SerialInterfaceCollection",
"readonly": true,
"description": "This is a reference to a collection of serial interfaces that this manager uses for serial and console communication. It is here that clients will find serial configuration options and settings.",
"longDescription": "The value of this property shall be a link to a collection of type SerialInterfaceCollection which are for the use of this manager."
},
"NetworkProtocol": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ManagerNetworkProtocol.1.0.0.json#/definitions/ManagerNetworkProtocol",
"readonly": true,
"description": "This is a reference to the network services and their settings that the manager controls. It is here that clients will find network configuration options as well as network services.",
"longDescription": "The value of this property shall contain a reference to a resource of type ManagerNetworkProtocol which represents the network services for this manager."
},
"LogServices": {
"$ref": "http://redfish.dmtf.org/schemas/v1/LogServiceCollection.json#/definitions/LogServiceCollection",
"readonly": true,
"description": "This is a reference to a collection of Logs used by the manager.",
"longDescription": "The value of this property shall contain a reference to a collection of type LogServiceCollection which are for the use of this manager."
},
"VirtualMedia": {
"$ref": "http://redfish.dmtf.org/schemas/v1/VirtualMediaCollection.json#/definitions/VirtualMediaCollection",
"readonly": true,
"description": "This is a reference to the Virtual Media services for this particular manager.",
"longDescription": "The value of this property shall contain a reference to a collection of type VirtualMediaCollection which are for the use of this manager."
},
"Redundancy@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Redundancy@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Redundancy": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Redundancy.json#/definitions/Redundancy"
},
"readonly": true,
"description": "Redundancy information for the managers of this system"
}
},
"description": "This is the schema definition for a Manager. Examples of managers are BMCs, Enclosure Managers, Management Controllers and other subsystems assigned managability functions.",
"longDescription": "This resource shall be used to represent a management subsystem for a Redfish implementation."
},
"ManagerType": {
"type": "string",
"enum": [
"ManagementController",
"EnclosureManager",
"BMC",
"RackManager",
"AuxiliaryController"
],
"enumDescriptions": {
"ManagementController": "A controller used primarily to monitor or manage the operation of a device or system",
"EnclosureManager": "A controller which provides management functions for a chassis or group of devices or systems",
"BMC": "A controller which provides management functions for a single computer system",
"RackManager": "A controller which provides management functions for a whole or part of a rack",
"AuxiliaryController": "A controller which provides management functions for a particular subsystem or group of devices"
}
},
"SerialConnectTypesSupported": {
"type": "string",
"enum": [
"SSH",
"Telnet",
"IPMI",
"Oem"
],
"enumDescriptions": {
"SSH": "The controller supports a Serial Console connection using the SSH protocol",
"Telnet": "The controller supports a Serial Console connection using the Telnet protocol",
"IPMI": "The controller supports a Serial Console connection using the IPMI Serial-over-LAN (SOL) protocol",
"Oem": "The controller supports a Serial Console connection using an OEM-specific protocol"
}
},
"SerialConsole": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"ServiceEnabled": {
"type": "boolean",
"description": "Indicates if the service is enabled for this manager.",
"longDescription": "The value of this property shall contain the enabled status of the protocol used for the service. The value shall be true if enabled and false if disabled."
},
"MaxConcurrentSessions": {
"type": "number",
"readonly": true,
"description": "Indicates the maximum number of service sessions, regardless of protocol, this manager is able to support.",
"longDescription": "The value of this property shall contain the maximum number of concurrent service sessions supported by the implementation.",
"minimum": 0
},
"ConnectTypesSupported": {
"type": "array",
"items": {
"$ref": "#/definitions/SerialConnectTypesSupported"
},
"readonly": true,
"description": "This object is used to enumerate the Serial Console connection types allowed by the implementation.",
"longDescription": "The value of ConnectTypesSupported shall be an array of the enumerations provided here. SSH shall be included if the Secure Shell (SSH) protocol is supported. Telnet shall be included if the Telnet protocol is supported. IPMI shall be included if the IPMI (Serial-over-LAN) protocol is supported."
}
},
"description": "Used for describing services like Serial Console, Command Shell or Graphical Console"
},
"ForceFailover": {
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string",
"description": "Friendly action name"
},
"target": {
"type": "string",
"format": "uri",
"description": "Link to invoke action"
}
}
},
"ModifyRedundancySet": {
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string",
"description": "Friendly action name"
},
"target": {
"type": "string",
"format": "uri",
"description": "Link to invoke action"
}
}
},
"Reset": {
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string",
"description": "Friendly action name"
},
"target": {
"type": "string",
"format": "uri",
"description": "Link to invoke action"
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Manager.Manager",
"$ref": "#/definitions/Manager",
"definitions": {
"Manager": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/Manager.1.0.0.json#/definitions/Manager"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,117 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ManagerAccount.1.0.0.ManagerAccount",
"$ref": "#/definitions/ManagerAccount",
"definitions": {
"ManagerAccount": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"Password": {
"type": [
"string",
"null"
],
"description": "This property is used with a PATCH or PUT to write the password for the account. This property is null on a GET.",
"longDescription": "The value of this property shall be the password for this account. The value shall be null for GET requests."
},
"UserName": {
"type": "string",
"description": "This property contains the user name for the account.",
"longDescription": "The value of this property shall be the user name for this account."
},
"RoleId": {
"type": "string",
"description": "This property contains the Role for this account.",
"longDescription": "The value of this property shall be the ID of the Role resource that configured for this account."
},
"Locked": {
"type": "boolean",
"description": "This property indicates that the account has been auto-locked by the account service because the lockout threshold has been exceeded. When set to true, the account is locked. A user admin can write the property to false to manually unlock, or the account service will unlock it once the lockout duration period has passed.",
"longDescription": "This property (when set to true) shall indicate that the account service has automatically locked the account due to the accountLockoutThreshold having been exceeded. If set to true, the account is locked. If set to false, the account is not locked. A user admin shall be able to write a false to the property to clear the lockout condition, prior to the lockout duration period."
},
"Enabled": {
"type": "boolean",
"description": "This property is used by a User Administrator to disable an account w/o having to delet the user information. When set to true, the user can login. When set to false, the account is administratively disabled and the user cannot login.",
"longDescription": "This property shall enable (if set to true) or disable (if set to false) the account for future logins. The value of Enable over-rides the locked property."
},
"Links": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "Oem extension object.",
"longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"Role": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Role.json#/definitions/Role",
"readonly": true,
"description": "A reference to the Role object defining Privileges for this account--returned when the resource is read. The ID of the role is the same as property RoleId.",
"longDescription": "The value of this property shall be a link to a Role object instance, and should reference the object identified by property RoleId."
}
},
"readonly": true,
"description": "The links object contains the links to other resources that are related to this resource."
}
},
"requiredOnCreate": [
"Password",
"UserName",
"RoleId"
],
"description": "This schema defines a user account to be used in conjunction with a manager. This will affect the Redfish service connection if this manager is responsible for the Redfish service.",
"longDescription": "This resource shall be used to represent resources that represent the user accounts for the manager."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ManagerAccount.ManagerAccount",
"$ref": "#/definitions/ManagerAccount",
"definitions": {
"ManagerAccount": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/ManagerAccount.1.0.0.json#/definitions/ManagerAccount"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ManagerAccountCollection.ManagerAccountCollection",
"$ref": "#/definitions/ManagerAccountCollection",
"definitions": {
"ManagerAccountCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ManagerAccount.json#/definitions/ManagerAccount"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ManagerCollection.ManagerCollection",
"$ref": "#/definitions/ManagerCollection",
"definitions": {
"ManagerCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Manager.json#/definitions/Manager"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,235 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ManagerNetworkProtocol.1.0.0.ManagerNetworkProtocol",
"$ref": "#/definitions/ManagerNetworkProtocol",
"definitions": {
"ManagerNetworkProtocol": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"HostName": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The DNS Host Name of this manager, without any domain information",
"longDescription": "The value of this property shall contain the host name without any domain information."
},
"FQDN": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "This is the fully qualified domain name for the manager obtained by DNS including the host name and top-level domain name.",
"longDescription": "The value of this property shall contain the fully qualified domain name for the manager."
},
"HTTP": {
"$ref": "#/definitions/Protocol",
"readonly": true,
"description": "Settings for this Manager's HTTP protocol support",
"longDescription": "This object shall contain information for the HTTP protocol settings for the manager. The default value of the Port property should be 80 for compatibility with established client implementations."
},
"HTTPS": {
"$ref": "#/definitions/Protocol",
"readonly": true,
"description": "Settings for this Manager's HTTPS protocol support",
"longDescription": "This object shall contain information for the HTTPS/SSL protocol settings for this manager. The default value of the Port property should be 443 for compatibility with established client implementations."
},
"SNMP": {
"$ref": "#/definitions/Protocol",
"readonly": true,
"description": "Settings for this Manager's SNMP support",
"longDescription": "This object shall contain information for the SNMP protocol settings for this manager. The default value of the Port property should be 161 for compatibility with established client implementations."
},
"VirtualMedia": {
"$ref": "#/definitions/Protocol",
"readonly": true,
"description": "Settings for this Manager's Virtual Media support",
"longDescription": "This object shall contain information for the Virtual Media protocol settings for this manager. The value of the Port property shall contain the TCP port assigned for Virtual Media usage."
},
"Telnet": {
"$ref": "#/definitions/Protocol",
"readonly": true,
"description": "Settings for this Manager's Telnet protocol support",
"longDescription": "This object shall contain information for the Telnet protocol settings for this manager. The default value of the Port property should be 23 for compatibility with established client implementations."
},
"SSDP": {
"$ref": "#/definitions/SSDProtocol",
"readonly": true,
"description": "Settings for this Manager's SSDP support",
"longDescription": "This object shall contain information for the SSDP protocol settings for this manager. Simple Service Discovery Protocol (SSDP) is for network discovery of devices supporting the Redfish service. The default value of the Port property should be 1900 for compatibility with established client implementations."
},
"IPMI": {
"$ref": "#/definitions/Protocol",
"readonly": true,
"description": "Settings for this Manager's IPMI-over-LAN protocol support",
"longDescription": "This object shall contain information for the IPMI over LAN protocol settings for the manager. The default value of the Port property should be 623 for compatibility with established client implementations."
},
"SSH": {
"$ref": "#/definitions/Protocol",
"readonly": true,
"description": "Settings for this Manager's SSH (Secure Shell) protocol support",
"longDescription": "This object shall contain information for the SSH protocol settings for the manager. The default value of the Port property should be 22 for compatibility with established client implementations."
},
"KVMIP": {
"$ref": "#/definitions/Protocol",
"readonly": true,
"description": "Settings for this Manager's KVM-IP protocol support",
"longDescription": "This object shall contain information for the KVM-IP (Keyboard, Video, Mouse) protocol settings for the manager."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
}
},
"description": "This resource is used to obtain or modify the network services managed by a given manager.",
"longDescription": "This object shall be used to represent the network service settings for the manager."
},
"NotifyIPv6Scope": {
"type": "string",
"enum": [
"Link",
"Site",
"Organization"
],
"enumDescriptions": {
"Link": "SSDP Notify messages are sent to addresses in the IPv6 Local Link scope",
"Site": "SSDP Notify messages are sent to addresses in the IPv6 Local Site scope",
"Organization": "SSDP Notify messages are sent to addresses in the IPv6 Local Organization scope"
}
},
"Protocol": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"ProtocolEnabled": {
"type": [
"boolean",
"null"
],
"description": "Indicates if the protocol is enabled or disabled",
"longDescription": "The value of this property shall contain the enabled status of the protocol. The value shall be true if enabled and false if disabled."
},
"Port": {
"type": [
"number",
"null"
],
"description": "Indicates the protocol port.",
"longDescription": "The value of this property shall contain the port assigned for the protocol.",
"minimum": 0
}
}
},
"SSDProtocol": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"ProtocolEnabled": {
"type": [
"boolean",
"null"
],
"description": "Indicates if the protocol is enabled or disabled",
"longDescription": "The value of this property shall contain the enabled status of the protocol. The value shall be true if enabled and false if disabled."
},
"Port": {
"type": [
"number",
"null"
],
"description": "Indicates the protocol port.",
"longDescription": "The value of this property shall contain the port assigned for the protocol.",
"minimum": 0
},
"NotifyMulticastIntervalSeconds": {
"type": [
"number",
"null"
],
"description": "Indicates how often the Multicast is done from this service for SSDP.",
"longDescription": "The value of this property shall contain the time interval, in seconds, between transmissions of the multicast NOTIFY ALIVE message. A setting of 0 seconds shall disable this functionality. The recommended value is 600 seconds.",
"minimum": 0
},
"NotifyTTL": {
"type": [
"number",
"null"
],
"description": "Indicates the time to live hop count for SSDPs Notify messages.",
"longDescription": "The value of this property shall contain the Time-To-Live hop count used for multicast NOTIFY messages. The recommended value is 2.",
"minimum": 1
},
"NotifyIPv6Scope": {
"$ref": "#/definitions/NotifyIPv6Scope",
"description": "Indicates the scope for the IPv6 Notify messages for SSDP.",
"longDescription": "The value of this property shall contain the IPv6 scope used for multicast NOTIFY messages. The valid enumerations are a subset of the available IPv6 Scope types."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ManagerNetworkProtocol.ManagerNetworkProtocol",
"$ref": "#/definitions/ManagerNetworkProtocol",
"definitions": {
"ManagerNetworkProtocol": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/ManagerNetworkProtocol.1.0.0.json#/definitions/ManagerNetworkProtocol"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,82 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Message.1.0.0",
"definitions": {
"Message": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"MessageId": {
"type": "string",
"description": "This is the key for this message which can be used to look up the message in a message registry.",
"longDescription": "This property shall be a key into message registry as described in the Redfish specification."
},
"Message": {
"type": [
"string",
"null"
],
"description": "This is the human readable message, if provided.",
"longDescription": "This property shall contain an optional human readable message."
},
"RelatedProperties": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
},
"description": "This is an array of properties described by the message.",
"longDescription": "This property shall contain an array of JSON Pointers indicating the properties described by the message, if appropriate for the message."
},
"MessageArgs": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
},
"description": "This array of message arguments are substituted for the arguments in the message when looked up in the message registry.",
"longDescription": "This property shall contain the message substitution arguments for the specific message referenced by the MessageId and shall only be included if the MessageId is present."
},
"Severity": {
"type": [
"string",
"null"
],
"description": "This is the severity of the errors.",
"longDescription": "The value of this property shall be the severity of the error, as defined in the Status section of the Redfish specificaiton."
},
"Resolution": {
"type": [
"string",
"null"
],
"description": "Used to provide suggestions on how to resolve the situation that caused the error.",
"longDescription": "This property shall contain an override of the Resolution of the message in message registry, if present."
},
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "Oem extension object.",
"longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,187 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#MessageRegistry.1.0.0.MessageRegistry",
"$ref": "#/definitions/MessageRegistry",
"definitions": {
"Message": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Description": {
"type": "string",
"readonly": true,
"description": "This is a short description of how and when this message is to be used.",
"longDescription": "The value of this property shall indicate how and when this message is returned by the Redfish service."
},
"Message": {
"type": "string",
"readonly": true,
"description": "The actual message.",
"longDescription": "The value of this property shall be the message to be displayed. If a %integer is included in part of the string, it shall be used to represent a string substitution for any MessageArgs accompanying the message, in order."
},
"Severity": {
"type": "string",
"readonly": true,
"description": "This is the severity of the message.",
"longDescription": "The value of this property shall be the severity of the condition resulting in the message, as defined in the Status section of the Redfish specification."
},
"NumberOfArgs": {
"type": "number",
"readonly": true,
"description": "The number of arguments to be expected to be passed in as MessageArgs for this message.",
"longDescription": "The value of this property shall be the number of MessageArgs that are expected to be substituted in the Message in the locations within the Message marked by %<integer>.",
"minimum": 0
},
"ParamTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/ParamType"
},
"readonly": true,
"description": "The MessageArg types, in order, for the message.",
"longDescription": "The value of this property shall be an ordered array of parameter types which match the types of the MessageArgs, in order."
},
"Resolution": {
"type": "string",
"readonly": true,
"description": "Used to provide suggestions on how to resolve the situation that caused the error.",
"longDescription": "This property shall contain an override of the Resolution of the message in message registry, if present."
},
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "Oem extension object.",
"longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
}
},
"required": [
"Description",
"Message",
"Severity",
"NumberOfArgs",
"Resolution"
]
},
"MessageProperty": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
},
"[A-Za-z0-9]+": {
"$ref": "#/definitions/Message"
}
},
"properties": {}
},
"MessageRegistry": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"Language": {
"type": "string",
"readonly": true,
"description": "This is the RFC 5646 compliant language code for the registry.",
"longDescription": "The value of this property shall be a string consisting of an RFC 5646 language code"
},
"RegistryPrefix": {
"type": "string",
"readonly": true,
"description": "This is the single word prefix used to form a messageID structure.",
"longDescription": "The value of this property shall be the prefix used in messageIDs which uniquely identifies all of the messages in this registry as belonging to this registry."
},
"RegistryVersion": {
"type": "string",
"readonly": true,
"description": "This is the message registry version which is used in the middle portion of a messageID.",
"longDescription": "The value of this property shall be the version of this message registry. The format of this string shall be of the format majorversion.minorversion.errata in compliance with Protocol Version section of the Redfish specification"
},
"OwningEntity": {
"type": "string",
"readonly": true,
"description": "This is the organization or company that publishes this registry.",
"longDescription": "The value of this property shall be a string that represents the publisher of this registry."
},
"Messages": {
"$ref": "#/definitions/MessageProperty",
"readonly": true,
"description": "The pattern property indicates that a free-form string is the unique identifier for the message within the registry.",
"longDescription": "The pattern property shall represent the suffix to be used in the MessageId and shall be unique within this message registry."
}
},
"required": [
"Language",
"RegistryPrefix",
"RegistryVersion",
"OwningEntity",
"Messages"
],
"description": "This is the schema definition for all Message Registries. It represents the properties for the registries themselves. The MessageId is formed per the Redfish specification. It consists of the RegistryPrefix concatenated with the version concatenated with the unique identifier for the message registry entry.",
"longDescription": "This resource shall be used to represent a message registry for a Redfish implementation."
},
"ParamType": {
"type": "string",
"enum": [
"string",
"number"
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#MessageRegistry.MessageRegistry",
"$ref": "#/definitions/MessageRegistry",
"definitions": {
"MessageRegistry": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/MessageRegistry.1.0.0.json#/definitions/MessageRegistry"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,54 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#PhysicalContext.1.0.0",
"definitions": {
"PhysicalContext": {
"type": "string",
"enum": [
"Room",
"Intake",
"Exhaust",
"Front",
"Back",
"Upper",
"Lower",
"CPU",
"GPU",
"Backplane",
"SystemBoard",
"PowerSupply",
"VoltageRegulator",
"StorageDevice",
"NetworkingDevice",
"ComputeBay",
"StorageBay",
"NetworkBay",
"ExpansionBay",
"PowerSupplyBay"
],
"enumDescriptions": {
"Room": "The room",
"Intake": "The intake point of the chassis",
"Exhaust": "The exhaust point of the chassis",
"Front": "The front of the chassis",
"Back": "The back of the chassis",
"Upper": "The upper portion of the chassis",
"Lower": "The lower portion of the chassis",
"CPU": "A Processor (CPU)",
"GPU": "A Graphics Processor (GPU)",
"Backplane": "A backplane within the chassis",
"SystemBoard": "The system board (PCB)",
"PowerSupply": "A power supply",
"VoltageRegulator": "A voltage regulator device",
"StorageDevice": "A storage device",
"NetworkingDevice": "A networking device",
"ComputeBay": "Within a compute bay",
"StorageBay": "Within a storage bay",
"NetworkBay": "Within a networking bay",
"ExpansionBay": "Within an expansion bay",
"PowerSupplyBay": "Within a power supply bay"
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,688 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Power.1.0.0.Power",
"$ref": "#/definitions/Power",
"definitions": {
"LineInputVoltageType": {
"type": "string",
"enum": [
"Unknown",
"ACLowLine",
"ACMidLine",
"ACHighLine",
"DCNeg48V",
"DC480V"
],
"enumDescriptions": {
"Unknown": "The power supply line input voltage type cannot be determined",
"ACLowLine": "100-127V AC input",
"ACMidLine": "200-240V AC input",
"ACHighLine": "277V AC input",
"DCNeg48V": "-48V DC input",
"DC480V": "High Voltage DC input (380V)"
}
},
"Power": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"PowerControl@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"PowerControl@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"PowerControl": {
"type": "array",
"items": {
"$ref": "#/definitions/PowerControl"
},
"readonly": true,
"description": "This is the definition for power control function (power reading/limiting).",
"longDescription": "These properties shall be the definition for power control (power reading and limiting) for a Redfish implementation."
},
"Voltages@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Voltages@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Voltages": {
"type": "array",
"items": {
"$ref": "#/definitions/Voltage"
},
"readonly": true,
"description": "This is the definition for voltage sensors.",
"longDescription": "These properties shall be the definition for voltage sensors for a Redfish implementation."
},
"PowerSupplies@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"PowerSupplies@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"PowerSupplies": {
"type": "array",
"items": {
"$ref": "#/definitions/PowerSupply"
},
"readonly": true,
"description": "Details of the power supplies associated with this system or device",
"longDescription": "This object shall contain details of the power supplies associated with this system or device"
},
"Redundancy@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Redundancy@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Redundancy": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Redundancy.json#/definitions/Redundancy"
},
"readonly": true,
"description": "Redundancy information for the power subsystem of this system or device"
}
},
"description": "This is the schema definition for the Power Metrics. It represents the properties for Power Consumption and Power Limiting.",
"longDescription": "This resource shall be used to represent a power metrics resource for a Redfish implementation."
},
"PowerControl": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"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*."
},
"MemberId": {
"type": "string",
"description": "This is the identifier for the member within the collection.",
"longDescription": "The value of this string shall uniquely identify the member within the collection."
},
"Name": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "Power Control Function name.",
"longDescription": "The value of this property shall be the name of the Voltage sensor."
},
"PowerConsumedWatts": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The actual power being consumed by the chassis.",
"longDescription": "The value of this property shall represent the actual power being consumed (in Watts) by the chassis.",
"minimum": 0
},
"PowerRequestedWatts": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The potential power that the chassis resources are requesting which may be higher than the current level being consumed since requested power includes budget that the chassis resource wants for future use.",
"longDescription": "The value of this property shall represent the amount of power (in Watts) that the chassis resource is currently requesting be budgeted to it for future use.",
"minimum": 0
},
"PowerAvailableWatts": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The amount of power not already budgeted and therefore available for additional allocation. (powerCapacity - powerAllocated). This indicates how much reserve power capacity is left.",
"longDescription": "The value of this property shall represent the amount of power capacity (in Watts) not already allocated and shall equal PowerCapacityWatts - PowerAllocatedWatts.",
"minimum": 0
},
"PowerCapacityWatts": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The total amount of power available to the chassis for allocation. This may the power supply capacity, or power budget assigned to the chassis from an up-stream chassis.",
"longDescription": "The value of this property shall represent the total power capacity that is available for allocation to the chassis resources.",
"minimum": 0
},
"PowerAllocatedWatts": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The total amount of power that has been allocated (or budegeted)to chassis resources.",
"longDescription": "The value of this property shall represent the total power currently allocated to chassis resources.",
"minimum": 0
},
"PowerMetrics": {
"$ref": "#/definitions/PowerMetric",
"description": "Power readings for this chassis.",
"longDescription": "This object shall contain power metrics for power readings (interval, min/max/ave power consumption) for the chassis."
},
"PowerLimit": {
"$ref": "#/definitions/PowerLimit",
"description": "Power limit status and configuration information for this chassis",
"longDescription": "This object shall contain power limit status and configuration information for this chassis"
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"RelatedItem@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"RelatedItem@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"RelatedItem": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"description": "The ID(s) of the resources associated with this Power Limit",
"longDescription": "The value of this property shall be an array of IDs containing pointers consistent with JSON pointer syntax to the resource that is being limited."
}
},
"description": "This is the base type for addressable members of an array.",
"longDescription": "Array members can be referenced using the value returned in the @odata.id property which may or may not be a dereferenceable URL. The @odata.id of this entity shall be the location of this element within an Item."
},
"PowerLimit": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"LimitInWatts": {
"type": [
"number",
"null"
],
"description": "The Power limit in watts. Set to null to disable power capping.",
"longDescription": "The value of this property shall represent the power cap limit in watts for the resource. If set to null, power capping shall be disabled.",
"minimum": 0
},
"LimitException": {
"$ref": "#/definitions/PowerLimitException",
"description": "The action that is taken if the power cannot be maintained below the LimitInWatts.",
"longDescription": "The value of this property shall represent the action to be taken if the resource power consumption can not be limited below the specified limit after several correction time periods."
},
"CorrectionInMs": {
"type": [
"number",
"null"
],
"description": "The time required for the limiting process to reduce power consumption to below the limit.",
"longDescription": "The value of this property shall represent the time interval in ms required for the limiting process to react and reduce the power consumption below the limit."
}
},
"description": "This object contains power limit status and configuration information for the chassis."
},
"PowerLimitException": {
"type": "string",
"enum": [
"NoAction",
"HardPowerOff",
"LogEventOnly",
"Oem"
],
"enumDescriptions": {
"NoAction": "Take no action when the limit is exceeded.",
"HardPowerOff": "Turn the power off immediately when the limit is exceeded.",
"LogEventOnly": "Log an event when the limit is exceeded, but take no further action.",
"Oem": "Take an OEM-defined action."
}
},
"PowerMetric": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"IntervalInMin": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The time interval (or window) in which the PowerMetrics are measured over.",
"longDescription": "The value of this property shall represent the minimum power level in watts that occured within the last IntervalInMin minutes.",
"minimum": 0
},
"MinConsumedWatts": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The lowest power consumption level over the measurement window (the last IntervalInMin minutes).",
"longDescription": "The value of this property shall represent the minimum power level in watts that occured within the last IntervalInMin minutes.",
"minimum": 0
},
"MaxConsumedWatts": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The highest power consumption level that has occured over the measurement window (the last IntervalInMin minutes).",
"longDescription": "The value of this property shall represent the maximum power level in watts that occured within the last IntervalInMin minutes.",
"minimum": 0
},
"AverageConsumedWatts": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The average power level over the measurement window (the last IntervalInMin minutes).",
"longDescription": "The value of this property shall represent the average power level that occured averaged over the last IntervalInMin minutes.",
"minimum": 0
}
}
},
"PowerSupply": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"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*."
},
"MemberId": {
"type": "string",
"description": "This is the identifier for the member within the collection.",
"longDescription": "The value of this string shall uniquely identify the member within the collection."
},
"Name": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The name of the Power Supply",
"longDescription": "This property shall contain a descriptive name for the associated power supply."
},
"PowerSupplyType": {
"$ref": "#/definitions/PowerSupplyType",
"readonly": true,
"description": "The Power Supply type (AC or DC)",
"longDescription": "This property shall contain the input power type (AC or DC) of the associated power supply."
},
"LineInputVoltageType": {
"$ref": "#/definitions/LineInputVoltageType",
"readonly": true,
"description": "The line voltage type supported as an input to this Power Supply",
"longDescription": "This property shall contain the type of input line voltage supported by the associated power supply"
},
"LineInputVoltage": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The line input voltage at which the Power Supply is operating",
"longDescription": "This property shall contain the value in Watts of the line input voltage (measured or configured for) that the power supply has been configured to operate with or is currently receiving."
},
"PowerCapacityWatts": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The maximum capacity of this Power Supply",
"longDescription": "This property shall contiain the maximum amount of power, in Watts, that the associated power supply is rated to deliver.",
"minimum": 0
},
"LastPowerOutputWatts": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The average power output of this Power Supply",
"longDescription": "This property shall contain the average power output, measured in Watts, of the associated power supply.",
"minimum": 0
},
"Model": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The model number for this Power Supply",
"longDescription": "This property shall contain the model information as defined by the manufacturer for the associated power supply."
},
"FirmwareVersion": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The firmware version for this Power Supply",
"longDescription": "This property shall contain the firwmare version as defined by the manufacturer for the associated power supply."
},
"SerialNumber": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The serial number for this Power Supply",
"longDescription": "This property shall contain the serial number as defined by the manufacturer for the associated power supply."
},
"PartNumber": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The part number for this Power Supply",
"longDescription": "This property shall contain the part number as defined by the manufacturer for the associated power supply."
},
"SparePartNumber": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The spare part number for this Power Supply",
"longDescription": "This property shall contain the spare or replacement part number as defined by the manufacturer for the associated power supply."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"RelatedItem@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"RelatedItem@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"RelatedItem": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"description": "The ID(s) of the resources associated with this Power Limit",
"longDescription": "The value of this property shall be an array of IDs containing pointers consistent with JSON pointer syntax to the resource that is being limited."
},
"Redundancy@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Redundancy@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Redundancy": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Redundancy.json#/definitions/Redundancy"
},
"readonly": true,
"description": "This structure is used to show redundancy for fans. The Component ids will reference the members of the redundancy groups.",
"longDescription": "The values of the properties in this array shall be used to show redundancy for fans and other elements in this resource. The use of IDs within these arrays shall reference the members of the redundancy groups."
}
},
"description": "Details of a power supplies associated with this system or device",
"longDescription": "Array members can be referenced using the value returned in the @odata.id property which may or may not be a dereferenceable URL. The @odata.id of this entity shall be the location of this element within an Item."
},
"PowerSupplyType": {
"type": "string",
"enum": [
"Unknown",
"AC",
"DC"
],
"enumDescriptions": {
"Unknown": "The power supply type cannot be determined",
"AC": "Alternating Current (AC) power supply",
"DC": "Direct Current (DC) power supply"
}
},
"Voltage": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"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*."
},
"MemberId": {
"type": "string",
"description": "This is the identifier for the member within the collection.",
"longDescription": "The value of this string shall uniquely identify the member within the collection."
},
"Name": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "Voltage sensor name.",
"longDescription": "The value of this property shall be the name of the Voltage sensor."
},
"SensorNumber": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "A numerical identifier to represent the voltage sensor",
"longDescription": "The value of this property shall be a numerical identifier for this voltage sensor that is unique within this resource. "
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"ReadingVolts": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The current value of the voltage sensor.",
"longDescription": "The value of this property shall be the current value of the voltage sensor's reading."
},
"UpperThresholdNonCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Above normal range",
"longDescription": "The value of this property shall indicate the CurrentReading is above the normal range but is not critical. Units shall use the same units as the related ReadingVolts propoerty."
},
"UpperThresholdCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Above normal range but not yet fatal.",
"longDescription": "The value of this property shall indicate the CurrentReading is above the normal range but is not yet fatal. Units shall use the same units as the related ReadingVolts propoerty."
},
"UpperThresholdFatal": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Above normal range and is fatal",
"longDescription": "The value of this property shall indicate the CurrentReading is above the normal range and is fatal. Units shall use the same units as the related ReadingVolts propoerty."
},
"LowerThresholdNonCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Below normal range",
"longDescription": "The value of this property shall indicate the CurrentReading is below the normal range but is not critical. Units shall use the same units as the related ReadingVolts propoerty."
},
"LowerThresholdCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Below normal range but not yet fatal.",
"longDescription": "The value of this property shall indicate the CurrentReading is below the normal range but is not yet fatal. Units shall use the same units as the related ReadingVolts propoerty."
},
"LowerThresholdFatal": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Below normal range and is fatal",
"longDescription": "The value of this property shall indicate the CurrentReading is below the normal range and is fatal. Units shall use the same units as the related ReadingVolts propoerty."
},
"MinReadingRange": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Minimum value for CurrentReading",
"longDescription": "The value of this property shall indicate the lowest possible value for CurrentReading. Units shall use the same units as the related ReadingVolts propoerty."
},
"MaxReadingRange": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Maximum value for CurrentReading",
"longDescription": "The value of this property shall indicate the lowest possible value for CurrentReading. Units shall use the same units as the related ReadingVolts propoerty."
},
"PhysicalContext": {
"$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.1.0.0.json#/definitions/PhysicalContext",
"readonly": true,
"description": "Describes the area or device to which this voltage measurement applies.",
"longDescription": "The value of this property shall be a description of the affected device or region within the chassis to which this voltage measurement applies."
},
"RelatedItem@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"RelatedItem@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"RelatedItem": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"readonly": true,
"description": "Describes the areas or devices to which this voltage measurement applies.",
"longDescription": "The value of this property shall be an array of IDs containing pointers consistent with JSON pointer syntax to the areas or devices to which this voltage measurement applies."
}
},
"description": "This is the base type for addressable members of an array.",
"longDescription": "Array members can be referenced using the value returned in the @odata.id property which may or may not be a dereferenceable URL. The @odata.id of this entity shall be the location of this element within an Item."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Power.Power",
"$ref": "#/definitions/Power",
"definitions": {
"Power": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/Power.1.0.0.json#/definitions/Power"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,24 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Privileges.1.0.0",
"definitions": {
"PrivilegeType": {
"type": "string",
"enum": [
"Login",
"ConfigureManager",
"ConfigureUsers",
"ConfigureSelf",
"ConfigureComponents"
],
"enumDescriptions": {
"Login": "Able to log into the service and read resources.",
"ConfigureManager": "Able to configure Manager resources.",
"ConfigureUsers": "Able to configure Users and their Accounts.",
"ConfigureSelf": "Able to change the password for the current user Account.",
"ConfigureComponents": "Able to configure components managed by this service."
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,263 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Processor.1.0.0.Processor",
"$ref": "#/definitions/Processor",
"definitions": {
"InstructionSet": {
"type": "string",
"enum": [
"x86",
"x86-64",
"IA-64",
"ARM-A32",
"ARM-A64",
"MIPS32",
"MIPS64",
"OEM"
],
"enumDescriptions": {
"x86": "x86 32-bit",
"x86-64": "x86 64-bit",
"IA-64": "Intel IA-64",
"ARM-A32": "ARM 32-bit",
"ARM-A64": "ARM 64-bit",
"MIPS32": "MIPS 32-bit",
"MIPS64": "MIPS 64-bit",
"OEM": "OEM-defined"
}
},
"Processor": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"Socket": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The socket or location of the processor",
"longDescription": "This property shall contain the string which identifies the physical location or socket of the processor."
},
"ProcessorType": {
"$ref": "#/definitions/ProcessorType",
"readonly": true,
"description": "The type of processor",
"longDescription": "This property shall contain the string which identifies the type of processor contained in this Socket."
},
"ProcessorArchitecture": {
"$ref": "#/definitions/ProcessorArchitecture",
"readonly": true,
"description": "The architecture of the processor",
"longDescription": "This property shall contain the string which identifies the architecture of the processor contained in this Socket."
},
"InstructionSet": {
"$ref": "#/definitions/InstructionSet",
"readonly": true,
"description": "The instruction set of the processor",
"longDescription": "This property shall contain the string which identifies the instruction set of the processor contained in this socket."
},
"ProcessorId": {
"$ref": "#/definitions/ProcessorId",
"description": "Identification information for this processor.",
"longDescription": "This object shall contain identification information for this processor."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"Manufacturer": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The processor manufacturer",
"longDescription": "This property shall contain a string which identifies the manufacturer of the processor."
},
"Model": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The product model number of this device",
"longDescription": "This property shall indicate the model information as provided by the manufacturer of this processor."
},
"MaxSpeedMHz": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The maximum clock speed of the processor",
"longDescription": "This property shall indicate the maximum rated clock speed of the processor in MHz."
},
"TotalCores": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The total number of cores contained in this processor",
"longDescription": "This property shall indicate the total count of independent processor cores contained within this processor."
},
"TotalThreads": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "The total number of execution threads supported by this processor",
"longDescription": "This property shall indicate the total count of independent execution threads supported by this processor."
}
},
"description": "This is the schema definition for the Processor resource. It represents the properties of a processor attached to a System."
},
"ProcessorArchitecture": {
"type": "string",
"enum": [
"x86",
"IA-64",
"ARM",
"MIPS",
"OEM"
],
"enumDescriptions": {
"x86": "x86 or x86-64",
"IA-64": "Intel Itanium",
"ARM": "ARM",
"MIPS": "MIPS",
"OEM": "OEM-defined"
}
},
"ProcessorId": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"VendorId": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The Vendor Identification for this processor",
"longDescription": "This property shall indicate the Vendor Identification string information as provided by the manufacturer of this processor."
},
"IdentificationRegisters": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The contents of the Identification Registers (CPUID) for this processor",
"longDescription": "This property shall include the raw CPUID instruction output as provided by the manufacturer of this processor."
},
"EffectiveFamily": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The effective Family for this processor",
"longDescription": "This property shall indicate the effective Family information as provided by the manufacturer of this processor."
},
"EffectiveModel": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The effective Model for this processor",
"longDescription": "This property shall indicate the effective Model information as provided by the manufacturer of this processor."
},
"Step": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The Step value for this processor",
"longDescription": "This property shall indicate the Step or revision string information as provided by the manufacturer of this processor."
},
"MicrocodeInfo": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The Microcode Information for this processor",
"longDescription": "This property shall indicate the Microcode Information as provided by the manufacturer of this processor."
}
}
},
"ProcessorType": {
"type": "string",
"enum": [
"CPU",
"GPU",
"FPGA",
"DSP",
"Accelerator",
"OEM"
],
"enumDescriptions": {
"CPU": "A Central Processing Unit",
"GPU": "A Graphics Processing Unit",
"FPGA": "A Field Programmable Gate Array",
"DSP": "A Digital Signal Processor",
"Accelerator": "An Accelerator",
"OEM": "An OEM-defined Processing Unit"
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Processor.Processor",
"$ref": "#/definitions/Processor",
"definitions": {
"Processor": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/Processor.1.0.0.json#/definitions/Processor"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ProcessorCollection.ProcessorCollection",
"$ref": "#/definitions/ProcessorCollection",
"definitions": {
"ProcessorCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Processor.json#/definitions/Processor"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,109 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Redundancy.1.0.0",
"definitions": {
"Redundancy": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"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*."
},
"MemberId": {
"type": "string",
"description": "This is the identifier for the member within the collection.",
"longDescription": "The value of this string shall uniquely identify the member within the collection."
},
"Name": {
"type": "string",
"readonly": true,
"description": "The name of the resource or array element.",
"longDescription": "This object represents the Name property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification. The value of this string shall be of the format for the reserved word *Name*."
},
"Mode": {
"$ref": "#/definitions/RedundancyMode",
"readonly": true,
"description": "This is the redundancy mode of the group.",
"longDescription": "The value of this property shall contain the information about the redundancy mode of this manager. Failover shall indicate a master/slave type arrangement where status indicates the role of this manager. N+1 indicates an arrangement where the redundancy set needs MaxNumSupported-1 number of resources in order to be redundant. Load Balanced indicates all members are active. However, there functionality is not independent of each other. Their functioning is determined by some sort of load balancing algorithm. Sparing is implied (i.e. each member can be a spare for the other(s). Sparing indicates that all members are active and are aware of each others. However, their functionality is independent until failover. Each member can be a spare for the other(s). Limited Sparing indicates that all members are active, and they may or may not be aware of each and they are not spares for each other."
},
"MaxNumSupported": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "This is the maximum number of members allowable for this particular managers redundancy, including this manager.",
"longDescription": "The value of this property shall contain the maximum number of members allowed in the redundancy group."
},
"MinNumNeeded": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "This is the minumum number of managers needed for this manager to be redundant.",
"longDescription": "The value of this property shall contain the maximum number of members allowed in the redundancy group for the current redundancy mode to still be fault tolerant."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"RedundancySet@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"RedundancySet@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"RedundancySet": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"readonly": true,
"description": "Contains any ids that represent components of this reduncancy set.",
"longDescription": "The value of this property shall contain the ids of components that are part of this redundancy set. The id values may or may not be dereferenceable."
}
},
"required": [
"Name",
"Mode",
"MaxNumSupported",
"MinNumNeeded",
"Status",
"RedundancySet"
],
"description": "This is the redundancy definition to be used in other resource schemas.",
"longDescription": "This object represents the Redundancy element property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification. The value of this string shall be of the format for the reserved word *Redundancy*"
},
"RedundancyMode": {
"type": "string",
"enum": [
"Failover",
"N+m",
"Sharing",
"Sparing"
],
"enumDescriptions": {
"Failover": "Failure of one unit will automatically cause its functions to be taken over by a standby or offline unit in the redundancy set",
"N+m": "Multiple units are available and active such that normal operation will continue if one or more units fail",
"Sharing": "Multiple units contribute or share such that operation will continue, but at a reduced capacity, if one or more units fail",
"Sparing": "One or more spare units are available to take over the function of a failed unit, but takeover is not automatic"
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Redundancy.Redundancy",
"$ref": "#/definitions/Redundancy",
"definitions": {
"Redundancy": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/Redundancy.1.0.0.json#/definitions/Redundancy"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,129 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Resource.1.0.0",
"definitions": {
"ReferenceableMember": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"MemberId": {
"type": "string",
"description": "This is the identifier for the member within the collection.",
"longDescription": "The value of this string shall uniquely identify the member within the collection."
}
},
"description": "This is the base type for addressable members of an array.",
"longDescription": "Array members can be referenced using the value returned in the @odata.id property which may or may not be a dereferenceable URL. The @odata.id of this entity shall be the location of this element within an Item."
},
"Resource": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
}
},
"description": "This is the base type for resources and referenceable members."
},
"ResourceCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,270 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Resource",
"definitions": {
"Description": {
"type": "string",
"readonly": true,
"description": "Provides a description of this resource and is used for commonality in the schema definitions.",
"longDescription": "This object represents the Description property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"Health": {
"type": "string",
"enum": [
"OK",
"Warning",
"Critical"
],
"enumDescriptions": {
"OK": "Normal",
"Warning": "A condition exists that requires attention",
"Critical": "A critical condition exists that requires immediate attention"
}
},
"Id": {
"type": "string",
"readonly": true,
"description": "Uniquely identifies the resource within the collection of like resources.",
"longDescription": "This property represents an identifier for the resource. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"Item": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Oem": {
"$ref": "#/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*."
}
},
"description": "This is the base type for resources and referenceable members."
},
"Name": {
"type": "string",
"readonly": true,
"description": "The name of the resource or array element.",
"longDescription": "This object represents the Name property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification. The value of this string shall be of the format for the reserved word *Name*."
},
"Oem": {
"type": "object",
"patternProperties": {
"([a-zA-Z0-9]+(\\.[a-z]{2,})?|EID:[0-9]+)(:.+)?" : {
"type": "object",
"additionalProperties": true,
"description": "This property shall specify a valid odata or Redfish property."
}
},
"properties": {},
"description": "Oem extension object.",
"longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"ReferenceableMember": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Oem": {
"$ref": "#/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*."
}
},
"description": "This is the base type for resources and referenceable members."
},
"ResetType": {
"type": "string",
"enum": [
"On",
"ForceOff",
"GracefulShutdown",
"GracefulRestart",
"ForceRestart",
"Nmi",
"ForceOn",
"PushPowerButton"
],
"enumDescriptions": {
"On": "Turn the system on",
"ForceOff": "Turn the system off immediately (non-graceful) shutdown",
"GracefulShutdown": "Perform a graceful system shutdown and power off",
"GracefulRestart": "Perform a graceful system shutdown followed by a restart of the system",
"ForceRestart": "Perform an immediate (non-graceful) shutdown, followed by a restart of the system",
"Nmi": "Generate a Diagnostic Interrupt (usually an NMI on x86 systems) to cease normal operations, perform diagnostic actions and typically halt the system.",
"ForceOn": "Turn the system on immediately",
"PushPowerButton": "Simulate the pressing of the physical power button on this system"
}
},
"Resource": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Oem": {
"$ref": "#/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*."
}
},
"description": "This is the base type for resources and referenceable members."
},
"ResourceCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
}
}
},
"State": {
"type": "string",
"enum": [
"Enabled",
"Disabled",
"StandbyOffline",
"StandbySpare",
"InTest",
"Starting",
"Absent"
],
"enumDescriptions": {
"Enabled": "This function or resource has been enabled",
"Disabled": "This function or resource has been disabled",
"StandbyOffline": "This function or resource is enabled, but awaiting an external action to activate it",
"StandbySpare": "This function or resource is part of a redundancy set and is awaiting a failover or other external action to activate it.",
"InTest": "This function or resource is undergoing testing",
"Starting": "This function or resource is starting",
"Absent": "This function or resource is not present or not detected"
}
},
"Status": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"State": {
"$ref": "#/definitions/State",
"readonly": true,
"description": "This indicates the known state of the resource, such as if it is enabled.",
"longDescription": "This property shall represent if this component is available or not and why. Enabled indicates the resource is available. Disabled indicates the resource has been intentionally made unavailable but it can be enabled. Offline indicates the resource is unavailable intentionally and requires action to be made available. InTest indicates that the component is undergoing testing. Starting indicates that the resource is on its way to becoming available. Absent indicates the resources is physically unavailable."
},
"HealthRollup": {
"$ref": "#/definitions/Health",
"readonly": true,
"description": "This represents the overall health state from the view of this resource.",
"longDescription": "This property shall represent the HealthState of the resource and its dependent resources. The values shall conform to those defined in the Redfish specification."
},
"Health": {
"$ref": "#/definitions/Health",
"readonly": true,
"description": "This represents the health state of this resource in the absence of its dependent resources.",
"longDescription": "This property shall represent the HealthState of the resource without considering its dependent resources. The values shall conform to those defined in the Redfish specification."
},
"Oem": {
"$ref": "#/definitions/Oem"
}
},
"readonly": true
},
"UUID": {
"type": "string",
"pattern": "([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})"
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,79 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Role.1.0.0.Role",
"$ref": "#/definitions/Role",
"definitions": {
"Role": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"IsPredefined": {
"type": "boolean",
"readonly": true,
"description": "This property is used to indicate if the Role is one of the Redfish Predefined Roles vs a Custom role.",
"longDescription": "The value of this property shall indicate if the role is a predefined role. ."
},
"AssignedPrivileges": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Privileges.1.0.0.json#/definitions/PrivilegeType"
},
"readonly": false,
"description": "The redfish privileges that this role includes.",
"longDescription": "The value of this property shall be the redfish privileges that the role includes. For pre-defined roles, this property shall be readOnly. For custom roles some implementations may not allow writing this property."
},
"OemPrivileges": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
},
"readonly": false,
"description": "The OEM privileges that this role includes.",
"longDescription": "The value of this property shall be the OEM privileges that this role includes. For pre-defined roles, this property shall be readOnly. For custom roles some implementations may not allow writing this property."
}
},
"description": "This schema defines a user role to be used in conjunction with a manager account.",
"longDescription": "This resource shall be used to represent resources that represent the user role for the user account."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Role.Role",
"$ref": "#/definitions/Role",
"definitions": {
"Role": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/Role.1.0.0.json#/definitions/Role"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#RoleCollection.RoleCollection",
"$ref": "#/definitions/RoleCollection",
"definitions": {
"RoleCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Role.json#/definitions/Role"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,185 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#SerialInterface.1.0.0.SerialInterface",
"$ref": "#/definitions/SerialInterface",
"definitions": {
"BitRate": {
"type": "string",
"enum": [
"1200",
"2400",
"4800",
"9600",
"19200",
"38400",
"57600",
"115200",
"230400"
]
},
"ConnectorType": {
"type": "string",
"enum": [
"RJ45",
"RJ11",
"DB9 Female",
"DB9 Male",
"DB25 Female",
"DB25 Male",
"USB",
"mUSB",
"uUSB"
]
},
"DataBits": {
"type": "string",
"enum": [
"5",
"6",
"7",
"8"
]
},
"FlowControl": {
"type": "string",
"enum": [
"None",
"Software",
"Hardware"
],
"enumDescriptions": {
"None": "No flow control imposed",
"Software": "XON/XOFF in-band flow control imposed",
"Hardware": "Out of band flow control imposed"
}
},
"Parity": {
"type": "string",
"enum": [
"None",
"Even",
"Odd",
"Mark",
"Space"
]
},
"PinOut": {
"type": "string",
"enum": [
"Cisco",
"Cyclades",
"Digi"
]
},
"SerialInterface": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"InterfaceEnabled": {
"type": [
"boolean",
"null"
],
"description": "This indicates whether this interface is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether this interface is enabled."
},
"SignalType": {
"$ref": "#/definitions/SignalType",
"readonly": true,
"description": "The type of signal used for the communication connection - RS232 or RS485.",
"longDescription": "This property shall indicate the type of serial signalling that will be utilized for the serial connection."
},
"BitRate": {
"$ref": "#/definitions/BitRate",
"description": "The receive and transmit rate of data flow, typically in bits-per-second (bps), over the serial connection.",
"longDescription": "This property shall indicate the transmit and receive speed of the serial connection."
},
"Parity": {
"$ref": "#/definitions/Parity",
"description": "The type of parity used by the sender and receiver in order to detect errors over the serial connection.",
"longDescription": "This property shall indicate parity information for a serial connection."
},
"DataBits": {
"$ref": "#/definitions/DataBits",
"description": "The number of data bits that will follow the start bit over the serial connection.",
"longDescription": "This property shall indicate number of data bits for the serial connection."
},
"StopBits": {
"$ref": "#/definitions/StopBits",
"description": "The period of time before the next start bit is transmitted.",
"longDescription": "This property shall indicate the stop bits for the serial connection."
},
"FlowControl": {
"$ref": "#/definitions/FlowControl",
"description": "The type of flow control, if any, that will be imposed on the serial connection.",
"longDescription": "This property shall indicate the flow control mechanism for the serial connection."
},
"ConnectorType": {
"$ref": "#/definitions/ConnectorType",
"readonly": true,
"description": "The type of connector used for this interface.",
"longDescription": "This property shall indicate the type of phyiscal connector used for this serial connection."
},
"PinOut": {
"$ref": "#/definitions/PinOut",
"readonly": true,
"description": "The physical pin configuration needed for a serial connector.",
"longDescription": "This property shall indicate the physical pin out for the serial connection."
}
},
"description": "This schema defines an asynchronous serial interface resource.",
"longDescription": "This resource shall be used to represent serial resources as part of the Redfish specification."
},
"SignalType": {
"type": "string",
"enum": [
"Rs232",
"Rs485"
]
},
"StopBits": {
"type": "string",
"enum": [
"1",
"2"
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#SerialInterface.SerialInterface",
"$ref": "#/definitions/SerialInterface",
"definitions": {
"SerialInterface": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/SerialInterface.1.0.0.json#/definitions/SerialInterface"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#SerialInterfaceCollection.SerialInterfaceCollection",
"$ref": "#/definitions/SerialInterfaceCollection",
"definitions": {
"SerialInterfaceCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/SerialInterface.json#/definitions/SerialInterface"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,154 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ServiceRoot.1.0.0.ServiceRoot",
"$ref": "#/definitions/ServiceRoot",
"definitions": {
"ServiceRoot": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"RedfishVersion": {
"type": "string",
"readonly": true,
"description": "The version of the Redfish service",
"longDescription": "The value of this string shall represent the version of the Redfish service. The format of this string shall be of the format majorversion.minorversion.errata in compliance with Protocol Version section of the Redfish specification. ",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"UUID": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/UUID",
"readonly": true,
"description": "Unique identifier for a service instance. When SSDP is used, this value should be an exact match of the UUID value returned in a 200OK from an SSDP M-SEARCH request during discovery. ",
"longDescription": "The value of this string shall represent the id of the Redfish service instance. The format of this string shall be a 32-byte value in the form 8-4-4-4-12. If SSDP is used, this value shall be an exact match of the UUID value returned in a 200OK from an SSDP M-SEARCH request during discovery. RFC4122 describes methods that can be used to create a UUID value. The value should be considered to be opaque. Client software should only treat the overall value as a universally unique identifier and should not interpret any sub-fields within the UUID."
},
"Links": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "Oem extension object.",
"longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"Sessions": {
"$ref": "http://redfish.dmtf.org/schemas/v1/SessionCollection.json#/definitions/SessionCollection",
"readonly": true,
"description": "Link to a collection of Sessions",
"longDescription": "This property shall contain the link to a collection of Sessions."
}
},
"readonly": true,
"description": "The links object contains the links to other resources that are related to this resource."
},
"Systems": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ComputerSystemCollection.json#/definitions/ComputerSystemCollection",
"readonly": true,
"description": "This is a link to a collection of Systems.",
"longDescription": "This object shall only contain a reference to a collection of resources that comply to the Systems schema."
},
"Chassis": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ChassisCollection.json#/definitions/ChassisCollection",
"readonly": true,
"description": "This is a link to a collection of Chassis.",
"longDescription": "This object shall only contain a reference to a collection of resources that comply to the Chassis schema."
},
"Managers": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ManagerCollection.json#/definitions/ManagerCollection",
"readonly": true,
"description": "This is a link to a collection of Managers.",
"longDescription": "This object shall only contain a reference to a collection of resources that comply to the Managers schema."
},
"Tasks": {
"$ref": "http://redfish.dmtf.org/schemas/v1/TaskService.json#/definitions/TaskService",
"readonly": true,
"description": "This is a link to the Task Service.",
"longDescription": "The classes structure shall only contain a reference to a resource that complies to the TaskService schema."
},
"SessionService": {
"$ref": "http://redfish.dmtf.org/schemas/v1/SessionService.json#/definitions/SessionService",
"readonly": true,
"description": "This is a link to the Sessions Service.",
"longDescription": "The classes structure shall only contain a reference to a resource that complies to the SessionService schema."
},
"AccountService": {
"$ref": "http://redfish.dmtf.org/schemas/v1/AccountService.json#/definitions/AccountService",
"readonly": true,
"description": "This is a link to the Account Service.",
"longDescription": "The classes structure shall only contain a reference to a resource that complies to the AccountService schema."
},
"EventService": {
"$ref": "http://redfish.dmtf.org/schemas/v1/EventService.json#/definitions/EventService",
"readonly": true,
"description": "This is a link to the EventService.",
"longDescription": "The classes structure shall only contain a reference to a resource that complies to the EventService schema."
},
"Registries": {
"$ref": "http://redfish.dmtf.org/schemas/v1/MessageRegistryFileCollection.json#/definitions/MessageRegistryFileCollection",
"readonly": true,
"description": "This is a link to a collection of Registries.",
"longDescription": "This object shall contain a reference to Message Registry."
},
"JsonSchemas": {
"$ref": "http://redfish.dmtf.org/schemas/v1/JsonSchemaFileCollection.json#/definitions/JsonSchemaFileCollection",
"readonly": true,
"description": "This is a link to a collection of Json-Schema files.",
"longDescription": "This object shall only contain a reference to a collection of resources that comply to the SchemaFile schema where the files are Json-Schema files."
}
},
"required": [
"Links"
],
"description": "This object represents the root Redfish service.",
"longDescription": "This object represents the root Redfish service. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#ServiceRoot.ServiceRoot",
"$ref": "#/definitions/ServiceRoot",
"definitions": {
"ServiceRoot": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/ServiceRoot.1.0.0.json#/definitions/ServiceRoot"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,70 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Session.1.0.0.Session",
"$ref": "#/definitions/Session",
"definitions": {
"Session": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"UserName": {
"type": [
"string",
"null"
],
"readonly": true
},
"Password": {
"type": [
"string",
"null"
],
"description": "This property is used in a POST to specify a password when creating a new session. This property is null on a GET.",
"longDescription": "The value of this property shall be the password for this session. The value shall be null for GET requests."
}
},
"requiredOnCreate": [
"UserName",
"Password"
],
"description": "This is the base type for resources and referenceable members."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Session.Session",
"$ref": "#/definitions/Session",
"definitions": {
"Session": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/Session.1.0.0.json#/definitions/Session"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#SessionCollection.SessionCollection",
"$ref": "#/definitions/SessionCollection",
"definitions": {
"SessionCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Session.json#/definitions/Session"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,77 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#SessionService.1.0.0.SessionService",
"$ref": "#/definitions/SessionService",
"definitions": {
"SessionService": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"ServiceEnabled": {
"type": [
"boolean",
"null"
],
"description": "This indicates whether this service is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether this service is enabled."
},
"SessionTimeout": {
"type": "number",
"readonly": false,
"description": "This is the number of seconds of inactivity that a session may have before the session service closes the session due to inactivity.",
"longDescription": "This property shall reference the threshold of time in seconds between requests on a specific session at which point the session service shall close the session due to inactivity.",
"minimum": 30,
"maximum": 86400
},
"Sessions": {
"$ref": "http://redfish.dmtf.org/schemas/v1/SessionCollection.json#/definitions/SessionCollection",
"readonly": true,
"description": "Link to a collection of Sessions",
"longDescription": "This property shall contain the link to a collection of Sessions."
}
},
"description": "This is the schema definition for the Session Service. It represents the properties for the service itself and has links to the actual list of sessions.",
"longDescription": "This resource shall be used to represent the Session Service Properties for a Redfish implementation."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#SessionService.SessionService",
"$ref": "#/definitions/SessionService",
"definitions": {
"SessionService": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/SessionService.1.0.0.json#/definitions/SessionService"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,59 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Settings.1.0.0",
"definitions": {
"Settings": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Time": {
"type": [
"string",
"null"
],
"format": "date-time",
"readonly": true,
"description": "Indicates the time the settings were applied.",
"longDescription": "The value of this property shall indicate the time that the settings object was applied to the resource."
},
"ETag": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The ETag of the resource to which the settings were applied, after the application.",
"longDescription": "The value of this property shall be the ETag of the resource to which the settings were applied, after the application. This is here so that the client can check it against the ETag of the current resource to see if any other changes have also happened to the resource."
},
"SettingsObject": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef",
"description": "Reference to the resource the client may PUT/PATCH to in order to change this resource.",
"longDescription": "The value of this property shall be the URI of the resource to which a client must do a PUT or PATCh in order to modify this resource."
},
"Messages": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Message.1.0.0.json#/definitions/Message"
},
"readonly": true,
"description": "This is an array of messages associated with the task.",
"longDescription": "The value of this property shall be an array of messages associated with the task."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,17 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Settings.Settings",
"definitions": {
"Settings": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/Settings.1.0.0.json#/definitions/Settings"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,124 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#SimpleStorage.1.0.0.SimpleStorage",
"$ref": "#/definitions/SimpleStorage",
"definitions": {
"Device": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem"
},
"Name": {
"type": "string",
"readonly": true,
"description": "The name of the resource or array element.",
"longDescription": "This object represents the Name property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification. The value of this string shall be of the format for the reserved word *Name*."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"Manufacturer": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The name of the manufacturer of this device",
"longDescription": "This property shall indicate the name of the manufacturer of this storage device."
},
"Model": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The product model number of this device",
"longDescription": "This property shall indicate the model information as provided by the manufacturer of this storage device."
}
},
"required": [
"Name"
]
},
"SimpleStorage": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"UefiDevicePath": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The UEFI device path used to access this storage controller.",
"longDescription": "This property shall contain the UEFI device path used to identify and locate the specific storage controller"
},
"Devices": {
"type": "array",
"items": {
"$ref": "#/definitions/Device"
},
"readonly": true,
"description": "The storage devices associated with this resource",
"longDescription": "This property shall contain a list of storage devices associated with this resource"
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
}
},
"description": "This is the schema definition for the Simple Storage resource. It represents the properties of a storage controller and its directly-attached devices."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#SimpleStorage.SimpleStorage",
"$ref": "#/definitions/SimpleStorage",
"definitions": {
"SimpleStorage": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/SimpleStorage.1.0.0.json#/definitions/SimpleStorage"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#SimpleStorageCollection.SimpleStorageCollection",
"$ref": "#/definitions/SimpleStorageCollection",
"definitions": {
"SimpleStorageCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/SimpleStorage.json#/definitions/SimpleStorage"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,116 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Task.1.0.0.Task",
"$ref": "#/definitions/Task",
"definitions": {
"Task": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"TaskState": {
"$ref": "#/definitions/TaskState",
"readonly": true,
"description": "The state of the task.",
"longDescription": "The value of this property shall indicate the state of the task. New shall be used to indicate that the task is a new task which has just been instantiated and is in the initial state and indicates it has never been started. Starting shall be used to indicate that the task is moving from the New, Suspended, or Service states into the Running state. Running shall be used to indicate that the Task is running. Suspended shall be used to indicate that the Task is stopped (e.g., by a user), but can be restarted in a seamless manner. Interrupted shall be used to indicate that the Task was interrupted (e.g., by a server crash) in the middle of processing, and the user should either re-run/restart the Task. Pending shall be used to indicate that the Task has been queued and will be scheduled for processing as soon as resources are available to handle the request. Stopping shall be used to indicate that the Task is in the process of moving to a Completed, Killed, or Exception state. Completed shall be used to indicate that the task has completed normally. Killed shall be used to indicate that the task has been stopped by a Kill state change request (non-graceful shutdown). Exception shall be used to indicate that the Task is in an abnormal state that might be indicative of an error condition. Service shall be used to indicate that the Task is in a state that supports problem discovery, or resolution, or both. This state is used when a corrective action is possible. "
},
"StartTime": {
"type": "string",
"format": "date-time",
"readonly": true,
"description": "The date-time stamp that the task was last started.",
"longDescription": "The value of this property shall indicate the time the task was started."
},
"EndTime": {
"type": "string",
"format": "date-time",
"readonly": true,
"description": "The date-time stamp that the task was last completed.",
"longDescription": "The value of this property shall indicate the time the task was completed."
},
"TaskStatus": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Health",
"readonly": true,
"description": "This is the completion status of the task.",
"longDescription": "The value of this property shall be the completion status of the task, as defined in the Status section of the Redfish specification and shall not be set until the task has completed."
},
"Messages": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Message.1.0.0.json#/definitions/Message"
},
"readonly": true,
"description": "This is an array of messages associated with the task.",
"longDescription": "The value of this property shall be an array of messages associated with the task."
}
},
"description": "This is the schema definition for a Task resource.",
"longDescription": "This resource shall be used to represent a task for a Redfish implementation."
},
"TaskState": {
"type": "string",
"enum": [
"New",
"Starting",
"Running",
"Suspended",
"Interrupted",
"Pending",
"Stopping",
"Completed",
"Killed",
"Exception",
"Service"
],
"enumDescriptions": {
"New": "A new task",
"Starting": "Task is starting",
"Running": "Task is running normally",
"Suspended": "Task has been suspended",
"Interrupted": "Task has been interrupted",
"Pending": "Task is pending and has not started",
"Stopping": "Task is in the process of stopping",
"Completed": "Task has completed",
"Killed": "Task was terminated",
"Exception": "Task has stopped due to an exception condition",
"Service": "Task is running as a service"
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Task.Task",
"$ref": "#/definitions/Task",
"definitions": {
"Task": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/Task.1.0.0.json#/definitions/Task"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#TaskCollection.TaskCollection",
"$ref": "#/definitions/TaskCollection",
"definitions": {
"TaskCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Task.json#/definitions/Task"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,102 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#TaskService.1.0.0.TaskService",
"$ref": "#/definitions/TaskService",
"definitions": {
"OverWritePolicy": {
"type": "string",
"enum": [
"Manual",
"Oldest"
],
"enumDescriptions": {
"Manual": "Completed tasks are not automatically overwritten",
"Oldest": "Oldest completed tasks are overwritten"
}
},
"TaskService": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"CompletedTaskOverWritePolicy": {
"$ref": "#/definitions/OverWritePolicy",
"readonly": true,
"description": "Overwrite policy of completed tasks",
"longDescription": "The value of this property shall indicate if completed tasks are overwritten should the task service need to track more tasks but the MaxNumberOfTasks has been reached. Never indicates that the service never overwrites entries by new entries thus causing attempts to spawn tasks to fail. Oldest indicates that the services overwrites the oldest completed task with a new task when the service has reached its maximum capacity."
},
"DateTime": {
"type": [
"string",
"null"
],
"format": "date-time",
"readonly": true,
"description": "The current DateTime (with offset) setting that the task service is using.",
"longDescription": "The value of this property shall represent the current DateTime value for the TaskService, with offset from UTC, in Redfish Timestamp format."
},
"LifeCycleEventOnTaskStateChange": {
"type": "boolean",
"readonly": true,
"description": "Send an Event upon Task State Change.",
"longDescription": "The value of this property, if set to true, shall indicate that the service shall send a LifeCycle event to ListenerDestinations registered for such events upon change of task state."
},
"ServiceEnabled": {
"type": [
"boolean",
"null"
],
"description": "This indicates whether this service is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether this service is enabled."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"Tasks": {
"$ref": "http://redfish.dmtf.org/schemas/v1/TaskCollection.json#/definitions/TaskCollection",
"readonly": true,
"description": "References to the Tasks collection.",
"longDescription": "The value of this property shall be a link to a resource of type TaskCollection."
}
},
"description": "This is the schema definition for the Task Service. It represents the properties for the service itself and has links to the actual list of tasks.",
"longDescription": "This resource shall be used to represent a task service for a Redfish implementation."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#TaskService.TaskService",
"$ref": "#/definitions/TaskService",
"definitions": {
"TaskService": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/TaskService.1.0.0.json#/definitions/TaskService"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,413 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Thermal.1.0.0.Thermal",
"$ref": "#/definitions/Thermal",
"definitions": {
"Fan": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"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*."
},
"MemberId": {
"type": "string",
"description": "This is the identifier for the member within the collection.",
"longDescription": "The value of this string shall uniquely identify the member within the collection."
},
"FanName": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "Name of the fan",
"longDescription": "The value of this property shall be the name of the fan."
},
"PhysicalContext": {
"$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.1.0.0.json#/definitions/PhysicalContext",
"readonly": true,
"description": "Describes the area or device associated with this fan.",
"longDescription": "The value of this property shall be a description of the affected device or region within the chassis to which this fan is associated."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"ReadingRPM": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Current fan speed in RPM",
"longDescription": "The value of this property shall be the current value of the fan sensor's reading."
},
"UpperThresholdNonCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Above normal range",
"longDescription": "The value of this property shall indicate the ReadingRPM is above the normal range but is not critical. The units shall be the same units as the related ReadingRPM propoerty."
},
"UpperThresholdCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Above normal range but not yet fatal",
"longDescription": "The value of this property shall indicate the ReadingRPM is above the normal range but is not yet fatal. The units shall be the same units as the related ReadingRPM propoerty."
},
"UpperThresholdFatal": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Above normal range and is fatal",
"longDescription": "The value of this property shall indicate the ReadingRPM is above the normal range and is fatal. The units shall be the same units as the related ReadingRPM propoerty."
},
"LowerThresholdNonCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Below normal range",
"longDescription": "The value of this property shall indicate the ReadingRPM is below the normal range but is not critical. The units shall be the same units as the related ReadingRPM propoerty."
},
"LowerThresholdCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Below normal range but not yet fatal",
"longDescription": "The value of this property shall indicate the ReadingRPM is below the normal range but is not yet fatal. The units shall be the same units as the related ReadingRPM propoerty."
},
"LowerThresholdFatal": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Below normal range and is fatal",
"longDescription": "The value of this property shall indicate the ReadingRPM is below the normal range and is fatal. The units shall be the same units as the related ReadingRPM propoerty."
},
"MinReadingRange": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Minimum value for ReadingRPM",
"longDescription": "The value of this property shall indicate the lowest possible value for ReadingRPM. The units shall be the same units as the related ReadingRPM propoerty."
},
"MaxReadingRange": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Maximum value for ReadingRPM",
"longDescription": "The value of this property shall indicate the lowest possible value for ReadingRPM. The units shall be the same units as the related ReadingRPM propoerty."
},
"RelatedItem@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"RelatedItem@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"RelatedItem": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"description": "The ID(s) of the resources serviced with this fan",
"longDescription": "The value of this property shall be an array of IDs containing pointers consistent with JSON pointer syntax to the resource that are being serviced by this fan."
},
"Redundancy@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Redundancy@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Redundancy": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Redundancy.json#/definitions/Redundancy"
},
"readonly": true,
"description": "This structure is used to show redundancy for fans. The Component ids will reference the members of the redundancy groups.",
"longDescription": "The values of the properties in this array shall be used to show redundancy for fans and other elements in this resource. The use of IDs within these arrays shall reference the members of the redundancy groups."
}
},
"description": "This is the base type for addressable members of an array.",
"longDescription": "Array members can be referenced using the value returned in the @odata.id property which may or may not be a dereferenceable URL. The @odata.id of this entity shall be the location of this element within an Item."
},
"Temperature": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"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*."
},
"MemberId": {
"type": "string",
"description": "This is the identifier for the member within the collection.",
"longDescription": "The value of this string shall uniquely identify the member within the collection."
},
"Name": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "Temperature sensor name.",
"longDescription": "The value of this property shall be the name of the temperature sensor."
},
"SensorNumber": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "A numerical identifier to represent the temperature sensor",
"longDescription": "The value of this property shall be a numerical identifier for this temperature sensor that is unique within this resource. "
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"ReadingCelsius": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Temperature",
"longDescription": "The value of this property shall be the current value of the temperature sensor's reading."
},
"UpperThresholdNonCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Above normal range",
"longDescription": "The value of this property shall indicate the ReadingCelsius is above the normal range but is not critical. The units shall be the same units as the related ReadingCelsius propoerty."
},
"UpperThresholdCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Above normal range but not yet fatal.",
"longDescription": "The value of this property shall indicate the ReadingCelsius is above the normal range but is not yet fatal. The units shall be the same units as the related ReadingCelsius propoerty."
},
"UpperThresholdFatal": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Above normal range and is fatal",
"longDescription": "The value of this property shall indicate the ReadingCelsius is above the normal range and is fatal. The units shall be the same units as the related ReadingCelsius propoerty."
},
"LowerThresholdNonCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Below normal range",
"longDescription": "The value of this property shall indicate the ReadingCelsius is below the normal range but is not critical. The units shall be the same units as the related ReadingCelsius propoerty."
},
"LowerThresholdCritical": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Below normal range but not yet fatal.",
"longDescription": "The value of this property shall indicate the ReadingCelsius is below the normal range but is not yet fatal. The units shall be the same units as the related ReadingCelsius propoerty."
},
"LowerThresholdFatal": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Below normal range and is fatal",
"longDescription": "The value of this property shall indicate the ReadingCelsius is below the normal range and is fatal. The units shall be the same units as the related ReadingCelsius propoerty."
},
"MinReadingRangeTemp": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Minimum value for ReadingCelsius",
"longDescription": "The value of this property shall indicate the lowest possible value for ReadingCelsius. The units shall be the same units as the related ReadingCelsius propoerty."
},
"MaxReadingRangeTemp": {
"type": [
"number",
"null"
],
"readonly": true,
"description": "Maximum value for ReadingCelsius",
"longDescription": "The value of this property shall indicate the lowest possible value for ReadingCelsius. The units shall be the same units as the related ReadingCelsius propoerty."
},
"PhysicalContext": {
"$ref": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.1.0.0.json#/definitions/PhysicalContext",
"readonly": true,
"description": "Describes the area or device to which this temperature measurement applies.",
"longDescription": "The value of this property shall be a description of the affected device or region within the chassis to which this temperature measurement applies."
},
"RelatedItem@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"RelatedItem@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"RelatedItem": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"readonly": true,
"description": "Describes the areas or devices to which this temperature measurement applies.",
"longDescription": "The value of this property shall the array of IDs of areas or devices to which this temperature measurement applies."
}
},
"description": "This is the base type for addressable members of an array.",
"longDescription": "Array members can be referenced using the value returned in the @odata.id property which may or may not be a dereferenceable URL. The @odata.id of this entity shall be the location of this element within an Item."
},
"Thermal": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"Temperatures@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Temperatures@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Temperatures": {
"type": "array",
"items": {
"$ref": "#/definitions/Temperature"
},
"readonly": true,
"description": "This is the definition for temperature sensors.",
"longDescription": "These properties shall be the definition for temperature sensors for a Redfish implementation."
},
"Fans@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Fans@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Fans": {
"type": "array",
"items": {
"$ref": "#/definitions/Fan"
},
"readonly": true,
"description": "This is the definition for fans.",
"longDescription": "These properties shall be the definition for fans for a Redfish implementation."
},
"Redundancy@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Redundancy@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Redundancy": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Redundancy.json#/definitions/Redundancy"
},
"readonly": true,
"description": "This structure is used to show redundancy for fans. The Component ids will reference the members of the redundancy groups.",
"longDescription": "The values of the properties in this array shall be used to show redundancy for fans and other elements in this resource. The use of IDs within these arrays shall reference the members of the redundancy groups."
}
},
"description": "This is the schema definition for the Thermal properties. It represents the properties for Temperature and Cooling.",
"longDescription": "This resource shall be used to represent a thermal metrics resource for a Redfish implementation."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#Thermal.Thermal",
"$ref": "#/definitions/Thermal",
"definitions": {
"Thermal": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/Thermal.1.0.0.json#/definitions/Thermal"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,109 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#VLanNetworkInterface.1.0.0.VLanNetworkInterface",
"$ref": "#/definitions/VLanNetworkInterface",
"definitions": {
"VLAN": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"VLANEnable": {
"type": [
"boolean",
"null"
],
"description": "This indicates if this VLAN is enabled.",
"longDescription": "The value of this property shall be used to indicate if this VLAN is enabled for this interface."
},
"VLANId": {
"$ref": "#/definitions/VLANId",
"description": "This indicates the VLAN identifier for this VLAN.",
"longDescription": "The value of this property shall be used to indicate the VLAN identifier for this VLAN."
}
},
"requiredOnCreate": [
"VLANEnable",
"VLANId"
]
},
"VLANId": {
"type": "number",
"minimum": 0,
"maximum": 4095
},
"VLanNetworkInterface": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"VLANEnable": {
"type": [
"boolean",
"null"
],
"description": "This indicates if this VLAN is enabled.",
"longDescription": "The value of this property shall be used to indicate if this VLAN is enabled for this interface."
},
"VLANId": {
"$ref": "#/definitions/VLANId",
"description": "This indicates the VLAN identifier for this VLAN.",
"longDescription": "The value of this property shall be used to indicate the VLAN identifier for this VLAN."
}
},
"requiredOnCreate": [
"VLANEnable",
"VLANId"
],
"description": "This is the base type for resources and referenceable members."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#VLanNetworkInterface.VLanNetworkInterface",
"$ref": "#/definitions/VLanNetworkInterface",
"definitions": {
"VLanNetworkInterface": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/VLanNetworkInterface.1.0.0.json#/definitions/VLanNetworkInterface"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#VLanNetworkInterfaceCollection.VLanNetworkInterfaceCollection",
"$ref": "#/definitions/VLanNetworkInterfaceCollection",
"definitions": {
"VLanNetworkInterfaceCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/VLanNetworkInterface.json#/definitions/VLanNetworkInterface"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,133 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#VirtualMedia.1.0.0.VirtualMedia",
"$ref": "#/definitions/VirtualMedia",
"definitions": {
"ConnectedVia": {
"type": "string",
"enum": [
"NotConnected",
"URI",
"Applet",
"Oem"
],
"enumDescriptions": {
"NotConnected": "No current connection",
"URI": "Connected to a URI location",
"Applet": "Connected to a client application",
"Oem": "Connected via an OEM-defined method"
}
},
"MediaType": {
"type": "string",
"enum": [
"CD",
"Floppy",
"USBStick",
"DVD"
],
"enumDescriptions": {
"CD": "A CD-ROM format (ISO) image",
"Floppy": "A floppy disk image",
"USBStick": "An emulation of a USB storage device",
"DVD": "A DVD-ROM format image"
}
},
"VirtualMedia": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"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*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"ImageName": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The current image name",
"longDescription": "The value of this property shall be the name of the image. "
},
"Image": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "A URI providing the location of the selected image",
"longDescription": "The value of this string shall be an URI. A null value indicated no image connection."
},
"MediaTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/MediaType"
},
"readonly": true,
"description": "This is the media types supported as virtual media.",
"longDescription": "The values of this array shall be the supported media types for this connection."
},
"ConnectedVia": {
"$ref": "#/definitions/ConnectedVia",
"readonly": true,
"description": "Current virtual media connection methods",
"longDescription": "The value of this property shall indicate the current connection method from a client to the virtual media represented by this resource. A value of NotConnected shall indicate no connection is present. A value of URI shall indicate that a remote connection via a URI reference type is being used. "
},
"Inserted": {
"type": [
"boolean",
"null"
],
"readonly": true,
"description": "Indicates if virtual media is inserted in the virtual device.",
"longDescription": "The value of this property shall be used to indicate if media is present in the virtual media device. This is usually only applicable to remoting of devices and not for image virtual media usage. "
},
"WriteProtected": {
"type": [
"boolean",
"null"
],
"readonly": true,
"description": "Indicates the media is write protected.",
"longDescription": "The value of this property shall be used to indicate if the remote device media prevents writing to that media. "
}
},
"description": "This is the schema definition for the Virtual Media Service.",
"longDescription": "This resource shall be used to represent a virtual media service for a Redfish implementation."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,18 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#VirtualMedia.VirtualMedia",
"$ref": "#/definitions/VirtualMedia",
"definitions": {
"VirtualMedia": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
{
"$ref": "http://redfish.dmtf.org/schemas/VirtualMedia.1.0.0.json#/definitions/VirtualMedia"
}
]
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,61 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#VirtualMediaCollection.VirtualMediaCollection",
"$ref": "#/definitions/VirtualMediaCollection",
"definitions": {
"VirtualMediaCollection": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"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*."
},
"Members@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/count"
},
"Members@odata.navigationLink": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
},
"Members": {
"type": "array",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/VirtualMedia.json#/definitions/VirtualMedia"
},
"readonly": true,
"description": "Contains the members of this collection."
}
}
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}

View File

@ -0,0 +1,36 @@
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0",
"definitions": {
"context": {
"type": "string",
"format": "uri",
"readonly": true,
"longDescription": "The value of this property shall be the context URL that describes the resource according to OData-Protocol and shall be of the form defined in the Redfish specification."
},
"id": {
"type": "string",
"format": "uri",
"readonly": true,
"longDescription": "The value of this property shall be the unique identifier for the resource and it shall be of the form defined in the Redfish specification."
},
"idRef": {
"type": "object",
"properties": {
"@odata.id": {
"$ref": "#/definitions/id"
}
},
"longDescription": "The value of this property shall be used for references to a resource."
},
"type": {
"type": "string",
"readonly": true,
"longDescription": "The value of this property shall be an absolute URL that specifies the type of the resource and it shall be of the form defined in the Redfish specification."
},
"count": {
"type": "number",
"readonly": true,
"longDescription": "The value of this property shall be an integer representing the number of items in a collection."
}
}
}

View File

@ -0,0 +1,51 @@
{
"id": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0",
"type": "object",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0",
"title": "Redfish Schema Extension",
"description": "The properties defined in this schema shall adhere to the requirements of the Redfish Specification and the semantics of the descriptions in this file.",
"allOf": [
{
"$ref": "http://json-schema.org/draft-04/schema"
}
],
"definitions": {
"readonly": {
"type": "boolean",
"description": "This property shall designate a property to be readonly when set to true."
},
"requiredOnCreate": {
"type": "array",
"items": {
"type": "boolean"
},
"description": "This property is required to be specified in the body of a POST request to create the resource."
},
"longDescription": {
"type": "string",
"description": "This attribute shall contain normative language relating to the Redfish Sprecification and documentation."
},
"copyright": {
"type": "string",
"description": "This attribute shall contain the copyright notice for the schema."
},
"enumDescriptions": {
"type": "object",
"description": "This attribute shall contain informative language related to the enumeration values of the property."
}
},
"properties": {
"readonly": {
"$ref": "#/definitions/readonly"
},
"longDescription": {
"$ref": "#/definitions/longDescription"
},
"copyright": {
"$ref": "#/definitions/copyright"
},
"enumDescriptions": {
"$ref": "#/definitions/enumDescriptions"
}
}
}