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
f52df5fc
Commit
f52df5fc
authored
Apr 26, 2012
by
Simó Albert i Beltran
Browse files
Enable policy-routing for tunnels routes and throw rules on bmx6, closes #136.
parent
32a39cea
Changes
2
Hide whitespace changes
Inline
Side-by-side
packages/qmp-small-node/files/etc/config/qmp
View file @
f52df5fc
...
...
@@ -39,6 +39,9 @@ config 'qmp' 'networks'
option 'bmx6_ipv4_prefix24' '10.202'
# option 'bmx6_ipv4_address' '10.202.9.01/24' # if commented out then option is autoconfigured based on
# community_node_id and bmx6_ipv4_prefix
option 'bmx6_tablePrefTuns' '7000'
option 'bmx6_tableTuns' '70'
option 'bmx6_throwRules' '1'
option 'babel_mesh_prefix48' 'fd03:0:0'
option 'netserver' '1'
...
...
packages/qmp-small-node/files/etc/qmp/qmp_functions.sh
View file @
f52df5fc
...
...
@@ -557,7 +557,15 @@ qmp_configure_bmx6() {
uci
set
$conf
.ipVersion
=
ipVersion
uci
set
$conf
.ipVersion.ipVersion
=
"6"
uci
set
$conf
.ipVersion.throwRules
=
"0"
if
value
=
"
$(
uci get qmp.networks.bmx6_throwRules
)
"
;
then
uci
set
$conf
.ipVersion.throwRules
=
"
$value
"
fi
if
value
=
"
$(
uci get qmp.networks.bmx6_tablePrefTuns
)
"
;
then
uci
set
$conf
.ipVersion.tablePrefTuns
=
"
$value
"
fi
if
value
=
$(
uci get qmp.networks.bmx6_tableTuns
)
;
then
uci
set
$conf
.ipVersion.tableTuns
=
"
$value
"
fi
local
primary_mesh_device
=
"
$(
uci get qmp.interfaces.mesh_devices |
awk
'{print $1}'
)
"
...
...
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