[ofa-general] [PATCH] infiniband-diags/scripts: Add ibcheckroutes to scripts
Sasha Khapyorsky
sashak at voltaire.com
Tue Sep 22 12:43:31 PDT 2009
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 lids in CA's port connection lines.
Sasha
More information about the general
mailing list