summaryrefslogtreecommitdiff
path: root/tests/lib/cli/test_cli.py
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2020-10-10 15:09:11 -0700
committerChirag Shah <chirag@nvidia.com>2020-10-12 16:13:59 -0700
commita5ab756f2483594a19837e0c30f6184cd966940f (patch)
tree29a57958f64940b69c019957b29974315691e240 /tests/lib/cli/test_cli.py
parentfeded4118b89eba5a1629f45cfe623277612e404 (diff)
bgpd: fix crash in bgp instance creation
In bgp global commands northbound local-as modify callback check for backend db for checking existing bgp instance. In an instance where no router bgp with old ASN cleaned up followed by new bgp instance with new AS is created, the nb_running_get_entry in validation phase returns stale bgp reference, which leads to rejection of the router bgp command. Uncovered via: toptotest evpn_type5_test_topo1/test_evpn_type5_topo1.py test_bgp_attributes_for_evpn_address_family_p1 Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'tests/lib/cli/test_cli.py')
0 files changed, 0 insertions, 0 deletions