]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Add multiple improvements at SLURM, config and vrp, and fix a test bug
authorpcarana <pc.moreno2099@gmail.com>
Tue, 21 May 2019 21:11:40 +0000 (16:11 -0500)
committerpcarana <pc.moreno2099@gmail.com>
Tue, 21 May 2019 21:11:40 +0000 (16:11 -0500)
commitcea21a8d9911f91d29d9adfd03f7d0c732f79cec
treecb5b38970ea23e264bf80d49250e686d1df4c8d4
parent92ba8772e829a691a5cc4dd12ce7cdbc35652107
Add multiple improvements at SLURM, config and vrp, and fix a test bug

- Fix bug at client_test, the module wasn't updated with several changes from other commits.
- Add common function to load data from a file or directory, use this for TAL and SLURM locations (both configurations can have a file path or a dir path).
- Update some config parameters:
+   'server.slurm.location' renamed to 'slurm' and it can be a file path or a directory path.
+   'server.queue' renamed to 'server.backlog' with a default value of SOMAXCONN.
+   Delete 'server.rtr-interval.*' (RTRv1 isn't supported yet).
- Create macros to compare VRPs and to compare each of its properties.
- If the SLURM has errors, don't drop the whole ROA tree, just don't apply SLURM on the tree.
15 files changed:
src/common.c
src/common.h
src/config.c
src/config.h
src/object/tal.c
src/rtr/db/roa_table.c
src/rtr/db/roa_table.h
src/rtr/db/vrp.h
src/rtr/db/vrps.c
src/rtr/pdu_sender.c
src/slurm/slurm_db.c
src/slurm/slurm_loader.c
src/slurm/slurm_loader.h
test/client_test.c
test/impersonator.c