[ofa-general] [PATCHv2] opensm/opensm.8.in: Indicate default rule for Default partition

Hal Rosenstock hnrose at comcast.net
Mon Sep 14 08:42:37 PDT 2009


Also, similar change to doc/partition-config.txt

Signed-off-by: Hal Rosenstock <hal.rosenstock at 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
-\fB\%@OPENSM_CONFIG_DIR@/@PARTITION_CONFIG_FILE@\fP. The default may be changed by using
---Pconfig (-P) option with OpenSM.
+\fB\%@OPENSM_CONFIG_DIR@/@PARTITION_CONFIG_FILE@\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
 



More information about the general mailing list