summaryrefslogtreecommitdiff
path: root/tests/topotests/example-test/test_example.py
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2024-04-08 17:14:48 -0700
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-17 07:42:49 +0000
commit3be078253c553160999a16c5e3823d973c67a6f8 (patch)
treeaaa755b0f9fd207581349740e9bfe9d2c4e75a8d /tests/topotests/example-test/test_example.py
parent0cccf718e7b21e5ac9f1146cb6257da0cd2685e8 (diff)
tools: frr-reload strip interface vrf ctx line
if frr.conf file contains 'interface x vrf <name> config it causes protocol (like ospf) neighbor session flap, as it deletes interface base config line ('interface x') from running config and readds with 'interface x vrf <name>' line from frr.conf. This deletion and readdition of lines leads to neighborship flaps. This issue is by product of (PR-10411 | https://github.com/FRRouting/frr/pull/10411) (commit id: 788a036fdb) where running config for interface config no loger displays associated vrf line. Ticket: #3858146 Testing: frr.conf interface swp1.2 vrf vrf1012 ip ospf network point-to-point running-config: interface swp1.2 ip ospf network point-to-point exit Before fix: frr-reload logs: 2024-04-09 00:28:31,096 INFO: Executed "interface swp1.2 no ip ospf network point-to-point exit" 'interface swp1.2 vrf vrf1012\n ip ospf network point-to-point\nexit\n', After fix: frr-reload strips vrf line, thus no config change between frr.conf and running config. Signed-off-by: Chirag Shah <chirag@nvidia.com> (cherry picked from commit c1356f0e85e7b8480295d38b843a729d4a491d41)
Diffstat (limited to 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions