| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Obtain the information encoded in this file via scanning
the filesystem for interface files.
Add an interfaces-dir option to specify the filesystem path to scan.
Change-Id: I7f5220b515a012d6c6e504f54e4fcb324e6f1f87
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>wip
|
|
|
|
|
|
|
|
|
| |
Add support to setProperty and destroyObject to conditionally
perform their action based on the result of a condition testing
functor.
Change-Id: I67ded31f4a7ee0f7a29bb6edc06ebf9249cdc070
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
| |
Allow multiple objects when using the setProperty action.
Change-Id: Ie65b9abee6240d6a6541b9778d4bf776010f865d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
These were all labeled: Example Match - improve the
description slightly.
Change-Id: I1ec78c6512fb66423193b5ce0f42b0fc41cdcc45
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Allow clients to specify filters and actions that trigger
on application startup.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Ib36c5bab778d7c87906dd3f61a3a6e033c7ccde1
|
|
|
|
|
| |
Change-Id: I999a5e506a236eac8ca0944b0e2b003c57612e54
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The existing property match filter tests a property
in the PropertiesChanged signal payload.
Add a match filter that tests any arbitrary property on
any object.
Change-Id: I1c238c03a3ccbf45f7b338693a4342fbd4f670c2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
| |
Prior to this change this template will not build with types
other than strings.
Add an example that tests this.
Change-Id: I71e5c4136e7e4fd52fea3e8e027e42634011d630
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
Put the trigger object in its own thread rather than
the inventory manager thread. This allows the thread
under test to make calls to it.
Change-Id: I181d2d46a10e4193653df61205ac3380a1d4db2e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Enhance the destroyObject action to take an array
rather than a single path.
Change-Id: Ic1de7274afc253042b590c71ca200618a6ff54d2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A substantial structural update to pimgen.
The existing template and supporting code is difficult
to enhance. Given that the code being generated by
pimgen is primarily a large map, with map elements being
initialized by simple types, initializers lists or the result
of method calls - structure pimgen types in a way that track
these givens.
yaml: Simplify the yaml structures.
MethodCall: become an argument.
Mako: Simplify main template.
Use new convenience types.
Use new decorator types.
Remove unused function throughout.
Change-Id: I1c3c16776ef8d5d7e005142999817e0371f9ce89
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Ifade8963ebc8d18dbdca46ece16800cf8ea8a6ad
|
|
|
|
|
|
|
| |
Add code generation support for setProperty actions.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Id367f6da075035824c8f2ae6302505ef625a629a
|
|
|
|
|
|
|
|
|
|
| |
Validate that:
-Dbus signal callbacks are established.
-The propertyChangedTo filter works correctly.
-The destroyObject action works correctly.
Change-Id: I0981fed76aa26ff275a401ae81fd230833dfc4cc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Almost complete rewrite of pimgen and the mako template.
Adopt the sdbus++ application structure. The hope is that
this will encourage additional sdbusplus features deemed
general purpose enough for reuse with other applications.
Change-Id: I007ff9f5fc9a64f0465159bd1301475ada139d55
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Update example interfaces to use non language specific type specifiers.
React to namespace shuffling in sdbusplus 7aa8a1e2e.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Ib0688056d6fcfbe298d8a24ae9df604cd05fa620
|
|
|
|
|
|
|
|
|
| |
Allow more than one interface file and put declared interface yaml
files in interfaces.d, to draw attention to the intent is for
packages to install their interface requirements there.
Change-Id: Iab0d85eca7c5c3370978dc692d6ab8807108a2f7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
| |
Draw attention to the intent is that other packages install
files here. Additionally these are 'extra' in that they
are above and beyond the standard OpenBMC interfaces that will
eventually be provided by a shared library.
Change-Id: I8e50d39a1004ff24b1ea7de63e6534447c05a9d3
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Draw attention to the intent is that other packages install
files here.
Change-Id: I0a6fbe86a16f39f4bb71a0bea367ec3508b14369
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I69ab3de21da08e320bccd122d1f194691784e7fd
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Add example interfaces for testing.
Add a script that generates sdbusplus bindings for example interfaces.
Change-Id: I683ce9dca74d827d226833ed8a56f87243914e04
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: I072cd37217f982fa45d6fae7f1ebebdabe1a7800
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|