Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
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
firmware
FFS Gluon
Commits
f1abdf88
Commit
f1abdf88
authored
6 years ago
by
Ruben Barkow
Committed by
Andreas Ziegler
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
docs: clarify routing_algo example for BATMAN_V (#1579)
parent
9d7647c3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/user/site.rst
+18
-6
18 additions, 6 deletions
docs/user/site.rst
with
18 additions
and
6 deletions
docs/user/site.rst
+
18
−
6
View file @
f1abdf88
...
...
@@ -234,20 +234,32 @@ mesh
In addition, options specific to the batman-adv routing protocol can be set
in the *batman_adv* section:
The optional value *gw_sel_class* sets the gateway selection class. The
default is class ``20``, which is based on the link quality (TQ) only; class ``1``
is calculated from both the TQ and the announced bandwidth.
The optional value *routing_algo* allows to set up ``BATMAN_V`` based meshes.
The optional value *routing_algo* allows to set up ``BATMAN_V`` based meshes.
If unset, the routing algorithm will default to ``BATMAN_IV``.
The optional value *gw_sel_class* sets the gateway selection class, the
default is ``20`` for B.A.T.M.A.N. IV and ``5000`` kbit/s for B.A.T.M.A.N. V.
- **B.A.T.M.A.N. IV:** with the value ``20`` the gateway is selected based
on the link quality (TQ) only; with class ``1`` it is calculated from
both, the TQ and the announced bandwidth.
- **B.A.T.M.A.N. V:** with the value ``1500`` the gateway is selected if the
throughput is at least 1500 kbit/s faster than the throughput of the
currently selected gateway.
For details on determining the threshhold, when to switch to a new gateway,
see `batctl manpage`_, section "gw_mode".
.. _batctl manpage: https://www.open-mesh.org/projects/batman-adv/wiki/Gateways
::
mesh = {
vxlan = true,
filter_membership_reports = false,
batman_adv = {
gw_sel_class = 1,
routing_algo = 'BATMAN_IV',
gw_sel_class = 1,
},
}
...
...
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