diff options
| author | Ameya Dharkar <adharkar@vmware.com> | 2020-06-22 16:38:48 -0700 |
|---|---|---|
| committer | Ameya Dharkar <adharkar@vmware.com> | 2020-06-22 16:38:48 -0700 |
| commit | ebdc9e64c3c07ab330586199561ab677f9b4238f (patch) | |
| tree | 891391c97ea81bfae346cb058ab7eb4dbfe1138c /python/makefile.py | |
| parent | 8803809f0b51319606b339db00684f1f0eddfc0f (diff) | |
bgpd: Incorrect auto-RT formed when L3VNI is not configured
We use ASN:VNI format to calculate auto RT for L3VNI.
When L3VNI is not configured, if we delete the configured RT, incorrect auto-RT
value is generated as VRF VNI is 0.
Fix:
Do not configure auto-RT if L3VNI is not configured.
Trigger:
1. Delete L3VNI
2. Delete configured RT.
Before fix:
dev# sh bgp vrf vrf-blue vni
BGP VRF: vrf-blue
Local-Ip: 10.100.0.1
L3-VNI: 0
Rmac: 00:00:00:00:00:00
VNI Filter: none
L2-VNI List:
Export-RTs:
RT:101:0
Import-RTs:
RT:101:0
RD: 10.100.0.1:2
After fix:
dev# sh bgp vrf vrf-blue vni
BGP VRF: vrf-blue
Local-Ip: 10.100.0.1
L3-VNI: 0
Rmac: 00:00:00:00:00:00
VNI Filter: none
L2-VNI List:
Export-RTs:
Import-RTs:
RD: 10.100.0.1:2
Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
Diffstat (limited to 'python/makefile.py')
0 files changed, 0 insertions, 0 deletions
