diff options
author | vdhingra <vdhingra@vmware.com> | 2020-04-24 14:38:43 +0200 |
---|---|---|
committer | vdhingra <vdhingra@vmware.com> | 2020-07-16 17:33:00 +0200 |
commit | 88fa5104a04af60b7d1107f02ee84fb9c0a15abe (patch) | |
tree | c2bbeecd9a5c384b7a615032c5fe13a1ff495c36 /lib/routing_nb.c | |
parent | lib : basic-routing backend configuration northbound code (diff) | |
download | frr-88fa5104a04af60b7d1107f02ee84fb9c0a15abe.tar.xz frr-88fa5104a04af60b7d1107f02ee84fb9c0a15abe.zip |
staticd : Configuration northbound implementation
1. Modifies the data structs to make the distance, tag and table-id
property of a route, i.e created a hireachical data struct to save
route and nexthop information.
2. Backend northbound implementation
Signed-off-by: VishalDhingra <vdhingra@vmware.com>
Diffstat (limited to 'lib/routing_nb.c')
-rw-r--r-- | lib/routing_nb.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/routing_nb.c b/lib/routing_nb.c index 7a6754baa..0160354a7 100644 --- a/lib/routing_nb.c +++ b/lib/routing_nb.c @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2018 Vmware + * Vishal Dhingra + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; see the file COPYING; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #include "northbound.h" #include "libfrr.h" #include "routing_nb.h" |