Commit 85187191 authored by Julien Muchembled's avatar Julien Muchembled

Switch RTT-based metric for routing

parent f0488d4c
...@@ -7,7 +7,7 @@ Standards-Version: 3.9.1 ...@@ -7,7 +7,7 @@ Standards-Version: 3.9.1
Package: re6stnet Package: re6stnet
Architecture: all Architecture: all
Depends: ${misc:Depends}, python (>= 2.6.6-3), python (<< 2.8), python-argparse, python-openssl (>= 0.13), openvpn (>= 2.1.3), babeld (>= 1.3.1), iproute2 | iproute, openssl Depends: ${misc:Depends}, python (>= 2.6.6-3), python (<< 2.8), python-argparse, python-openssl (>= 0.13), openvpn (>= 2.1.3), babeld (= 1.5.0-nxd1), iproute2 | iproute, openssl
Recommends: ${python:Recommends} Recommends: ${python:Recommends}
Suggests: ndisc6 Suggests: ndisc6
Description: resilient, scalable, IPv6 network application Description: resilient, scalable, IPv6 network application
...@@ -59,6 +59,7 @@ def router(subnet, hello_interval, table, log_path, state_path, pidfile, ...@@ -59,6 +59,7 @@ def router(subnet, hello_interval, table, log_path, state_path, pidfile,
'-S', state_path, '-S', state_path,
'-I', pidfile, '-I', pidfile,
'-s', '-s',
'-C', 'default max-rtt-penalty 5000 rtt-max 500',
'-C', 'redistribute local deny', '-C', 'redistribute local deny',
'-C', 'redistribute ip %s/%u eq %u' % (s, n, n), '-C', 'redistribute ip %s/%u eq %u' % (s, n, n),
'-C', 'redistribute deny'] '-C', 'redistribute deny']
...@@ -67,7 +68,7 @@ def router(subnet, hello_interval, table, log_path, state_path, pidfile, ...@@ -67,7 +68,7 @@ def router(subnet, hello_interval, table, log_path, state_path, pidfile,
else: else:
cmd[-2:-2] = '-C', 'redistribute ip ::/0 eq 0' cmd[-2:-2] = '-C', 'redistribute ip ::/0 eq 0'
for iface in tunnel_interfaces: for iface in tunnel_interfaces:
cmd += '-C', 'interface %s rxcost 512' % iface cmd += '-C', 'interface %s legacy-rxcost 512' % iface
cmd += args cmd += args
# WKRD: babeld fails to start if pidfile already exists # WKRD: babeld fails to start if pidfile already exists
try: try:
......
...@@ -7,7 +7,7 @@ Release: %(git rev-list --topo-order --count HEAD).g%(git rev-parse --short HE ...@@ -7,7 +7,7 @@ Release: %(git rev-list --topo-order --count HEAD).g%(git rev-parse --short HE
License: GPLv2+ License: GPLv2+
Group: Applications/Internet Group: Applications/Internet
BuildArch: noarch BuildArch: noarch
Requires: babeld >= 1.3.1 Requires: babeld = 1.5.0-nxd1
Requires: iproute Requires: iproute
Requires: openssl Requires: openssl
Requires: openvpn Requires: openvpn
......
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