diff options
| author | Chirag Shah <chirag@cumulusnetworks.com> | 2019-08-08 18:58:03 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@cumulusnetworks.com> | 2019-11-22 07:53:32 -0800 |
| commit | 0ca10580967be267ef97f442838953e463934a0c (patch) | |
| tree | b5ae0fdd984d5e179d8b429079c0e390d2a2b9d1 /lib | |
| parent | 14e814ea75ca8211499106e472a3acdd4730b370 (diff) | |
bgpd: evpn pip handle svi ip route
By default announct Self Type-2 routes with
system IP as nexthop and system MAC as
nexthop.
An API to check type-2 is self route via
checking ipv4/ipv6 address from connected interfaces list.
An API to extract RMAC and nexthop for type-2
routes based on advertise-svi-ip knob is enabled.
When advertise-pip is enabled/disabled, trigger type-2
route update. For self type-2 routes to use
anycast or individual (rmac, nexthop) addresses.
Ticket:CM-26190
Reviewed By:
Testing Done:
Enable 'advertise-svi-ip' knob in bgp default instance.
the vrf instance svi ip is advertised with nexthop
as default instance router-id and RMAC as system MAC.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/zclient.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index ebf3e6450f..7adb294a31 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -490,6 +490,7 @@ enum zapi_iptable_notify_owner { #define ZEBRA_MACIP_TYPE_GW 0x02 /* gateway (SVI) mac*/ #define ZEBRA_MACIP_TYPE_ROUTER_FLAG 0x04 /* Router Flag - proxy NA */ #define ZEBRA_MACIP_TYPE_OVERRIDE_FLAG 0x08 /* Override Flag */ +#define ZEBRA_MACIP_TYPE_SVI_IP 0x10 /* SVI MAC-IP */ enum zebra_neigh_state { ZEBRA_NEIGH_INACTIVE = 0, ZEBRA_NEIGH_ACTIVE = 1 }; |
