summaryrefslogtreecommitdiff
path: root/tests/lib/cli/test_cli.py
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2019-09-11 17:29:04 -0700
committerChirag Shah <chirag@cumulusnetworks.com>2019-09-23 21:14:04 -0700
commit3dacbb9d247b135970ea888d2a90064b639567a2 (patch)
treea759d90695597089fe4232e91dc744c067569dac /tests/lib/cli/test_cli.py
parent5034c882bfaf8d6c703ad5aa70a8a9652d7b6f24 (diff)
bgpd: fix advertise-svi-ip upon vni-svi up-down
When a VxLAN interface comes up new vni up event is sent to bgpd, which triggers bgpd to sync advertise-svi-macip to zebra. At this point, vni is present but the associated SVI may not be present. When SVI comes up, vni add event sent to bgpd (with associated vrf update). Bgpd already has vni present so advertise-svi-macip is not synced to Zebra. To fix, When advertise-svi-macip flag is synced first time, cache it in zebra context even though vni associated SVI is not present. when SVI comes up, interface address add event triggers new MAC-IP route add to bgpd. Ticket:CM-26038 Reviewed By:CCR-9254 Testing Done: Validated via running a sequence of steps in symmetric routing topology. - Enable advertise-svi-macip at l2vni level under bgp default instance (afi/safi, l2vpn/evpn) - Flap l2vni associated SVI interface. - Check the output of 'show bgp l2vpn evpn route' command for MAC-IP route of the SVI's (MAC and IP address). Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'tests/lib/cli/test_cli.py')
0 files changed, 0 insertions, 0 deletions