summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-02-08 23:25:17 +0300
committerEd Tanous <ed@tanous.net>2022-02-09 20:46:36 +0300
commitb3db89663256a462e9c90bf260d5058014765137 (patch)
tree9e747fd64b357c8a7425baa944bb796798727145 /static
parentef73ad0d99623c67679008728daa578098c54a40 (diff)
downloadbmcweb-b3db89663256a462e9c90bf260d5058014765137.tar.xz
Run update-schemas.py
Apparently these are being edited by hand in some cases, which we should avoid where possible. Based on the contents, it seems pretty likely that 71b861b64bde714410c4fe94f1628a70cb6b17aa is the offending commit that missed checking in these new index files, and was likely editing things by hand. Tested: Redfish service validator passing. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I86f6c46e61139a85ece900a665bce6ac7795800f
Diffstat (limited to 'static')
-rw-r--r--static/redfish/v1/JsonSchemas/PhysicalContext/PhysicalContext.json3
-rw-r--r--static/redfish/v1/JsonSchemas/PhysicalContext/index.json3
-rw-r--r--static/redfish/v1/JsonSchemas/index.json5
-rw-r--r--static/redfish/v1/schema/PhysicalContext_v1.xml56
4 files changed, 60 insertions, 7 deletions
diff --git a/static/redfish/v1/JsonSchemas/PhysicalContext/PhysicalContext.json b/static/redfish/v1/JsonSchemas/PhysicalContext/PhysicalContext.json
index c9ffeee9a5..b26e8ee29b 100644
--- a/static/redfish/v1/JsonSchemas/PhysicalContext/PhysicalContext.json
+++ b/static/redfish/v1/JsonSchemas/PhysicalContext/PhysicalContext.json
@@ -58,5 +58,4 @@
}
},
"title": "#PhysicalContext.v1_3_0"
-}
-
+} \ No newline at end of file
diff --git a/static/redfish/v1/JsonSchemas/PhysicalContext/index.json b/static/redfish/v1/JsonSchemas/PhysicalContext/index.json
index 729c0cac73..4735da0cd1 100644
--- a/static/redfish/v1/JsonSchemas/PhysicalContext/index.json
+++ b/static/redfish/v1/JsonSchemas/PhysicalContext/index.json
@@ -18,5 +18,4 @@
}
],
"Location@odata.count": 1
-}
-
+} \ No newline at end of file
diff --git a/static/redfish/v1/JsonSchemas/index.json b/static/redfish/v1/JsonSchemas/index.json
index 1a5e6c7117..d3c5f53cb0 100644
--- a/static/redfish/v1/JsonSchemas/index.json
+++ b/static/redfish/v1/JsonSchemas/index.json
@@ -4,7 +4,7 @@
"@odata.type": "#JsonSchemaFileCollection.JsonSchemaFileCollection",
"Name": "JsonSchemaFile Collection",
"Description": "Collection of JsonSchemaFiles",
- "Members@odata.count": 59,
+ "Members@odata.count": 60,
"Members": [
{
"@odata.id": "/redfish/v1/JsonSchemas/AccountService"
@@ -106,6 +106,9 @@
"@odata.id": "/redfish/v1/JsonSchemas/PCIeFunction"
},
{
+ "@odata.id": "/redfish/v1/JsonSchemas/PhysicalContext"
+ },
+ {
"@odata.id": "/redfish/v1/JsonSchemas/Power"
},
{
diff --git a/static/redfish/v1/schema/PhysicalContext_v1.xml b/static/redfish/v1/schema/PhysicalContext_v1.xml
index 4c54e3e8a7..24422c21c7 100644
--- a/static/redfish/v1/schema/PhysicalContext_v1.xml
+++ b/static/redfish/v1/schema/PhysicalContext_v1.xml
@@ -5,21 +5,25 @@
<!--# -->
<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
<!--# available at http://www.dmtf.org/standards/redfish -->
-<!--# Copyright 2014-2020 DMTF. -->
+<!--# Copyright 2014-2021 DMTF. -->
<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
<!--################################################################################ -->
<!---->
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
+
<edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
<edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
</edmx:Reference>
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
<edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
</edmx:Reference>
+
<edmx:DataServices>
+
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PhysicalContext">
<Annotation Term="Redfish.OwningEntity" String="DMTF"/>
<Annotation Term="Redfish.Release" String="1.0"/>
+
<EnumType Name="PhysicalContext">
<Member Name="Room">
<Annotation Term="OData.Description" String="The room."/>
@@ -334,7 +338,54 @@
</Collection>
</Annotation>
</Member>
+ <Member Name="Board">
+ <Annotation Term="OData.Description" String="A circuit board."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate a circuit board that is not the primary or system board within a context that cannot be described by other defined values."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
+ <PropertyValue Property="Version" String="2021.1"/>
+ </Record>
+ </Collection>
+ </Annotation>
+ </Member>
+ <Member Name="Transceiver">
+ <Annotation Term="OData.Description" String="A transceiver."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate a transceiver attached to a device."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
+ <PropertyValue Property="Version" String="2021.1"/>
+ </Record>
+ </Collection>
+ </Annotation>
+ </Member>
+ <Member Name="Battery">
+ <Annotation Term="OData.Description" String="A battery."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
+ <PropertyValue Property="Version" String="2021.2"/>
+ </Record>
+ </Collection>
+ </Annotation>
+ </Member>
+ <Member Name="Pump">
+ <Annotation Term="OData.Description" String="A pump."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
+ <PropertyValue Property="Version" String="2021.3"/>
+ </Record>
+ </Collection>
+ </Annotation>
+ </Member>
</EnumType>
+
<EnumType Name="PhysicalSubContext">
<Annotation Term="Redfish.Revisions">
<Collection>
@@ -351,7 +402,8 @@
<Annotation Term="OData.Description" String="The output."/>
</Member>
</EnumType>
+
</Schema>
+
</edmx:DataServices>
</edmx:Edmx>
-