History log of /openbmc/phosphor-objmgr/ (Results 251 – 275 of 311)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d0b8e39519-Sep-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

server: examine all services

Remove the name_match and instrospect all services on the DBus.
This is required as there are no restrictions on the names claimed
by services that put objects in the /o

server: examine all services

Remove the name_match and instrospect all services on the DBus.
This is required as there are no restrictions on the names claimed
by services that put objects in the /org/openbmc namespace.

Change-Id: I38646addddde0de0ca4ec4605468f7c9c551bbd8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

6a0320b219-Sep-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

server: add subtree match keyword argument

Ensure only objects in the /org/openbmc namespace are
added to the mapper cache.

Change-Id: I3d6106f77bf8f49eb20719942e76620f0ee6648d

bd8aa05819-Sep-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

server: change optional argument to a keyword

Change-Id: I5b6b6a0d80eca208362e623506b49d8920cebd5f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

fba8ea3120-Sep-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Use a standard DBus error for not found

Change-Id: I93c086c872aa7ff7d59af366b93fd7948fe8d1bf
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

70dd595f08-Sep-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

server: use super for ObjectManager construction

Change-Id: Ia4f99301a344bff29de8a64c0795bc5f8bdbb7ff
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

329472a208-Sep-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

server: use lambda functions with _invoke_method

Use lambda functions with _invoke_method to avoid method name lookup
and enable additional state.

Change-Id: If0b702c4d890d0173883f7b144c2ca8dc9d590

server: use lambda functions with _invoke_method

Use lambda functions with _invoke_method to avoid method name lookup
and enable additional state.

Change-Id: If0b702c4d890d0173883f7b144c2ca8dc9d590ee
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Resolves: openbmc/phosphor-objmgr#14

show more ...

bce0583208-Sep-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

server: Remove interpreter from server module

Remove /usr/bin/python as this is not a runnable script.

Change-Id: I82d4233c516af45347898ad2c4dbd5f2c93c1906
Signed-off-by: Brad Bishop <bradleyb@fuzz

server: Remove interpreter from server module

Remove /usr/bin/python as this is not a runnable script.

Change-Id: I82d4233c516af45347898ad2c4dbd5f2c93c1906
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

a6797f8330-Aug-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Remove a handful of unused variables

Change-Id: Ia580acf32bf6aa7fe205bf67b283926d3cffb0cf
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

f2b894ef18-Aug-2016 Matthew Barth <msbarth@us.ibm.com>

Ensure all tools are building with -Wall and -Werror

Added -Wall to ALL_CFLAGS

Change-Id: I0d85c7f333b5e56f144f4a605ea639668fdc5710
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

2afe718f13-Aug-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

mapper-cli: rewrite with sdbus

There are too many instances of the wait/call applications
spawned during BMC startup. Re-write using sdbus.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

mapper-cli: rewrite with sdbus

There are too many instances of the wait/call applications
spawned during BMC startup. Re-write using sdbus.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Ia6fb3b74cb70f93cfd5cc57c1a8b7a9aa2d944c4

show more ...

22ff24a625-Jul-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Mapper ObjectManager instance bug fix

The mapper adds its freedesktop object manager instance so that
other applications can find association objects.

Fix a problem with how this is populated.

Cha

Mapper ObjectManager instance bug fix

The mapper adds its freedesktop object manager instance so that
other applications can find association objects.

Fix a problem with how this is populated.

Change-Id: I368553e8930e95227ff8742a19da06814d81df67
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

ceb4436425-Jul-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add mapper CLI utility

A busctl like CLI that removes the foreknowledge requirement of a
service name by leveraging the object mapper.

Initial applets are call and wait:
call: Invoke a method
wai

Add mapper CLI utility

A busctl like CLI that removes the foreknowledge requirement of a
service name by leveraging the object mapper.

Initial applets are call and wait:
call: Invoke a method
wait: Wait for a list of objects to appear on the bus

Change-Id: Ic52f09a634949efe8d5c78e51ba965f2e7150018
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

c656a86225-Jul-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add utils module

The first utility is a class that uses the mapper to wait for a
list of dbus objects to appear on the bus.

The wait utility is non-blocking; a callback must be provided.

Change-Id

Add utils module

The first utility is a class that uses the mapper to wait for a
list of dbus objects to appear on the bus.

The wait utility is non-blocking; a callback must be provided.

Change-Id: I12813b32df90090507c461f03d8c54bb71a7c332
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

63f59a7825-Jul-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Move mapper content to server.py module

This is the idiomatic python way.

Change-Id: I1f873669494995d87b6565db87f5b2bdaf69fe38
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

5fd9c47b25-Jul-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Promote obmc.mapper to python package

Enable additional modules in the mapper package namespace.

Change-Id: If2b38eef13b194a6087bb80947884f94bb2a5881
Signed-off-by: Brad Bishop <bradleyb@fuzziesqui

Promote obmc.mapper to python package

Enable additional modules in the mapper package namespace.

Change-Id: If2b38eef13b194a6087bb80947884f94bb2a5881
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

ea2bc0c025-Jul-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Move mapper bindings back

Initially these were here. Then they moved to the pyphosphor project.
Move them back here - it makes more sense for the bindings to be
associated with the project that pro

Move mapper bindings back

Initially these were here. Then they moved to the pyphosphor project.
Move them back here - it makes more sense for the bindings to be
associated with the project that provides the application.

Change-Id: Ib6ef0554d049dce85f8bd3c72d33533087126280
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

62ece2b425-Jul-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Introducing libmapper

libmapper is a convenience library for sdbus applications
that interact with the phosphor object manager.

Change-Id: I5a638e0a313d575591055214cb3ac5701b730ae5
Signed-off-by: B

Introducing libmapper

libmapper is a convenience library for sdbus applications
that interact with the phosphor object manager.

Change-Id: I5a638e0a313d575591055214cb3ac5701b730ae5
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

ed15212f25-Jul-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: I0a8b42dd8e648f648a16ff7eb05f7559f8962422
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

f89c64a025-Jul-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Pemove unnecessary variable

Change-Id: If036d653c54c2225bc2f14198b3b08b1f2aca109
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

b61ab7fc25-Jul-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: Ie0dab2118c4d9ad97f47ef83a5b68ad82e5f9dd2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

067db72824-Jun-2016 Patrick Williams <patrick@stwcx.xyz>

Merge pull request #13 from bradbishop/perf

More performance improvements

59800b8324-Jun-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

More performance fixes

Sort introspected children nodes to improve the chance of finding
ObjectManagers sooner rather than later (systemd does a recursive
listing of child nodes).

Remove unnecessar

More performance fixes

Sort introspected children nodes to improve the chance of finding
ObjectManagers sooner rather than later (systemd does a recursive
listing of child nodes).

Remove unnecessary dbus calls when processing interfaces for
associations. The existing code assumes that only object interfaces
are available to it but the new discovery mechanism uses
GetManagedObjects which includes the object properties.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

62a50da024-Jun-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Pep8 fixes

A few of these slipped by.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

0bdc22a206-Jun-2016 Patrick Williams <patrick@stwcx.xyz>

Merge pull request #12 from bradbishop/perf

Performance improvements

5693437a05-Jun-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Performance improvements

Prior to this patch, an excessive ( more than zero ) number of dbus
calls were made to determine if a signal was something we care about.
This patch adds a well-known to uni

Performance improvements

Prior to this patch, an excessive ( more than zero ) number of dbus
calls were made to determine if a signal was something we care about.
This patch adds a well-known to unique connection name translation cache
eliminating all outgoing dbus calls.

Also removed the abstraction layer that obscured this as it isn't used.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

1...<<111213