You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Some of models are not created because of similar child and and parrent names of different resources.
2022-05-25 15:11:03 - RMG - [14] Scanning: /redfish/v1/Chassis/Baseboard/Sensors parent is Element - ChassisCollectionChassis
2022-05-25 15:11:04 - RMG - [15] Scanning: /redfish/v1/Chassis/Baseboard/Thermal parent is Element - ChassisCollectionChassis
2022-05-25 15:11:06 - RMG - [16] Scanning: /redfish/v1/Chassis/VEGMAN_N110_Server parent is Collection - ChassisCollection
2022-05-25 15:11:08 - RMG - [16] Scanning: /redfish/v1/Chassis/VEGMAN_N110_Server/Power parent is Element - ChassisCollectionChassis
2022-05-25 15:11:11 - RMG - [16] Scanning: /redfish/v1/Chassis/VEGMAN_N110_Server/Sensors parent is Element - ChassisCollectionChassis
2022-05-25 15:11:12 - RMG - [16] Scanning: /redfish/v1/Chassis/VEGMAN_N110_Server/Sensors/PSU1_Input_Current parent is Collection - ChassisSensorCollection
Resource /redfish/v1/Chassis/Baseboard/Sensors was created with parent Element - 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):
OS: Mac
Python version: 3.10
Sebastes version: 0.1.4
Target device: BMC of Vegman N110 with firmware 1.5
The text was updated successfully, but these errors were encountered:
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):
The text was updated successfully, but these errors were encountered: