BGP channel add/remove
    Ondrej Zajicek 
    santiago at crfreenet.org
       
    Wed Jun 27 12:51:00 CEST 2018
    
    
  
On Mon, Jun 25, 2018 at 07:23:09AM +0000, Arvin Gan wrote:
> Hi All,
>      After investigate the codes  for  command "configure", found that when delete/add channel, the function proto_configure_channel()  always return value "1" , that mean the same is true in function bgp_reconfigure(),  line 917 of  proto.c will  ignore  the change(add/delete channel).... Is my understand correct ?
Yes. But the main problem is that generally the infrastructure for
adding/removing channels during reconfigure is insufficient to handle
that properly. Protocol-specific code can decide whether
to force-restart channel in e.g. bgp_channel_reconfigure() for channel
reconfiguration, but not for channel add/remove.
Although it could be probably hacked in general bgp_reconfigure() hook.
-- 
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."
    
    
More information about the Bird-users
mailing list