aboutsummaryrefslogtreecommitdiff
path: root/topo
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-09-19 12:44:52 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-09-19 12:44:52 +0200
commitbd6a1253999e05fb77fe74e51ddfea507b5d7361 (patch)
treeba5daeccfb6cee6281fcd21f5a5ae6c4629aba90 /topo
parent813b35e4794051cd4d0327ce25644c28df9dfd63 (diff)
downloadmknet-bd6a1253999e05fb77fe74e51ddfea507b5d7361.tar.gz
mknet-bd6a1253999e05fb77fe74e51ddfea507b5d7361.zip
Create bandwidth bottleneck topo
Diffstat (limited to 'topo')
-rw-r--r--topo/100mbps.yml25
-rw-r--r--topo/10mbps.yml25
-rw-r--r--topo/1mbps.yml (renamed from topo/slow-net.yml)0
-rw-r--r--topo/50mbps.yml25
-rw-r--r--topo/5mbps.yml25
5 files changed, 100 insertions, 0 deletions
diff --git a/topo/100mbps.yml b/topo/100mbps.yml
new file mode 100644
index 0000000..9640461
--- /dev/null
+++ b/topo/100mbps.yml
@@ -0,0 +1,25 @@
+links:
+ - &slow
+ bandwidth: 100M
+ latency: 500us
+ - &1000
+ bandwidth: 1000M
+ latency: 100us
+
+servers:
+ - name: node1
+ <<: *slow
+ - name: node2
+ <<: *slow
+ - name: node3
+ <<: *slow
+
+global:
+ subnet:
+ base: 'fc00:9a7a:9e::'
+ local: 64
+ zone: 16
+ latency-offset: 3ms
+ upstream:
+ ip: fc00:9a7a:9e:ffff:ffff:ffff:ffff:ffff
+ conn: *1000
diff --git a/topo/10mbps.yml b/topo/10mbps.yml
new file mode 100644
index 0000000..d895c58
--- /dev/null
+++ b/topo/10mbps.yml
@@ -0,0 +1,25 @@
+links:
+ - &slow
+ bandwidth: 10M
+ latency: 500us
+ - &1000
+ bandwidth: 1000M
+ latency: 100us
+
+servers:
+ - name: node1
+ <<: *slow
+ - name: node2
+ <<: *slow
+ - name: node3
+ <<: *slow
+
+global:
+ subnet:
+ base: 'fc00:9a7a:9e::'
+ local: 64
+ zone: 16
+ latency-offset: 3ms
+ upstream:
+ ip: fc00:9a7a:9e:ffff:ffff:ffff:ffff:ffff
+ conn: *1000
diff --git a/topo/slow-net.yml b/topo/1mbps.yml
index 75fdfc2..75fdfc2 100644
--- a/topo/slow-net.yml
+++ b/topo/1mbps.yml
diff --git a/topo/50mbps.yml b/topo/50mbps.yml
new file mode 100644
index 0000000..1bccc65
--- /dev/null
+++ b/topo/50mbps.yml
@@ -0,0 +1,25 @@
+links:
+ - &slow
+ bandwidth: 50M
+ latency: 500us
+ - &1000
+ bandwidth: 1000M
+ latency: 100us
+
+servers:
+ - name: node1
+ <<: *slow
+ - name: node2
+ <<: *slow
+ - name: node3
+ <<: *slow
+
+global:
+ subnet:
+ base: 'fc00:9a7a:9e::'
+ local: 64
+ zone: 16
+ latency-offset: 3ms
+ upstream:
+ ip: fc00:9a7a:9e:ffff:ffff:ffff:ffff:ffff
+ conn: *1000
diff --git a/topo/5mbps.yml b/topo/5mbps.yml
new file mode 100644
index 0000000..1e20d7c
--- /dev/null
+++ b/topo/5mbps.yml
@@ -0,0 +1,25 @@
+links:
+ - &slow
+ bandwidth: 5M
+ latency: 500us
+ - &1000
+ bandwidth: 1000M
+ latency: 100us
+
+servers:
+ - name: node1
+ <<: *slow
+ - name: node2
+ <<: *slow
+ - name: node3
+ <<: *slow
+
+global:
+ subnet:
+ base: 'fc00:9a7a:9e::'
+ local: 64
+ zone: 16
+ latency-offset: 3ms
+ upstream:
+ ip: fc00:9a7a:9e:ffff:ffff:ffff:ffff:ffff
+ conn: *1000