aboutsummaryrefslogtreecommitdiff
path: root/topo
diff options
context:
space:
mode:
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