diff options
author | mitesh <mitesh@cumulusnetworks.com> | 2017-10-31 00:58:15 +0100 |
---|---|---|
committer | Mitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com> | 2017-12-14 19:57:07 +0100 |
commit | b67a60d2cf765302ccde740576dada94f24ac450 (patch) | |
tree | a3331628d419c9877ce366b0febb00a3637b91ce /zebra/zebra_vxlan_private.h | |
parent | bgpd: RD derivation for VRF (diff) | |
download | frr-b67a60d2cf765302ccde740576dada94f24ac450.tar.xz frr-b67a60d2cf765302ccde740576dada94f24ac450.zip |
bgpd: set vrf originator ip to kernels local-ip
For EVPN type-5 route the NH in the NLRI is set to the local tunnel ip.
This information has to be obtained from kernel notification.
We need to pass this info from zebra to bgp in l3vni call flow.
This patch doesn't handle the tunnel-ip change.
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_vxlan_private.h')
-rw-r--r-- | zebra/zebra_vxlan_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zebra_vxlan_private.h b/zebra/zebra_vxlan_private.h index bde70ba25..8aeb46c94 100644 --- a/zebra/zebra_vxlan_private.h +++ b/zebra/zebra_vxlan_private.h @@ -97,6 +97,9 @@ struct zebra_l3vni_t_ { /* vrf_id */ vrf_id_t vrf_id; + /* Local IP */ + struct in_addr local_vtep_ip; + /* kernel interface for l3vni */ struct interface *vxlan_if; |