Re: [ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-22 Thread Sasha Khapyorsky
On 10:41 Mon 14 Sep , Hal Rosenstock wrote: How are the leaf switches determined (from core switches) in the ibnetdiscover output ? Using this: +# find all leaf switches LIDs +LIDS=($(awk '/# lid /{a[$(NF-1)]=$(NF-1)} END{for(v in a) print v}' $topofile)) It parses out remote switch

[ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-21 Thread Doron Shoham
Add ibcheckroutes script. ibcheckroutes validates route between all leaf switches, switches or CAs in the fabric. Signed-off-by: Doron Shoham dor...@voltaire.com --- infiniband-diags/Makefile.am |4 +- infiniband-diags/configure.in |1 +

[ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-16 Thread Doron Shoham
Add ibcheckroutes script. ibcheckroutes validates route between all leaf switches, switches or CAs in the fabric. Signed-off-by: Doron Shoham dor...@voltaire.com --- infiniband-diags/Makefile.am |4 +- infiniband-diags/configure.in |1 +

Re: [ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-15 Thread Eli Dorfman (Voltaire)
Yevgeny Kliteynik wrote: Not quite. It assures there should be a path but not necessarily a route as all the LFTs are not checked with the CA port LIDs. One such example is ftree routing. First it creates all the CA-2-CA routes, and only after this it creates switch-2-switch routing. So

Re: [ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-14 Thread Hal Rosenstock
On Sun, Sep 13, 2009 at 3:55 AM, Doron Shoham dor...@voltaire.com wrote: Hal Rosenstock wrote: On Thu, Sep 10, 2009 at 7:56 AM, Doron Shoham dor...@voltaire.com mailto:dor...@voltaire.com wrote: ibcheckroutes validates route between all hosts in the fabric. This script

Re: [ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-14 Thread Eli Dorfman (Voltaire)
Hal Rosenstock wrote: On Sun, Sep 13, 2009 at 3:55 AM, Doron Shoham dor...@voltaire.com mailto:dor...@voltaire.com wrote: Hal Rosenstock wrote: On Thu, Sep 10, 2009 at 7:56 AM, Doron Shoham dor...@voltaire.com mailto:dor...@voltaire.com

Re: [ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-14 Thread Hal Rosenstock
On Thu, Sep 10, 2009 at 7:56 AM, Doron Shoham dor...@voltaire.com wrote: ibcheckroutes validates route between all hosts in the fabric. This script finds all leaf switches (switches that are connected to HCAs) and runs ibtracert between them. When using various routing algorithms (e.g.

Re: [ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-14 Thread Hal Rosenstock
On Mon, Sep 14, 2009 at 11:05 AM, Eli Dorfman (Voltaire) dorfman@gmail.com wrote: Hal Rosenstock wrote: On Mon, Sep 14, 2009 at 10:32 AM, Eli Dorfman (Voltaire) dorfman@gmail.com mailto:dorfman@gmail.com wrote: Hal Rosenstock wrote: On Sun, Sep

Re: [ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-14 Thread Hal Rosenstock
On Mon, Sep 14, 2009 at 10:32 AM, Eli Dorfman (Voltaire) dorfman@gmail.com wrote: Hal Rosenstock wrote: On Sun, Sep 13, 2009 at 3:55 AM, Doron Shoham dor...@voltaire.com mailto:dor...@voltaire.com wrote: Hal Rosenstock wrote: On Thu, Sep 10, 2009 at 7:56

Re: [ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-14 Thread Eli Dorfman (Voltaire)
Hal Rosenstock wrote: On Mon, Sep 14, 2009 at 10:32 AM, Eli Dorfman (Voltaire) dorfman@gmail.com mailto:dorfman@gmail.com wrote: Hal Rosenstock wrote: On Sun, Sep 13, 2009 at 3:55 AM, Doron Shoham dor...@voltaire.com mailto:dor...@voltaire.com

Re: [ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-14 Thread Yevgeny Kliteynik
Hal Rosenstock wrote: On Mon, Sep 14, 2009 at 11:05 AM, Eli Dorfman (Voltaire) dorfman@gmail.com mailto:dorfman@gmail.com wrote: Hal Rosenstock wrote: On Mon, Sep 14, 2009 at 10:32 AM, Eli Dorfman (Voltaire) dorfman@gmail.com

Re: [ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-13 Thread Doron Shoham
Hal Rosenstock wrote: On Thu, Sep 10, 2009 at 7:56 AM, Doron Shoham dor...@voltaire.com mailto:dor...@voltaire.com wrote: ibcheckroutes validates route between all hosts in the fabric. This script finds all leaf switches (switches that are connected to HCAs) This script

[ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-10 Thread Doron Shoham
ibcheckroutes validates route between all hosts in the fabric. This script finds all leaf switches (switches that are connected to HCAs) and runs ibtracert between them. When using various routing algorithms (e.g. up-down), if fabric topology is not suitable there will be no routes between some

Re: [ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts

2009-09-10 Thread Hal Rosenstock
On Thu, Sep 10, 2009 at 7:56 AM, Doron Shoham dor...@voltaire.com wrote: ibcheckroutes validates route between all hosts in the fabric. This script finds all leaf switches (switches that are connected to HCAs) CAs or HCAs ? What about switch port 0s ? and runs ibtracert between them.