Skip to content
Snippets Groups Projects
Unverified Commit 0d2f884a authored by teor's avatar teor
Browse files

Add a minimal bwfile network with V3BandwidthsFile /tmp/bwfile

Closes 26801.
parent 8500a176
No related branches found
No related tags found
No related merge requests found
......@@ -118,6 +118,13 @@ HS Connection Tests:
# Default behavior is one client connects to each HS
./chutney stop networks/hs-025
Bandwidth File Tests:
./tools/test-network.sh --flavour bwfile
# Warning: Can't open bandwidth file at configured location: /tmp/bwfile
# Create a bwfile with no bandwidths, that is valid for a few days
date +%s > /tmp/bwfile
./tools/test-network.sh --flavour bwfile
Waiting for the network:
The tools/test-network.sh script waits CHUTNEY_START_TIME seconds
......
# By default, Authorities are not configured as exits
Authority = Node(tag="a", authority=1, relay=1, torrc="authority-bwfile.tmpl")
ExitRelay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
Client = Node(tag="c", client=1, torrc="client.tmpl")
# The minimum number of authorities/relays/exits is 3, the minimum path length
NODES = Authority.getN(2) + ExitRelay.getN(1) + Client.getN(1)
ConfigureNodes(NODES)
${include:authority.tmpl}
V3BandwidthsFile /tmp/bwfile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment