diff options
| author | Chirag Shah <chirag@cumulusnetworks.com> | 2018-07-31 18:45:39 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@cumulusnetworks.com> | 2018-08-22 13:15:25 -0700 |
| commit | 7df407eda8b501b6319f9c563ee5f72f9199d8a6 (patch) | |
| tree | 48c5f041a48f039f96fe54796ad23d689c228bb1 /lib/spf_backoff.c | |
| parent | 0a4ecf2729dae2c8951f0ce9dafa88a2927e90e3 (diff) | |
bgpd: check existing l3vni for any l2vni creation
Scan all bgp vrf instances and respective L3VNI against the VNI which is being configured.
Ticket:CM-21859
Testing Done:
Configure l3vni,
try to configure same vni as l2vni under router bgp, address-family
l2vpn evpn.
The configuration is rejected.
show evpn vni
VNI Type VxLAN IF # MACs # ARPs # Remote VTEPs Tenant VRF
4001 L3 vx-4001 0 0 n/a vrf1
TOR(config)# router bgp 5546
TOR(config-router)# address-family l2vpn evpn
TOR(config-router-af)# vni 4001
% Failed to create VNI
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'lib/spf_backoff.c')
0 files changed, 0 insertions, 0 deletions
