[chrony-dev] Runtime refclock management

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Hi,

I've recently adapted my company's data acquisition platform to use chrony to manage the local clock.   However, one of the platform features was the ability to add, remove, or reconfigure time sources such as GPS receivers or PPS hookups at any time -- so rather than set up some predefined refclock inputs (SOC0, SOC1, SHM0, etc.) and come up with some external mechanism to track which ones were in use and by whom, it seemed more straightforward to extend chrony to allow for "add refclock" and "delete refclock" operations via chronyc.   I don't know if this will be generally useful - I've only really tested it with the SOCK refclock - but I thought I'd post it up in case anyone else was interested.

What is the best way to submit a patch sequence?   Currently I've got it up on github at https://github.com/willmmiles/chrony/commits/client-refclock-add , but I can do something like git format-patch/git send-email if that's more practical.

Comments are very welcome - if this is a feature you'd be interested in adopting upstream, but there's further work to do or a different approach you'd prefer to see, please let me know and I'd be happy to improve it in whatever way I can.

Thanks,

-Will


--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/