mirror_frr/tools
Igor Ryzhov fc43980f25 tools: significantly simplify frr-reload context processing
Currently, in frr-reload we:
- store a list of single-line context keywords which needs to be
  frequently updated,
- have a separate "if" clause for every node and subnode we have in FRR.

Instead, we can store the tree of all known FRR nodes. This tree needs
to be updated whenever we add a new node, which is not frequent. And,
most importantly, it allows us to write node-agnostic code and save more
than 250 LOC.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-08-23 22:08:20 +03:00
..
coccinelle tools: Add coccinelle script for hash compare functions NULL values 2021-07-13 08:49:38 +03:00
etc tools: add ospfd support bundle commands 2021-08-10 07:39:18 +00:00
gcc-plugins tools/gcc-plugin: support [un]signed in pragma 2021-03-26 17:51:55 +01:00
.gitignore build: ignore frr-llvm-cg binary 2021-03-27 20:59:39 +01:00
build-debian-package.sh tools: Simplify the script to build Debian binary package 2021-07-03 17:02:37 +02:00
checkpatch.pl tools/checkpatch: downgrade string concat warning 2021-02-01 17:33:03 +01:00
checkpatch.sh tools: improve checkpatch slicing 2018-08-03 17:25:14 +00:00
cocci.h tools: improve cocci.h 2020-07-14 11:27:41 +02:00
convert-fixedwidth.sh tools, doc: update checkpatch for u_int_* 2018-03-27 15:00:23 -04:00
fixup-deprecated.py *: reformat python files 2020-10-07 17:22:26 -04:00
frr-llvm-cg.c tools: dump YANG info in frr-llvm-cg 2021-04-07 22:31:54 +02:00
frr-llvm-debuginfo.cpp tools: grok struct member calls in frr-llvm-cg 2021-04-07 22:31:25 +02:00
frr-llvm-debuginfo.h tools: grok struct member calls in frr-llvm-cg 2021-04-07 22:31:25 +02:00
frr-reload tools: Add helper frr-reload shell script for clean error 2018-03-14 17:31:29 -07:00
frr-reload.py tools: significantly simplify frr-reload context processing 2021-08-23 22:08:20 +03:00
frr.in pathd: New SR-TE policy management daemon 2020-12-18 16:34:02 +01:00
frr.service.in tools: fix systemd OnFailure directive 2021-03-25 10:37:23 -04:00
frr.vim tools: add vim snippet 2019-06-12 19:35:43 +02:00
frr@.service.in tools: fix systemd OnFailure directive 2021-03-25 10:37:23 -04:00
frrcommon.sh.in tools: Added pathd to the relevant init files 2021-03-29 15:42:35 +02:00
frrinit.sh.in watchfrr: add (network) namespace support 2020-07-22 12:56:04 +02:00
gen_northbound_callbacks.c lib: adapt to version 2 of libyang 2021-05-13 16:24:48 -04:00
gen_yang_deviations.c lib: adapt to version 2 of libyang 2021-05-13 16:24:48 -04:00
generate_support_bundle.py tests: collect support bundle data in parallel, fix bugs 2021-06-30 15:46:10 +00:00
git-reindent-branch.py *: reformat python files 2020-10-07 17:22:26 -04:00
indent.py *: reformat python files 2020-10-07 17:22:26 -04:00
lua.scr bgpd: Add lua match command 2018-09-26 21:21:23 -04:00
Makefile build: non-recursive watchfrr & tools 2017-09-07 16:18:50 +02:00
mrlg.txt mrlg: Remove obsolete version. 2016-05-26 01:16:28 +00:00
multiple-bgpd.sh tools: update to use FRR name 2017-07-12 13:26:22 -05:00
nhrpd-event-handler.sh tools: add explicit licence phrase 2021-03-10 11:31:25 -06:00
permutations.c tools: null check (Coverity 1399484) 2018-09-20 16:23:52 +02:00
releasedate.py workflow: document release scheduling discussed 2021-08-11 16:37:46 +02:00
render_md.py *: reformat python files 2020-10-07 17:22:26 -04:00
rrcheck.pl tools: use standard interpreter path in all Perl scripts 2012-04-30 16:13:47 +02:00
rrlookup.pl tools: use standard interpreter path in all Perl scripts 2012-04-30 16:13:47 +02:00
start-stop-daemon.c *: un-split strings across lines 2020-07-14 10:37:25 +02:00
stringmangle.py *: reformat python files 2020-10-07 17:22:26 -04:00
subdir.am Merge pull request #8353 from opensourcerouting/llvm-20210327 2021-06-01 19:08:32 +00:00
symalyzer.html tools: symalyzer 2019-12-14 12:41:19 +01:00
symalyzer.py *: reformat python files 2020-10-07 17:22:26 -04:00
valgrind.supp tools: Add some more data to ignore for valgrind 2021-05-05 10:52:51 -04:00
vty_index.sh *: fix remaining vty->index & add coccinelle patch 2016-12-09 17:36:25 +01:00
watchfrr.sh.in watchfrr: build in defaults for -r/-s/-k 2019-02-19 21:34:31 +01:00
zc.pl tools: use standard interpreter path in all Perl scripts 2012-04-30 16:13:47 +02:00
zebra.el Initial revision 2002-12-13 20:15:29 +00:00