aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-10-05 16:59:07 -0400
committerNick Mathewson <nickm@torproject.org>2011-10-05 16:59:07 -0400
commitc8ce8fbd67b08932eaf4f9b1b957970c57e27f72 (patch)
tree7c1144ba7bb7285b8ce46118908cb8d746843912
parent73c5009b13e2bb750af3e6d6d2df723cddedfb53 (diff)
downloadchutney-c8ce8fbd67b08932eaf4f9b1b957970c57e27f72.tar
chutney-c8ce8fbd67b08932eaf4f9b1b957970c57e27f72.tar.gz
Simple configuration for a mixed-version network
-rw-r--r--networks/mixed14
1 files changed, 14 insertions, 0 deletions
diff --git a/networks/mixed b/networks/mixed
new file mode 100644
index 0000000..9dd40c2
--- /dev/null
+++ b/networks/mixed
@@ -0,0 +1,14 @@
+OLD_TOR="tor-stable"
+
+Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
+OldAuthority = Node(tag="aOLD", authority=1, relay=1, torrc="authority.tmpl",
+ tor=OLD_TOR)
+Relay = Node(tag="r", relay=1, torrc="relay.tmpl")
+OldRelay = Node(tag="rOLD", relay=1, torrc="relay.tmpl", tor=OLD_TOR)
+Client = Node(tag="c", torrc="client.tmpl")
+OldClient = Node(tag="cOLD", torrc="client.tmpl", tor=OLD_TOR)
+
+NODES = (Authority.getN(2) + OldAuthority.getN(2) + OldRelay.getN(3) +
+ Relay.getN(3) + Client.getN(2) + OldClient.getN(2))
+
+ConfigureNodes(NODES)