summaryrefslogtreecommitdiff
path: root/zebra/ioctl_solaris.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2019-08-09 16:12:55 -0700
committerChirag Shah <chirag@cumulusnetworks.com>2019-08-27 08:48:50 -0700
commitb90d4580f004e8c424908ce89b461425a5818c1b (patch)
tree1c40d8d485d40649ba88c14be6161429395833fd /zebra/ioctl_solaris.c
parentdd7c9169522725614a05c50cb3209c0787b9be30 (diff)
bgpd: fix evpn ecommunity auto rts
Evpn extended communities like auto rts (import/export) should check if its present in list before adding it, to avoid duplicate addition. L3vni_add callback from zebra to bgp may see updates to vnis. The auto import/export rt derivation may call multiple times. Testing Done: Before: TORC11# show bgp l2vpn evpn vni 4001 VNI: 4001 (known to the kernel) Type: L3 Tenant VRF: vrf1 RD: 45.0.2.2:3 ... Import Route Target: 5546:4001 5546:4001 Export Route Target: 5546:4001 5546:4001 After: VNI: 4001 (known to the kernel) Type: L3 Tenant VRF: vrf1 RD: 45.0.2.2:3 ... Import Route Target: 5546:4001 Export Route Target: 5546:4001 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'zebra/ioctl_solaris.c')
0 files changed, 0 insertions, 0 deletions