SCION: Difference between revisions
m formatting |
m formatting |
||
Line 22: | Line 22: | ||
=== Fixing SCIONLab Provided topology.json === | === Fixing SCIONLab Provided topology.json === | ||
The SCIONLab generated configuration contains some default incorrect assumptions though, that we need to either '''accomodate''' or '''fix'''. Inside of the <code>gen</code> folder provided by SCIONLab, you can correct the | The SCIONLab generated configuration contains some default incorrect assumptions though, that we need to either '''accomodate''' or '''fix'''. Inside of the <code>gen</code> folder provided by SCIONLab, you can correct the <code>topology.json</code> by removing <code>-1</code> from all occurrences of <code>br-1</code> <code>cs-1</code> <code>ds-1</code> and <code>sig-1</code>, then you can use the NixOS configuration below with no changes. | ||
For convenience, you can run <code>sed -i 's/-1//g' gen/*/topology.json</code> to do this replacement.<syntaxhighlight lang="nix"> | For convenience, you can run <code>sed -i 's/-1//g' gen/*/topology.json</code> to do this replacement.<syntaxhighlight lang="nix"> |