Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Possible to use multiple SLURM files? #51

Open
netravnen opened this issue Mar 3, 2020 · 6 comments
Open

Possible to use multiple SLURM files? #51

netravnen opened this issue Mar 3, 2020 · 6 comments

Comments

@netravnen
Copy link
Contributor

netravnen commented Mar 3, 2020

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 netravnen changed the title Possible to use mulitple SLURM files? Possible to use multiple SLURM files? Mar 3, 2020
@lspgn
Copy link
Contributor

lspgn commented Mar 3, 2020

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

@ties
Copy link
Contributor

ties commented Mar 4, 2020

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.

@netravnen
Copy link
Contributor Author

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.

@lspgn
Copy link
Contributor

lspgn commented Mar 5, 2020

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

@netravnen
Copy link
Contributor Author

netravnen commented Mar 5, 2020

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.

@mahtin
Copy link

mahtin commented Mar 6, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants