Alexey Serbin has uploaded this change for review. (
http://gerrit.cloudera.org:8080/13916
Change subject: [clock] introduce mini_chronyd
......................................................................
[clock] introduce mini_chronyd
This patch introduces a wrapper around chronyd, so it's possible to run
multiple instances of chronyd reference NTP servers as part of Kudu
mini-cluster, providing reference for NTP clients.
One nice feature that chronyd has is its ability to run in server-only
mode, i.e. not driving the system clock: see '-x' option 'man chronyd'.
Also, it's possible to run using the system clock as a source instead
of a physical device (GPS, oscillator, etc.). In addition, it's
possible to manually set the reference time for chrony NTP server
running in server-only local mode. The chrony suite has 'chronyc' CLI
tool to send control commands to chronyd NTP daemon.
WIP:
* add more tests
* add more useful functionality to use for follow-up tests running
built-in NTP client
Change-Id: Id9d06d218828240f2a2980ef5ec30428f86277f7
---
M src/kudu/clock/CMakeLists.txt
A src/kudu/clock/test/mini_chronyd-test.cc
A src/kudu/clock/test/mini_chronyd.cc
A src/kudu/clock/test/mini_chronyd.h
4 files changed, 537 insertions(+), 1 deletion(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/16/13916/1
--
To view, visit http://gerrit.cloudera.org:8080/13916
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id9d06d218828240f2a2980ef5ec30428f86277f7
Gerrit-Change-Number: 13916
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>