Developing lightweight computation at the DSG edge

Commit d0e6d617 authored by Simó Albert i Beltran's avatar Simó Albert i Beltran
Browse files

Import: Adapt to BMX6-0.1-alpha comPatibility=16 revision=4d3819b255540915408b827ae03fd92cbd7b4bdd

parents 54558807 53657b47
......@@ -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 '110'
option minBandwidth '10000'
option exportDistance '10'
......@@ -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
......
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