[SR-Users] Dispatcher Confusion (v3.2.0)

Asgaroth 00asgaroth00 at gmail.com
Wed Oct 26 11:59:24 CEST 2011


Hi Daniel,

On 26/10/2011 04:44, Daniel-Constantin Mierla wrote:
>> If I do a ds_mark_dst("i") and then right after ds_mark_dst("p"), a
>> log is printed saying that you cannot put a destination into probing
>> state when it is marked as inactive.
> are you sure you run the devel version? There is no such case in the
> sources -- send me exactly the log message you get. Only when the
> destination is disabled the probing cannot be set, but not the same
> case of inactive.

I think this may have been v3.2, I'm just looking through my log files
and here is the error line:

INFO: dispatcher [dispatch.c:2031]: Ignoring the request to set this
destination to probing: It is already inactive!

If I recall correctly, I first tried to do:

ds_mark_dst("ip");

in routeing script, but that did not work, it set state to IX and not IP.

Then I tried:

ds_mark_dst("i");
ds_mark_dst("p");

Thats when I got the following message:

INFO: dispatcher [dispatch.c:2031]: Ignoring the request to set this
destination to probing: It is already inactive!


>>
>> Is it possible to set the state of a gateway to inactive-probing from
>> the routing script?
>
> Yes, it should be, no constraint in master branch source code.

I can see, from the docs, that if I just do ds_mark_dst(), then that
will set state to IX (Inactive), however, as described above, I cannot
set state to Inactive-Probing, from routing script using ds_mark_dst("ip").

Thanks



More information about the sr-users mailing list