diff options
| author | github-classroom[bot] <66690702+github-classroom[bot]@users.noreply.github.com> | 2023-09-30 22:33:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-30 22:33:47 +0000 |
| commit | 18ff290bd2545a5a681d047a70576d694a9ab20b (patch) | |
| tree | c953e5d610cef5afd34fc36f11148552ebbe9dff /nets/loop.json | |
Initial commit
Diffstat (limited to 'nets/loop.json')
| -rw-r--r-- | nets/loop.json | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/nets/loop.json b/nets/loop.json new file mode 100644 index 0000000..05d0d77 --- /dev/null +++ b/nets/loop.json @@ -0,0 +1,83 @@ +{ + "nodes": [ + { + "name": "r1", + "type": "router" + }, + { + "name": "r2", + "type": "router" + }, + { + "name": "r3", + "type": "router" + }, + { + "name": "r4", + "type": "router" + }, + { + "name": "r5", + "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-r3", + "links": [ + "r2", + "r3" + ] + }, + { + "name": "r1-r4", + "links": [ + "r1", + "r4" + ] + }, + { + "name": "r4-r5", + "links": [ + "r4", + "r5" + ] + }, + { + "name": "r5-r3", + "links": [ + "r5", + "r3" + ] + }, + { + "name": "r3-hosts", + "links": [ + "r3", + "h2" + ] + } + ] +} |
