DMTF / Redfishtool

A Python34 program that implements a command line tool for accessing the Redfish API.
Other
221 stars 68 forks source link

Chassis Sensors option requires the deprecated Thermal resource #104

Open blakehilliard opened 1 year ago

blakehilliard commented 1 year ago

I have a Chassis resource that looks like this:

{
    ...
    "Id": "r001u01",
    ...
    "Sensors": {
        "@odata.id": "/redfish/v1/Chassis/r001u01/Sensors"
    },
    ...
    "ThermalSubsystem": {
        "@odata.id": "/redfish/v1/Chassis/r001u01/ThermalSubsystem"
    },
    ...
}

If I run redfish tool with the options "Chassis -I r001u01 Sensors", it fails like this:

Sensor                                             Reading    UpperCritical
   redfishtool: Error: Chassis resource does not have a Thermal link

"Thermal" is a deprecated resource. This should work with what I have, and probably just list everything under the linked "Sensors" collection.

mraineri commented 1 year ago

Unfortunately this tool has been deprioritized for other tools (like Redfish Tacklebox); we're certainly open to reviewing pull requests with enhancements though.