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.hpp300 inline resource::State getRedfishSwState(const std::string& swState) in getRedfishSwState() argument
302 if (swState == "xyz.openbmc_project.Software.Activation.Activations.Active") in getRedfishSwState()
306 if (swState == "xyz.openbmc_project.Software.Activation." in getRedfishSwState()
311 if (swState == "xyz.openbmc_project.Software.Activation." in getRedfishSwState()
316 BMCWEB_LOG_DEBUG("Default sw state {} to Disabled", swState); in getRedfishSwState()
329 inline std::string getRedfishSwHealth(const std::string& swState) in getRedfishSwHealth() argument
331 if ((swState == in getRedfishSwHealth()
333 (swState == "xyz.openbmc_project.Software.Activation.Activations." in getRedfishSwHealth()
335 (swState == in getRedfishSwHealth()
340 BMCWEB_LOG_DEBUG("Sw state {} to Warning", swState); in getRedfishSwHealth()