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

Alexander Zubkov green at qrator.net
Sun Jan 29 11:55:02 CET 2023


Further update. Do not write to the file the states of dynamic protocols as
it does not have much sence.

On Fri, Jan 27, 2023 at 2:53 AM Alexander Zubkov <green at qrator.net> wrote:

> 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/20230129/71500fbe/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keep-proto-state-file.patch
Type: text/x-patch
Size: 5468 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20230129/71500fbe/attachment.bin>


More information about the Bird-users mailing list