[ofa-general] suggested patch for partition membership definitiion in osm-partitions.conf (fix)

Philippe Gregoire philippe.gregoire at cea.fr
Mon May 14 08:26:55 PDT 2007


This time , with the definitive patch (sorry)

Hi Hal,
the way to define in osm-partitions.conf file  partition membership for
port guids is quite very verbose,
specially when you have a lot of (full member) ports.

Here is a patch to allow a more compact partition membership definition.
It allows definition of a default
membership partition for the port guid list. The old syntax is still usable.
old way
G1 = 0x01 :  0x123=full, 0x124=full, 0x0x125=full, 0x126=full, 0x127=full ;
G1 = 0x01 :  0x128=full, 0x129=full, 0x567, 0x569=full

new way :
G1 = 0x01 , defmember=full : 0x123, 0x124, 0x125, 0x126, 0x127 ;
G1 = 0x01 , defmember=full :  0x128, 0x129, 0x567=limited, 0x569

I changed also the opensm man page as some lines (arround limited/full
membership) are not well formatted.

This patch has been compiled and tested on our cluster with the
following osm-partitions.conf :
G1  = 0x0001 , defmember=full : 0x0005ad00000165f1, 0x0005ad0000016cb9,
0x0005ad00000168ad, 0x0005ad0000000cb7=limited, 0x0008f10403962eb1 ;
G2  = 0x0002 , defmember=full : 0x0005ad00000165f1, 0x0008f10403962eb1 ;
G3  = 0x0003 , defmember=full : 0x0005ad00000165f1, 0x0005ad0000016cb9,
0x0008f10403962eb1 ;
G5  = 0x0005 , defmember=full : 0x0008f10403962eb1 ;
G10 = 0x0010 , defmember=full : 0x0005ad00000165f1, 0x0008f10403962eb1 ;
G70 = 0x0070 , defmember=full : 0x0005ad00000165f1 ;
G80 = 0x0080 , defmember=full : 0x0005ad00000165f1;
G80 = 0x0080 : 0x0005ad00000168ad;
G80 = 0x0080 , defmember=full : 0x0005ad0000016cb9;
G80 = 0x0080 , defmember=limited : 0x0005ad0000000cb7, 0x0008f10403962eb1;

Philippe


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: defmember.patch
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070514/9df93ac1/attachment.ksh>


More information about the general mailing list