DMTF/Redfish-Service-Validator

Mandatory Property Error

SelviRaju opened this issue · 4 comments

Hi All,

For Power Subsystem showing mandatory property as below

image

But in validator thorwing error for redundancy group

image

image

Please confirm whether Redundancy group as mandatory if yes where we can confirm.

Thanks & Regards,
R.Selvi

You'll see the mandatory ("required" term in JSON schema) properties for the RedundancyGroup in the Redundancy schema referenced by PowerSubsystem.

If your PowerSubsystem resource contains a PowerSupplyRedundancy property, then yes, the RedundancyType, MinNeededInGroup, Status, and RedundancyGroup are all required properties.

If your resource does NOT contain the PowerSupplyRedundancy property, then that would be a tool issue. But that pattern of referenced definitions containing required properties appears in other places throughout the model, so I'd expect the tool is handling that correctly.

@jautor is correct; it looks like your service is returning the "PowerSupplyRedundancy" property but is not providing "RedundancyGroup".

Can you please provide the payload for your resource to confirm? This looks like a conformance issue with the service.

@SelviRaju were you able to follow up with your implementation to see what's in the payload?

Closing; based on the existing details, this appears to be a service-side error.

If there are additional details that show otherwise, please reopen.