summaryrefslogtreecommitdiffstats
path: root/features/chutney/test-network
blob: 01d6becf883815bdf4629e2a807f486559f8b35d (plain)
1
2
3
4
5
6
7
8
9
Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
NonExitRelay = Node(tag="m", relay=1, torrc="relay-non-exit.tmpl")
ExitRelay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
Client = Node(tag="c", torrc="client.tmpl")
NODES = Authority.getN(5) + \
        NonExitRelay.getN(20) + \
        ExitRelay.getN(10) + \
        Client.getN(1)
ConfigureNodes(NODES)