aboutsummaryrefslogtreecommitdiff
path: root/topo
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-09-14 17:25:16 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-09-14 17:25:16 +0200
commite3409ce6b751fa92a98000ca4a2225b2ed10fdee (patch)
tree82a95796bafda3b145aebe1110782a65dedf491f /topo
parent30643ca50d4646a790080ee12fa3fbe874bfcf73 (diff)
downloadmknet-e3409ce6b751fa92a98000ca4a2225b2ed10fdee.tar.gz
mknet-e3409ce6b751fa92a98000ca4a2225b2ed10fdee.zip
New way to deploy Garage
Diffstat (limited to 'topo')
-rw-r--r--topo/multi-dc.yml46
-rw-r--r--topo/single-dc.yml34
-rw-r--r--topo/slow-net.yml25
-rw-r--r--topo/with-vdsl.yml49
4 files changed, 154 insertions, 0 deletions
diff --git a/topo/multi-dc.yml b/topo/multi-dc.yml
new file mode 100644
index 0000000..77e695b
--- /dev/null
+++ b/topo/multi-dc.yml
@@ -0,0 +1,46 @@
+links:
+ - &100
+ bandwidth: 100M
+ latency: 500us
+ - &wan
+ bandwidth: 100M
+ latency: 50ms
+ jitter: 10ms
+
+zones:
+ - &dc1
+ name: dc1
+ internal: *100
+ external: *wan
+ - &dc2
+ name: dc2
+ internal: *100
+ external: *wan
+ - &dc3
+ name: dc3
+ internal: *100
+ external: *wan
+
+servers:
+ - name: dc1s1
+ zone: *dc1
+ - name: dc1s2
+ zone: *dc1
+ - name: dc2s1
+ zone: *dc2
+ - name: dc2s2
+ zone: *dc2
+ - name: dc3s1
+ zone: *dc3
+ - name: dc3s2
+ zone: *dc3
+
+global:
+ subnet:
+ base: 'fc00:9a7a:9e::'
+ local: 64
+ zone: 16
+ latency-offset: 3ms
+ upstream:
+ ip: fc00:9a7a:9e:ffff:ffff:ffff:ffff:ffff
+ conn: *wan
diff --git a/topo/single-dc.yml b/topo/single-dc.yml
new file mode 100644
index 0000000..39427aa
--- /dev/null
+++ b/topo/single-dc.yml
@@ -0,0 +1,34 @@
+links:
+ - &fiber
+ bandwidth: 100M
+ latency: 50ms
+ jitter: 10ms
+
+zones:
+ - &dc1
+ name: dc1
+ internal: *fiber
+ external: *fiber
+
+servers:
+ - name: dc1s1
+ zone: *dc1
+ - name: dc1s2
+ zone: *dc1
+ - name: dc1s3
+ zone: *dc1
+ - name: dc1s4
+ zone: *dc1
+ - name: dc1s5
+ zone: *dc1
+
+global:
+ subnet:
+ base: 'fc00:9a7a:9e::'
+ local: 64
+ zone: 16
+ latency-offset: 3ms
+ upstream:
+ ip: fc00:9a7a:9e:ffff:ffff:ffff:ffff:ffff
+ conn: *fiber
+
diff --git a/topo/slow-net.yml b/topo/slow-net.yml
new file mode 100644
index 0000000..75fdfc2
--- /dev/null
+++ b/topo/slow-net.yml
@@ -0,0 +1,25 @@
+links:
+ - &slow
+ bandwidth: 1M
+ 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/with-vdsl.yml b/topo/with-vdsl.yml
new file mode 100644
index 0000000..87d167b
--- /dev/null
+++ b/topo/with-vdsl.yml
@@ -0,0 +1,49 @@
+links:
+ - &100
+ bandwidth: 100M
+ latency: 500us
+ - &1000
+ bandwidth: 1000M
+ latency: 100us
+ - &vdsl
+ bandwidth:
+ up: 3M
+ down: 55M
+ latency: 50ms
+ jitter: 10ms
+ - &fiber
+ bandwidth: 400M
+ latency: 10ms
+ jitter: 3ms
+
+zones:
+ - &dc1
+ name: dc1
+ internal: *100
+ external: *vdsl
+ - &dc2
+ name: dc2
+ internal: *1000
+ external: *fiber
+
+servers:
+ - name: dc1s1
+ zone: *dc1
+ - name: dc1s2
+ zone: *dc1
+ - name: dc2s1
+ zone: *dc2
+ - name: dc2s2
+ zone: *dc2
+ - name: no_dc
+ <<: *vdsl
+
+global:
+ subnet:
+ base: 'fc00:9a7a:9e::'
+ local: 64
+ zone: 16
+ latency-offset: 3ms
+ upstream:
+ ip: fc00:9a7a:9e:ffff:ffff:ffff:ffff:ffff
+ conn: *fiber