aboutsummaryrefslogtreecommitdiff
path: root/nets/linear-r2h2.json
diff options
context:
space:
mode:
authorgithub-classroom[bot] <66690702+github-classroom[bot]@users.noreply.github.com>2023-09-30 22:33:47 +0000
committerGitHub <noreply@github.com>2023-09-30 22:33:47 +0000
commit18ff290bd2545a5a681d047a70576d694a9ab20b (patch)
treec953e5d610cef5afd34fc36f11148552ebbe9dff /nets/linear-r2h2.json
Initial commit
Diffstat (limited to 'nets/linear-r2h2.json')
-rw-r--r--nets/linear-r2h2.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/nets/linear-r2h2.json b/nets/linear-r2h2.json
new file mode 100644
index 0000000..b82e68d
--- /dev/null
+++ b/nets/linear-r2h2.json
@@ -0,0 +1,43 @@
+{
+ "nodes": [
+ {
+ "name": "r1",
+ "type": "router"
+ },
+ {
+ "name": "r2",
+ "type": "router"
+ },
+ {
+ "name": "h1",
+ "type": "host"
+ },
+ {
+ "name": "h2",
+ "type": "host"
+ }
+ ],
+ "networks": [
+ {
+ "name": "r1-hosts",
+ "links": [
+ "h1",
+ "r1"
+ ]
+ },
+ {
+ "name": "r1-r2",
+ "links": [
+ "r1",
+ "r2"
+ ]
+ },
+ {
+ "name": "r2-hosts",
+ "links": [
+ "r2",
+ "h2"
+ ]
+ }
+ ]
+}