mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
![]() ``` [...] segment-routing srv6 static-sids sid fcbb:bbbb:1::/48 locator MAIN behavior uN sid fcbb:bbbb:1:fe10::/64 locator MAIN behavior uDT4 vrf Vrf10 sid fcbb:bbbb:1:fe20::/64 locator MAIN behavior uDT6 vrf Vrf20 sid fcbb:bbbb:1:fe30::/64 locator MAIN behavior uDT46 vrf Vrf30 sid fcbb:bbbb:1:fe40::/64 locator MAIN behavior uA interface sr0 nexthop 2001::2 [...] ``` When the user has a configuration like the one above and runs the command `frr-reload.py --reload`, the following error occurs: ``` [1129654|mgmtd] sending configuration line 17: % Unknown command[76]: sid fcbb:bbbb:1::/48 locator MAIN behavior uN line 23: % Unknown command[76]: sid fcbb:bbbb:1:fe10::/64 locator MAIN behavior uDT4 vrf Vrf10 line 29: % Unknown command[76]: sid fcbb:bbbb:1:fe20::/64 locator MAIN behavior uDT6 vrf Vrf20 line 35: % Unknown command[76]: sid fcbb:bbbb:1:fe30::/64 locator MAIN behavior uDT46 vrf Vrf30 line 41: % Unknown command[76]: sid fcbb:bbbb:1:fe40::/64 locator MAIN behavior uA interface sr0 nexthop 2001::2 ``` The problem is that in `frr-reload-py` all commands that start a new multi-line context must be included in the `ctx_keyword` dictionary. However, the `static-sids` command is not part of the `ctx_keyword` dictionary. This commit fixes the problem by adding `static-sids` to `ctx_keyword`. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com> |
||
---|---|---|
.. | ||
coccinelle | ||
etc | ||
gcc-plugins | ||
.gitignore | ||
build-debian-package.sh | ||
checkpatch.pl | ||
checkpatch.sh | ||
cocci.h | ||
convert-fixedwidth.sh | ||
emacs.dir-locals.el | ||
fixup-deprecated.py | ||
frr-llvm-cg.c | ||
frr-llvm-debuginfo.cpp | ||
frr-llvm-debuginfo.h | ||
frr-reload | ||
frr-reload.py | ||
frr.in | ||
frr.service.in | ||
frr.vim | ||
frr@.service.in | ||
frr_babeltrace.py | ||
frrcommon.sh.in | ||
frrinit.sh.in | ||
gen_northbound_callbacks.c | ||
gen_yang_deviations.c | ||
generate_support_bundle.py | ||
git-reindent-branch.py | ||
indent.py | ||
lua.scr | ||
Makefile | ||
mrlg.txt | ||
multiple-bgpd.sh | ||
nhrpd-event-handler.sh | ||
permutations.c | ||
release_notes.py | ||
releasedate.py | ||
render_md.py | ||
rrcheck.pl | ||
rrlookup.pl | ||
start-stop-daemon.c | ||
stringmangle.py | ||
subdir.am | ||
symalyzer.html | ||
symalyzer.py | ||
valgrind.supp | ||
vty_index.sh | ||
watchfrr.sh.in | ||
zc.pl | ||
zebra.el |