diff options
| author | vivek <vivek@cumulusnetworks.com> | 2017-05-14 22:44:13 -0700 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-12 12:29:25 -0400 |
| commit | 2232a77c2bb35586fbdc8156e9c0781fc7020066 (patch) | |
| tree | d3e6b25ba230f5212c1dc29d12ab0bc53a68f236 /lib/log.c | |
| parent | 4122e2528618539c0620e1e3a3090654b8752ba0 (diff) | |
zebra: MAC and Neighbor (ARP/ND) handling
Implement handling of MACs and Neighbors (ARP/ND entries) in zebra:
- MAC and Neighbor database handlers
- Read MACs and Neighbors from the kernel, when needed and create
entries in zebra's MAC and Neighbor databases.
- Handle add/update/delete notifications from the kernel for MACs and
Neighbors and update zebra's database appropriately
- Inform locally learnt MACs and Neighbors to client
- Handle MACIP add/delete from client and install appriporiate entries
into the kernel
- Since Neighbor entries will be installed on an SVI, implement the
needed mappings
NOTE: kernel interface is only implemented for Linux/netlink
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/log.c')
| -rw-r--r-- | lib/log.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -951,6 +951,10 @@ static const struct zebra_desc_table command_types[] = { DESC_ENTRY (ZEBRA_VNI_DEL), DESC_ENTRY (ZEBRA_REMOTE_VTEP_ADD), DESC_ENTRY (ZEBRA_REMOTE_VTEP_DEL), + DESC_ENTRY (ZEBRA_MACIP_ADD), + DESC_ENTRY (ZEBRA_MACIP_DEL), + DESC_ENTRY (ZEBRA_REMOTE_MACIP_ADD), + DESC_ENTRY (ZEBRA_REMOTE_MACIP_DEL), }; #undef DESC_ENTRY |
