Redfish-Service-Validator
Redfish-Service-Validator copied to clipboard
Redfish Validator now flags link to Assembly
The latest Redfish Service Validator change https://github.com/DMTF/Redfish-Service-Validator/commit/ab8e447a713d0afa138a4ed3c20a2ed0dd497249 verifies the links.
We have the following link in Cables:
"DownstreamResources": [
{
"@odata.id": "/redfish/v1/Chassis/chassis/Assembly#/Assemblies/17"
}
],
Which throws the error:
Links.DownstreamResources[0] Link: /redfish/v1/Chassis/chassis/Assembly#/Assemblies/24 link: Resource Yes FAIL
ERROR - DownstreamResources: Linked resource is not the correct type; found Assembly.v1_3_0.AssemblyData, expected Resource.Resource
We have a bunch of Simple Inventory (Field Replaceable Units (FRUs)) that we model as Assemblies... They have properties like an Identify LED, Part Number, but not much else. In this case, the Downstream Resource is a DASD (direct access storage device) Backplane.
Can Cable DownstreamResouces allow for Assembly.AssemblyData ?