[Olsr-dev] [PATCH RFC v1 0/4] Smart Gateway dynamic bandwidth

Ferry Huberts (spam-protected)
Thu May 10 18:42:28 CEST 2012



On 10-05-12 17:56, Ferry Huberts wrote:
> From: Ferry Huberts<(spam-protected)>
>
> I'm seeking comments on this patch series.
>
> The series adds a mechanism/file to dynamically change the
> smart gateway advertised bandwidth.
>

Why to we want this?
We have nodes with multiple uplinks: WLAN, UMTS, Satcom.
We have a VPN link configured to our backbone on every node.
We detect which uplink is active and get the bandwidth settings for that 
link.
We now want olsrd to use the active bandwidth for the smart gateway 
announcement so that the best gateway is chosen in a cluster of nodes.

The next step I want to do is to force a smart gateway election when a 
gateway announces 0 bandwidth and the receiving node uses that smart 
gateway.



> I can compile it on Linux, and can cross compile it for win32
> by using mingw32 on my Fedora 16 x86_64 system.
>
> As I have no other systems, I strongly request reviewers to
> take a good look and/or compile it on their (other) systems.
>
>
> Ferry Huberts (4):
>    smart gateway: add SmartGatewaySpeedFile{,Period} parameters
>    smart gateway: hook up SmartGatewaySpeedFile{,Period} parameters
>    smart gateway: install default speed configuration file
>    PUD: add SmartGatewaySpeedFile{,Period} to config
>
>   Makefile                            |    3 +-
>   README-Olsr-Extensions              |    7 ++
>   files/olsrd.conf.default.full       |   14 +++
>   files/olsrd.conf.default.lq         |   14 +++
>   files/olsrd.conf.default.lq-fisheye |   14 +++
>   files/olsrd.sgw.speed.conf          |   14 +++
>   lib/pud/doc/olsrd.conf.default.pud  |   14 +++
>   make/Makefile.win32                 |    2 +-
>   src/cfgparser/cfgfile_gen.c         |   20 ++++
>   src/cfgparser/olsrd_conf.c          |   15 +++
>   src/cfgparser/oparse.y              |   20 ++++
>   src/cfgparser/oscan.lex             |   10 ++
>   src/gateway.c                       |   52 +++++++++-
>   src/gatewaySpeedFile.c              |  201 +++++++++++++++++++++++++++++++++++
>   src/gatewaySpeedFile.h              |   13 +++
>   src/olsr_cfg.h                      |    6 +
>   16 files changed, 416 insertions(+), 3 deletions(-)
>   create mode 100644 files/olsrd.sgw.speed.conf
>   create mode 100644 src/gatewaySpeedFile.c
>   create mode 100644 src/gatewaySpeedFile.h
>

-- 
Ferry Huberts




More information about the Olsr-dev mailing list