diff options
| author | Ameya Dharkar <adharkar@vmware.com> | 2021-01-11 00:14:05 -0800 |
|---|---|---|
| committer | Ameya Dharkar <adharkar@vmware.com> | 2021-06-07 17:58:23 -0700 |
| commit | 9daa5d471aeb1a6a89f3fa942c4ed6bea963358d (patch) | |
| tree | f97fd550b4b27a4369bf9e2cd3e6c210f7633542 /lib/compiler.h | |
| parent | a2299abae82c41ea7aaa303dde91bfceee1a88b3 (diff) | |
bgpd, zebra: Add svi_interface to zebra VNI and bgp EVPN structures
SVI ifindex for L2VNI is required in BGP to perform EVPN type-5 to type-2
recusrsive resolution using gateway IP overlay index.
Program this svi_ifindex in struct zebra_vni_t as well as in struct bgpevpn
Changes include:
1. Add svi_if field to struct zebra_evpn_t
2. Add svi_ifindex field to struct bgpevpn
3. When SVI (bridge or VLAN) is bound to a VxLAN interface, store it in the
zebra_evpn_t structure.
4. Add this SVI ifindex to ZEBRA_VNI_ADD
5. Store svi_ifindex in struct bgpevpn
Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions
