Home
last modified time | relevance | path

Searched full:triggeractions (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/telemetry/src/
H A Dtrigger_factory.cpp26 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 Dtrigger_factory.hpp21 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 Dtrigger_manager.cpp31 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 Dtrigger.cpp27 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 Dtrigger.hpp23 const std::vector<TriggerAction>& triggerActions,
56 std::vector<TriggerAction> triggerActions; member in Trigger
H A Dtrigger_manager.hpp45 const std::vector<std::string>& triggerActions,
/openbmc/phosphor-fan-presence/control/json/triggers/
H A Dsignal.hpp54 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 Dsignal.cpp78 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 Dtrigger.hpp589 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 Dtrigger_factory_mock.hpp27 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 Dtrigger_factory.hpp27 const std::vector<std::string>& triggerActions,
44 const std::vector<::TriggerAction>& triggerActions,
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Telemetry/
H A DTriggerManager.interface.yaml23 - name: triggerActions
39 conditions are met. This parameter is ignored if triggerActions
H A DTrigger.interface.yaml14 - name: TriggerActions
27 conditions are met. List is ignored if TriggerActions property does
/openbmc/telemetry/tests/src/params/
H A Dtrigger_params.hpp49 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 DTriggers.v1_4_0.json68 …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 DMetricReportDefinition.v1_4_6.json102 … 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 DTriggers.v1_4_0.json68 …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 DMetricReportDefinition.v1_4_6.json102 … 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 Dmanager.cpp63 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 Dmanager.hpp89 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 Dtest_trigger.cpp88 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 Dtest_trigger_manager.cpp47 params.triggerActions(), in addTrigger()
474 {"TriggerActions", utils::transform(TriggerParams().triggerActions(),
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DTriggers_v1.xml76 …<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 DMetricReportDefinition_v1.xml489 … 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 DTriggers_v1.xml76 …<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`."/>

12