Browse Source

Minimum network with 3 authorities, 1 exit, and 1 client

Useful for reducing test cases to the simplest possible config.
Avoids race conditions and dependencies among multiple instances.
teor 9 years ago
parent
commit
95001822b1
1 changed files with 7 additions and 0 deletions
  1. 7 0
      networks/basic-min

+ 7 - 0
networks/basic-min

@@ -0,0 +1,7 @@
+Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
+Relay = Node(tag="r", relay=1, torrc="relay.tmpl")
+Client = Node(tag="c", torrc="client.tmpl")
+
+NODES = Authority.getN(3) + Relay.getN(1) + Client.getN(1)
+
+ConfigureNodes(NODES)