openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Redfish-Service-Validator fail to validate Oem
@ 2022-02-25 10:03 Zhang, ShuoX
  2022-02-25 17:07 ` Ed Tanous
  0 siblings, 1 reply; 2+ messages in thread
From: Zhang, ShuoX @ 2022-02-25 10:03 UTC (permalink / raw)
  To: openbmc; +Cc: Tanous, Ed

[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]

Hi all,
      Why does the Redfish-Service-Validator tool fail to validate Oem, the namespace OemManager has the node OpenBmc in OemManager_v1.xml.

        <Schema xmlns=http://docs.oasis-open.org/odata/ns/edm Namespace="OemManager">
            <ComplexType Name="Oem" BaseType="Resource.OemObject">
                <Annotation Term="OData.AdditionalProperties" Bool="true" />
                <Annotation Term="OData.Description" String="OemManager Oem properties." />
                <Annotation Term="OData.AutoExpand"/>
                <Property Name="OpenBmc" Type="OemManager.OpenBmc"/>
            </ComplexType>


Oem.OpenBmc
[JSON Object]
none
Yes
FAIL
ERROR - Type OpenBmc not found under namespace OemManager in schema of parent
ERROR - Links.ManagerInChassis: Linked resource reports version #Chassis.v1_16_0.Chassis not in Schema localFile:./SchemaFiles/metadata/Chassis_v1.xml
ERROR - Links.ManagerForChassis[0]: Linked resource reports version #Chassis.v1_16_0.Chassis not in Schema localFile:./SchemaFiles/metadata/Chassis_v1.xml
ERROR - Oem.OpenBmc: This type is invalid none

"Oem": {
        "@odata.id": "/redfish/v1/Managers/bmc#/Oem",
        "@odata.type": "#OemManager.Oem",
        "OpenBmc": {
            "@odata.id": "/redfish/v1/Managers/bmc#/Oem/OpenBmc",
            "@odata.type": "#OemManager.OpenBmc",
            "Certificates": {
                "@odata.id": "/redfish/v1/Managers/bmc/Truststore/Certificates"
            },
            "Fan": {
                "@odata.id": "/redfish/v1/Managers/bmc#/Oem/OpenBmc/Fan",
                "@odata.type": "#OemManager.Fan",


[-- Attachment #2: Type: text/html, Size: 14397 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-25 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-25 10:03 Redfish-Service-Validator fail to validate Oem Zhang, ShuoX
2022-02-25 17:07 ` Ed Tanous

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).