[PATCH] feature to keep protocol's state while configuring

Alexander Zubkov green at qrator.net
Fri Jan 27 02:53:46 CET 2023


Updated the patch for keeping state in the file. Moved the read/write
functions to sysdep/unix/main.c and made better parsing. So it is not a
draft anymore, but something more or less "stable". I can add documentation
patch in case there is interest to include that into upstream.

On Tue, Jan 24, 2023 at 8:03 AM Ondrej Zajicek <santiago at crfreenet.org>
wrote:

> On Mon, Jan 23, 2023 at 03:19:43AM +0100, Alexander Zubkov wrote:
> > Hello,
> >
> > Not sure if those are forgotten or are unwanted modifications. Please let
> > me know.
> >
> > And I also have another idea regarding the subject. The idea is to
> > configure the file where bird will keep the states of the protocols (I
> mean
> > enabled/disabled states). Then during loading the configuration it alters
> > the states to reflect the saved ones. So the states are persistent during
> > reconfiguration and also during restart of a daemon. The draft patch is
> > attached. Please take a look.
>
> Hello
>
> Forgot about it, will check it.
>
> --
> Elen sila lumenn' omentielvo
>
> Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
> OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
> "To err is human -- to blame it on a computer is even more so."
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20230127/97e2250b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keep-proto-state-file.patch
Type: text/x-patch
Size: 5273 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20230127/97e2250b/attachment.bin>


More information about the Bird-users mailing list