mirror_frr/lib
Stephen Worley 6c67f41f9e zebra,lib: command to only install proto-based nexthops
Add a command/functionality to only install proto-based nexthops.
That is nexthops owned/created by upper level protocols, not ones
implicitly created by zebra.

There are some scenarios where you would not want zebra to be
arbitrarily installing nexthop groups and but you still want
to use ones you have control over via lib/nexthop_group config
and an upper level protocol.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
2020-09-28 12:40:59 -04:00
..
printf *: Replace sizeof something to sizeof(something) 2020-03-08 21:44:53 +02:00
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
agentx.c *: move CLI node names to cmd_node->name 2020-04-16 12:53:59 +02:00
agg_table.c lib: make some variables static 2019-12-13 06:22:34 +01:00
agg_table.h lib: prepare for plugin-based frr_format check 2020-03-29 10:45:46 +02:00
atomlist.c lib: atomlist & atomsort 2019-04-27 19:33:39 +02:00
atomlist.h lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
bfd.c Merge pull request #6711 from GalaxyGorilla/bfd_isis_profiles 2020-07-21 14:45:31 -04:00
bfd.h *: add BFD profile support for IS-IS 2020-07-10 11:28:43 +00:00
bitfield.h lib: bitfield: new macros for bit processing 2020-08-05 06:46:12 -07:00
buffer.c *: un-split strings across lines 2020-07-14 10:37:25 +02:00
buffer.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
checksum.c lib: add internet checksum with pseudoheaders 2019-05-17 00:27:08 +00:00
checksum.h lib: add internet checksum with pseudoheaders 2019-05-17 00:27:08 +00:00
clippy.c lib: rewrite zlog lock-free & TLS-buffered 2020-04-01 06:53:26 +02:00
clippy.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
command_graph.c *: fix ctype (isalpha & co.) casts 2019-08-06 16:54:52 +02:00
command_graph.h *: introduce DEFPY_YANG & friends 2020-08-03 15:17:03 -03:00
command_lex.l lib: make some variables static 2019-12-13 06:22:34 +01:00
command_match.c *: Do not cast to the same type 2020-04-08 17:15:06 +03:00
command_match.h lib: rename enum to avoid conflict 2019-02-11 22:34:12 -02:00
command_parse.y lib: make cmd_element & qobj_type const 2019-11-30 00:38:32 +01:00
command_py.c *: config.h or zebra.h is the first #include 2019-06-13 13:35:33 +02:00
command.c lib: don't execute command if pre-processing hook has failed 2020-09-21 16:12:29 +03:00
command.h lib: adding support for LDP IGP Sync feature 2020-09-09 11:12:02 -04:00
compiler.h lib: prepare for plugin-based frr_format check 2020-03-29 10:45:46 +02:00
csv.c *: use appropriate buffer sizes, specifiers 2020-04-20 19:14:33 -04:00
csv.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
db.c lib: introduce new northbound API 2018-10-27 16:16:12 -02:00
db.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
debug.c lib: Separate out the debug_init api 2019-05-28 17:16:16 -04:00
debug.h lib: Separate out the debug_init api 2019-05-28 17:16:16 -04:00
defaults.c lib/defaults: don't use "static" in a weird way 2020-04-14 13:25:25 +02:00
defaults.h lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
defun_lex.l *: introduce DEFPY_YANG & friends 2020-08-03 15:17:03 -03:00
distribute.c *: don't null after XFREE; XFREE does this itself 2020-02-03 11:22:13 -05:00
distribute.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
ferr.c *: remove PRI[udx](8|16|32) 2020-07-14 10:43:40 +02:00
ferr.h vtysh: only show error codes once 2019-07-29 17:18:18 +00:00
filter_cli.c lib: refactory cisco access list net wildcard 2020-08-26 12:50:07 -03:00
filter_nb.c Merge pull request #6987 from Niral-Networks/acl_fix 2020-09-03 09:51:21 +05:30
filter.c lib: migrate filter configuration writer 2020-06-05 14:36:53 -03:00
filter.h lib: refactory cisco access list net wildcard 2020-08-26 12:50:07 -03:00
freebsd-queue.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
frr_pthread.c lib: block signals in child pthreads 2020-07-09 11:21:10 -04:00
frr_pthread.h *: generously apply const 2019-12-02 15:01:29 +01:00
frr_zmq.c *: Use true/false instead of 1/0 when assigning variable for bool type 2020-03-04 18:49:36 +02:00
frr_zmq.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
frratomic.h lib/atomlist: make C++ compatible 2020-04-21 21:38:07 +02:00
frrcu.c lib: completely get rid of the MTYPE alias hack 2019-12-13 06:22:34 +01:00
frrcu.h lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
frrlua.c *: use the current project name (FRRouting) 2020-03-25 17:38:56 -04:00
frrlua.h *: use the current project name (FRRouting) 2020-03-25 17:38:56 -04:00
frrstr.c lib: Fix so that --enable-pcreposix actually compiles 2020-02-16 14:14:04 -05:00
frrstr.h lib: Fix so that --enable-pcreposix actually compiles 2020-02-16 14:14:04 -05:00
getopt1.c
getopt.c
getopt.h treewide: fix some issues found with -Werror=undef 2020-03-10 16:53:13 +01:00
gitversion.pl build: fix auto git ID length 2020-01-17 15:54:50 +01:00
grammar_sandbox_main.c *: record transaction based on control flag 2020-08-20 14:12:04 -07:00
grammar_sandbox.c *: move CLI node names to cmd_node->name 2020-04-16 12:53:59 +02:00
graph.c Treewide: use ANSI function definitions 2019-01-24 11:21:59 +01:00
graph.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
hash.c lib: remove overflow arithmetic from hash stats 2020-09-02 16:54:41 -04:00
hash.h *: change hash_backet to hash_bucket 2020-02-28 13:59:13 -05:00
hook.c lib/hook: use static hook entry when possible 2020-04-01 06:53:26 +02:00
hook.h lib: make hook.h cpp-compatible 2020-05-05 14:05:03 -04:00
iana_afi.h lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
id_alloc.c *: remove PRI[udx](8|16|32) 2020-07-14 10:43:40 +02:00
id_alloc.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
if_rmap.c *: don't null after XFREE; XFREE does this itself 2020-02-03 11:22:13 -05:00
if_rmap.h eigrp, rip, ripng, lib: unlink if_rmap from vrf 2019-02-19 21:11:37 +01:00
if.c *: Remove solaris from FRR 2020-09-21 10:02:20 -04:00
if.h lib: Note old ifindex on shutdown 2020-08-28 07:51:06 -04:00
imsg-buffer.c *: Remove parenthesis on return for constants 2020-02-09 14:21:56 +02:00
imsg.c *: Remove parenthesis on return for constants 2020-02-09 14:21:56 +02:00
imsg.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
ipaddr.h lib, zebra: Add SR-TE policy infrastructure to zebra 2020-08-07 11:08:49 +02:00
jhash.c Revert "bgpd: Prevent IPv6 routes received via a ibgp session with own ip as nexthop " 2019-05-02 07:15:39 -04:00
jhash.h Revert "bgpd: Prevent IPv6 routes received via a ibgp session with own ip as nexthop " 2019-05-02 07:15:39 -04:00
json.c lib: add json api to encode double values 2020-03-31 14:38:15 +02:00
json.h lib: add json api to encode double values 2020-03-31 14:38:15 +02:00
keychain.c lib, tools: fix reloading of key sub-context in key chains 2020-08-24 09:54:55 -04:00
keychain.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
ldp_sync.c lib: adding support for LDP IGP Sync feature 2020-09-09 11:12:02 -04:00
ldp_sync.h lib: adding support for LDP IGP Sync feature 2020-09-09 11:12:02 -04:00
lib_errors.c lib: split off c-ares code from nhrpd 2019-07-03 17:15:34 +02:00
lib_errors.h lib: split off c-ares code from nhrpd 2019-07-03 17:15:34 +02:00
lib_vty.c lib: include any mem ever allocd in show memory 2020-03-20 10:36:18 -04:00
lib_vty.h lib: rename memory_vty.c to lib_vty.c 2019-12-06 15:13:29 +01:00
libfrr.c lib: postpone the sysrepo plugin initialization 2020-09-15 15:55:55 -03:00
libfrr.h lib: postpone the sysrepo plugin initialization 2020-09-15 15:55:55 -03:00
libospf.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
linklist.c lib: introduce new list_dup() API 2020-08-11 20:41:44 -03:00
linklist.h lib: introduce new list_dup() API 2020-08-11 20:41:44 -03:00
log_filter.c lib/log: re-add log filtering 2020-04-01 06:53:26 +02:00
log_vty.c pimd, lib: suppress compiler warnings on snprintf 2020-04-21 13:13:06 -04:00
log_vty.h lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
log.c lib, zebra: add support for sending ARP requests 2020-08-12 23:19:58 +02:00
log.h *: remove PRI[udx](8|16|32) 2020-07-14 10:43:40 +02:00
Makefile
md5.c *: Do not cast to the same type 2020-04-08 17:15:06 +03:00
md5.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
memory.c *: un-split strings across lines 2020-07-14 10:37:25 +02:00
memory.h lib: mark some allocations as "active at exit" 2020-04-01 06:53:26 +02:00
mlag.c lib: Ensure pointer exists before using in mlag 2020-03-20 18:17:40 -04:00
mlag.h lib, pimd, zebra: Provide some insurance against reading bad stream data 2020-03-06 16:03:59 -05:00
module.c *: Use true/false instead of 1/0 when assigning variable for bool type 2020-03-04 18:49:36 +02:00
module.h lib/printf: rename & private __find_arguments 2019-06-03 16:44:32 +02:00
monotime.h lib, *: add a common time interval formatting api 2020-03-09 11:12:32 -04:00
mpls.c zebra,lib: use const in more apis 2020-03-27 09:37:02 -04:00
mpls.h ldpd: Fix issue when starting up LDP with no configuration. 2020-09-04 09:24:47 -04:00
netns_linux.c vrf: VRF_DEFAULT must be 0, remove useless code 2020-09-21 10:17:35 +02:00
netns_other.c Merge pull request #7018 from gouault6wind/show_ip_route 2020-09-23 08:45:09 +03:00
network.c *: replace all random() calls 2020-04-17 20:57:43 -03:00
network.h *: replace all random() calls 2020-04-17 20:57:43 -03:00
nexthop_group_private.h lib,zebra: use nhg_hash_entry pointer in route_entry 2019-12-04 08:13:52 -05:00
nexthop_group.c lib: Note old ifindex on shutdown 2020-08-28 07:51:06 -04:00
nexthop_group.h lib: Allow nexthop simple display to take an alternate ifp name 2020-08-28 07:51:06 -04:00
nexthop.c lib, zebra: Add SR-TE policy infrastructure to zebra 2020-08-07 11:08:49 +02:00
nexthop.h lib, zebra: Add SR-TE policy infrastructure to zebra 2020-08-07 11:08:49 +02:00
northbound_cli.c lib: fix crashes with leafrefs that point to non-implemented modules 2020-09-11 14:42:35 -03:00
northbound_cli.h lib: introduce configuration back-off timer for YANG-modeled commands 2020-08-03 15:17:03 -03:00
northbound_confd.c lib: don't ignore error messages generated during the commit apply phase 2020-08-14 21:37:14 -03:00
northbound_db.c lib: introduce the northbound context structure 2020-05-28 19:22:54 -03:00
northbound_db.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
northbound_grpc.cpp Merge pull request #6945 from qlyoung/nb-more-messages 2020-08-19 20:14:05 -03:00
northbound_sysrepo.c lib: simplify handling of the sysrepo startup configuration 2020-09-15 16:00:07 -03:00
northbound.c lib: Tell the compiler we don't care about the return code 2020-09-24 07:52:20 -04:00
northbound.h *: record transaction based on control flag 2020-08-20 14:12:04 -07:00
ns.h vrf: VRF_DEFAULT must be 0, remove useless code 2020-09-21 10:17:35 +02:00
ntop.c lib: cannot use aliased function on Darwin 2020-03-19 18:47:48 +01:00
openbsd-queue.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
openbsd-tree.c *: Remove parenthesis on return for constants 2020-02-09 14:21:56 +02:00
openbsd-tree.h lib: Add const to openbsd-tree functions 2019-05-13 17:21:22 -07:00
pbr.h bgpd, lib, pbrd, zebra: Pass by ifname 2020-09-11 20:04:45 -04:00
pid_output.c *: sprintf -> snprintf 2020-04-20 19:14:33 -04:00
plist_int.h lib: fix route map crash on prefix list removal 2020-06-05 14:36:54 -03:00
plist.c lib: fix route map crash on prefix list removal 2020-06-05 14:36:54 -03:00
plist.h lib: export prefix-lists functions 2020-06-05 14:31:26 -03:00
prefix.c lib: add family attribute for flowspec prefix structure 2020-08-21 13:37:08 +02:00
prefix.h *: Remove solaris from FRR 2020-09-21 10:02:20 -04:00
printfrr.h lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
privs.c *: Remove solaris from FRR 2020-09-21 10:02:20 -04:00
privs.h lib, zebra: Add SR-TE policy infrastructure to zebra 2020-08-07 11:08:49 +02:00
ptm_lib.c *: sprintf -> snprintf 2020-04-20 19:14:33 -04:00
ptm_lib.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
pullwr.c lib: add pull-driven data write handler 2019-08-30 19:00:45 +02:00
pullwr.h lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
pw.h ldpd: Relay data plane pseudowire status in LDP notification 2020-06-01 13:21:37 -04:00
qobj.c *: replace all random() calls 2020-04-17 20:57:43 -03:00
qobj.h lib: make cmd_element & qobj_type const 2019-11-30 00:38:32 +01:00
queue.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
resolver.c *: move CLI node names to cmd_node->name 2020-04-16 12:53:59 +02:00
resolver.h lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
ringbuf.c
ringbuf.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
route_types.pl lib, zebra: Add ability to read kernel notice of TRAP/OFFLOAD 2020-09-22 15:57:43 -04:00
route_types.txt zebra: implement protocol NHG Add/Del 2020-09-28 12:40:59 -04:00
routemap_cli.c lib: fix negating set metric route-map command 2020-09-10 09:14:58 +02:00
routemap_northbound.c lib: fix the "set metric" route-map command 2020-09-09 14:53:26 -03:00
routemap.c lib, zebra: Add SR-TE policy infrastructure to zebra 2020-08-07 11:08:49 +02:00
routemap.h lib, zebra: Add SR-TE policy infrastructure to zebra 2020-08-07 11:08:49 +02:00
routing_nb_config.c lib : basic-routing backend configuration northbound code 2020-07-16 08:33:00 -07:00
routing_nb.c staticd : Configuration northbound implementation 2020-07-16 08:33:00 -07:00
routing_nb.h lib : basic-routing backend configuration northbound code 2020-07-16 08:33:00 -07:00
sbuf.c lib: use snprintfrr() in "hidden" printfs 2019-06-12 19:35:43 +02:00
sbuf.h lib: make "%Ld" work for int64_t 2019-06-12 19:35:43 +02:00
seqlock.c treewide: fix some issues found with -Werror=undef 2020-03-10 16:53:13 +01:00
seqlock.h lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
sha256.c
sha256.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
sigevent.c *: Remove solaris from FRR 2020-09-21 10:02:20 -04:00
sigevent.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
skiplist.c *: replace all random() calls 2020-04-17 20:57:43 -03:00
skiplist.h bgpd, isisd, lib: Make key values const for skiplist 2020-03-24 07:33:13 -04:00
smux.h lib: make oid_copy_addr respect my constness 2020-03-26 16:22:00 -04:00
snmp.c lib: make oid_copy_addr respect my constness 2020-03-26 16:22:00 -04:00
sockopt.c *: Remove solaris from FRR 2020-09-21 10:02:20 -04:00
sockopt.h *: Remove solaris from FRR 2020-09-21 10:02:20 -04:00
sockunion.c Merge pull request #6732 from opensourcerouting/printfrr-prep 2020-07-29 14:29:34 -04:00
sockunion.h lib: add %pSU for union sockunion * 2020-07-14 11:15:53 +02:00
spf_backoff.c *: use the current project name (FRRouting) 2020-03-25 17:38:56 -04:00
spf_backoff.h *: use the current project name (FRRouting) 2020-03-25 17:38:56 -04:00
srcdest_table.c staticd : Configuration northbound implementation 2020-07-16 08:33:00 -07:00
srcdest_table.h staticd : Configuration northbound implementation 2020-07-16 08:33:00 -07:00
srte.h lib, zebra: Add SR-TE policy infrastructure to zebra 2020-08-07 11:08:49 +02:00
srv6.c *: fix first header 2020-04-27 09:52:41 +02:00
srv6.h bgpd: prefix-sid srv6 l3vpn service tlv 2020-01-15 18:20:35 +09:00
stream.c lib: add stream_rewind_getp() 2020-09-03 14:23:54 -04:00
stream.h Merge pull request #7046 from qlyoung/fix-various-integer-issues 2020-09-04 22:33:48 -03:00
strlcat.c *: fix config.h/zebra.h include order 2018-09-08 21:30:42 +02:00
strlcpy.c *: fix config.h/zebra.h include order 2018-09-08 21:30:42 +02:00
subdir.am lib: adding support for LDP IGP Sync feature 2020-09-09 11:12:02 -04:00
systemd.c lib: immediately ping systemd when started 2020-03-10 09:59:56 -04:00
systemd.h lib: random unused bits cleanup 2019-12-14 12:41:19 +01:00
table.c *: Do not cast to the same type 2020-04-08 17:15:06 +03:00
table.h lib: prepare for plugin-based frr_format check 2020-03-29 10:45:46 +02:00
termtable.c *: generously apply const 2019-12-02 15:01:29 +01:00
termtable.h *: generously apply const 2019-12-02 15:01:29 +01:00
thread.c lib: set threadmaster name to 'default' if none 2020-09-15 20:16:56 -04:00
thread.h lib: timer: move the timer string api to lib 2020-08-05 06:46:12 -07:00
typerb.c lib: add const iteration & find to typesafe lists 2020-05-04 22:13:28 +02:00
typerb.h lib: add const iteration & find to typesafe lists 2020-05-04 22:13:28 +02:00
typesafe.c lib: add const iteration & find to typesafe lists 2020-05-04 22:13:28 +02:00
typesafe.h lib: add const iteration & find to typesafe lists 2020-05-04 22:13:28 +02:00
vector.c
vector.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
version.h.in lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
vlan.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
vrf_int.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
vrf.c vrf: VRF_DEFAULT must be 0, remove useless code 2020-09-21 10:17:35 +02:00
vrf.h vrf: VRF_DEFAULT must be 0, remove useless code 2020-09-21 10:17:35 +02:00
vty.c Merge pull request #7067 from donaldsharp/remove_solaris 2020-09-22 17:04:19 -04:00
vty.h lib: introduce configuration back-off timer for YANG-modeled commands 2020-08-03 15:17:03 -03:00
vxlan.h bgpd: suppress IMET route generation if flood mode is PIM-SM 2019-04-20 08:33:20 -07:00
wheel.c *: Finish off the __PRETTY_FUNCTION__ to __func__ 2020-03-06 09:23:22 -05:00
wheel.h lib: hashing functions should take const arguments 2019-05-14 21:23:08 +00:00
workqueue.c lib: Fix workqueue error function callback 2019-04-17 19:29:05 -04:00
workqueue.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
yang_translator.c lib, tools: silence harmless warnings in the northbound tools 2020-04-03 22:34:55 -03:00
yang_translator.h lib: add extern "C" {} blocks to all libfrr headers 2019-02-11 22:34:12 -02:00
yang_wrappers.c lib: yang wrapper for getting empty type 2020-08-11 17:06:23 -07:00
yang_wrappers.h lib: yang wrapper for getting empty type 2020-08-11 17:06:23 -07:00
yang.c lib: better support for nested YANG augmentations 2020-09-11 15:46:40 -03:00
yang.h lib: better support for nested YANG augmentations 2020-09-11 15:46:40 -03:00
zassert.h lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
zclient.c zebra,lib: command to only install proto-based nexthops 2020-09-28 12:40:59 -04:00
zclient.h zebra,lib: command to only install proto-based nexthops 2020-09-28 12:40:59 -04:00
zebra.h *: Remove solaris from FRR 2020-09-21 10:02:20 -04:00
zlog_targets.c lib: fix possible null dereference in zlog 2020-09-08 11:43:40 -04:00
zlog_targets.h lib, zebra: add missing extern "C" {} blocks to new header files 2020-04-22 23:49:22 -03:00
zlog.c lib: fix TLS log buffer on NetBSD 2020-07-20 06:29:06 +02:00
zlog.h lib/zlog: fix printfrr format attribute 2020-04-27 09:52:41 +02:00