diff options
author | Csaba Henk <csaba@gluster.com> | 2011-02-07 20:42:24 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-02-10 22:17:54 -0800 |
commit | 07402f590e12b097e8267e924e0ae69d9b8964fb (patch) | |
tree | 5828f0b4514ad36516509ff119cbf2a6b4d5b5a2 /xlators/nfs | |
parent | ebd7e1771c69a056f0456ff2dccac4319806f63b (diff) |
syncdaemon: config revamp #3: implement command line get/set/del interface to configuration
The INI style config file has following type of sections:
- [global]
- [peers <local>]
- [peers <local> <remote>]
Option dispatch to sections is derived from command line (ie., [global]
if no arg given, [peers <local>] with <local> being the only arg,
[peers <local> <remote>] if <local> and <remote> args are provided).
So this all happens under the hood, gsyncd users need not to specify
sections.
New command line options:
- query options:
--config-get-all
--config-get OPT
- modify options:
--config-set OPT VAL
--config-del OPT
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1570 (geosync related changes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
Diffstat (limited to 'xlators/nfs')
0 files changed, 0 insertions, 0 deletions