diff options
author | vivek <vivek@cumulusnetworks.com> | 2017-05-15 23:42:57 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-12 20:37:14 +0200 |
commit | c85c03c7f90bfc6110c4621bfb096690c70b8bec (patch) | |
tree | 0430b6cca5448f0a38ec49d4a735378b112d72d4 /zebra/zebra_vxlan_private.h | |
parent | bgpd: EVPN route handling (diff) | |
download | frr-c85c03c7f90bfc6110c4621bfb096690c70b8bec.tar.xz frr-c85c03c7f90bfc6110c4621bfb096690c70b8bec.zip |
bgpd, zebra: Support for sticky MACs
Implement support for sticky (static) MACs. This includes the following:
- Recognize MAC is static (using NUD_NOARP flag) and inform BGP
- Construct MAC mobility extended community for sticky MACs as per
RFC 7432 section 15.2
- Inform to zebra that remote MAC is sticky, where appropriate
- Install sticky MACs into the kernel with the right flag
- Appropriate handling in route selection
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_vxlan_private.h')
-rw-r--r-- | zebra/zebra_vxlan_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_vxlan_private.h b/zebra/zebra_vxlan_private.h index 6d72edcb0..0de86c3bc 100644 --- a/zebra/zebra_vxlan_private.h +++ b/zebra/zebra_vxlan_private.h @@ -102,6 +102,7 @@ struct zebra_mac_t_ #define ZEBRA_MAC_LOCAL 0x01 #define ZEBRA_MAC_REMOTE 0x02 #define ZEBRA_MAC_AUTO 0x04 /* Auto created for neighbor. */ +#define ZEBRA_MAC_STICKY 0x08 /* Static MAC */ /* Local or remote info. */ union |