alexandria/alexandria/model/redfish/1.0/ComputerSystem.1.0.0.json

546 lines
30 KiB
JSON
Executable File

{
"$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."
}