[SR-Users] drouting failure loop

Daniel-Constantin Mierla miconda at gmail.com
Mon Jun 2 08:19:38 CEST 2014


Hello,

On 30/05/14 20:54, Pete Ashdown wrote:
> I'm trying to get my head around how to do a failure loop in droute
> through all possible destinations, and if all destinations are
> exhausted, go to failureroute.  Does anyone have an example of this?
> Without the ability to do a while on (!t_relay()) to determine whether
> to go to use_next_gw(), I'm not sure how I can.
Maybe you can show how you try it because the typical way for failure 
re-routing is:

request_route{ ... t_on_failure(...); t_relay() } ===> failure_route{ 
... t_on_failure(...); t_relay() } ===> failure_route{ ... 
t_on_failure(...); t_relay() } ....

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list