forked from input-output-hk/iohk-ops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
topology-benchmark.yaml
186 lines (165 loc) · 4.81 KB
/
topology-benchmark.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
nodes:
# First the 7 cores, in 3 regions
# - Frankfurt (eu-central-1)
# - Tokyo (ap-northeast-1)
# - Singapore (ap-southeast-1)
# TODO: replace "eu-central-1" with US, North Cal. (us-west-1)
'c-a-1':
region: eu-central-1
zone: eu-central-1b
type: core
host: c-a-1.cardano
static-routes: [['c-a-2', 'c-a-3'], ['c-b-1', 'c-b-2'], ['r-a-1', 'r-a-2']]
org: IOHK
'c-a-2':
region: eu-central-1
zone: eu-central-1b
type: core
host: c-a-2.cardano
static-routes: [['c-a-3', 'c-a-1'], ['c-c-2', 'c-c-1'], ['r-a-2', 'r-a-3']]
org: IOHK
'c-a-3':
region: eu-central-1
zone: eu-central-1b
type: core
host: c-a-3.cardano
static-routes: [['c-a-1', 'c-a-2'], ['r-a-3', 'r-a-1'], ['r-b-1', 'r-c-1']]
org: IOHK
'c-b-1':
region: ap-northeast-1
zone: ap-northeast-1a
type: core
host: c-b-1.cardano
static-routes: [['c-b-2', 'r-b-2'], ['c-c-1', 'c-c-2'], ['r-b-1', 'r-b-2']]
org: Emurgo
'c-b-2':
region: ap-northeast-1
zone: ap-northeast-1a
type: core
host: c-b-2.cardano
static-routes: [['c-a-2', 'c-a-1'], ['c-b-1', 'r-b-1'], ['r-b-2', 'r-b-1']]
org: Emurgo
'c-c-1':
region: ap-southeast-1
zone: ap-southeast-1b
type: core
host: c-c-1.cardano
static-routes: [['c-a-1', 'c-a-2'], ['c-c-2', 'r-c-1'], ['r-c-1', 'r-c-2']]
org: CF
'c-c-2':
region: ap-southeast-1
zone: ap-southeast-1b
type: core
host: c-c-2.cardano
static-routes: [['c-b-2', 'c-b-1'], ['c-c-1', 'r-c-1'], ['r-c-2', 'r-c-1']]
org: CF
# now the 7 relays, in the same 3 regions
'r-a-1':
region: eu-central-1
zone: eu-central-1b
type: relay
org: IOHK
host: r-a-1.cardano
static-routes: [['c-a-1', 'c-a-3'], ['c-a-2', 'c-a-3'], ['r-a-2', 'r-a-3'], ['r-b-1', 'r-b-2']]
kademlia: false
public: false
'r-a-2':
region: eu-central-1
zone: eu-central-1b
type: relay
org: IOHK
host: r-a-2.cardano
static-routes: [['c-a-1', 'c-a-2'], ['c-a-3', 'c-a-2'], ['r-a-3', 'r-a-1'], ['r-c-1', 'r-c-2']]
kademlia: false
public: false
'r-a-3':
region: eu-central-1
zone: eu-central-1b
type: relay
org: IOHK
host: r-a-3.cardano
static-routes: [['c-a-2', 'c-a-1'], ['c-a-3', 'c-a-1'], ['r-a-1', 'r-a-2']]
kademlia: false
public: false
'r-b-1':
region: ap-northeast-1
zone: ap-northeast-1a
type: relay
org: IOHK
host: r-b-1.cardano
static-routes: [['c-b-1', 'c-b-2'], ['r-a-1', 'r-a-3'], ['r-b-2', 'r-a-2']]
kademlia: false
public: false
'r-b-2':
region: ap-northeast-1
zone: ap-northeast-1a
type: relay
org: IOHK
host: r-b-2.cardano
static-routes: [['c-b-2', 'c-b-1'], ['r-b-1', 'r-a-2'], ['r-c-2', 'r-c-1']]
kademlia: false
public: false
'r-c-1':
region: ap-southeast-1
zone: ap-southeast-1b
type: relay
org: IOHK
host: r-c-1.cardano
static-routes: [['c-c-1', 'c-c-2'], ['r-a-3', 'r-a-2'], ['r-c-2', 'r-a-2']]
kademlia: false
public: false
'r-c-2':
region: ap-southeast-1
zone: ap-southeast-1b
type: relay
org: IOHK
host: r-c-2.cardano
static-routes: [['c-c-2', 'c-c-1'], ['r-b-2', 'r-b-1'], ['r-c-1', 'r-a-2']]
kademlia: false
public: false
# now we have 3 unprivileged relays, one in each region
'u-a-1':
region: ap-northeast-1
zone: ap-northeast-1a
type: relay
org: IOHK
host: u-a-1.cardano
dynamic-subscribe: [[{ "host": "r-a-1.cardano" },
{ "host": "r-a-3.cardano" },
{ "host": "r-b-1.cardano" }],
[{ "host": "r-a-2.cardano" },
{ "host": "r-c-1.cardano" },
{ "host": "r-b-2.cardano" }]
]
kademlia: false
public: true
'u-b-1':
region: ap-northeast-1
zone: ap-northeast-1a
type: relay
org: IOHK
host: u-b-1.cardano
dynamic-subscribe: [[{ "host": "r-b-1.cardano" },
{ "host": "r-c-1.cardano" },
{ "host": "r-a-3.cardano" }],
[{ "host": "r-b-2.cardano" },
{ "host": "r-a-2.cardano" },
{ "host": "r-c-2.cardano" }]
]
kademlia: false
public: true
'u-c-1':
region: ap-southeast-1
zone: ap-southeast-1b
type: relay
org: IOHK
host: u-c-1.cardano
dynamic-subscribe: [[{ "host": "r-c-1.cardano" },
{ "host": "r-b-1.cardano" },
{ "host": "r-a-3.cardano" }],
[{ "host": "r-c-2.cardano" },
{ "host": "r-a-2.cardano" },
{ "host": "r-b-2.cardano" }]
]
kademlia: false
public: true