gortr icon indicating copy to clipboard operation
gortr copied to clipboard

Possible to use multiple SLURM files?

Open netravnen opened this issue 4 years ago • 6 comments

Hello,

I wanted to ask a clarifying question regarding usage of single vs. multiple SLURM.json files.

The docs only specify usage of one single SLURM.json as input.

No mention if multiple SLURM.json files are supported.

netravnen avatar Mar 03 '20 12:03 netravnen

Hi @netravnen. Multiple SLURMs are not supported. Out of curiosity: what is the use-case? Do you process them sequentially?

lspgn avatar Mar 03 '20 22:03 lspgn

Out of curiosity: what is the use-case? Do you process them sequentially?

I do see a use case with filtering bogons using generated SLURM files. However I'm not sure on the semantics and not aware of an implementation supporting multiple SLURM files.

ties avatar Mar 04 '20 07:03 ties

Out of curiosity: what is the use-case? Do you process them sequentially?

I use a local exception file for internal routes. As well as import the current as0 file exported by the APNIC testbed and a bogons list generated with rpki-as0-bogons. 3x in total.

I do see a use case with filtering bogons using generated SLURM files. However, I'm not sure on the semantics and not aware of an implementation supporting multiple SLURM files.

Routinator 3000 does support use of multiple local exception files. It's is not well describes in the docs. It is mentioned in the example configuration file.

netravnen avatar Mar 04 '20 09:03 netravnen

I'll take a look. Thank you for the details!

lspgn avatar Mar 05 '20 07:03 lspgn

NB: The FORT validator do as well, (NICMx/FORT-validator/tree/master/src/slurm)

The SLURM files are defined by the --slurm flag. If the flag points to a file, the configuration is extracted from that single file. If it points to a directory, the configuration is the aggregation of the contents of its contained .slurm files.

netravnen avatar Mar 05 '20 15:03 netravnen

A temporary (gortr independent) solution is here slurm-cat and tweeted about here: https://twitter.com/mahtin/status/1235805471883137029 - please consider testing.

mahtin avatar Mar 06 '20 05:03 mahtin