-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: tutorial freestanding deployment (#4435)
This tutorial was created at the IETF 118 hackathon. The goal is to make it easier to start tinkering with SCION outside of the complex and somewhat confusing development environment. Co-authored-by: John Studarus <[email protected]> Co-authored-by: Nicola Rustignoli <[email protected]> Co-authored-by: FR4NK-W <[email protected]> Co-authored-by: Matthias Frei <[email protected]>
- Loading branch information
1 parent
059f500
commit fce093e
Showing
14 changed files
with
669 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
Installation | ||
************ | ||
|
||
.. _install-debian-packages: | ||
|
||
Debian packages | ||
=============== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ recommonmark | |
sphinx-autobuild | ||
sphinx-rtd-theme | ||
sphinxcontrib-openapi | ||
sphinx_copybutton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Deployment Guide Bridge Router Configuration File | ||
# Save this file as /etc/scion/br.toml | ||
[general] | ||
id = "br" | ||
config_dir = "/etc/scion" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Sample Control Service configuration file | ||
# Save this file as /etc/scion/cs.toml | ||
[general] | ||
id = "cs" | ||
config_dir = "/etc/scion" | ||
reconnect_to_dispatcher = true | ||
|
||
[log.console] | ||
level = "info" | ||
|
||
[beacon_db] | ||
connection = "/var/lib/scion/control.beacon.db" | ||
|
||
[path_db] | ||
connection = "/var/lib/scion/control.path.db" | ||
|
||
[trust_db] | ||
connection = "/var/lib/scion/control.trust.db" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"attributes": [ | ||
"core" | ||
], | ||
"isd_as": "42-ffaa:1:1", | ||
"mtu": 1472, | ||
"control_service": { | ||
"cs": { | ||
"addr": "127.0.0.1:31000" | ||
} | ||
}, | ||
"discovery_service": { | ||
"cs": { | ||
"addr": "127.0.0.1:31000" | ||
} | ||
}, | ||
"border_routers": { | ||
"br": { | ||
"internal_addr": "127.0.0.1:31002", | ||
"interfaces": { | ||
"1": { | ||
"underlay": { | ||
"public": "10.0.0.1:50014", | ||
"remote": "10.0.0.4:50014" | ||
}, | ||
"isd_as": "42-ffaa:1:4", | ||
"link_to": "child", | ||
"mtu": 1472 | ||
}, | ||
"2": { | ||
"underlay": { | ||
"public": "10.0.0.1:50012", | ||
"remote": "10.0.0.2:50012" | ||
}, | ||
"isd_as": "42-ffaa:1:2", | ||
"link_to": "core", | ||
"mtu": 1472 | ||
}, | ||
"3": { | ||
"underlay": { | ||
"public": "10.0.0.1:50013", | ||
"remote": "10.0.0.3:50013" | ||
}, | ||
"isd_as": "42-ffaa:1:3", | ||
"link_to": "core", | ||
"mtu": 1472 | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"attributes": [ | ||
"core" | ||
], | ||
"isd_as": "42-ffaa:1:2", | ||
"mtu": 1472, | ||
"control_service": { | ||
"cs": { | ||
"addr": "127.0.0.1:31000" | ||
} | ||
}, | ||
"discovery_service": { | ||
"cs": { | ||
"addr": "127.0.0.1:31000" | ||
} | ||
}, | ||
"border_routers": { | ||
"br": { | ||
"internal_addr": "127.0.0.1:31002", | ||
"interfaces": { | ||
"1": { | ||
"underlay": { | ||
"public": "10.0.0.2:50012", | ||
"remote": "10.0.0.1:50012" | ||
}, | ||
"isd_as": "42-ffaa:1:1", | ||
"link_to": "core", | ||
"mtu": 1472 | ||
}, | ||
"2": { | ||
"underlay": { | ||
"public": "10.0.0.2:50023", | ||
"remote": "10.0.0.3:50023" | ||
}, | ||
"isd_as": "42-ffaa:1:3", | ||
"link_to": "core", | ||
"mtu": 1472 | ||
}, | ||
"3": { | ||
"underlay": { | ||
"public": "10.0.0.2:50025", | ||
"remote": "10.0.0.5:50025" | ||
}, | ||
"isd_as": "42-ffaa:1:5", | ||
"link_to": "child", | ||
"mtu": 1472 | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"attributes": [ | ||
"core" | ||
], | ||
"isd_as": "42-ffaa:1:3", | ||
"mtu": 1472, | ||
"control_service": { | ||
"cs": { | ||
"addr": "127.0.0.1:31000" | ||
} | ||
}, | ||
"discovery_service": { | ||
"cs": { | ||
"addr": "127.0.0.1:31000" | ||
} | ||
}, | ||
"border_routers": { | ||
"br": { | ||
"internal_addr": "127.0.0.1:31002", | ||
"interfaces": { | ||
"1": { | ||
"underlay": { | ||
"public": "10.0.0.3:50013", | ||
"remote": "10.0.0.1:50013" | ||
}, | ||
"isd_as": "42-ffaa:1:1", | ||
"link_to": "core", | ||
"mtu": 1472 | ||
}, | ||
"2": { | ||
"underlay": { | ||
"public": "10.0.0.3:50023", | ||
"remote": "10.0.0.2:50023" | ||
}, | ||
"isd_as": "42-ffaa:1:2", | ||
"link_to": "core", | ||
"mtu": 1472 | ||
}, | ||
"3": { | ||
"underlay": { | ||
"public": "10.0.0.3:50034", | ||
"remote": "10.0.0.4:50034" | ||
}, | ||
"isd_as": "42-ffaa:1:4", | ||
"link_to": "child", | ||
"mtu": 1472 | ||
}, | ||
"4": { | ||
"underlay": { | ||
"public": "10.0.0.3:50035", | ||
"remote": "10.0.0.5:50035" | ||
}, | ||
"isd_as": "42-ffaa:1:5", | ||
"link_to": "child", | ||
"mtu": 1472 | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"attributes": [], | ||
"isd_as": "42-ffaa:1:4", | ||
"mtu": 1472, | ||
"control_service": { | ||
"cs": { | ||
"addr": "127.0.0.1:31000" | ||
} | ||
}, | ||
"discovery_service": { | ||
"cs": { | ||
"addr": "127.0.0.1:31000" | ||
} | ||
}, | ||
"border_routers": { | ||
"br": { | ||
"internal_addr": "127.0.0.1:31002", | ||
"interfaces": { | ||
"1": { | ||
"underlay": { | ||
"public": "10.0.0.4:50014", | ||
"remote": "10.0.0.1:50014" | ||
}, | ||
"isd_as": "42-ffaa:1:1", | ||
"link_to": "parent", | ||
"mtu": 1472 | ||
}, | ||
"2": { | ||
"underlay": { | ||
"public": "10.0.0.4:50034", | ||
"remote": "10.0.0.3:50034" | ||
}, | ||
"isd_as": "42-ffaa:1:3", | ||
"link_to": "parent", | ||
"mtu": 1472 | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"attributes": [], | ||
"isd_as": "42-ffaa:1:5", | ||
"mtu": 1472, | ||
"control_service": { | ||
"cs": { | ||
"addr": "127.0.0.1:31000" | ||
} | ||
}, | ||
"discovery_service": { | ||
"cs": { | ||
"addr": "127.0.0.1:31000" | ||
} | ||
}, | ||
"border_routers": { | ||
"br": { | ||
"internal_addr": "127.0.0.1:31002", | ||
"interfaces": { | ||
"1": { | ||
"underlay": { | ||
"public": "10.0.0.5:50025", | ||
"remote": "10.0.0.2:50025" | ||
}, | ||
"isd_as": "42-ffaa:1:2", | ||
"link_to": "parent", | ||
"mtu": 1472 | ||
}, | ||
"2": { | ||
"underlay": { | ||
"public": "10.0.0.5:50035", | ||
"remote": "10.0.0.3:50035" | ||
}, | ||
"isd_as": "42-ffaa:1:3", | ||
"link_to": "parent", | ||
"mtu": 1472 | ||
} | ||
} | ||
} | ||
} | ||
} |