[Olsr-dev] [PATCH 2/4] smart gateway: do not stop choosing a new (better) gateway
Ferry Huberts
(spam-protected)
Thu Dec 8 13:50:07 CET 2011
On 12/08/2011 08:51 AM, Henning Rogge wrote:
> On 12/08/2011 08:44 AM, Ferry Huberts wrote:
>>> Have to look at this more closely. The idea behind the "default" gateway
>>> selector is to select a gateway and stick with it until its gone. Maybe
>>> "gone" is a bit too late, but if we start choosing another gateway too
>>> early, we might get gateway-flapping again.
>>>
>>
>> Agree.
>>
>> However, in our highly mobile networks we have to do something.
>> This is a short term solution to make it work, and sending out the
>> patches was also meant to start a discussion on the best solution ;-)
>>
>> The usual solution is to use some form of hysteresis. We might do
>> something like 'if there is a better gateway for at least x seconds,
>> then switch to it'.
>>
>> What do you think?
> I think there should be some API calls to overwrite the gateway selector
> from a plugin, so maybe we could put your selector into one so users can
> choose between them.
>
> At least that was the plan when I designed the code, I don't think
> anyone has ever wrote a Smart-GW plugin.
>
so how do you propose we continue this?
--
Ferry Huberts
More information about the Olsr-dev
mailing list