Lines Matching defs:policy
1136 BMCWEB_LOG_DEBUG("Get Automatic Retry policy");
1198 BMCWEB_LOG_DEBUG("Get Automatic Retry policy");
1296 * @brief Retrieves power restore policy over DBUS.
1306 BMCWEB_LOG_DEBUG("Get power restore policy");
1316 const std::string& policy) {
1323 redfishPowerRestorePolicyFromDbus(policy);
1924 inline std::string dbusPowerRestorePolicyFromRedfish(std::string_view policy)
1926 if (policy == "AlwaysOn")
1930 if (policy == "AlwaysOff")
1934 if (policy == "LastState")
1942 * @brief Sets power restore policy properties.
1946 * @param[in] policy power restore policy properties from request.
1952 const uint64_t computerSystemIndex, std::string_view policy)
1954 BMCWEB_LOG_DEBUG("Set power restore policy.");
1956 std::string powerRestorePolicy = dbusPowerRestorePolicyFromRedfish(policy);
1960 messages::propertyValueNotInList(asyncResp->res, policy,