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.hpp1206 const std::string* swInvPurpose = nullptr; in getSoftwareVersion() local
1211 swInvPurpose, "Version", version); in getSoftwareVersion()
1219 if (swInvPurpose == nullptr) in getSoftwareVersion()
1226 BMCWEB_LOG_DEBUG("swInvPurpose = {}", *swInvPurpose); in getSoftwareVersion()
1242 size_t endDesc = swInvPurpose->rfind('.'); in getSoftwareVersion()
1249 if (endDesc >= swInvPurpose->size()) in getSoftwareVersion()
1255 std::string formatDesc = swInvPurpose->substr(endDesc); in getSoftwareVersion()
1257 getRelatedItems(asyncResp, *swInvPurpose); in getSoftwareVersion()