summaryrefslogtreecommitdiffstats
path: root/pathd
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-08-09 22:38:21 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2021-08-23 21:08:20 +0200
commitfc43980f25eab0f5e05e274f7144cda811333284 (patch)
treeb7a5e1d5990ebb1d2be601e86b7378be6b6aaacf /pathd
parentMerge pull request #9446 from mobash-rasool/ospfv3-bug-fixes (diff)
downloadfrr-fc43980f25eab0f5e05e274f7144cda811333284.tar.xz
frr-fc43980f25eab0f5e05e274f7144cda811333284.zip
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>
Diffstat (limited to 'pathd')
0 files changed, 0 insertions, 0 deletions