<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/tests/test_frrender.py, branch rolling</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2026-11-01T18:58:49+00:00</updated>
<entry>
<title>frrender: T9482: drop a blackhole route FRR would refuse</title>
<updated>2026-11-01T18:58:49+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-11-01T18:53:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f819e149290ea56583b3a4b1cef3c5f86a01ab37'/>
<id>urn:sha1:f819e149290ea56583b3a4b1cef3c5f86a01ab37</id>
<content type='text'>
The default route of a DHCP or PPPoE interface changes with an
interface-only commit or a lease event, without a commit of the static
routes. If it gets the same prefix and distance as a blackhole or reject
route, FRR refuses the reload and every static route added with it is
lost.

The rendered FRR configuration is now checked for a blackhole or reject
route next to any other route of the same prefix and distance, per VRF
and table. Such a blackhole or reject route is not rendered, and an
error naming it is logged to the journal. Prefixes are compared in their
normalized form, as FRR stores them.
</content>
</entry>
<entry>
<title>frrender: T9442: cache the FRR configuration only after it was applied</title>
<updated>2026-10-27T08:22:16+00:00</updated>
<author>
<name>Ruben Herold</name>
<email>ruben@puettmann.net</email>
</author>
<published>2026-10-20T12:21:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b70baa6f8af260529d1db1330da246f309039908'/>
<id>urn:sha1:b70baa6f8af260529d1db1330da246f309039908</id>
<content type='text'>
The configuration was stored as the cached one before FRR had reloaded
it. If the reload failed, or FRR was down, the next commit found the
configuration unchanged, skipped the reload and reported success while
FRR kept running the old configuration.

Keep the rendered configuration aside and make it the cached one only
after the reload succeeded. A render which does not reach the reload is
not cached either.

If the reload fails, FRR may run a part of the new configuration. The
cache is dropped then, so even a return to the previous configuration
reloads FRR. A reload that succeeds on the last try no longer raises an
error.
</content>
</entry>
</feed>
