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

Doron Shoham dorons at voltaire.com
Sun Sep 13 00:55:30 PDT 2009


Hal Rosenstock wrote:
> 
> 
> On Thu, Sep 10, 2009 at 7:56 AM, Doron Shoham <dorons at voltaire.com
> <mailto:dorons at 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 parses the output of ibnetdiscoer.
It finds all leaf switches (from the topology file
generated by ibnetdiscover).
The it checks if a route exists between all leaf switches
using ibtracert.

>  
> CAs or HCAs ?
CAs
>  
> What about switch port 0s ?
It checks connectivity only between leaf switches (not all switches).
I assume that traffic is generated only between CAs and therefor
connectivity between other switches (not leaf switches) does not important.

>  
> 
>     and runs ibtracert between them.
>     When using various routing algorithms (e.g. up-down),
> 
>  
> With which routing algorithms has this been tried ?
I assume that from complexity perspective, the routing algorithms calculate
routes only between leaf switches and not between all CAs.
Then it adds one hop for all CAs connected to the leaf switches.

I've tested it with up-down but it really doesn't matter which
routing algorithm you are using.
It just check the routes between leaf switches (and if the routing
algorithm behave as above, it means that it checks all CAs connectivity).

>  
> -- Hal
>  
> 
>     if fabric topology is not suitable there will be no
>     routes between some nodes.
>     It reports when the route exists between source and destination LIDs.
> 
>     Signed-off-by: Doron Shoham <dorons at voltaire.com
>     <mailto:dorons at voltaire.com>>
> 
>  
> <snip...>




More information about the general mailing list