Redfish-Service-Validator fail to validate Oem
Zhang, ShuoX
shuox.zhang at intel.com
Fri Feb 25 21:03:29 AEDT 2022
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",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220225/5ce66247/attachment-0001.htm>
More information about the openbmc
mailing list