summaryrefslogtreecommitdiff
path: root/targetcli
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2019-04-11 15:12:14 +0530
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2019-06-11 15:18:11 +0530
commit797778eeb2997d34af7fd3760195f7f8d08470f4 (patch)
treeba457ff6a7b2d6367a1503ec2969913b1e64a7ca /targetcli
parentad37f94ae72d0e3d5963ce182e2897c84af9c039 (diff)
downloadtargetcli-797778eeb2997d34af7fd3760195f7f8d08470f4.tar.gz
targetcli: way to enable targetclid as default choice
$ targetcli set global GLOBAL CONFIG GROUP [...] auto_use_daemon=bool If true, commands will be sent to targetclid. [...] $ targetcli set global auto_use_daemon=True Parameter auto_use_daemon is now 'true'. Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Diffstat (limited to 'targetcli')
-rw-r--r--targetcli/ui_node.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/targetcli/ui_node.py b/targetcli/ui_node.py
index a6982f1..4cb09ed 100644
--- a/targetcli/ui_node.py
+++ b/targetcli/ui_node.py
@@ -49,6 +49,9 @@ class UINode(ConfigNode):
self.define_config_group_param(
'global', 'max_backup_files', 'string',
'Max no. of configurations to be backed up in /etc/target/backup/ directory.')
+ self.define_config_group_param(
+ 'global', 'auto_use_daemon', 'bool',
+ 'If true, commands will be sent to targetclid.')
def assert_root(self):
'''