| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Change-Id: I4557ddab56f4cbea5b177e3b05ef28c367c6e602
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Move mapper bindings back to the phosphor-objmgr project.
Change-Id: I9fd614bb74d7607da08a8ffb118ca41441b7b904
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I64847ffa6a0078ce66c3117a51df0fd6188a0f8c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
This is a straight copy from phosphor-objmgr.
Change-Id: I4792be46b755774af4a29cb1d603253738db3e4a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: If112ed9db5c7fb8935daf2245736e039209d0798
Signed-off-by: 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>
|
|\
| |
| | |
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>
|
|\
| |
| | |
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>
|
|\ \
| | |
| | | |
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.
|
|\ \
| |/
|/| |
Add enum for Freedesktop unknown service error
|
|/ |
|
|\
| |
| | |
Pull
|
| |
| |
| |
| |
| | |
Moving a bunch of code with common utility out of the rest server.
No new functionality provided.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
|
| |
We have openbmc python utilities scattered all over the place. To
facilitate reuse, bring them together in a single python package.
None of this is new code, it was all simply ported and re-arranged
from other projects.
Ran everything through pep8.
|
|
|