]> git.proxmox.com Git - mirror_frr.git/commit - zebra/if_netlink.c
zebra: Layer-2 interface handling
authorvivek <vivek@cumulusnetworks.com>
Mon, 15 May 2017 05:31:08 +0000 (22:31 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 12 Jul 2017 16:22:19 +0000 (12:22 -0400)
commit6675513d00b8cb59942ecb05f990852d14ef3e41
treee16818db2793aefeea3f7f7bcd2559e78f895e9f
parent4c25598b4e5e33915afdf829fb38b8565dd1f2f9
zebra: Layer-2 interface handling

Define interface types of interest and recognize the types. Store layer-2
information (VLAN Id, VNI etc.) for interfaces, process bridge interfaces
and map bridge members to bridge. Display all the additional information
to user (through "show interface").

Note: Only implemented for the netlink interface.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/Makefile.am
zebra/if_netlink.c
zebra/interface.c
zebra/interface.h
zebra/zebra_l2.c [new file with mode: 0644]
zebra/zebra_l2.h [new file with mode: 0644]
zebra/zebra_l2_null.c [new file with mode: 0644]