<div dir="ltr"><div>Hello all, I'm experimenting some new features in BGP but I'm stuck in a problem that I can't reach the solution.</div><div><br></div><div>I want to trigger a Route Refresh every time after an update some constraints are violated.</div><div><br></div><div>I thought that the right place to do that is inside this function:<br></div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono""><span style="color:rgb(204,120,50);font-weight:bold">static void<br></span>bgp_rx_update(<span style="color:rgb(204,120,50);font-weight:bold">struct </span>bgp_conn *conn<span style="color:rgb(204,120,50)">, </span>byte *pkt<span style="color:rgb(204,120,50)">, </span>uint len)<br>{<br><span style="color:rgb(204,120,50)">    ....<br></span><span style="color:rgb(204,120,50)">    </span><span style="color:rgb(204,120,50);font-weight:bold">if </span>(Constraints are violated){<br>         Trigger Route Refresh        <span style="color:rgb(106,135,89)"></span><span style="color:rgb(204,120,50)"></span><span style="color:rgb(204,120,50);font-weight:bold"></span><span style="color:rgb(204,120,50)"></span><span style="color:rgb(204,120,50)"></span><span style="color:rgb(106,135,89)"></span><span style="color:rgb(204,120,50)"></span><span style="color:rgb(204,120,50);font-weight:bold"></span><span style="color:rgb(204,120,50)"></span><span style="color:rgb(106,135,89)"></span><span style="color:rgb(128,128,128)"></span><span style="color:rgb(128,128,128)"></span><span style="color:rgb(128,128,128)"></span><span style="color:rgb(128,128,128)"></span><span style="color:rgb(128,128,128)"></span><span style="color:rgb(128,128,128)"><br></span><span style="color:rgb(128,128,128)">    </span>}<span style="color:rgb(204,120,50);font-weight:bold"></span><span style="color:rgb(106,135,89)"></span><span style="color:rgb(204,120,50)"></span><span style="color:rgb(204,120,50)"></span><br>    <span style="color:rgb(204,120,50);font-weight:bold">return</span><span style="color:rgb(204,120,50)">;<br></span>}</pre></div><div>This was my idea, first of all, do you think this is the right place to trigger the route reresh?</div><div><br></div><div>After that, I was trying to trigger the route refresh calling this function:</div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono""><span style="color:rgb(204,120,50);font-weight:bold">void</span> bgp_feed_begin(<span style="color:rgb(204,120,50);font-weight:bold">struct </span>channel *C<span style="color:rgb(204,120,50)">, </span><span style="color:rgb(204,120,50);font-weight:bold">int </span>initial)</pre></div><div>But I didn't get the result I want, the node in the log wrote:</div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono"">Sending BEGIN-OF-RR</pre></div><div>But nothing else happened, so what is the right way to trigger a Route refresh?</div><div><br></div><div>Thanks a lot for the help, I know that is a strange request but it could help a lot my experiments,</div><div>Mattia<br></div></div>