summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_nssa.py
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2024-02-02 12:11:58 -0800
committerChirag Shah <chirag@nvidia.com>2024-05-04 20:33:49 -0700
commit0a8d85aacffe048e8b026479dfc2c072f75e813e (patch)
treefe6db9d40567f29cfe01542d1d4eec07f6725de7 /tests/topotests/ospf_basic_functionality/test_ospf_nssa.py
parent53820a5753c63bf30b6346fc39ce879a9c2abccf (diff)
bgpd: [GR] fix mode change vtysh return code
When a bgp neighbor graceful-restart config mode change is applied, after accepting the config if it does not take effect instead of throwing vtysh error code, return the success to vtysh and warn the user. The debug log is already present at critical code point where GR failure is seen during config apply. Ticket: #3761481 Testing Done: root@tor-1:# vtysh -c 'config t' -c 'router bgp 65564 vrf VRF2' -c 'neighbor 20.1.1.1 graceful-restart' As part of configuring graceful-restart, capability send to zebra failed root@tor-1:# echo $? 0 Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_nssa.py')
0 files changed, 0 insertions, 0 deletions