[openib-general] [PATCH 0/4] opensm: Loading unicast routes from the file

Greg Johnson gjohnson at lanl.gov
Tue Jun 13 10:02:46 PDT 2006


On Sun, Jun 11, 2006 at 03:27:58AM +0300, Sasha Khapyorsky wrote:
> Hi,
> 
> There are couple of unicast routing related patches for OpenSM.
> 
> Basically it implements routing module which provides possibility to load
> switch forwarding tables from pre-created dump file. Currently unicast
> tables loading is only supported, multicast may be added in a future.
> 
> Short patch descriptions (more details may be found in emails with
> patches):
> 
> 1. Ucast dump file simplification.
> 2. Modular routing - preliminary implements generic model to plug new
> routing engine to OpenSM.
> 3. New simple unicast routing engine which allows to load LFTs from
> pre-created dump file.
> 4. Example of ucast dump generation script.
> 
> Please comment and test. Thanks.

We tried this on our 256-node cluster with a single chassis Voltaire
288-port switch.  It seems to load the routes generated by the dump
script, but afterward it is not possible to dump the routes again.  I
would like to re-dump the routes after loading to ensure that they were
loaded correctly.

After loading routes with "opensm -R file -U dump_file", dump_lfts.sh
gives:

nodeinfo
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
ibroute: iberror: dump tables failed: node info failed: valid addr?

for each switch.

Also, I had to delete a space in the sed script on line 17 of
dump_lfts.sh:

sed -ne 's/^.* lid \([1-9a-f]*\) .*$/\1/p'

became

sed -ne 's/^.* lid \([1-9a-f]*\).*$/\1/p'

Thanks for the work!

Greg




More information about the general mailing list