Update Redfish schemas to 2019.2
Note, the DMTF changed the format of the schema file pack yet again, so
the script changes now to compensate for that.
Tested:
Ran schema validator. One unrelated failure in LogEntry, and 4 new
warnings in PCIe devices (we're using a deprecated property). All other
endpoints pass.
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Change-Id: I81c030a7c5a6a32cc12a5e7e02a9441b7891bc5d
diff --git a/static/redfish/v1/JsonSchemas/HostInterface/HostInterface.json b/static/redfish/v1/JsonSchemas/HostInterface/HostInterface.json
index 91fb3ff..c3cbe8b 100644
--- a/static/redfish/v1/JsonSchemas/HostInterface/HostInterface.json
+++ b/static/redfish/v1/JsonSchemas/HostInterface/HostInterface.json
@@ -1,14 +1,15 @@
{
+ "$id": "http://redfish.dmtf.org/schemas/v1/HostInterface.v1_2_2.json",
"$ref": "#/definitions/HostInterface",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
- "copyright": "Copyright 2014-2018 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
+ "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
"definitions": {
"Actions": {
"additionalProperties": false,
- "description": "The available actions for this resource.",
- "longDescription": "This type shall contain the available actions for this resource.",
+ "description": "The available actions for this Resource.",
+ "longDescription": "This type shall contain the available actions for this Resource.",
"patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
"type": [
"array",
@@ -24,8 +25,9 @@
"properties": {
"Oem": {
"$ref": "#/definitions/OemActions",
- "description": "This property contains the available OEM specific actions for this resource.",
- "longDescription": "This property shall contain any additional OEM actions for this resource."
+ "description": "The available OEM-specific actions for this Resource.",
+ "longDescription": "This property shall contain the available OEM-specific actions for this Resource.",
+ "versionAdded": "v1_1_0"
}
},
"type": "object"
@@ -47,10 +49,10 @@
},
"HostInterface": {
"additionalProperties": false,
- "description": "This schema defines a single Host Interface resource.",
- "longDescription": "This resource shall be used to represent Host Interface resources as part of the Redfish specification.",
+ "description": "The properties associated with a Host Interface. A Host Interface is a connection between host software and a Redfish Service.",
+ "longDescription": "This Resource shall represent a Host Interface as part of the Redfish Specification.",
"patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
"type": [
"array",
@@ -65,34 +67,36 @@
},
"properties": {
"@odata.context": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/context"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
},
"@odata.etag": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/etag"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
},
"@odata.id": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/id"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
},
"@odata.type": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/type"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
},
"Actions": {
"$ref": "#/definitions/Actions",
- "description": "The available actions for this resource.",
- "longDescription": "The Actions property shall contain the available actions for this resource."
+ "description": "The available actions for this Resource.",
+ "longDescription": "This property shall contain the available actions for this Resource.",
+ "versionAdded": "v1_1_0"
},
"AuthNoneRoleId": {
- "description": "The Role used when no authentication on this interface is used.",
- "longDescription": "The value of this property shall be the ID of the Role resource that is used when no authentication on this interface is performed. This property shall be absent if AuthNone is not supported by the service for the AuthenticationModes property.",
+ "description": "The role when no authentication on this interface is used.",
+ "longDescription": "This property shall contain the Id property of the Role Resource that is used when no authentication on this interface is performed. This property shall contain absent if AuthNone is not supported by the service for the AuthenticationModes property.",
"readonly": false,
- "type": "string"
+ "type": "string",
+ "versionAdded": "v1_2_0"
},
"AuthenticationModes": {
- "description": "Indicates the authentication modes available on this interface.",
+ "description": "The authentication modes available on this interface.",
"items": {
"$ref": "#/definitions/AuthenticationMode"
},
- "longDescription": "The value of this property shall be an array consisting of the authentication modes allowed on this interface.",
+ "longDescription": "This property shall contain an array consisting of the authentication modes allowed on this interface.",
"readonly": false,
"type": "array"
},
@@ -108,8 +112,8 @@
"readonly": true
},
"ExternallyAccessible": {
- "description": "Indicates whether this interface is accessible by external entities.",
- "longDescription": "The value of this property shall be a boolean indicating whether this interface is accessible by external (non-host) entities. For example, if the host and manager are connected via a switch, and the switch also exposes an external port on the system, then the interface could also be used by external clients, and this property will have the value set to true.",
+ "description": "An indication of whether external entities can access this interface. External entities are non-host entities. For example, if the host and manager are connected through a switch and the switch also exposes an external port on the system, external clients can also use the interface, and this property value is `true`.",
+ "longDescription": "This property shall indicate whether external entities can access this interface. External entities are non-host entities. For example, if the host and manager are connected through a switch and the switch also exposes an external port on the system, external clients can also use the interface, and this property value is `true`.",
"readonly": true,
"type": [
"boolean",
@@ -117,8 +121,8 @@
]
},
"FirmwareAuthEnabled": {
- "description": "Indicates whether this firmware authentication is enabled for this interface.",
- "longDescription": "The value of this property shall be a boolean indicating whether firmware authentication for this interface is enabled.",
+ "description": "An indication of whether this firmware authentication is enabled for this interface.",
+ "longDescription": "This property shall indicate whether firmware authentication is enabled for this interface.",
"readonly": false,
"type": [
"boolean",
@@ -127,14 +131,14 @@
},
"FirmwareAuthRoleId": {
"description": "The Role used for firmware authentication on this interface.",
- "longDescription": "The value of this property shall be the ID of the Role resource that is configured for firmware authentication on this interface.",
+ "longDescription": "This property shall contain the Id property of the Role Resource that is configured for firmware authentication on this interface.",
"readonly": false,
"type": "string"
},
"HostEthernetInterfaces": {
"$ref": "http://redfish.dmtf.org/schemas/v1/EthernetInterfaceCollection.json#/definitions/EthernetInterfaceCollection",
- "description": "The Redfish link to the collection of network interface controllers or cards (NICs) that a Computer System uses to communicate with this Host Interface.",
- "longDescription": "The value of this property shall be a link to a collection of type EthernetInterfaceCollection that Computer Systems use as the Host Interface to this Manager.",
+ "description": "A link to the collection of network interface controllers or cards (NICs) that a computer system uses to communicate with this Host Interface.",
+ "longDescription": "This property shall contain a link to a Resource Collection of type EthernetInterface that computer systems use as the Host Interface to this manager.",
"readonly": true
},
"HostInterfaceType": {
@@ -146,8 +150,8 @@
"type": "null"
}
],
- "description": "Indicates the Host Interface type for this interface.",
- "longDescription": "The value of this property shall be an enumeration describing type of the interface.",
+ "description": "The Host Interface type for this interface.",
+ "longDescription": "This property shall contain an enumeration that describes the type of the interface.",
"readonly": true
},
"Id": {
@@ -155,8 +159,8 @@
"readonly": true
},
"InterfaceEnabled": {
- "description": "Indicates whether this interface is enabled.",
- "longDescription": "The value of this property shall be a boolean indicating whether this interface is enabled.",
+ "description": "An indication of whether this interface is enabled.",
+ "longDescription": "This property shall indicate whether this interface is enabled.",
"readonly": false,
"type": [
"boolean",
@@ -164,8 +168,8 @@
]
},
"KernelAuthEnabled": {
- "description": "Indicates whether this kernel authentication is enabled for this interface.",
- "longDescription": "The value of this property shall be a boolean indicating whether kernel authentication for this interface is enabled.",
+ "description": "An indication of whether this kernel authentication is enabled for this interface.",
+ "longDescription": "This property shall indicate whether kernel authentication is enabled for this interface.",
"readonly": false,
"type": [
"boolean",
@@ -174,19 +178,19 @@
},
"KernelAuthRoleId": {
"description": "The Role used for kernel authentication on this interface.",
- "longDescription": "The value of this property shall be the ID of the Role resource that is configured for kernel authentication on this interface.",
+ "longDescription": "This property shall contain the Id property of the Role Resource that is configured for kernel authentication on this interface.",
"readonly": false,
"type": "string"
},
"Links": {
"$ref": "#/definitions/Links",
- "description": "Contains references to other resources that are related to this resource.",
- "longDescription": "The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."
+ "description": "The links to other Resources that are related to this Resource.",
+ "longDescription": "The Redfish Specification-described Links Property shall contain links to Resources related to but not subordinate to this Resource."
},
"ManagerEthernetInterface": {
"$ref": "http://redfish.dmtf.org/schemas/v1/EthernetInterface.json#/definitions/EthernetInterface",
- "description": "The Redfish link to a single network interface controllers or cards (NIC) that this Manager uses for network communication with this Host Interface.",
- "longDescription": "The value of this property shall be a link to a resource of type EthernetInterface which represents the network interface used by this Manager as the HostInterface.",
+ "description": "A link to a single network interface controllers or cards (NIC) that this manager uses for network communication with this Host Interface.",
+ "longDescription": "This property shall contain a link to a Resource of type EthernetInterface that represents the network interface that this manager uses as the Host Interface.",
"readonly": true
},
"Name": {
@@ -195,19 +199,19 @@
},
"NetworkProtocol": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ManagerNetworkProtocol.json#/definitions/ManagerNetworkProtocol",
- "description": "The Redfish link 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.",
+ "description": "A link to the network services and their settings that the manager controls. In this property, clients find configuration options for the network and network services.",
+ "longDescription": "This property shall contain a link to a Resource of type ManagerNetworkProtocol that represents the network services for this manager.",
"readonly": true
},
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
- "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
- "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
+ "description": "The OEM extension property.",
+ "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
- "description": "This property describes the status and health of the resource and its children.",
- "longDescription": "This property shall contain any status or health properties of the resource."
+ "description": "The status and health of the Resource and its subordinate or dependent Resources.",
+ "longDescription": "This property shall contain any status or health properties of the Resource."
}
},
"required": [
@@ -229,10 +233,10 @@
},
"Links": {
"additionalProperties": false,
- "description": "References to other resources that are related to this resource.",
- "longDescription": "This type, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource.",
+ "description": "References to other Resources related to this Resource.",
+ "longDescription": "The Redfish Specification-described type shall contain links to Resources related to but not subordinate to this Resource.",
"patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
"type": [
"array",
@@ -248,48 +252,49 @@
"properties": {
"AuthNoneRole": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Role.json#/definitions/Role",
- "description": "A reference to the Role that contains the privileges on this Host Interface when no authentication is performed.",
- "longDescription": "The value of this property shall be a link to a Role object instance, and should reference the object identified by property AuthNoneRoleId. This property shall be absent if AuthNone is not supported by the service for the AuthenticationModes property.",
- "readonly": true
+ "description": "The link to the Redfish Role that contains the privileges on this Host Interface when no authentication is performed.",
+ "longDescription": "This property shall contain a link to a Resource of type Role, and should link to the Resource identified by property AuthNoneRoleId. This property shall be absent if AuthNone is not supported by the service for the AuthenticationModes property.",
+ "readonly": true,
+ "versionAdded": "v1_2_0"
},
"ComputerSystems": {
- "description": "An array of references to the Computer Systems connected to this Host Interface.",
+ "description": "An array of links to the computer systems connected to this Host Interface.",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.json#/definitions/ComputerSystem"
},
- "longDescription": "The value of this property shall be an array of references to resources of type ComputerSystem that are connected to this HostInterface.",
+ "longDescription": "This property shall contain an array of links to Resources of the ComputerSystem type that are connected to this Host Interface.",
"readonly": true,
"type": "array"
},
"ComputerSystems@odata.count": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/count"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
},
"FirmwareAuthRole": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Role.json#/definitions/Role",
- "description": "A reference to the Role that has firmware authentication privileges on this Host Interface.",
- "longDescription": "The value of this property shall be a link to a Role object instance, and should reference the object identified by property FirmwareAuthRoleId.",
+ "description": "The link to the Redfish Role that has firmware authentication privileges on this Host Interface.",
+ "longDescription": "This property shall contain a link to a Resource of type Role, and should link to the Resource identified by property FirmwareAuthRoleId.",
"readonly": true
},
"KernelAuthRole": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Role.json#/definitions/Role",
- "description": "A reference to the Role object defining Privileges for this Host Interface when using kernel authentication.",
- "longDescription": "The value of this property shall be a link to a Role object instance, and should reference the object identified by property KernelAuthRoleId.",
+ "description": "The link to the Redfish Role defining privileges for this Host Interface when using kernel authentication.",
+ "longDescription": "This property shall contain a link to a Resource of type Role, and should link to the Resource identified by property KernelAuthRoleId.",
"readonly": true
},
"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."
+ "description": "The OEM extension property.",
+ "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
}
},
"type": "object"
},
"OemActions": {
"additionalProperties": true,
- "description": "The available OEM specific actions for this resource.",
- "longDescription": "This type shall contain any additional OEM actions for this resource.",
+ "description": "The available OEM-specific actions for this Resource.",
+ "longDescription": "This type shall contain the available OEM-specific actions for this Resource.",
"patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
"type": [
"array",
@@ -307,5 +312,6 @@
}
},
"owningEntity": "DMTF",
- "title": "#HostInterface.v1_2_0.HostInterface"
+ "release": "2018.2",
+ "title": "#HostInterface.v1_2_2.HostInterface"
}
\ No newline at end of file