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.hpp318 inline resource::State getRedfishSwState(const std::string& swState) in getRedfishSwState() argument
320 if (swState == "xyz.openbmc_project.Software.Activation.Activations.Active") in getRedfishSwState()
324 if (swState == "xyz.openbmc_project.Software.Activation." in getRedfishSwState()
329 if (swState == "xyz.openbmc_project.Software.Activation." in getRedfishSwState()
334 BMCWEB_LOG_DEBUG("Default sw state {} to Disabled", swState); in getRedfishSwState()
347 inline std::string getRedfishSwHealth(const std::string& swState) in getRedfishSwHealth() argument
349 if ((swState == in getRedfishSwHealth()
351 (swState == "xyz.openbmc_project.Software.Activation.Activations." in getRedfishSwHealth()
353 (swState == in getRedfishSwHealth()
358 BMCWEB_LOG_DEBUG("Sw state {} to Warning", swState); in getRedfishSwHealth()