Home
last modified time | relevance | path

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

/openbmc/bmcweb/redfish-core/include/utils/
H A Dsw_utils.hpp329 inline resource::State getRedfishSwState(const std::string& swState) in getRedfishSwState() argument
331 if (swState == "xyz.openbmc_project.Software.Activation.Activations.Active") in getRedfishSwState()
335 if (swState == "xyz.openbmc_project.Software.Activation." in getRedfishSwState()
340 if (swState == "xyz.openbmc_project.Software.Activation." in getRedfishSwState()
345 BMCWEB_LOG_DEBUG("Default sw state {} to Disabled", swState); in getRedfishSwState()
358 inline std::string getRedfishSwHealth(const std::string& swState) in getRedfishSwHealth() argument
360 if ((swState == in getRedfishSwHealth()
362 (swState == "xyz.openbmc_project.Software.Activation.Activations." in getRedfishSwHealth()
364 (swState == in getRedfishSwHealth()
369 BMCWEB_LOG_DEBUG("Sw state {} to Warning", swState); in getRedfishSwHealth()