summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorPavan Sondur <pavan@gluster.com>2010-08-16 02:37:34 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-16 01:49:04 -0700
commit5065b0824ed01cca59501d74c227b136a5b0e65e (patch)
treea42ab52185544e0144e095e1767d368b92763a32 /extras
parent659e2d938f4da023411114c13a14337c21083411 (diff)
mgmt/glusterd: cli: Various fixes for replace brick.
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1304 (Free state info for replace brick) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1304
Diffstat (limited to 'extras')
-rw-r--r--extras/volgen/CreateVolfile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/volgen/CreateVolfile.py b/extras/volgen/CreateVolfile.py
index fdcf605..5519917 100644
--- a/extras/volgen/CreateVolfile.py
+++ b/extras/volgen/CreateVolfile.py
@@ -299,6 +299,8 @@ class CreateVolfile:
exp_fd.write (" type protocol/client\n")
if self.transport:
exp_fd.write (" option transport-type %s\n" % self.transport)
+ if self.gfs_port:
+ exp_fd.write (" option transport.remote-port 34034\n")
exp_fd.write (" option ping-timeout 42\n")
exp_fd.write ("end-volume\n\n")