Open Denis-Alexeev opened 2 years ago
Basic investigation - some parent resources have children with the same names but different models. I am not sure that it is ok according to Redfish or OpenAPI standards. Simplest solution in my opinion is to introduce one more criteria for model equality (hash or frozen set of model field names for example). Also we need to update model names to prevent conflicts during scripts \ imports creation.
Describe the bug Some of models are not created because of similar child and and parrent names of different resources.
Resource
/redfish/v1/Chassis/Baseboard/Sensors
was created with parentElement - ChassisCollectionChassis
But/redfish/v1/Chassis/VEGMAN_N110_Server/Sensors
with parentElement - ChassisCollectionChassis
was not created. Neither did all its children.Expected behavior
redfish/v1/Chassis/VEGMAN_N110_Server/Sensors
and its children are created.Environment (please complete the following information):