Home
last modified time | relevance | path

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

/openbmc/bmcweb/redfish-core/include/utils/
H A Dtelemetry_utils.hpp148 inline std::string toDbusCollectionFunction(std::string_view redfishValue) in toDbusCollectionFunction() argument
150 if (redfishValue == "Maximum") in toDbusCollectionFunction()
154 if (redfishValue == "Minimum") in toDbusCollectionFunction()
158 if (redfishValue == "Average") in toDbusCollectionFunction()
162 if (redfishValue == "Summation") in toDbusCollectionFunction()
177 metric_report_definition::CalculationAlgorithmEnum redfishValue = in toRedfishCollectionFunctions() local
180 if (redfishValue == in toRedfishCollectionFunctions()
186 redfishEnums.emplace_back(redfishValue); in toRedfishCollectionFunctions()
/openbmc/bmcweb/redfish-core/lib/
H A Dtrigger.hpp84 inline std::string toDbusTriggerAction(std::string_view redfishValue) in toDbusTriggerAction() argument
86 if (redfishValue == "RedfishMetricReport") in toDbusTriggerAction()
90 if (redfishValue == "RedfishEvent") in toDbusTriggerAction()
97 inline std::string toDbusSeverity(std::string_view redfishValue) in toDbusSeverity() argument
99 if (redfishValue == "OK") in toDbusSeverity()
103 if (redfishValue == "Warning") in toDbusSeverity()
107 if (redfishValue == "Critical") in toDbusSeverity()
156 inline std::string toDbusActivation(std::string_view redfishValue) in toDbusActivation() argument
158 if (redfishValue == "Either") in toDbusActivation()
163 if (redfishValue == "Decreasing") in toDbusActivation()
[all …]
H A Dmetric_report_definition.hpp116 inline std::string toDbusReportAction(std::string_view redfishValue) in toDbusReportAction() argument
118 if (redfishValue == "RedfishEvent") in toDbusReportAction()
122 if (redfishValue == "LogToMetricReportsCollection") in toDbusReportAction()
150 inline std::string toDbusReportingType(std::string_view redfishValue) in toDbusReportingType() argument
152 if (redfishValue == "OnChange") in toDbusReportingType()
156 if (redfishValue == "OnRequest") in toDbusReportingType()
160 if (redfishValue == "Periodic") in toDbusReportingType()
188 inline std::string toDbusCollectionTimeScope(std::string_view redfishValue) in toDbusCollectionTimeScope() argument
190 if (redfishValue == "Point") in toDbusCollectionTimeScope()
194 if (redfishValue == "Interval") in toDbusCollectionTimeScope()
[all …]