From 972cc0287e2e1231b7b67177e5bc89af5dead23c Mon Sep 17 00:00:00 2001 From: David Doan Date: Mon, 23 Oct 2023 14:53:30 -0400 Subject: comments and refactoring --- lnxfiles/doc-example/binaries.example.json | 17 +++++++++++++++++ lnxfiles/doc-example/nodes.json | 7 +++++++ lnxfiles/loop/binaries.example.json | 23 +++++++++++++++++++++++ lnxfiles/loop/nodes.json | 9 +++++++++ lnxfiles/r1h2/binaries.example.json | 11 +++++++++++ lnxfiles/r1h2/nodes.json | 5 +++++ lnxfiles/r1h4/binaries.example.json | 17 +++++++++++++++++ lnxfiles/r1h4/nodes.json | 7 +++++++ lnxfiles/r2h2/binaries.example.json | 14 ++++++++++++++ lnxfiles/r2h2/nodes.json | 6 ++++++ lnxfiles/r3h2/binaries.example.json | 17 +++++++++++++++++ lnxfiles/r3h2/nodes.json | 7 +++++++ lnxfiles/vhost | Bin 0 -> 3110339 bytes lnxfiles/vrouter | Bin 0 -> 3110339 bytes 14 files changed, 140 insertions(+) create mode 100644 lnxfiles/doc-example/binaries.example.json create mode 100644 lnxfiles/doc-example/nodes.json create mode 100644 lnxfiles/loop/binaries.example.json create mode 100644 lnxfiles/loop/nodes.json create mode 100644 lnxfiles/r1h2/binaries.example.json create mode 100644 lnxfiles/r1h2/nodes.json create mode 100644 lnxfiles/r1h4/binaries.example.json create mode 100644 lnxfiles/r1h4/nodes.json create mode 100644 lnxfiles/r2h2/binaries.example.json create mode 100644 lnxfiles/r2h2/nodes.json create mode 100644 lnxfiles/r3h2/binaries.example.json create mode 100644 lnxfiles/r3h2/nodes.json create mode 100755 lnxfiles/vhost create mode 100755 lnxfiles/vrouter (limited to 'lnxfiles') 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 Binary files /dev/null and b/lnxfiles/vhost differ diff --git a/lnxfiles/vrouter b/lnxfiles/vrouter new file mode 100755 index 0000000..c89f6fe Binary files /dev/null and b/lnxfiles/vrouter differ -- cgit v1.2.3-70-g09d2