Lines Matching full:cable
39 "xyz.openbmc_project.Inventory.Item.Cable"};
42 * @brief Fill cable specific properties.
45 * @param[in] properties List of Cable Properties key/value pairs.
81 // Cable length is NaN by default, do not throw an error in fillCableProperties()
84 BMCWEB_LOG_ERROR("Cable length value is invalid"); in fillCableProperties()
110 "get presence failed for Cable {} with error {}", in fillCableHealthState()
126 * @brief Api to get Cable properties.
128 * @param[in] cableObjectPath Object path of the Cable.
130 * interface list for the given cable id.
137 BMCWEB_LOG_DEBUG("Get Properties for cable {}", cableObjectPath); in getCableProperties()
143 if (interface == "xyz.openbmc_project.Inventory.Item.Cable") in getCableProperties()
164 messages::resourceNotFound(asyncResp->res, "Cable", cableId); in afterHandleCableGet()
183 asyncResp->res.jsonValue["@odata.type"] = "#Cable.v1_0_0.Cable"; in afterHandleCableGet()
187 asyncResp->res.jsonValue["Name"] = "Cable"; in afterHandleCableGet()
193 messages::resourceNotFound(asyncResp->res, "Cable", cableId); in afterHandleCableGet()
205 BMCWEB_LOG_DEBUG("Cable Id: {}", cableId); in handleCableGet()
224 asyncResp->res.jsonValue["Name"] = "Cable Collection"; in handleCableCollectionGet()
225 asyncResp->res.jsonValue["Description"] = "Collection of Cable Entries"; in handleCableCollectionGet()
232 * The Cable schema
243 * Collection of Cable resource instances