Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Chutney
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
George Kadianakis
Chutney
Commits
0d2f884a
Unverified
Commit
0d2f884a
authored
6 years ago
by
teor
Browse files
Options
Downloads
Patches
Plain Diff
Add a minimal bwfile network with V3BandwidthsFile /tmp/bwfile
Closes 26801.
parent
8500a176
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README
+7
-0
7 additions, 0 deletions
README
networks/bwfile
+9
-0
9 additions, 0 deletions
networks/bwfile
torrc_templates/authority-bwfile.tmpl
+2
-0
2 additions, 0 deletions
torrc_templates/authority-bwfile.tmpl
with
18 additions
and
0 deletions
README
+
7
−
0
View file @
0d2f884a
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
networks/bwfile
0 → 100644
+
9
−
0
View file @
0d2f884a
# 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)
This diff is collapsed.
Click to expand it.
torrc_templates/authority-bwfile.tmpl
0 → 100644
+
2
−
0
View file @
0d2f884a
${include:authority.tmpl}
V3BandwidthsFile /tmp/bwfile
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment