]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Start breakup of zns into zrouter and zns
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 27 Aug 2018 14:43:37 +0000 (10:43 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 24 Oct 2018 10:52:07 +0000 (06:52 -0400)
commit89272910f738c05ba7986e7d91c14dc0eb1f6ba6
treebbf83ea49b2b84b0264e763c656f21158d1c2670
parent82d6d6e9be004cd8dbe88b0603f6420fcd80a0a5
zebra: Start breakup of zns into zrouter and zns

The `struct zebra_ns` data structure is being used
for both router information as well as support for
the vrf backend( as appropriate ).  This is a confusing
state.  Start the movement of `struct zebra_ns` into
2 things `struct zebra_router` and `struct zebra_ns`.

In this new regime `struct zebra_router` is purely
for handling data about the router.  It has no knowledge
of the underlying representation of the Data Plane.

`struct zebra_ns` becomes a linux specific bit of code
that allows us to handle the vrf backend and is allowed
to have knowledge about underlying data plane constructs.

When someone implements a *bsd backend the zebra_vrf data
structure will need to be abstracted to take advantage of this
instead of relying on zebra_ns.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/main.c
zebra/subdir.am
zebra/zebra_ns.c
zebra/zebra_ns.h
zebra/zebra_rib.c
zebra/zebra_rnh.c
zebra/zebra_router.c [new file with mode: 0644]
zebra/zebra_router.h [new file with mode: 0644]
zebra/zebra_vrf.c
zebra/zebra_vty.c
zebra/zebra_vxlan.c