<div dir="ltr"><div>The way I think of it:</div>/etc/frr/frr.conf is the saved config<div>vtysh -c "show running" is the running config</div><div><br></div><div>frr-reload.py wants to take the config file specified and make it the running config, not the saved config. frr-reload.py also does not make any attempt to have a new saved config in /etc/frr/frr.conf. Nor does it attempt to start/stop daemons that may need to run. This is done by other scripting, we expose frr-reload.py to allow for people to mix-n-match as they please. Having said that `systemctl reload frr` does attempt to do that, in that it expects you to put the new frr.conf file in `/etc/frr/frr.conf` and it will automatically load that file and start/stop the appropriate daemons for the new running config. This also has the effect of after running reload the running config is the same as the saved config. For me I just put the changes in /etc/frr/frr.conf and issue a `systemctl reload frr`<br></div><div><br></div><div>donald</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 12, 2024 at 8:19 PM Randy Bush <<a href="mailto:randy@psg.com">randy@psg.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> i manage/generate router configs centrally and push/expect them out to<br>
> devices. first time sorting how to do this with frr.<br>
> <br>
> my mental model would be to rsync a new `/etc/frr/frr.conf` to the<br>
> target and ask it to be loaded in some way. but reading the page on<br>
> `frr-reload.py`, that does not seem to be the expected model. so what<br>
> is the expected model?<br>
> <br>
> do i essentially push to new config to, e.g. `/etc/frr/frr.new` and<br>
> then run `frr-reload.py --reload /etc/frr/frr.new`, and it will update<br>
> `/etc/frr/frr.conf`?<br>
<br>
this is all frustratingly conplex; or, more likely, i am just confused.<br>
<br>
what i am used to is some command to just load from a canonic unified<br>
configuration file `load override <foo>`<br>
<br>
when i have the major config issues sorted, i am sure i will appreciate<br>
the deamons having and retaining a lot of state. while i am trying to<br>
get the basics working, not so much. i can not be sure if a change is<br>
unsatisfactory because the config is still incorrect or if there is<br>
some sticky state.<br>
<br>
randy<br>
<br>
_______________________________________________<br>
frog mailing list<br>
<a href="mailto:frog@lists.frrouting.org" target="_blank">frog@lists.frrouting.org</a><br>
<a href="https://lists.frrouting.org/listinfo/frog" rel="noreferrer" target="_blank">https://lists.frrouting.org/listinfo/frog</a><br>
</blockquote></div>