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>
diff --git a/static/redfish/v1/schema/Certificate_v1.xml b/static/redfish/v1/schema/Certificate_v1.xml
index 8caa05d..b0fc804 100644
--- a/static/redfish/v1/schema/Certificate_v1.xml
+++ b/static/redfish/v1/schema/Certificate_v1.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!---->
<!--################################################################################ -->
-<!--# Redfish Schema: Certificate v1.4.0 -->
+<!--# Redfish Schema: Certificate v1.5.0 -->
<!--# -->
<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
<!--# available at http://www.dmtf.org/standards/redfish -->
@@ -529,7 +529,7 @@
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
</ComplexType>
-
+
<EnumType Name="CertificateUsageType">
<Member Name="User">
<Annotation Term="OData.Description" String="This certificate is a user certificate like those associated with a manager account."/>
@@ -552,5 +552,28 @@
</EnumType>
</Schema>
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Certificate.v1_5_0">
+ <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
+ <Annotation Term="Redfish.Release" String="2021.3"/>
+
+ <EntityType Name="Certificate" BaseType="Certificate.v1_4_0.Certificate">
+ <Property Name="SPDM" Type="Certificate.v1_5_0.SPDM">
+ <Annotation Term="OData.Description" String="SPDM-related information for the certificate."/>
+ <Annotation Term="OData.LongDescription" String="The value of this property shall contain SPDM-related information for the certificate. This property shall only be present for SPDM certificates."/>
+ </Property>
+ </EntityType>
+
+ <ComplexType Name="SPDM">
+ <Annotation Term="OData.AdditionalProperties" Bool="false"/>
+ <Annotation Term="OData.Description" String="SPDM-related information for a certificate."/>
+ <Annotation Term="OData.LongDescription" String="This type shall contain contain SPDM-related information for a certificate."/>
+ <Property Name="SlotId" Type="Edm.Int64">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="Slot identifier of the certificate."/>
+ <Annotation Term="OData.LongDescription" String="The value of this property shall contain an integer between 0 and 7, inclusive, that represents the slot identifier for an SPDM-provided certificate."/>
+ </Property>
+ </ComplexType>
+ </Schema>
+
</edmx:DataServices>
</edmx:Edmx>