Home
last modified time | relevance | path

Searched refs:swInvPurpose (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/redfish-core/include/utils/
H A Dsw_utils.hpp111 const std::string* swInvPurpose = nullptr; in afterGetProperties() local
115 swInvPurpose, "Version", version); in afterGetProperties()
128 if (swInvPurpose == nullptr || *swInvPurpose != swVersionPurpose) in afterGetProperties()
136 BMCWEB_LOG_DEBUG("Image purpose: {}", *swInvPurpose); in afterGetProperties()
/openbmc/bmcweb/redfish-core/lib/
H A Dupdate_service.hpp1201 const std::string* swInvPurpose = nullptr; in getSoftwareVersion() local
1206 swInvPurpose, "Version", version); in getSoftwareVersion()
1214 if (swInvPurpose == nullptr) in getSoftwareVersion()
1221 BMCWEB_LOG_DEBUG("swInvPurpose = {}", *swInvPurpose); in getSoftwareVersion()
1237 size_t endDesc = swInvPurpose->rfind('.'); in getSoftwareVersion()
1244 if (endDesc >= swInvPurpose->size()) in getSoftwareVersion()
1250 std::string formatDesc = swInvPurpose->substr(endDesc); in getSoftwareVersion()
1252 getRelatedItems(asyncResp, *swInvPurpose); in getSoftwareVersion()