diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2021-12-01 18:28:53 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-12-01 21:03:17 +0300 |
commit | 60c922dfacd5d1aeec8789e03edc91b47f4a6661 (patch) | |
tree | d4ab85979ea7cfed750ce689662bf14e6f335a8d /static/redfish/v1/JsonSchemas/Certificate | |
parent | c035324925c9c09855e0717ef7af5caae3c296ff (diff) | |
download | bmcweb-60c922dfacd5d1aeec8789e03edc91b47f4a6661.tar.xz |
Move to 2021.3
Update the script to point at 2021.3, change the path of the files since
they moved again, and run the script.
Since we have an exclude list, this only brings in new versions of
schemas bmcweb already uses.
Overview of 2021.3:
https://www.dmtf.org/sites/default/files/Redfish_Release_2021.3_Overview.pdf
Overall, the release wasn't huge.
IBM plans to use:
PCIeSlot to Processor
FabricAdapter to PCIeDevice
Tested: See new schemas. No new validator errors.
curl -k https://$bmc/redfish/v1/JsonSchemas/Certificate/Certificate.json
{
"$id": "http://redfish.dmtf.org/schemas/v1/Certificate.v1_5_0.json",
Change-Id: Idf28cb164d220b059dace91e352fee732bf0c842
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'static/redfish/v1/JsonSchemas/Certificate')
-rw-r--r-- | static/redfish/v1/JsonSchemas/Certificate/Certificate.json | 51 |
1 files changed, 48 insertions, 3 deletions
diff --git a/static/redfish/v1/JsonSchemas/Certificate/Certificate.json b/static/redfish/v1/JsonSchemas/Certificate/Certificate.json index a8dcf82806..ae808c6a0c 100644 --- a/static/redfish/v1/JsonSchemas/Certificate/Certificate.json +++ b/static/redfish/v1/JsonSchemas/Certificate/Certificate.json @@ -1,5 +1,5 @@ { - "$id": "http://redfish.dmtf.org/schemas/v1/Certificate.v1_4_0.json", + "$id": "http://redfish.dmtf.org/schemas/v1/Certificate.v1_5_0.json", "$ref": "#/definitions/Certificate", "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", "copyright": "Copyright 2014-2021 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", @@ -178,6 +178,19 @@ "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." }, + "SPDM": { + "anyOf": [ + { + "$ref": "#/definitions/SPDM" + }, + { + "type": "null" + } + ], + "description": "SPDM-related information for the certificate.", + "longDescription": "The value of this property shall contain SPDM-related information for the certificate. This property shall only be present for SPDM certificates.", + "versionAdded": "v1_5_0" + }, "SerialNumber": { "description": "The serial number of the certificate.", "longDescription": "The value of this property shall be a string containing the ASCII representation of the serial number of the certificate, as defined by the RFC5280 'serialNumber' field.", @@ -575,9 +588,41 @@ "CSRString" ], "type": "object" + }, + "SPDM": { + "additionalProperties": false, + "description": "SPDM-related information for a certificate.", + "longDescription": "This type shall contain contain SPDM-related information for a certificate.", + "patternProperties": { + "^([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", + "boolean", + "integer", + "number", + "null", + "object", + "string" + ] + } + }, + "properties": { + "SlotId": { + "description": "Slot identifier of the certificate.", + "longDescription": "The value of this property shall contain an integer between 0 and 7, inclusive, that represents the slot identifier for an SPDM-provided certificate.", + "readonly": true, + "type": [ + "integer", + "null" + ], + "versionAdded": "v1_5_0" + } + }, + "type": "object" } }, "owningEntity": "DMTF", - "release": "2021.2", - "title": "#Certificate.v1_4_0.Certificate" + "release": "2021.3", + "title": "#Certificate.v1_5_0.Certificate" }
\ No newline at end of file |