Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
d0e6d617
Commit
d0e6d617
authored
Apr 21, 2014
by
Simó Albert i Beltran
Browse files
Import: Adapt to BMX6-0.1-alpha comPatibility=16 revision=4d3819b255540915408b827ae03fd92cbd7b4bdd
parents
54558807
53657b47
Changes
2
Hide whitespace changes
Inline
Side-by-side
packages/qmp-system/files/etc/config/gateways
View file @
d0e6d617
...
...
@@ -60,10 +60,9 @@ config gateway example
option type 'search'
option gwName 'qMp-example'
option network '10.1.0.0/16'
option address '10.2.2.2/32'
option minPrefixLen '16'
option maxPrefixLen '24'
option hysteresis '20'
option
bonus
'10'
option
rating
'
1
10'
option minBandwidth '10000'
option exportDistance '10'
packages/qmp-system/files/etc/qmp/qmp_functions.sh
View file @
d0e6d617
...
...
@@ -692,7 +692,9 @@ qmp_add_qmp_bmx6_tunnels()
bmx6_type
=
tunIn
uci
set
$config
.
$name
=
"
$bmx6_type
"
uci
set
$config
.
$name
.
$bmx6_type
=
"
$name
"
for
t
in
network address bandwidth
for
t
in
\
network
\
bandwidth
do
qmp_translate_configuration gateways
$section
$t
$config
$name
done
...
...
@@ -700,8 +702,34 @@ qmp_add_qmp_bmx6_tunnels()
bmx6_type
=
tunOut
uci
set
$config
.
$name
=
"
$bmx6_type
"
uci
set
$config
.
$name
.
$bmx6_type
=
"
$section
"
for
t
in
network gwName address minPrefixLen maxPrefixLen hysteresis bonus
\
tableRule minBandwidth exportDistance
for
t
in
\
network
\
srcNet
\
gwName
\
minPrefixLen
\
maxPrefixLen
\
hysteresis
\
rating
\
minBandwidth
\
tableRule
\
kernel
\
boot
\
static
\
zebra
\
system
\
connect
\
rip
\
ripng
\
ospf
\
ospf6
\
isis
\
bgp
\
babel
\
olsr
\
exportDistance
\
srcType
\
gwId
\
ipMetric
do
qmp_translate_configuration gateways
$section
$t
$config
$name
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment