Update Redfish schema pack to 2022.1
Update to an intermediate schema pack. This is not the newest, but is
an incremental commit to allow us to differentiate different versions of
the schema packs evolution.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I4e5905a3ed40ca41b095c39b4d29c074b6eaeb67
diff --git a/static/redfish/v1/schema/Memory_v1.xml b/static/redfish/v1/schema/Memory_v1.xml
index 4ad83c6..cd87187 100644
--- a/static/redfish/v1/schema/Memory_v1.xml
+++ b/static/redfish/v1/schema/Memory_v1.xml
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!---->
<!--################################################################################ -->
-<!--# Redfish Schema: Memory v1.14.0 -->
+<!--# Redfish Schema: Memory v1.15.0 -->
<!--# -->
<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
<!--# available at http://www.dmtf.org/standards/redfish -->
-<!--# Copyright 2014-2021 DMTF. -->
+<!--# Copyright 2014-2022 DMTF. -->
<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
<!--################################################################################ -->
<!---->
@@ -55,6 +55,9 @@
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Control_v1.xml">
<edmx:Include Namespace="Control"/>
</edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Battery_v1.xml">
+ <edmx:Include Namespace="Battery"/>
+ </edmx:Reference>
<edmx:DataServices>
@@ -1750,5 +1753,21 @@
<EntityType Name="Memory" BaseType="Memory.v1_13_1.Memory"/>
</Schema>
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Memory.v1_15_0">
+ <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
+ <Annotation Term="Redfish.Release" String="2022.1"/>
+
+ <EntityType Name="Memory" BaseType="Memory.v1_14_0.Memory"/>
+
+ <ComplexType Name="Links" BaseType="Memory.v1_11_0.Links">
+ <NavigationProperty Name="Batteries" Type="Collection(Battery.Battery)">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The batteries that provide power to this memory device during a power loss event."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to resources of type Battery that represent the batteries that provide power to this memory device during a power loss event, such as with battery-backed NVDIMMs. This property shall not be present if the batteries power the containing chassis as a whole rather than the individual memory device."/>
+ <Annotation Term="OData.AutoExpandReferences"/>
+ </NavigationProperty>
+ </ComplexType>
+ </Schema>
+
</edmx:DataServices>
</edmx:Edmx>