diff options
Diffstat (limited to 'redfish-core/lib/power_subsystem.hpp')
-rw-r--r-- | redfish-core/lib/power_subsystem.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/redfish-core/lib/power_subsystem.hpp b/redfish-core/lib/power_subsystem.hpp index 17ee1af608..52e1ec9d72 100644 --- a/redfish-core/lib/power_subsystem.hpp +++ b/redfish-core/lib/power_subsystem.hpp @@ -35,6 +35,9 @@ inline void doPowerSubsystemCollection( "redfish", "v1", "Chassis", chassisId, "PowerSubsystem"); asyncResp->res.jsonValue["Status"]["State"] = "Enabled"; asyncResp->res.jsonValue["Status"]["Health"] = "OK"; + asyncResp->res.jsonValue["PowerSupplies"]["@odata.id"] = + crow::utility::urlFromPieces("redfish", "v1", "Chassis", chassisId, + "PowerSubsystem", "PowerSupplies"); } inline void handlePowerSubsystemCollectionHead( |