Developing lightweight computation at the DSG edge

Commit 9ee01247 authored by p4u's avatar p4u
Browse files

Merge branch 'testing' of ssh://qmp.cat:221/qmp into testing

parents 2356d394 bf6d62d2
...@@ -582,15 +582,14 @@ qmp_configure_bmx6() { ...@@ -582,15 +582,14 @@ qmp_configure_bmx6() {
uci set $conf.tun6Out="tunOut" uci set $conf.tun6Out="tunOut"
uci set $conf.tun6Out.tunOut="tun6Out" uci set $conf.tun6Out.tunOut="tun6Out"
uci set $conf.tun6Out.network="$(uci get qmp.tunnels.search_ipv6_tunnel)" uci set $conf.tun6Out.network="$(uci get qmp.tunnels.search_ipv6_tunnel)"
uci set $conf.tun6Out.mtu=1400 uci set $conf.tun6Out.mtu=1360
fi fi
if qmp_uci_test qmp.tunnels.search_ipv4_tunnel ; then if qmp_uci_test qmp.tunnels.search_ipv4_tunnel ; then
uci set $conf.tun4Out="tunOut" uci set $conf.tun4Out="tunOut"
uci set $conf.tun4Out.tunOut="tun4Out" uci set $conf.tun4Out.tunOut="tun4Out"
uci set $conf.tun4Out.network="$(uci get qmp.tunnels.search_ipv4_tunnel)" uci set $conf.tun4Out.network="$(uci get qmp.tunnels.search_ipv4_tunnel)"
uci set $conf.tun4Out.mtu=1400 uci set $conf.tun4Out.mtu=1360
elif qmp_uci_test qmp.tunnels.offer_ipv4_tunnel ; then elif qmp_uci_test qmp.tunnels.offer_ipv4_tunnel ; then
uci set $conf.tunInRemote="tunInRemote" uci set $conf.tunInRemote="tunInRemote"
...@@ -601,11 +600,11 @@ qmp_configure_bmx6() { ...@@ -601,11 +600,11 @@ qmp_configure_bmx6() {
uci set $conf.tun4InNet.bandwidth="1000000" uci set $conf.tun4InNet.bandwidth="1000000"
fi fi
#Configuring the tunnel to search 10/8 networks #Configuring the tunnel to search 10/8 networks
uci set $conf.nodes10="tunOut" uci set $conf.nodes10="tunOut"
uci set $conf.nodes10.tunOut="nodes10" uci set $conf.nodes10.tunOut="nodes10"
uci set $conf.nodes10.network="10.0.0.0/8" uci set $conf.nodes10.network="10.0.0.0/8"
uci set $conf.nodes10.mtu=1360
uci commit $conf uci commit $conf
# /etc/init.d/$conf restart # /etc/init.d/$conf restart
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment