[olsr-dev] IPC-Protocol / GUI

Ignacio García Pérez (spam-protected)
Thu Nov 18 18:18:27 CET 2004


> Let me share some thoughts. In a first step, I think, a one-way IPC
> interface that only enables reading olsrd's internal state would be a
> good start. Apart from that we'd then only need a way to restart olsrd
> via the IPC interface. Reconfiguration via a GUI could then work by
> generating a temporary configuration file (with the configuration file
> parser library that we have), stopping olsrd and restarting olsrd with
> the newly generated configuration file.

Isn't that what most daemons do upon receiving HUP signal ?

Then,

1- Implement a read only IPC interface that provides a snapshot of all
possibly interesting olsrd internal vars.

2- Implement restarting and configuration reloading upon HUP signal.

Regards.

Nacho.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.797 / Virus Database: 541 - Release Date: 11/15/2004




More information about the Olsr-dev mailing list