/openbmc/telemetry/src/ |
H A D | trigger_factory.cpp | 26 const std::vector<TriggerAction>& triggerActions, in updateDiscreteThresholds() argument 62 makeDiscreteThreshold(newThresholds, triggerId, triggerActions, in updateDiscreteThresholds() 70 makeDiscreteThreshold(newThresholds, triggerId, triggerActions, in updateDiscreteThresholds() 82 makeOnChangeThreshold(newThresholds, triggerId, triggerActions, in updateDiscreteThresholds() 92 const std::vector<TriggerAction>& triggerActions, in updateNumericThresholds() argument 118 makeNumericThreshold(newThresholds, triggerId, triggerActions, in updateNumericThresholds() 127 const std::vector<TriggerAction>& triggerActions, in updateThresholds() argument 137 updateDiscreteThresholds(currentThresholds, triggerId, triggerActions, in updateThresholds() 146 updateNumericThresholds(currentThresholds, triggerId, triggerActions, in updateThresholds() 155 const std::vector<TriggerAction>& triggerActions, in makeDiscreteThreshold() argument [all …]
|
H A D | trigger_factory.hpp | 21 const std::vector<std::string>& triggerActions, 38 const std::vector<TriggerAction>& triggerActions, 62 const std::vector<TriggerAction>& triggerActions, 70 const std::vector<TriggerAction>& triggerActions, 78 const std::vector<TriggerAction>& triggerActions, 86 const std::vector<TriggerAction>& triggerActions, 94 const std::vector<TriggerAction>& triggerActions,
|
H A D | trigger_manager.cpp | 31 const std::vector<std::string>& triggerActions, in TriggerManager() 57 return addTrigger(id, name, triggerActions, labeledSensorsInfo, in TriggerManager() 123 const std::vector<std::string>& triggerActions, in addTrigger() argument 137 id, name, triggerActions, reportIds, *this, *triggerStorage, in addTrigger() 166 const std::vector<std::string> triggerActions = in loadFromPersistent() local 167 data->at("TriggerActions").get<std::vector<std::string>>(); in loadFromPersistent() 189 addTrigger(id, name, triggerActions, labeledSensorsInfo, reportIds, in loadFromPersistent()
|
H A D | trigger.cpp | 27 name(nameIn), triggerActions(std::move(triggerActionsIn)), in Trigger() 78 triggerFactory.updateThresholds(thresholds, *id, triggerActions, in __anon5e4599b80402() 96 triggerFactory.updateThresholds(thresholds, *id, triggerActions, in __anon5e4599b80402() 124 triggerFactory.updateThresholds(thresholds, *id, triggerActions, in __anon5e4599b80402() 195 "TriggerActions", std::vector<std::string>(), in __anon5e4599b80402() 197 return utils::transform(triggerActions, [](const auto& action) { in __anon5e4599b80402() 234 data["TriggerActions"] = utils::transform( in storeConfiguration() 235 triggerActions, in storeConfiguration()
|
H A D | trigger.hpp | 23 const std::vector<TriggerAction>& triggerActions, 56 std::vector<TriggerAction> triggerActions; member in Trigger
|
H A D | trigger_manager.hpp | 45 const std::vector<std::string>& triggerActions,
|
/openbmc/phosphor-fan-presence/control/json/triggers/ |
H A D | signal.hpp | 54 TriggerActions& actions, const json&); 63 void interfacesAdded(Manager* mgr, const Group& group, TriggerActions& actions, 74 TriggerActions& actions, const json&); 83 void nameOwnerChanged(Manager* mgr, const Group& group, TriggerActions& actions, 93 void member(Manager* mgr, const Group& group, TriggerActions& actions, 98 std::function<void(Manager*, const Group&, TriggerActions&, const json&)>;
|
H A D | signal.cpp | 78 auto& pkgActions = std::get<TriggerActions>(signalPkg); in subscribe() 79 auto& actions = std::get<TriggerActions>(pkg); in subscribe() 95 TriggerActions& actions, const json&) in propertiesChanged() 119 void interfacesAdded(Manager* mgr, const Group& group, TriggerActions& actions, in interfacesAdded() 144 TriggerActions& actions, const json&) in interfacesRemoved() 167 void nameOwnerChanged(Manager* mgr, const Group& group, TriggerActions& actions, in nameOwnerChanged() 216 void member(Manager* mgr, const Group& group, TriggerActions& actions, in member() 269 TriggerActions signalActions; in triggerSignal()
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | trigger.hpp | 589 std::optional<std::vector<std::string>> triggerActions; in parsePostTriggerParams() local 608 "TriggerActions", triggerActions // in parsePostTriggerParams() 638 if (triggerActions) in parsePostTriggerParams() 640 ctx.actions.reserve(triggerActions->size()); in parsePostTriggerParams() 641 for (const std::string& action : *triggerActions) in parsePostTriggerParams() 647 messages::propertyValueNotInList(res, action, "TriggerActions"); in parsePostTriggerParams() 714 nlohmann::json::array_t triggerActions; in getTriggerActions() local 725 triggerActions.emplace_back(redfishAction); in getTriggerActions() 728 return triggerActions; in getTriggerActions() 825 const std::vector<std::string>* triggerActions = nullptr; in fillTrigger() local [all …]
|
/openbmc/telemetry/tests/src/mocks/ |
H A D | trigger_factory_mock.hpp | 27 const std::vector<std::string>& triggerActions, 46 const std::vector<TriggerAction>& triggerActions, 76 utils::transform(params.triggerActions(), in expectMake()
|
/openbmc/telemetry/src/interfaces/ |
H A D | trigger_factory.hpp | 27 const std::vector<std::string>& triggerActions, 44 const std::vector<::TriggerAction>& triggerActions,
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/ |
H A D | TriggerManager.interface.yaml | 23 - name: triggerActions 39 conditions are met. This parameter is ignored if triggerActions
|
H A D | Trigger.interface.yaml | 14 - name: TriggerActions 27 conditions are met. List is ignored if TriggerActions property does
|
/openbmc/telemetry/tests/src/params/ |
H A D | trigger_params.hpp | 49 TriggerParams& triggerActions(const std::vector<TriggerAction>& val) in triggerActions() function in TriggerParams 55 const std::vector<TriggerAction>& triggerActions() const in triggerActions() function in TriggerParams
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Triggers.v1_4_0.json | 68 …contain the amount of time that a trigger event persists before the `TriggerActions` are performed… 143 …ate new metric reports when a trigger condition is met and when the `TriggerActions` property cont… 147 …ate new metric reports when a trigger condition is met and when the `TriggerActions` property cont… 541 …n used to generate a Redfish event or a log entry as requested by the values of `TriggerActions`.", 545 "TriggerActions": { object 556 …abled. If `false`, it is disabled and none of the actions listed in `TriggerActions` will occur.",
|
H A D | MetricReportDefinition.v1_4_6.json | 102 … to generate a new metric report upon a trigger occurrence when the `TriggerActions` property cont… 106 … to generate a new metric report upon a trigger occurrence when the `TriggerActions` property cont…
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Triggers.v1_4_0.json | 68 …contain the amount of time that a trigger event persists before the `TriggerActions` are performed… 143 …ate new metric reports when a trigger condition is met and when the `TriggerActions` property cont… 147 …ate new metric reports when a trigger condition is met and when the `TriggerActions` property cont… 541 …n used to generate a Redfish event or a log entry as requested by the values of `TriggerActions`.", 545 "TriggerActions": { object 556 …abled. If `false`, it is disabled and none of the actions listed in `TriggerActions` will occur.",
|
H A D | MetricReportDefinition.v1_4_6.json | 102 … to generate a new metric report upon a trigger occurrence when the `TriggerActions` property cont… 106 … to generate a new metric report upon a trigger occurrence when the `TriggerActions` property cont…
|
/openbmc/phosphor-fan-presence/control/json/ |
H A D | manager.cpp | 63 std::unordered_map<std::string, TriggerActions> Manager::_parameterTriggers; 784 auto& actions = std::get<TriggerActions>(pkg); in handleSignal() 843 TriggerActions triggerActions; in addParameterTrigger() local 845 [&triggerActions](auto& action) { in addParameterTrigger() 846 triggerActions.emplace_back(std::ref(action)); in addParameterTrigger() 848 _parameterTriggers[name] = std::move(triggerActions); in addParameterTrigger()
|
H A D | manager.hpp | 89 using TriggerActions = typedef 102 * TriggerActions = List of actions that are run when the signal is received 104 using SignalPkg = std::tuple<SignalHandler, SignalObject, TriggerActions>; 650 static std::unordered_map<std::string, TriggerActions> _parameterTriggers;
|
/openbmc/telemetry/tests/src/ |
H A D | test_trigger.cpp | 88 std::move(id), params.name(), params.triggerActions(), in makeTrigger() 156 getProperty<std::vector<std::string>>(sut->getPath(), "TriggerActions"), in TEST_F() 158 triggerParams.triggerActions(), in TEST_F() 519 ASSERT_THAT(storedConfiguration.at("TriggerActions"), in TEST_F() 520 Eq(utils::transform(triggerParams.triggerActions(), in TEST_F()
|
H A D | test_trigger_manager.cpp | 47 params.triggerActions(), in addTrigger() 474 {"TriggerActions", utils::transform(TriggerParams().triggerActions(),
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Triggers_v1.xml | 76 …<Property Name="TriggerActions" Type="Collection(Triggers.v1_0_0.TriggerActionEnum)" Nullable="fal… 277 …contain the amount of time that a trigger event persists before the `TriggerActions` are performed… 379 …ate new metric reports when a trigger condition is met and when the `TriggerActions` property cont… 380 …ate new metric reports when a trigger condition is met and when the `TriggerActions` property cont… 504 …bled. If `false`, it is disabled and none of the actions listed in `TriggerActions` will occur."/> 509 … used to generate a Redfish event or a log entry as requested by the values of `TriggerActions`."/>
|
H A D | MetricReportDefinition_v1.xml | 489 … to generate a new metric report upon a trigger occurrence when the `TriggerActions` property cont… 490 … to generate a new metric report upon a trigger occurrence when the `TriggerActions` property cont…
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Triggers_v1.xml | 76 …<Property Name="TriggerActions" Type="Collection(Triggers.v1_0_0.TriggerActionEnum)" Nullable="fal… 277 …contain the amount of time that a trigger event persists before the `TriggerActions` are performed… 379 …ate new metric reports when a trigger condition is met and when the `TriggerActions` property cont… 380 …ate new metric reports when a trigger condition is met and when the `TriggerActions` property cont… 504 …bled. If `false`, it is disabled and none of the actions listed in `TriggerActions` will occur."/> 509 … used to generate a Redfish event or a log entry as requested by the values of `TriggerActions`."/>
|