aboutsummaryrefslogtreecommitdiff
path: root/lnxfiles
diff options
context:
space:
mode:
authorDavid Doan <daviddoan@Davids-MacBook-Pro-70.local>2023-10-23 14:53:30 -0400
committerDavid Doan <daviddoan@Davids-MacBook-Pro-70.local>2023-10-23 14:53:30 -0400
commit972cc0287e2e1231b7b67177e5bc89af5dead23c (patch)
treefe1012417c06775c98e81c4d88372c691f0ba1bd /lnxfiles
parent0d68d5aa82a980b10b8afd00e054f6c126e50d93 (diff)
comments and refactoring
Diffstat (limited to 'lnxfiles')
-rw-r--r--lnxfiles/doc-example/binaries.example.json17
-rw-r--r--lnxfiles/doc-example/nodes.json7
-rw-r--r--lnxfiles/loop/binaries.example.json23
-rw-r--r--lnxfiles/loop/nodes.json9
-rw-r--r--lnxfiles/r1h2/binaries.example.json11
-rw-r--r--lnxfiles/r1h2/nodes.json5
-rw-r--r--lnxfiles/r1h4/binaries.example.json17
-rw-r--r--lnxfiles/r1h4/nodes.json7
-rw-r--r--lnxfiles/r2h2/binaries.example.json14
-rw-r--r--lnxfiles/r2h2/nodes.json6
-rw-r--r--lnxfiles/r3h2/binaries.example.json17
-rw-r--r--lnxfiles/r3h2/nodes.json7
-rwxr-xr-xlnxfiles/vhostbin0 -> 3110339 bytes
-rwxr-xr-xlnxfiles/vrouterbin0 -> 3110339 bytes
14 files changed, 140 insertions, 0 deletions
diff --git a/lnxfiles/doc-example/binaries.example.json b/lnxfiles/doc-example/binaries.example.json
new file mode 100644
index 0000000..b6ff6d9
--- /dev/null
+++ b/lnxfiles/doc-example/binaries.example.json
@@ -0,0 +1,17 @@
+{
+ "h1": {
+ "binary_path": "./vhost"
+ },
+ "h2": {
+ "binary_path": "./vhost"
+ },
+ "h3": {
+ "binary_path": "./vhost"
+ },
+ "r1": {
+ "binary_path": "./vrouter"
+ },
+ "r2": {
+ "binary_path": "./vrouter"
+ }
+} \ No newline at end of file
diff --git a/lnxfiles/doc-example/nodes.json b/lnxfiles/doc-example/nodes.json
new file mode 100644
index 0000000..7b91355
--- /dev/null
+++ b/lnxfiles/doc-example/nodes.json
@@ -0,0 +1,7 @@
+{
+ "h1": "host",
+ "h2": "host",
+ "h3": "host",
+ "r1": "router",
+ "r2": "router"
+} \ No newline at end of file
diff --git a/lnxfiles/loop/binaries.example.json b/lnxfiles/loop/binaries.example.json
new file mode 100644
index 0000000..3d0d853
--- /dev/null
+++ b/lnxfiles/loop/binaries.example.json
@@ -0,0 +1,23 @@
+{
+ "h1": {
+ "binary_path": "./vhost"
+ },
+ "h2": {
+ "binary_path": "./vhost"
+ },
+ "r1": {
+ "binary_path": "./vrouter"
+ },
+ "r2": {
+ "binary_path": "./vrouter"
+ },
+ "r3": {
+ "binary_path": "./vrouter"
+ },
+ "r4": {
+ "binary_path": "./vrouter"
+ },
+ "r5": {
+ "binary_path": "./vrouter"
+ }
+} \ No newline at end of file
diff --git a/lnxfiles/loop/nodes.json b/lnxfiles/loop/nodes.json
new file mode 100644
index 0000000..2829f76
--- /dev/null
+++ b/lnxfiles/loop/nodes.json
@@ -0,0 +1,9 @@
+{
+ "h1": "host",
+ "h2": "host",
+ "r1": "router",
+ "r2": "router",
+ "r3": "router",
+ "r4": "router",
+ "r5": "router"
+} \ No newline at end of file
diff --git a/lnxfiles/r1h2/binaries.example.json b/lnxfiles/r1h2/binaries.example.json
new file mode 100644
index 0000000..1888a6b
--- /dev/null
+++ b/lnxfiles/r1h2/binaries.example.json
@@ -0,0 +1,11 @@
+{
+ "h1": {
+ "binary_path": "./vhost"
+ },
+ "h2": {
+ "binary_path": "./vhost"
+ },
+ "r1": {
+ "binary_path": "./vrouter"
+ }
+} \ No newline at end of file
diff --git a/lnxfiles/r1h2/nodes.json b/lnxfiles/r1h2/nodes.json
new file mode 100644
index 0000000..6accf5f
--- /dev/null
+++ b/lnxfiles/r1h2/nodes.json
@@ -0,0 +1,5 @@
+{
+ "h1": "host",
+ "h2": "host",
+ "r1": "router"
+} \ No newline at end of file
diff --git a/lnxfiles/r1h4/binaries.example.json b/lnxfiles/r1h4/binaries.example.json
new file mode 100644
index 0000000..81dd521
--- /dev/null
+++ b/lnxfiles/r1h4/binaries.example.json
@@ -0,0 +1,17 @@
+{
+ "h1": {
+ "binary_path": "./vhost"
+ },
+ "h2": {
+ "binary_path": "./vhost"
+ },
+ "h3": {
+ "binary_path": "./vhost"
+ },
+ "h4": {
+ "binary_path": "./vhost"
+ },
+ "r1": {
+ "binary_path": "./vrouter"
+ }
+} \ No newline at end of file
diff --git a/lnxfiles/r1h4/nodes.json b/lnxfiles/r1h4/nodes.json
new file mode 100644
index 0000000..1927005
--- /dev/null
+++ b/lnxfiles/r1h4/nodes.json
@@ -0,0 +1,7 @@
+{
+ "h1": "host",
+ "h2": "host",
+ "h3": "host",
+ "h4": "host",
+ "r1": "router"
+} \ No newline at end of file
diff --git a/lnxfiles/r2h2/binaries.example.json b/lnxfiles/r2h2/binaries.example.json
new file mode 100644
index 0000000..59223ba
--- /dev/null
+++ b/lnxfiles/r2h2/binaries.example.json
@@ -0,0 +1,14 @@
+{
+ "h1": {
+ "binary_path": "./vhost"
+ },
+ "h2": {
+ "binary_path": "./vhost"
+ },
+ "r1": {
+ "binary_path": "./vrouter"
+ },
+ "r2": {
+ "binary_path": "./vrouter"
+ }
+} \ No newline at end of file
diff --git a/lnxfiles/r2h2/nodes.json b/lnxfiles/r2h2/nodes.json
new file mode 100644
index 0000000..282ab86
--- /dev/null
+++ b/lnxfiles/r2h2/nodes.json
@@ -0,0 +1,6 @@
+{
+ "h1": "host",
+ "h2": "host",
+ "r1": "router",
+ "r2": "router"
+} \ No newline at end of file
diff --git a/lnxfiles/r3h2/binaries.example.json b/lnxfiles/r3h2/binaries.example.json
new file mode 100644
index 0000000..9079242
--- /dev/null
+++ b/lnxfiles/r3h2/binaries.example.json
@@ -0,0 +1,17 @@
+{
+ "h1": {
+ "binary_path": "./vhost"
+ },
+ "h2": {
+ "binary_path": "./vhost"
+ },
+ "r1": {
+ "binary_path": "./vrouter"
+ },
+ "r2": {
+ "binary_path": "./vrouter"
+ },
+ "r3": {
+ "binary_path": "./vrouter"
+ }
+} \ No newline at end of file
diff --git a/lnxfiles/r3h2/nodes.json b/lnxfiles/r3h2/nodes.json
new file mode 100644
index 0000000..27ea8c5
--- /dev/null
+++ b/lnxfiles/r3h2/nodes.json
@@ -0,0 +1,7 @@
+{
+ "h1": "host",
+ "h2": "host",
+ "r1": "router",
+ "r2": "router",
+ "r3": "router"
+} \ No newline at end of file
diff --git a/lnxfiles/vhost b/lnxfiles/vhost
new file mode 100755
index 0000000..b240f26
--- /dev/null
+++ b/lnxfiles/vhost
Binary files differ
diff --git a/lnxfiles/vrouter b/lnxfiles/vrouter
new file mode 100755
index 0000000..c89f6fe
--- /dev/null
+++ b/lnxfiles/vrouter
Binary files differ