Re: [nox-dev] check if a link is in route

2011-08-01 Thread Srini Seetharaman
Hi Karim
I don't think the is_on_path_location method does what you require.

I guess you can look at Routing_module::setup_route and write your own
method to iterate thro' the links in a route. If you already did that,
it'll help the list to send a copy of your implementation.

Thanks
Srini.

On Fri, Jul 15, 2011 at 4:55 AM, karim torkmen karim.torkm...@gmail.com wrote:
 Hi all,
 I want to know if there is any method  that allows to know if a given link
 is in a given route and what do the following methods of the routing module
 bool is_on_path_location(const RouteId id, uint16_t src_port, uint16_t
 dst_port) and  void clean_route(const RoutePtr, RoutePtr, bool)  do.
 Thanks a lot,
 karim
 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


[nox-dev] check if a link is in route

2011-07-15 Thread karim torkmen

Hi all,
I want to know if there is any method  that allows to know if a given 
link is in a given route and what do the following methods of the 
routing module bool is_on_path_location(const RouteId id, uint16_t 
src_port, uint16_t dst_port) and  void clean_route(const RoutePtr, 
RoutePtr, bool)  do.

Thanks a lot,
karim
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev