History log of /external/autotest/client/common_lib/cros/tendo/peerd_config.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9350c4efd2c6a97c92b064d4d5cc4a73f8919bd0 10-Mar-2015 Christopher Wiley <wiley@chromium.org> leaderd: Add NFacedPeerd

This fake version of peerd claims the same DBus service name, and
more or less implements the same interfaces. However, instead of
looking for remote peers, it just treats each process exposing a
service as a separate peer (it has N faces, one for each process
talking to NFacedPeerd).

We'll use this functionality to replace peerd and run N instances of
leaderd on the same system. Each leaderd instance will be told to
claim a slightly different DBus well known name, and expose handlers
on different ports. By faking out peerd, we'll be able to run a
bunch of scenarios with N peers negotiating leadership.

BUG=brillo:535
TEST=This code is used in follow on CLs successfully.

Change-Id: Ie838d8a83afaece5c5dffc29c29d5ca5961847cd
Reviewed-on: https://chromium-review.googlesource.com/260683
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: David Zeuthen <zeuthen@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/tendo/peerd_config.py
64e4d34e0f030275db9a4d1332ed36ca91c8013a 19-Feb-2015 Christopher Wiley <wiley@chromium.org> peerd: Check that we remove services on DBus connection death

When processes registering services with peerd terminate peerd should
remove their services. Peerd detects remote process death by watching
for the closing of the DBus connection owned by the process. Add a
test, peerd_MonitorDBusConnections, that checks that this is done correctly.

BUG=brillo:13
TEST=This is a test, it passes.

Change-Id: Iae652f7264155812574571f7198bb9364b320254
Reviewed-on: https://chromium-review.googlesource.com/251200
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/tendo/peerd_config.py
d6ccea12f7479d0994fe3d1d6912b74abda168eb 05-Feb-2015 Christopher Wiley <wiley@chromium.org> peerd: Refactor out PeerdConfig object

This will allow us to restart peerd with better verbosity setings
across server and client tests.

BUG=brillo:8
TEST=peerd_* tests pass.

Change-Id: Ia96cf669dbb7c3dbefe9539a97cfa8bc99ffd476
Reviewed-on: https://chromium-review.googlesource.com/246661
Tested-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
/external/autotest/client/common_lib/cros/tendo/peerd_config.py