DMTF / Redfish-Service-Validator

The Redfish Service Validator is a Python3 tool for checking conformance of any "device" with a Redfish service interface against Redfish CSDL schema
Other
40 stars 34 forks source link

Default Oem property not shown in the Redfish Validator tool #555

Closed Saravanans2001 closed 1 year ago

Saravanans2001 commented 1 year ago

Hi,

I am using Redfish Validator tool(https://github.com/DMTF/Redfish-Service-Validator) for checking Schema compliance,

For Managers/Bmc URI, I could see the Response as below, which does not contain Oem.OpenBmc.Fan

Screenshot from 2023-07-11 16-31-09

But in validator tool the table response is as shown below which contains Oem.OpenBmc.Fan

Screenshot from 2023-07-11 16-31-30

Both the response are for same payload and the report generated by the Validator tool,

  1. Whether it is normal behavior to show a property without the property actually present in Redfish Response ??
  2. Here Fan is not available in Oem property, how it is taken in Validator tool ??

Screenshot from 2023-07-11 18-45-28

Screenshot from 2023-07-11 18-45-12

mraineri commented 1 year ago

The report will show all properties defined in the schema file, and mark the "Exists" column with "No" if it's not in the payload. If there is a "Fan" property defined in the schema, then this looks correct to me.