/openbmc/bmcweb/redfish-core/lib/ |
H A D | thermal_metrics.hpp | 38 const std::string& chassisId, const std::string& path, in afterGetTemperatureValue() argument 59 path, chassisId, sensor_utils::ChassisSubNode::thermalMetricsNode, in afterGetTemperatureValue() 83 const std::string& chassisId, const boost::system::error_code& ec, in handleTemperatureReadingsCelsius() argument 106 [asyncResp, chassisId, in handleTemperatureReadingsCelsius() 109 afterGetTemperatureValue(asyncResp, chassisId, sensorPath, ec1, in handleTemperatureReadingsCelsius() 117 const std::string& validChassisPath, const std::string& chassisId) in getTemperatureReadingsCelsius() argument 126 chassisId)); in getTemperatureReadingsCelsius() 131 const std::string& chassisId, in doThermalMetrics() argument 136 messages::resourceNotFound(asyncResp->res, "Chassis", chassisId); in doThermalMetrics() 146 "/redfish/v1/Chassis/{}/ThermalSubsystem/ThermalMetrics", chassisId); in doThermalMetrics() [all …]
|
H A D | fan.hpp | 43 const std::string& chassisId, in updateFanList() argument 58 "/redfish/v1/Chassis/{}/ThermalSubsystem/Fans/{}", chassisId, in updateFanList() 98 const std::string& chassisId, in doFanCollection() argument 103 messages::resourceNotFound(asyncResp->res, "Chassis", chassisId); in doFanCollection() 112 "/redfish/v1/Chassis/{}/ThermalSubsystem/Fans", chassisId); in doFanCollection() 115 "The collection of Fan resource instances " + chassisId; in doFanCollection() 120 std::bind_front(updateFanList, asyncResp, chassisId)); in doFanCollection() 126 const std::string& chassisId) in handleFanCollectionHead() argument 134 asyncResp, chassisId, in handleFanCollectionHead() 136 chassisId](const std::optional<std::string>& validChassisPath) { in handleFanCollectionHead() [all …]
|
H A D | thermal_subsystem.hpp | 29 const std::string& chassisId, in doThermalSubsystemCollection() argument 34 BMCWEB_LOG_WARNING("Not a valid chassis ID{}", chassisId); in doThermalSubsystemCollection() 35 messages::resourceNotFound(asyncResp->res, "Chassis", chassisId); in doThermalSubsystemCollection() 48 "/redfish/v1/Chassis/{}/ThermalSubsystem", chassisId); in doThermalSubsystemCollection() 51 "/redfish/v1/Chassis/{}/ThermalSubsystem/Fans", chassisId); in doThermalSubsystemCollection() 56 chassisId); in doThermalSubsystemCollection() 65 const std::string& chassisId) in handleThermalSubsystemCollectionHead() argument 72 auto respHandler = [asyncResp, chassisId]( in handleThermalSubsystemCollectionHead() 76 messages::resourceNotFound(asyncResp->res, "Chassis", chassisId); in handleThermalSubsystemCollectionHead() 83 redfish::chassis_utils::getValidChassisPath(asyncResp, chassisId, in handleThermalSubsystemCollectionHead() [all …]
|
H A D | power_subsystem.hpp | 29 const std::string& chassisId, in doPowerSubsystemCollection() argument 34 messages::resourceNotFound(asyncResp->res, "Chassis", chassisId); in doPowerSubsystemCollection() 46 boost::urls::format("/redfish/v1/Chassis/{}/PowerSubsystem", chassisId); in doPowerSubsystemCollection() 51 "/redfish/v1/Chassis/{}/PowerSubsystem/PowerSupplies", chassisId); in doPowerSubsystemCollection() 57 const std::string& chassisId) in handlePowerSubsystemCollectionHead() argument 64 auto respHandler = [asyncResp, chassisId]( in handlePowerSubsystemCollectionHead() 68 messages::resourceNotFound(asyncResp->res, "Chassis", chassisId); in handlePowerSubsystemCollectionHead() 75 redfish::chassis_utils::getValidChassisPath(asyncResp, chassisId, in handlePowerSubsystemCollectionHead() 82 const std::string& chassisId) in handlePowerSubsystemCollectionGet() argument 90 asyncResp, chassisId, in handlePowerSubsystemCollectionGet() [all …]
|
H A D | environment_metrics.hpp | 29 const std::string& chassisId) in handleEnvironmentMetricsHead() argument 36 auto respHandler = [asyncResp, chassisId]( in handleEnvironmentMetricsHead() 40 messages::resourceNotFound(asyncResp->res, "Chassis", chassisId); in handleEnvironmentMetricsHead() 49 redfish::chassis_utils::getValidChassisPath(asyncResp, chassisId, in handleEnvironmentMetricsHead() 56 const std::string& chassisId) in handleEnvironmentMetricsGet() argument 63 auto respHandler = [asyncResp, chassisId]( in handleEnvironmentMetricsGet() 67 messages::resourceNotFound(asyncResp->res, "Chassis", chassisId); in handleEnvironmentMetricsGet() 79 "/redfish/v1/Chassis/{}/EnvironmentMetrics", chassisId); in handleEnvironmentMetricsGet() 82 redfish::chassis_utils::getValidChassisPath(asyncResp, chassisId, in handleEnvironmentMetricsGet()
|
H A D | chassis.hpp | 266 const std::string& chassisId, const boost::system::error_code& ec, in getChassisContainedBy() argument 284 BMCWEB_LOG_ERROR("{} is contained by multiple chassis", chassisId); in getChassisContainedBy() 295 upstreamChassisPath.str, chassisId); in getChassisContainedBy() 305 const std::string& chassisId, const boost::system::error_code& ec, in getChassisContains() argument 334 downstreamChassisPath.str, chassisId); in getChassisContains() 347 const std::string& chassisId, const std::string& chassisPath) in getChassisConnectivity() argument 355 std::bind_front(getChassisContainedBy, asyncResp, chassisId)); in getChassisConnectivity() 361 std::bind_front(getChassisContains, asyncResp, chassisId)); in getChassisConnectivity() 418 const std::string& chassisId, const std::string& path, in handleDecoratorAssetProperties() argument 465 asyncResp->res.jsonValue["Name"] = chassisId; in handleDecoratorAssetProperties() [all …]
|
H A D | pcie_slots.hpp | 134 const std::string& chassisID, const std::string& pcieSlotPath, in onMapperAssociationDone() argument 159 if (chassisName != chassisID) in onMapperAssociationDone() 161 // The pcie slot doesn't belong to the chassisID in onMapperAssociationDone() 176 const std::string& chassisID, const boost::system::error_code& ec, in onMapperSubtreeDone() argument 187 messages::resourceNotFound(asyncResp->res, "Chassis", chassisID); in onMapperSubtreeDone() 192 chassisID); in onMapperSubtreeDone() 197 boost::urls::format("/redfish/v1/Chassis/{}/PCIeSlots", chassisID); in onMapperSubtreeDone() 212 // it belongs to this ChassisID in onMapperSubtreeDone() 215 [asyncResp, chassisID, pcieSlotPath, connectionName]( in onMapperSubtreeDone() 218 onMapperAssociationDone(asyncResp, chassisID, pcieSlotPath, in onMapperSubtreeDone() [all …]
|
H A D | power_supply.hpp | 46 const std::string& chassisId, in updatePowerSupplyList() argument 61 "/redfish/v1/Chassis/{}/PowerSubsystem/PowerSupplies/{}", chassisId, in updatePowerSupplyList() 71 const std::string& chassisId, const boost::system::error_code& ec, in doPowerSupplyCollection() argument 79 messages::resourceNotFound(asyncResp->res, "Chassis", chassisId); in doPowerSupplyCollection() 96 "/redfish/v1/Chassis/{}/PowerSubsystem/PowerSupplies", chassisId); in doPowerSupplyCollection() 102 updatePowerSupplyList(asyncResp, chassisId, subtreePaths); in doPowerSupplyCollection() 108 const std::string& chassisId) in handlePowerSupplyCollectionHead() argument 116 asyncResp, chassisId, in handlePowerSupplyCollectionHead() 118 chassisId](const std::optional<std::string>& validChassisPath) { in handlePowerSupplyCollectionHead() 123 chassisId); in handlePowerSupplyCollectionHead() [all …]
|
H A D | storage.hpp | 679 asyncResp, [](const std::string& chassisId, in afterGetSubtreeSystemsStorageDrive() 682 boost::urls::format("/redfish/v1/Chassis/{}", chassisId); in afterGetSubtreeSystemsStorageDrive() 734 const std::string& chassisId, const boost::system::error_code& ec, in afterChassisDriveCollectionSubtreeGet() argument 741 messages::resourceNotFound(asyncResp->res, "Chassis", chassisId); in afterChassisDriveCollectionSubtreeGet() 752 if (objPath.filename() != chassisId) in afterChassisDriveCollectionSubtreeGet() 766 boost::urls::format("/redfish/v1/Chassis/{}/Drives", chassisId); in afterChassisDriveCollectionSubtreeGet() 772 [asyncResp, chassisId](const boost::system::error_code& ec3, in afterChassisDriveCollectionSubtreeGet() 796 chassisId, leafName); in afterChassisDriveCollectionSubtreeGet() 812 const std::string& chassisId) in chassisDriveCollectionGet() argument 823 chassisId)); in chassisDriveCollectionGet() [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | chassis_state_manager_main.cpp | 24 size_t chassisId = 0; in main() local 35 chassisId = std::stoul(optarg); in main() 46 auto chassisBusName = ChassisState::interface + std::to_string(chassisId); in main() 49 std::to_string(chassisId); in main() 53 if (chassisId == 0) in main() 63 fs::path newPohPath{std::format(POH_COUNTER_PERSIST_PATH, chassisId)}; in main() 65 std::format(CHASSIS_STATE_CHANGE_PERSIST_PATH, chassisId)}; in main() 79 chassisId); in main() 83 if (chassisId == 0) in main()
|
H A D | chassis_check_power_status.cpp | 28 size_t chassisId = 0; in main() local 30 auto chassisBusName = ChassisState::interface + std::to_string(chassisId); in main() 42 chassisId = std::stoul(optarg); in main() 50 std::to_string(chassisId); in main()
|
/openbmc/bmcweb/docs/ |
H A D | Redfish.md | 220 ### /redfish/v1/Chassis/{ChassisId}/ 249 ### /redfish/v1/Chassis/{ChassisId}/Drive/ 256 ### /redfish/v1/Chassis/{ChassisId}/Drive/{DriveId}/ 265 ### /redfish/v1/Chassis/{ChassisId}/EnvironmentMetrics/ 269 ### /redfish/v1/Chassis/{ChassisId}/Power/ 278 ### /redfish/v1/Chassis/{ChassisId}/Sensors/ 286 ### /redfish/v1/Chassis/{ChassisId}/Sensors/{Id}/ 299 ### /redfish/v1/Chassis/{ChassisId}/Thermal/ 307 ### /redfish/v1/Chassis/{ChassisId}/Thermal#/Temperatures/{SensorName}/ 322 ### /redfish/v1/Chassis/{ChassisId}/Therma 221 ChassisRedfish""Redfish Schema""/redfish/v1/Chassis/{ChassisId}/ global() argument [all...] |
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | RouteEntryCollection.json | 93 … "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/LPRT", 94 … "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/MPRT", 95 "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/MSDT", 96 "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/SSDT", 111 … "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/LPRT", 112 … "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/MPRT", 113 "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/MSDT", 114 "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/SSDT", 131 … "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/LPRT", 132 … "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/MPRT", [all …]
|
H A D | VCATEntryCollection.json | 103 … "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT", 104 "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT", 105 "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT", 116 … "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/VCAT", 117 "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/REQ-VCAT", 118 "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/RSP-VCAT" 131 … "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT", 132 "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT", 133 "/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT"
|
H A D | ProcessorCollection.json | 106 "/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors", 107 …"/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors/{ProcessorId}/SubPr… 108 …"/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors/{ProcessorId}/SubPr… 109 "/redfish/v1/Chassis/{ChassisId}/Processors", 110 "/redfish/v1/Chassis/{ChassisId}/Processors/{ProcessorId}/SubProcessors", 111 …"/redfish/v1/Chassis/{ChassisId}/Processors/{ProcessorId}/SubProcessors/{ProcessorId2}/SubProcesso…
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | RouteEntryCollection_v1.xml | 56 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/LPRT</Stri… 57 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/MPRT</Stri… 58 <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/MSDT</String> 59 <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/SSDT</String> 74 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/LPRT<… 75 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/MPRT<… 76 … <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/MSDT</String> 77 … <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/SSDT</String> 96 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/LPRT</Stri… 97 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/MPRT</Stri… [all …]
|
H A D | VCATEntryCollection_v1.xml | 66 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT</Stri… 67 … <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT</String> 68 … <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT</String> 79 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/VCAT<… 80 … <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/REQ-VCAT</String> 81 … <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/RSP-VCAT</String> 96 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT</Stri… 97 … <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT</String> 98 … <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT</String>
|
H A D | RouteEntry_v1.xml | 59 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/LPRT/{LPRT… 60 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/MPRT/{MPRT… 61 … <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/SSDT/{SSDTId}</String> 62 … <String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/MSDT/{MSDTId}</String> 77 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/LPRT/… 78 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/MPRT/… 79 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/SSDT/{SSDTId}</Strin… 80 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/MSDT/{MSDTId}</Strin… 99 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/LPRT/{LPRT… 100 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/MPRT/{MPRT… [all …]
|
H A D | ProcessorCollection_v1.xml | 69 … <String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors</String> 70 …<String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors/{ProcessorId… 71 …<String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors/{ProcessorId… 72 <String>/redfish/v1/Chassis/{ChassisId}/Processors</String> 73 <String>/redfish/v1/Chassis/{ChassisId}/Processors/{ProcessorId}/SubProcessors</String> 74 …<String>/redfish/v1/Chassis/{ChassisId}/Processors/{ProcessorId}/SubProcessors/{ProcessorId2}/SubP…
|
H A D | VCATEntry_v1.xml | 66 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT/{VCAT… 67 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT/{VCATEntryId}</S… 68 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT/{VCATEntryId}</S… 79 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/GenZ/VCAT/… 80 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/REQ-VCAT/{VCATEntryI… 81 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/GenZ/RSP-VCAT/{VCATEntryI… 96 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/Ports/{PortId}/VCAT/{VCAT… 97 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/REQ-VCAT/{VCATEntryId}</S… 98 …<String>/redfish/v1/Chassis/{ChassisId}/FabricAdapters/{FabricAdapterId}/RSP-VCAT/{VCATEntryId}</S…
|
/openbmc/bmcweb/test/redfish-core/lib/ |
H A D | thermal_subsystem_test.cpp | 20 constexpr const char* chassisId = "ChassisId"; variable 30 "/redfish/v1/Chassis/ChassisId/ThermalSubsystem"); in assertThermalCollectionGet() 41 shareAsyncResp, chassisId, in TEST()
|
H A D | power_subsystem_test.cpp | 20 constexpr const char* chassisId = "ChassisId"; variable 30 "/redfish/v1/Chassis/ChassisId/PowerSubsystem"); in assertPowerSubsystemCollectionGet() 42 shareAsyncResp, chassisId, in TEST()
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | ProcessorCollection.json | 106 "/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors", 107 "/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors/{ProcessorId}/SubProcessors", 108 "/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors/{ProcessorId}/SubProcessors/{ProcessorId2}/SubProcessors", 109 "/redfish/v1/Chassis/{ChassisId}/Processors", 110 "/redfish/v1/Chassis/{ChassisId}/Processors/{ProcessorId}/SubProcessors", 111 "/redfish/v1/Chassis/{ChassisId}/Processors/{ProcessorId}/SubProcessors/{ProcessorId2}/SubProcessors"
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | ProcessorCollection_v1.xml | 69 … <String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors</String> 70 …<String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors/{ProcessorId… 71 …<String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/Processors/{ProcessorId… 72 <String>/redfish/v1/Chassis/{ChassisId}/Processors</String> 73 <String>/redfish/v1/Chassis/{ChassisId}/Processors/{ProcessorId}/SubProcessors</String> 74 …<String>/redfish/v1/Chassis/{ChassisId}/Processors/{ProcessorId}/SubProcessors/{ProcessorId2}/SubP…
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | chassis_utils.hpp | 35 const std::string& chassisId, Callback&& callback) in getValidChassisPath() argument 43 chassisId](const boost::system::error_code& ec, in getValidChassisPath() 65 if (chassisName == chassisId) in getValidChassisPath()
|