summaryrefslogtreecommitdiff
path: root/pathd/path_pcep_cli.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-08-09 23:38:21 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-08-23 22:08:20 +0300
commitfc43980f25eab0f5e05e274f7144cda811333284 (patch)
treeb7a5e1d5990ebb1d2be601e86b7378be6b6aaacf /pathd/path_pcep_cli.c
parent6b7388555605024fd6594cc998badb6bcd7069f5 (diff)
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/path_pcep_cli.c')
0 files changed, 0 insertions, 0 deletions