Update schemas to 2023.2
To quote from The Redfish release [1]
2022.3 Redfish Schema Bundle – This .zip file contains the current
versions of all Redfish schemas. The bundle includes 40 schema updates
and developer resources.
Added Compute Express Link (CXL) support (NEW)
Extensions to Fabric, PCIeDevice, Processor, Memory, ComputerSystem,
and Chassis schemas Defined by DMTF alliance partner Compute Express
Link (CXL) Consortium
Extensions to Fabric, PCIeDevice, Processor, Memory, ComputerSystem,
and Chassis schemas New CXLLogicalDevice schema
Added MultiFactorAuth to AccountService to configure a service for
multi-factor authentication
HTTP Basic authentication is not available for accounts configured
for multi-factor authentication
For client certificate authentication, the client provides their
identity certificate during TLS handshaking
For RSA SecurID, Google Authenticator, and Microsoft Authenticator,
clients provide a new Token property in the session creation request
Added Heater and HeaterMetrics resources
[1] https://www.dmtf.org/content/redfish-release-20223-now-available
Change-Id: Iefe80866bfb83e65ab98b2cf4ee2eacce5238c5b
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/static/redfish/v1/schema/Resource_v1.xml b/static/redfish/v1/schema/Resource_v1.xml
index 581e59e..ea6e56f 100644
--- a/static/redfish/v1/schema/Resource_v1.xml
+++ b/static/redfish/v1/schema/Resource_v1.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!---->
<!--################################################################################ -->
-<!--# Redfish Schema: Resource v1.16.0 -->
+<!--# Redfish Schema: Resource v1.17.0 -->
<!--# -->
<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
<!--# available at http://www.dmtf.org/standards/redfish -->
@@ -18,6 +18,7 @@
<edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
</edmx:Reference>
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
+ <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
<edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
</edmx:Reference>
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/LogEntry_v1.xml">
@@ -841,6 +842,15 @@
<ComplexType Name="PostalAddress">
<Annotation Term="OData.Description" String="The postal address for a resource."/>
<Annotation Term="OData.LongDescription" String="Instances shall describe a postal address for a resource. For more information, see RFC5139. Depending on use, the instance can represent a past, current, or future location."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Deprecated"/>
+ <PropertyValue Property="Version" String="v1_17_0"/>
+ <PropertyValue Property="Description" String="This object and its properties have been deprecated in favor of PhysicalAddress."/>
+ </Record>
+ </Collection>
+ </Annotation>
<Property Name="Country" Type="Edm.String">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Description" String="The country."/>
@@ -1803,5 +1813,60 @@
</ComplexType>
</Schema>
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Resource.v1_17_0">
+ <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
+ <Annotation Term="Redfish.Release" String="2023.2"/>
+ <Annotation Term="OData.Description" String="This version was created to deprecate PostalAddress in Location in favor of PhysicalAddress."/>
+
+ <ComplexType Name="Location" BaseType="Resource.v1_16_0.Location">
+ <Property Name="PhysicalAddress" Type="Resource.v1_17_0.PhysicalAddress" Nullable="false">
+ <Annotation Term="OData.Description" String="The physical address for a resource."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain a physical address for a resource. This property should be present for resources that represent physical objects that can operate without requiring physical containment by another resource. For example, a server chassis might be contained by a rack, but it might also be deployed individually, while a drive is always contained by a chassis, and therefore is described by the containing resource."/>
+ </Property>
+ </ComplexType>
+
+ <ComplexType Name="PhysicalAddress">
+ <Annotation Term="OData.Description" String="The physical address for a resource."/>
+ <Annotation Term="OData.LongDescription" String="This type shall contain a physical address for a resource."/>
+ <Property Name="StreetAddress" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The street-level address, including building, room, or other identifiers."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the street-level physical address of the resource, including identifiers such as apartment, room, or building to further locate the resource within a given street address."/>
+ </Property>
+ <Property Name="City" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="City, township, or shi (JP)."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the city, township, or shi (JP) location for this resource."/>
+ </Property>
+ <Property Name="StateOrProvince" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="State or province."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the state, province, or territory location within the country for this resource."/>
+ </Property>
+ <Property Name="ISOSubdivisionCode" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="ISO 3166-2 subdivision code ."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the ISO 3166-2-defined state, province, or territory subdivision code for this resource."/>
+ <Annotation Term="Validation.Pattern" String="^[A-Z0-9]{1,3}$"/>
+ </Property>
+ <Property Name="Country" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The country."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the country location for this resource."/>
+ </Property>
+ <Property Name="ISOCountryCode" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The ISO 3166-1 country code."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the ISO 3166-1-defined alpha-2 or alpha-3 country code."/>
+ <Annotation Term="Validation.Pattern" String="^([A-Z]{2}|[A-Z]{3})$"/>
+ </Property>
+ <Property Name="PostalCode" Type="Edm.String">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The postal code."/>
+ <Annotation Term="OData.LongDescription" String="The property shall contain the postal code for this resource. The value shall conform to the RFC5139-defined requirements of the PC field."/>
+ </Property>
+ </ComplexType>
+ </Schema>
+
</edmx:DataServices>
</edmx:Edmx>