e73b2c35 | 23-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add property and property group support
Add support for defining groups of DBus properties. Groups are a list of property/interface/metadata tuples. Metadata can be used to give a property context
Add property and property group support
Add support for defining groups of DBus properties. Groups are a list of property/interface/metadata tuples. Metadata can be used to give a property context when required.
Change-Id: I5fc27f4d815b53332a2ddea2d270fde8e355dcbc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
b604480a | 07-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add testcases for path and path group support
Change-Id: I296de0e0cb30e0e25f6677a06bd04fe15c2fd015 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
0e7df131 | 23-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add path and path group support
Add support for defining groups of object paths. Groups are a list of path/metadata tuples. Metadata can be used to give a path context when required.
Change-Id: I
Add path and path group support
Add support for defining groups of object paths. Groups are a list of path/metadata tuples. Metadata can be used to give a path context when required.
Change-Id: I355ebf76b40f2ffc8d783e94e888b930cde8ee9c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
05b0c1ee | 22-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
pdmgen: Add core parsing logic
Add logic to parse each yaml file in three stages. 1 - Invoke factory methods for config file directives, generating more factory methods. 2 - Invoke factory
pdmgen: Add core parsing logic
Add logic to parse each yaml file in three stages. 1 - Invoke factory methods for config file directives, generating more factory methods. 2 - Invoke factory methods from 1 for the full set of renderable items. 3 - Run 'setup' on all renderable items to resolve item cross references.
Change-Id: I428a9ae1c41cf65e1efc05f3ec7177375822d772 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
186aa674 | 15-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add C++ type aliases
Add convenience type aliases for working with references: RefKeyMap: A map with references as keys. TupleRefMap: A map with a tuple of references as keys. RefVector: A vec
Add C++ type aliases
Add convenience type aliases for working with references: RefKeyMap: A map with references as keys. TupleRefMap: A map with a tuple of references as keys. RefVector: A vector or references. TupleOfRefs: A tuple of references.
Add DBus related convenience type aliases: MapperPath: The Phosphor mapper currently uses a std::string for object paths. This is a bug and will someday be switched to sdbusplus::message::object_path. Add an alias for easy refactoring. InterfacesAdded: The C++ type for the org.freedesktop.DBus.ObjectManager.InterfacesAdded signal argument. PropertiesChanged: The C++ type for the org.freedesktop.DBus.Properties.PropertiesChanged signal argument. GetObject: The C++ type for the xyz.openbmc_project.ObjectMapper.GetMethod method response.
Change-Id: I719aa7c610b3312ce8e52825cb07b33a348bf896 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
83c4349e | 22-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
build: Add a test directory
Add a test directory to host future unit tests.
Change-Id: I5072cb3055386f7b1718edc45241c723d9e63a54 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
870c3fc6 | 22-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
build: General build refactoring
Add vars.mk for variable sharing across makefiles. Stub and rename example YAML file and template. Content to be re-introduced as support is added. Move generated
build: General build refactoring
Add vars.mk for variable sharing across makefiles. Stub and rename example YAML file and template. Content to be re-introduced as support is added. Move generated C++ to a header file. Add input YAML path option to configure.
Change-Id: Ia06e392e8b120b1e1d8614046064fa432a6f9e18 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
e3a01af4 | 15-May-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
pdmgen: Update script options
Add an option for specifying an alternate template for testcases. Update the output option to include the desired output filename as well as the directory. Add an opt
pdmgen: Update script options
Add an option for specifying an alternate template for testcases. Update the output option to include the desired output filename as well as the directory. Add an option for specifying the mako template search path.
Change-Id: I88634fee193409b25988eb1e7d7680aa866cc2e9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
34a7acdf | 27-Apr-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
parser: Add more skeleton boilerplate
Add a basic load/render skeleton. Add docstrings. Add multiple file parsing. Steal indent utility from phosphor-inventory-manager. Scan YAML for syntax and dis
parser: Add more skeleton boilerplate
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>
show more ...
|
0019197f | 27-Apr-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Rename YAML parser
Rename to pdmgen.py in the spirit of phosphor-inventory-manager.
Change-Id: Iaa0a2dadb8c051342e62c9126e5c7b7bef2fcdde Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
db440d4c | 17-Apr-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Base monitoring generation script
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
Base monitoring generation script
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>
show more ...
|
c5736432 | 17-Apr-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Documentation only, no functional change
Added copyrights and comments within headers
Change-Id: Iebb17ba34b82a6c80718ad32338105a5245e640c Signed-off-by: Matthew Barth <msbarth@us.ibm.com> |
b0b82be8 | 12-Apr-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Build dbus monitor using generated source
Have dbus monitoring application build under phosphor-hwmon and use the generated events source
Change-Id: Ic3f74192a3c65a79c4bc2657d42f196c15840cff Signed
Build dbus monitor using generated source
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>
show more ...
|
240bf332 | 12-Apr-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Add support for processing signal event triggers
Process signal event triggers' list of conditions on a group and perform the defined actions.
This re-uses the following struct directly from phosph
Add support for processing signal event triggers
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>
show more ...
|
e6af2331 | 12-Apr-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Add support for processing start event triggers
Process application start event triggers' list of conditions on a group and perform the defined actions.
This re-uses the following structs(and their
Add support for processing start event triggers
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>
show more ...
|
1febc28a | 12-Apr-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Create phosphor-dbus-monitor application
Application is created allowing for a log_error action to be performed
Change-Id: I6890fff7ace708e80c79607beceedc926c05ec3d Signed-off-by: Matthew Barth <ms
Create phosphor-dbus-monitor application
Application is created allowing for a log_error action to be performed
Change-Id: I6890fff7ace708e80c79607beceedc926c05ec3d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
b86374d9 | 12-Apr-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Add item group monitoring data type framework
Include supported data types for item groups: --Start event trigger --Signal event trigger --A countAtOrAbove condition --A log_error action
Change-Id:
Add item group monitoring data type framework
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>
show more ...
|
d106605c | 12-Apr-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Dbus monitor YAML and generated file
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.
Dbus monitor YAML and generated file
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>
show more ...
|
53a829bc | 26-Apr-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add gitignore
Change-Id: I914baaca789fd975a9ed08d94471134ea1b01bd4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
12751be8 | 26-Apr-2017 |
Patrick Williams <patrick@stwcx.xyz> |
Initial commit |