0127d51c | 28-Jul-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
propertycacher: context manager for file open
Change-Id: Ib75f3f5ccbd35d7e70d9c171c0642077930c4741 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
d637227a | 26-Jul-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
propertycacher: make parent directories
Change-Id: I4557ddab56f4cbea5b177e3b05ef28c367c6e602 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
3cb85e97 | 01-Jul-2016 |
Yi Li <adamliyi@msn.com> |
Add parameter to Emergency signal of SensorThresholds
When sensor value is out of range of threshold, an "Emergency" signal will be emitted. Add a "message" parameter to the signal, to provide detai
Add parameter to Emergency signal of SensorThresholds
When sensor value is out of range of threshold, an "Emergency" signal will be emitted. Add a "message" parameter to the signal, to provide detail information on the cause of "Emergency". This information will be logged in an ESEL.
Partially resolves openbmc/skeleton#64
Change-Id: I501188b36718b8a87582558c349c0316e1092db5 Signed-off-by: Yi Li <adamliyi@msn.com>
show more ...
|
9df74207 | 25-Jul-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove find_dbus_interfaces
Waffling yet again on where this should be located. Move back to the mapper to discourage other applications from introspection and encourage use of the mapper.
Change-
Remove find_dbus_interfaces
Waffling yet again on where this should be located. Move back to the mapper to discourage other applications from introspection and encourage use of the mapper.
Change-Id: I78dc815baeb46d6b2d155d02318fba230d7420d2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
3a6dcc14 | 20-Jul-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove mapper bindings
Move mapper bindings back to the phosphor-objmgr project.
Change-Id: I9fd614bb74d7607da08a8ffb118ca41441b7b904 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
6835b67a | 27-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Allow control of signal generation
Typically ObjectManager signals should remain masked until a service has grabbed a well-known bus name to avoid pointless dbus signal generation.
Change-Id: I2670
Allow control of signal generation
Typically ObjectManager signals should remain masked until a service has grabbed a well-known bus name to avoid pointless dbus signal generation.
Change-Id: I26703ec7a8b946128fe5aa8ed1c830a2e8f23c21 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
1f1d49bf | 28-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Improve short-lived object handling
Its expected that services will appear on the bus and may or may not be around log enough for introspection to take place. Catch those exceptions and continue.
Improve short-lived object handling
Its expected that services will appear on the bus and may or may not be around log enough for introspection to take place. Catch those exceptions and continue.
Change-Id: I77963d5af9d8267d1813bd2197ff287f06f7d2cd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
37ad0948 | 28-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove unnecessary variable
Change-Id: I64847ffa6a0078ce66c3117a51df0fd6188a0f8c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
737ea407 | 28-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove name mangling from find_dbus_interfaces
Double underscore in Python mangles names and sometimes is used as a way to make things private; however, in general this isn't considered best practic
Remove name mangling from find_dbus_interfaces
Double underscore in Python mangles names and sometimes is used as a way to make things private; however, in general this isn't considered best practice and there isn't a compelling reason for it here.
Rather, the convention for denoting a private interface is to use a single leading underscore.
For more information: http://www.artima.com/weblogs/viewpost.jsp?thread=211430
Change-Id: Id42b0dc670dc1f90ed52f38ac98a82ff8214ee47 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
c66de763 | 28-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add find_dbus_interfaces to introspection utils
This is a straight copy from phosphor-objmgr.
Change-Id: I4792be46b755774af4a29cb1d603253738db3e4a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirre
Add find_dbus_interfaces to introspection utils
This is a straight copy from phosphor-objmgr.
Change-Id: I4792be46b755774af4a29cb1d603253738db3e4a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
a5d2a119 | 28-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add alias for org.freedesktop.DBus.Error.NoReply
Change-Id: If112ed9db5c7fb8935daf2245736e039209d0798 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
1cc1e467 | 22-Jun-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #6 from bradbishop/enumerate
Remove org.openbmc.Object.Enumerate interface |
0b30e97d | 21-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove org.openbmc.Object.Enumerate interface
Everyone should be using the freedesktop ObjectManager for this.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
93aed45f | 13-Jun-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #5 from bradbishop/name
Use standard DBUS naming conventions |
51c5539e | 18-May-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Use standard DBUS naming conventions
The existing service/iface/object path names were out-of-spec.
busname: org.openbmc.ObjectMapper iface: org.openbmc.ObjectMapper path: /org/openbmc/ObjectMapper
Use standard DBUS naming conventions
The existing service/iface/object path names were out-of-spec.
busname: org.openbmc.ObjectMapper iface: org.openbmc.ObjectMapper path: /org/openbmc/ObjectMapper
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
a88b3239 | 06-Jun-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #4 from bradbishop/sensors-propertycacher
Move sensors.py and propertycacher.py frm skeleton |
362fb80c | 06-Jun-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #2 from bradbishop/set-multiple-bug
Fix bug injected during skeleton port |
7c826357 | 19-May-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #3 from bradbishop/service-unknown-enum
Add enum for Freedesktop unknown service error |
179b39b5 | 12-May-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Move sensors.py and propertycacher.py frm skeleton
These skeleton module are somewhat general purpose so move them here. This is just a straight copy plus a pep8 run.
Signed-off-by: Brad Bishop <br
Move sensors.py and propertycacher.py frm skeleton
These skeleton module are somewhat general purpose so move them here. This is just a straight copy plus a pep8 run.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
0b885072 | 09-May-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add enum for Freedesktop unknown service error |
d0827b16 | 12-May-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Fix bug injected during skeleton port
This library method originally came from the skeleton project. While running pep8 after porting it I injected a logic bug. |
1b3c05c1 | 29-Apr-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #1 from bradbishop/pull
Pull |
f6c2a94f | 01-Apr-2016 |
Brad Bishop <bradleyb@us.ibm.com> |
Move common code from REST server
Moving a bunch of code with common utility out of the rest server. No new functionality provided. |
e2b65e90 | 01-Apr-2016 |
Brad Bishop <bradleyb@us.ibm.com> |
Added python to dts encoder
This is a rudimentary python to device tree encoder.
It supports nested nodes and, cell, cell array, string, string array, and mixed array properties. At the moment ther
Added python to dts encoder
This is a rudimentary python to device tree encoder.
It supports nested nodes and, cell, cell array, string, string array, and mixed array properties. At the moment there is no support for binary properties.
show more ...
|
4e601a0a | 01-Apr-2016 |
Brad Bishop <bradleyb@us.ibm.com> |
Add dictionary export to PathTree
PathTree is a dictionary extension with paths as keys and lets you do things like iterate on subpaths, etc. Internally it is implemented as a nested dictionary but
Add dictionary export to PathTree
PathTree is a dictionary extension with paths as keys and lets you do things like iterate on subpaths, etc. Internally it is implemented as a nested dictionary but on the outside it acts like a normal dictionary.
This change enables exporting a PathTree structure as a nested dictionary, which is useful for python_2_xyz encoders that understand nested data structures.
show more ...
|