Lines Matching full:fanid
178 inline bool checkFanId(const std::string& fanPath, const std::string& fanId)
182 return !(fanName.empty() || fanName != fanId);
186 const std::string& fanId,
194 if (!checkFanId(fanPath, fanId))
215 BMCWEB_LOG_WARNING("Fan not found {}", fanId);
216 messages::resourceNotFound(asyncResp->res, "Fan", fanId);
221 const std::string& validChassisPath, const std::string& fanId,
227 [fanId, asyncResp, callback](
229 handleFanPath(fanId, asyncResp, fanPaths, callback);
235 const std::string& fanId)
241 resp.jsonValue["Id"] = fanId;
243 "/redfish/v1/Chassis/{}/ThermalSubsystem/Fans/{}", chassisId, fanId);
326 const std::string& chassisId, const std::string& fanId,
329 addFanCommonProperties(asyncResp->res, chassisId, fanId);
339 const std::string& chassisId, const std::string& fanId,
349 asyncResp, *validChassisPath, fanId,
350 std::bind_front(afterGetValidFanObject, asyncResp, chassisId, fanId));
356 const std::string& fanId)
366 fanId](const std::optional<std::string>& validChassisPath) {
374 asyncResp, *validChassisPath, fanId,
385 const std::string& chassisId, const std::string& fanId)
394 std::bind_front(doFanGet, asyncResp, chassisId, fanId));
399 const std::string& chassisId, const std::string& fanId,
419 if (checkFanId(fanPath, fanId))
426 BMCWEB_LOG_WARNING("Fan {} not found", fanId);
427 messages::resourceNotFound(asyncResp->res, "Fan", fanId);
433 const std::string& fanId)
453 [asyncResp, chassisId, fanId, locationIndicatorActive](
457 handleSetFanPathById(asyncResp, chassisId, fanId,