Skip to content

Commit 6ed26f6

Browse files
committed
Use multiple regions.
1 parent fb291ff commit 6ed26f6

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

test/testdata/deployednettemplates/recipes/txnsync/gen_topology.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
node_types = {"R":4, "N":5, "NPN":1}
22
node_size = {"R":"-Large", "N":"-Large", "NPN":"-Large"}
33
regions = [
4-
"AWS-US-EAST-2"
4+
"AWS-US-EAST-2",
5+
"AWS-US-WEST-1",
6+
"AWS-EU-WEST-2",
7+
"AWS-EU-CENTRAL-1"
58
]
69

710
f = open("topology.json", "w")

test/testdata/deployednettemplates/recipes/txnsync/topology.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@
66
},
77
{
88
"Name": "R2",
9-
"Template": "AWS-US-EAST-2-Large"
9+
"Template": "AWS-US-WEST-1-Large"
1010
},
1111
{
1212
"Name": "R3",
13-
"Template": "AWS-US-EAST-2-Large"
13+
"Template": "AWS-EU-WEST-2-Large"
1414
},
1515
{
1616
"Name": "R4",
17-
"Template": "AWS-US-EAST-2-Large"
17+
"Template": "AWS-EU-CENTRAL-1-Large"
1818
},
1919
{
2020
"Name": "N1",
2121
"Template": "AWS-US-EAST-2-Large"
2222
},
2323
{
2424
"Name": "N2",
25-
"Template": "AWS-US-EAST-2-Large"
25+
"Template": "AWS-US-WEST-1-Large"
2626
},
2727
{
2828
"Name": "N3",
29-
"Template": "AWS-US-EAST-2-Large"
29+
"Template": "AWS-EU-WEST-2-Large"
3030
},
3131
{
3232
"Name": "N4",
33-
"Template": "AWS-US-EAST-2-Large"
33+
"Template": "AWS-EU-CENTRAL-1-Large"
3434
},
3535
{
3636
"Name": "N5",

0 commit comments

Comments
 (0)