From 18ff290bd2545a5a681d047a70576d694a9ab20b Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Sat, 30 Sep 2023 22:33:47 +0000 Subject: Initial commit --- nets/doc-example.json | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 nets/doc-example.json (limited to 'nets/doc-example.json') diff --git a/nets/doc-example.json b/nets/doc-example.json new file mode 100644 index 0000000..a953d98 --- /dev/null +++ b/nets/doc-example.json @@ -0,0 +1,48 @@ +{ + "nodes": [ + { + "name": "r1", + "type": "router" + }, + { + "name": "r2", + "type": "router" + }, + { + "name": "h1", + "type": "host" + }, + { + "name": "h2", + "type": "host" + }, + { + "name": "h3", + "type": "host" + } + ], + "networks": [ + { + "name": "r1-hosts", + "links": [ + "h1", + "r1" + ] + }, + { + "name": "r1-r2", + "links": [ + "r1", + "r2" + ] + }, + { + "name": "r2-hosts", + "links": [ + "r2", + "h2", + "h3" + ] + } + ] +} -- cgit v1.2.3-70-g09d2