Donald Sharp
c172c032ef
zebra: Convert to struct zebra_vtep
as per our internal standard
...
We do not use typedef's to talk about structures as per our standard.
Fixing.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-09-02 10:33:22 -04:00
Donald Sharp
f6371c343a
zebra: Convert to struct zebra_evpn
as per our internal standard
...
We do not use typedef's to talk about structures as per our standard.
Fixing.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-09-02 10:33:22 -04:00
Mark Stapp
1a3bd37f7c
zebra: use more const
...
Use const in many more evpn apis, especially for macaddr,
ipaddr arguments.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
2021-07-19 10:36:12 -04:00
Mark Stapp
272e11bfc4
zebra: give some evpn apis better names
...
Use more useful names for a few evpn apis.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
2021-07-19 08:43:48 -04:00
Ameya Dharkar
9daa5d471a
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>
2021-06-07 17:58:23 -07:00
Philippe Guibert
a1ce03e1fd
zebra: support for macvlan interfaces
...
mac vlan interfaces are supported in different network namespaces.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2020-09-11 18:26:23 +02:00
Philippe Guibert
a237058f59
zebra: zvni_map_to_svi() adaptation for other network namespaces
...
the function is called with all the network namespaces.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2020-08-18 09:25:06 -07:00
Pat Ruddy
8b5fdf2e66
zebra: extract core EVPN functions from zebra_vxlan.c
...
extract the core EVPN functions from zebra_vxlan.c and put them in
a new file zebra_evpn.c.
Signed-off-by: Pat Ruddy <pat@voltanet.io>
2020-08-12 12:39:34 +01:00
Pat Ruddy
224315f3e4
zebra: extract neigbor processing from zevpn_gw_macip_add
...
extract the neighbor part of process_remote_macip_add into a new
function zebra_evpn_neigh_gw_macip_add in zebra_evpn_neigh.c.
Signed-off-by: Pat Ruddy <pat@voltanet.io>
2020-08-12 12:39:34 +01:00
Pat Ruddy
7cbae20ade
zebra: extract neighbor functions from zebra_vxlan.c
...
Move neighbor processing functions to new zebra_evpn_neigh.c
Signed-off-by: Pat Ruddy <pat@voltanet.io>
2020-08-12 12:39:34 +01:00
Pat Ruddy
b299808662
zebra: extract evpn mac functions from zebra_vxlan.c
...
Move MAC dB specific functions to zebra_evpn_mac.c
Signed-off-by: Pat Ruddy <pat@voltanet.io>
2020-08-12 12:39:33 +01:00