Also, similar change to doc/partition-config.txt Signed-off-by: Hal Rosenstock <hal.rosenst...@gmail.com> --- Changes since v1: Fixed Default rule for non SM ports based on comment from Eli
diff --git a/opensm/doc/partition-config.txt b/opensm/doc/partition-config.txt index f855268..cb3bcf7 100644 --- a/opensm/doc/partition-config.txt +++ b/opensm/doc/partition-config.txt @@ -3,14 +3,23 @@ OpenSM Partition configuration The default name of OpenSM partitions configuration file is '/etc/opensm/partitions.conf'. The default may be changed by -using --Pconfig (-P) option with OpenSM. +using the --Pconfig (-P) option with OpenSM. The default partition will be created by OpenSM unconditionally even when partition configuration file does not exist or cannot be accessed. -The default partition has P_Key value 0x7fff. OpenSM's port will have -full membership in default partition. All other end ports will have -limited membership. +The default partition has P_Key value 0x7fff. OpenSM's port will always +have full membership in default partition. All other end ports will have +full membership if the partition configuration file is not found or cannot +be accessed, or limited membership if the file exists and can be accessed +but there is no rule for the Default partition. + +Effectively, this amounts to the same as if one of the following rules +below appear in the partition configuration file: +In the case of no rule for the Default partition: +Default=0x7fff : ALL=limited, SELF=full ; +In the case of no partition configuration file or file cannot be accessed: +Default=0x7fff : ALL=full ; File Format diff --git a/opensm/man/opensm.8.in b/opensm/man/opensm.8.in index fcdc168..03002c0 100644 --- a/opensm/man/opensm.8.in +++ b/opensm/man/opensm.8.in @@ -1,4 +1,4 @@ -.TH OPENSM 8 "September 3, 2009" "OpenIB" "OpenIB Management" +.TH OPENSM 8 "September 14, 2009" "OpenIB" "OpenIB Management" .SH NAME opensm \- InfiniBand subnet manager and administration (SM/SA) @@ -418,15 +418,29 @@ logrotate purposes. .SH PARTITION CONFIGURATION .PP The default name of OpenSM partitions configuration file is -\f...@opensm_config_dir@/@partition_config_f...@\fp. The default may be changed by using ---Pconfig (-P) option with OpenSM. +\f...@opensm_config_dir@/@partition_config_f...@\fp. The default may be changed +by using the --Pconfig (-P) option with OpenSM. The default partition will be created by OpenSM unconditionally even when partition configuration file does not exist or cannot be accessed. -The default partition has P_Key value 0x7fff. OpenSM\'s port will have -full membership in default partition. All other end ports will have -limited membership. +The default partition has P_Key value 0x7fff. OpenSM\'s port will always +have full membership in default partition. All other end ports will have +full membership if the partition configuration file is not found or cannot +be accessed, or limited membership if the file exists and can be accessed +but there is no rule for the Default partition. + +Effectively, this amounts to the same as if one of the following rules +below appear in the partition configuration file. + +In the case of no rule for the Default partition: + +Default=0x7fff : ALL=limited, SELF=full ; + +In the case of no partition configuration file or file cannot be accessed: + +Default=0x7fff : ALL=full ; + File Format _______________________________________________ general mailing list general@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general