<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">Hello!<br><br>Yes, you shall run "birdc conf" yourself when your conffile is ready. What if BIRD started the autoreconfig right when you're writing the file? You could easily get strange behavior like accidentally removing a bunch of protocols by loading a partial config file. You'd have to assure atomic exchange of the file – and this way, you may just run the reconfigure command explicitly anyway.<br><br>There are some internal drafts on how to dynamically add routes without having to reload possibly large config files, yet we haven't decided on any approach yet, let aside actually implementing it.<br><br>Maria<br><br><div class="gmail_quote">On 28 March 2023 00:55:04 CEST, "Pedro Henrique de Araújo Marques" <pedroam27@hotmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
Good evening, I'm doing some tests with BIRD for a while now and I would like some help with a problem I'm facing. I have the following BIRD configuration:<br>
<br>
<b>router id 10.0.0.128;</b>
<div><b><br class="ContentPasted0">
</b></div>
<div class="ContentPasted0"><b>ipv4 table master4;</b></div>
<div class="ContentPasted0"><b>ipv6 table master6;</b></div>
<div class="ContentPasted0"><b>flow4 table flowtab4;</b></div>
<div class="ContentPasted0"><b>flow6 table flowtab6;</b></div>
<div><b><br class="ContentPasted0">
</b></div>
<div class="ContentPasted0"><b>filter subnet_group1{</b></div>
<div class="ContentPasted0"><b> if(bgp_community.len = 0) then {</b></div>
<div class="ContentPasted0"><b> bgp_community.add((555,555));</b></div>
<div class="ContentPasted0"><b> accept;</b></div>
<div class="ContentPasted0"><b> }</b></div>
<div class="ContentPasted0"><b> else{ accept; }</b></div>
<div><b><br class="ContentPasted0">
</b></div>
<div class="ContentPasted0"><b>};</b></div>
<div><b><br class="ContentPasted0">
</b></div>
<div class="ContentPasted0"><b>protocol bgp uplink1{</b></div>
<div class="ContentPasted0"><b> local as 129;</b></div>
<div class="ContentPasted0"><b> neighbor 10.0.1.128 as 128;</b></div>
<div class="ContentPasted0"><b> multihop 1;</b></div>
<div class="ContentPasted0"><b> ipv4{</b></div>
<div class="ContentPasted0"><b> import filter { accept; };</b></div>
<div class="ContentPasted0"><b> export filter subnet_group1;</b></div>
<div class="ContentPasted0"><b> };</b></div>
<div class="ContentPasted0"><b> ipv6{</b></div>
<div class="ContentPasted0"><b> import filter { accept; };</b></div>
<div class="ContentPasted0"><b> export filter subnet_group1;</b></div>
<div class="ContentPasted0"><b> };</b></div>
<div class="ContentPasted0"><b>};</b></div>
<div class="ContentPasted0">
<div><b><br>
</b></div>
<div><b>protocol static blackhole_ipv4_routes{</b></div>
</div>
<div class="ContentPasted0"><b> route 10.0.90.100/32 blackhole;</b></div>
<div class="ContentPasted0"><b> route 10.0.90.99/32 blackhole;</b></div>
<div class="ContentPasted0"><b> ipv4;</b></div>
<b>};</b><br>
<br>
I created a script that after some time it inserts some new routes into the blackhole_ipv4_routes protocol defined above, let's say all of 10.0.0.0/24 for example. Is there an option that I could use in the config file to detect this change and update bird
accordingly with the new table additions, or do I need to always call 'birdc -configure' after the script ends?<br>
</div>
</blockquote></div></body>
</html>