diff options
author | Csaba Henk <csaba@gluster.com> | 2011-01-27 05:23:35 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-01-27 03:17:20 -0800 |
commit | 85300e25f2d47e33b169d14fa9eb0b7cfe39011b (patch) | |
tree | 6a00e8790358f1321855122d90a78e669168c1d1 /xlators/features/marker/utils/syncdaemon/gconf.py | |
parent | 7d883898c5225df3f7c38e67274b74ff8ac396c0 (diff) |
adding syncdaemon
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2310 (georeplication)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2310
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/gconf.py')
-rw-r--r-- | xlators/features/marker/utils/syncdaemon/gconf.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/gconf.py b/xlators/features/marker/utils/syncdaemon/gconf.py new file mode 100644 index 000000000..7bedce514 --- /dev/null +++ b/xlators/features/marker/utils/syncdaemon/gconf.py @@ -0,0 +1,13 @@ +import os + +class GConf(object): + ssh_ctl_dir = None + ssh_ctl_args = None + cpid = None + + @classmethod + def setup_ssh_ctl(cls, ctld): + cls.ssh_ctl_dir = ctld + cls.ssh_ctl_args = ["-oControlMaster=auto", "-S", os.path.join(ctld, "gsycnd-ssh-%r@%h:%p")] + +gconf = GConf() |