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.hpp100 const std::string* swInvPurpose = nullptr; in afterGetProperties() local
104 swInvPurpose, "Version", version); in afterGetProperties()
117 if (swInvPurpose == nullptr || *swInvPurpose != swVersionPurpose) in afterGetProperties()
125 BMCWEB_LOG_DEBUG("Image purpose: {}", *swInvPurpose); in afterGetProperties()
/openbmc/bmcweb/redfish-core/lib/
H A Dupdate_service.hpp1191 const std::string* swInvPurpose = nullptr; in getSoftwareVersion() local
1196 swInvPurpose, "Version", version); in getSoftwareVersion()
1204 if (swInvPurpose == nullptr) in getSoftwareVersion()
1211 BMCWEB_LOG_DEBUG("swInvPurpose = {}", *swInvPurpose); in getSoftwareVersion()
1227 size_t endDesc = swInvPurpose->rfind('.'); in getSoftwareVersion()
1234 if (endDesc >= swInvPurpose->size()) in getSoftwareVersion()
1240 std::string formatDesc = swInvPurpose->substr(endDesc); in getSoftwareVersion()
1242 getRelatedItems(asyncResp, *swInvPurpose); in getSoftwareVersion()