summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-08-16 05:18:19 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-16 03:56:24 -0700
commit0ec245abd60928994e2afbeac73cb53c5af7a4cf (patch)
tree047ca8ca14d8b3ad74c932068cf12301c9aa10ac
parentfac7244477c6f2537f9abf3e83abf5e77177e548 (diff)
volgen: generate listen port in server for portmap modev3.1.0qa6
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1375 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1375
-rw-r--r--extras/volgen/CreateVolfile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/volgen/CreateVolfile.py b/extras/volgen/CreateVolfile.py
index 5519917..eb6db0e 100644
--- a/extras/volgen/CreateVolfile.py
+++ b/extras/volgen/CreateVolfile.py
@@ -329,6 +329,7 @@ class CreateVolfile:
self.ib_devport)
if transport == 'tcp':
exp_fd.write (" option transport.socket.nodelay on\n")
+ exp_fd.write (" option transport.socket.listen-port %d\n" % self.gfs_port)
exp_fd.write (" subvolumes %s\n" % export)
exp_fd.write ("end-volume\n\n")