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.hpp212 const std::string* swInvPurpose = nullptr; in populateSoftwareInformation() local
217 propertiesList, "Purpose", swInvPurpose, in populateSoftwareInformation()
231 if (swInvPurpose == nullptr || in populateSoftwareInformation()
232 *swInvPurpose != swVersionPurpose) in populateSoftwareInformation()
242 *swInvPurpose); in populateSoftwareInformation()
/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()