mixed 694 B

12345678910111213141516
  1. OLD_TOR="tor-stable"
  2. # By default, Authorities are not configured as exits
  3. Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
  4. OldAuthority = Node(tag="aOLD", authority=1, relay=1, torrc="authority.tmpl",
  5. tor=OLD_TOR)
  6. Relay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
  7. OldRelay = Node(tag="rOLD", relay=1, exit=1, torrc="relay.tmpl",
  8. tor=OLD_TOR)
  9. Client = Node(tag="c", client=1, torrc="client.tmpl")
  10. OldClient = Node(tag="cOLD", client=1, torrc="client.tmpl", tor=OLD_TOR)
  11. NODES = Authority.getN(2) + OldAuthority.getN(2) + \
  12. Relay.getN(2) + OldRelay.getN(2) + \
  13. Client.getN(2) + OldClient.getN(2)
  14. ConfigureNodes(NODES)