summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* parser: Add more skeleton boilerplateBrad Bishop2017-05-152-17/+94
| | | | | | | | | | | Add a basic load/render skeleton. Add docstrings. Add multiple file parsing. Steal indent utility from phosphor-inventory-manager. Scan YAML for syntax and discard. Change-Id: I48e5a3923dc1fadceae6241dd6f757388a2f1c51 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Rename YAML parserBrad Bishop2017-05-152-1/+1
| | | | | | | Rename to pdmgen.py in the spirit of phosphor-inventory-manager. Change-Id: Iaa0a2dadb8c051342e62c9126e5c7b7bef2fcdde Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Base monitoring generation scriptMatthew Barth2017-05-154-0/+67
| | | | | | | | | | | Monitoring source generation script with mako template to generate an empty set of events. The events will be parsed and added under openbmc/openbmc#1493 Resolves openbmc/openbmc#1343 Change-Id: I40225f070212af36f410d99bc7ead95961e70997 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Documentation only, no functional changeMatthew Barth2017-05-159-3/+193
| | | | | | | Added copyrights and comments within headers Change-Id: Iebb17ba34b82a6c80718ad32338105a5245e640c Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Build dbus monitor using generated sourceMatthew Barth2017-05-152-7/+3
| | | | | | | | Have dbus monitoring application build under phosphor-hwmon and use the generated events source Change-Id: Ic3f74192a3c65a79c4bc2657d42f196c15840cff Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add support for processing signal event triggersMatthew Barth2017-05-153-0/+109
| | | | | | | | | | | | Process signal event triggers' list of conditions on a group and perform the defined actions. This re-uses the following struct directly from phosphor-inventory-manager: --struct PropertyChangedCondition Change-Id: I98552f3d168cfcd9f0c1c357289b7000374ae60e Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add support for processing start event triggersMatthew Barth2017-05-154-0/+233
| | | | | | | | | | | | | Process application start event triggers' list of conditions on a group and perform the defined actions. This re-uses the following structs(and their necessary functions) directly from phosphor-inventory-manager: --struct PropertyConditionBase --struct PropertyCondition Change-Id: If4090299fe887ef940320091d4d4be9f6aa7dd29 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Create phosphor-dbus-monitor applicationMatthew Barth2017-05-078-0/+154
| | | | | | | Application is created allowing for a log_error action to be performed Change-Id: I6890fff7ace708e80c79607beceedc926c05ec3d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add item group monitoring data type frameworkMatthew Barth2017-05-075-0/+211
| | | | | | | | | | | Include supported data types for item groups: --Start event trigger --Signal event trigger --A countAtOrAbove condition --A log_error action Change-Id: I1ae5ba60e4d9c06155885d52d98a44b31fd73207 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Dbus monitor YAML and generated fileMatthew Barth2017-05-072-0/+239
| | | | | | | | | Example YAML framework and the future resulting generated source from what's defined in the YAML file for groups, triggers, conditions, and actions in an event. Change-Id: I390cb2bb26a1f43d84d9a71c923fa88e63f00fac Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add gitignoreBrad Bishop2017-05-071-0/+25
| | | | | Change-Id: I914baaca789fd975a9ed08d94471134ea1b01bd4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Initial commitPatrick Williams2017-04-261-0/+201
OpenPOWER on IntegriCloud