summaryrefslogtreecommitdiff
path: root/tests/topotests/pim_basic/test_pim.py
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2024-03-21 16:48:52 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2024-04-04 22:10:33 +0200
commit37488b573f5ef19301aa8443d430d5dbddc6102a (patch)
tree88baf35a9e2205177a36aa90db118af0c35f77f3 /tests/topotests/pim_basic/test_pim.py
parent51afc9e31ff3abd23e68ae910d42b454e76d9d6c (diff)
bgpd: fix install BGP route with appropriate colored ext. community
When receiving a BGP update that includes a colored extended community, the nexthop is tracked in the bgp nexthop tracking context, but the color is never recorded. Adding to this, the BGP route is not prevented from being installed without hte color. Actually, the srte color is set only when the SRTE_COLOR attribute is set. And that attribute value is only set when an ext. community is locally created, or an srte value is set, but not when a BGP update with a color ext. community is received. Fix this by setting the SRTE_COLOR attribute on this last case. Fixes: 442e2edcfaef ("bgpd: add functions related to srte_color management") Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'tests/topotests/pim_basic/test_pim.py')
0 files changed, 0 insertions, 0 deletions