aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas DeMarinis <ndemarinis@wpi.edu>2023-09-30 05:34:10 -0400
committerNicholas DeMarinis <ndemarinis@wpi.edu>2023-09-30 05:34:10 -0400
commit6521c9c1e58b50edcf0b0470bc124c4b70ed0323 (patch)
treec41f78b64b4726c087e5f4b718ac0ffe26e018f0
parent95c3d2500bca14085acb3cf8c5256f8b20313130 (diff)
Added sample networks and x86 reference.
-rw-r--r--nets/doc-example.json48
-rw-r--r--nets/linear-r1h2.json34
-rw-r--r--nets/linear-r1h4.json44
-rw-r--r--nets/linear-r2h2.json43
-rw-r--r--nets/linear-r3h2.json55
-rw-r--r--nets/loop.json83
-rwxr-xr-xreference/vhostbin0 -> 2376088 bytes
-rwxr-xr-xreference/vrouterbin0 -> 2400664 bytes
8 files changed, 307 insertions, 0 deletions
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"
+ ]
+ }
+ ]
+}
diff --git a/nets/linear-r1h2.json b/nets/linear-r1h2.json
new file mode 100644
index 0000000..9d14559
--- /dev/null
+++ b/nets/linear-r1h2.json
@@ -0,0 +1,34 @@
+{
+ "nodes": [
+ {
+ "name": "r1",
+ "type": "router"
+ },
+ {
+ "name": "h1",
+ "type": "host"
+ },
+ {
+ "name": "h2",
+ "type": "host"
+ }
+ ],
+ "networks": [
+ {
+ "name": "r1-left",
+ "advertise-routes-from": [],
+ "links": [
+ "h1",
+ "r1"
+ ]
+ },
+ {
+ "name": "r1-right",
+ "advertise-routes-from": [],
+ "links": [
+ "r1",
+ "h2"
+ ]
+ }
+ ]
+}
diff --git a/nets/linear-r1h4.json b/nets/linear-r1h4.json
new file mode 100644
index 0000000..d1204b0
--- /dev/null
+++ b/nets/linear-r1h4.json
@@ -0,0 +1,44 @@
+{
+ "nodes": [
+ {
+ "name": "r1",
+ "type": "router"
+ },
+ {
+ "name": "h1",
+ "type": "host"
+ },
+ {
+ "name": "h2",
+ "type": "host"
+ },
+ {
+ "name": "h3",
+ "type": "host"
+ },
+ {
+ "name": "h4",
+ "type": "host"
+ }
+ ],
+ "networks": [
+ {
+ "name": "r1-left",
+ "advertise-routes-from": [],
+ "links": [
+ "h1",
+ "h2",
+ "r1"
+ ]
+ },
+ {
+ "name": "r1-right",
+ "advertise-routes-from": [],
+ "links": [
+ "r1",
+ "h3",
+ "h4"
+ ]
+ }
+ ]
+}
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"
+ ]
+ }
+ ]
+}
diff --git a/nets/linear-r3h2.json b/nets/linear-r3h2.json
new file mode 100644
index 0000000..43ba8c4
--- /dev/null
+++ b/nets/linear-r3h2.json
@@ -0,0 +1,55 @@
+{
+ "nodes": [
+ {
+ "name": "r1",
+ "type": "router"
+ },
+ {
+ "name": "r2",
+ "type": "router"
+ },
+ {
+ "name": "r3",
+ "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": "r3-hosts",
+ "links": [
+ "r3",
+ "h2"
+ ]
+ }
+ ]
+}
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"
+ ]
+ }
+ ]
+}
diff --git a/reference/vhost b/reference/vhost
new file mode 100755
index 0000000..4f643fd
--- /dev/null
+++ b/reference/vhost
Binary files differ
diff --git a/reference/vrouter b/reference/vrouter
new file mode 100755
index 0000000..eda94a0
--- /dev/null
+++ b/reference/vrouter
Binary files differ