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
39 stars 33 forks source link

Service Validator does not verify Excerpt objects against non-excerpt object #602

Open edtanous opened 3 weeks ago

edtanous commented 3 weeks ago

Schema items tagged with Redfish.Excerpt objects are intended to contain a schema-defined subset of properties from the Base schema, and include them in the base object.

Redfish service validator should verify that the properties in Excerpt are a subset of the properties present in the source pointed to by DataSrcUri.

mraineri commented 3 weeks ago

I agree; currently in the spec we don't have this semantic called out, so I'd like to discuss this internally to see if we can add to the spec accordingly. But that really is the intent for excerpts.

This may require more work than other changes since this is now cross referencing two resources, so it may take some time to support. But it would be good to keep this visible.