]> git.puffer.fish Git - matthieu/frr.git/commit
tools: Fix frr-reload for ebgp-multihop TTL reconfiguration.
authorNobuhiro MIKI <nob@bobuhiro11.net>
Wed, 29 Jan 2025 04:31:53 +0000 (04:31 +0000)
committerNobuhiro MIKI <nob@bobuhiro11.net>
Wed, 29 Jan 2025 04:43:17 +0000 (04:43 +0000)
commit594e917656da5502b302309aed3cf596df24713f
tree941f32f24fb966d54784d21ed8e65f7feaec50d7
parentee67699bd7e0175057ffab4c8c30c74b6c7cc844
tools: Fix frr-reload for ebgp-multihop TTL reconfiguration.

In ebgp-multihop, there is a difference in reload behavior when TTL is
unspecified (meaning default 255) and when 255 is explicitly specified.
For example, when reloading with 'neighbor <neighbor> ebgp-multihop
255' in the config, the following difference is created. This commit
fixes that.

    Lines To Delete
    ===============
    router bgp 65001
     no neighbor 10.0.0.4 ebgp-multihop
    exit

    Lines To Add
    ============
    router bgp 65001
     neighbor 10.0.0.4 ebgp-multihop 255
    exit

The commit 767aaa3a8048 is not sufficient and frr-reload needs to be
fixed to handle both unspecified and specified cases.

Signed-off-by: Nobuhiro MIKI <nob@bobuhiro11.net>
tools/frr-reload.py