summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorAdam Misnyovszki <amisnyov@redhat.com>2014-03-25 14:47:03 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-04-09 13:45:32 +0200
commit8b91d9a6e87412c36d4f1191abf15fcda0815c60 (patch)
treee6af0204d22bd2c79ca8108434a14e5ea06a65b2 /API.txt
parentc58d6b2689acbfa36aec362b7de1ec7512d5f82a (diff)
downloadfreeipa-8b91d9a6e87412c36d4f1191abf15fcda0815c60.tar.gz
freeipa-8b91d9a6e87412c36d4f1191abf15fcda0815c60.tar.xz
freeipa-8b91d9a6e87412c36d4f1191abf15fcda0815c60.zip
automember rebuild nowait feature added
automember-rebuild uses asynchronous 389 task, and returned success even if the task didn't run. this patch fixes this issue adding a --nowait parameter to 'ipa automember-rebuild', defaulting to False, thus when the script runs without it, it waits for the 'nstaskexitcode' attribute, which means the task has finished. Old usage can be enabled using --nowait, and returns the DN of the task for further polling. New tests added also. https://fedorahosted.org/freeipa/ticket/4239 Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/API.txt b/API.txt
index 14dde5683..a0285d494 100644
--- a/API.txt
+++ b/API.txt
@@ -201,12 +201,15 @@ output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDA
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
output: Output('value', <type 'unicode'>, None)
command: automember_rebuild
-args: 0,4,3
+args: 0,7,3
+option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui')
option: Str('hosts*')
+option: Flag('no_wait?', autofill=True, default=False)
+option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui')
option: StrEnum('type', cli_name='type', multivalue=False, required=False, values=(u'group', u'hostgroup'))
option: Str('users*')
option: Str('version?', exclude='webui')
-output: Output('result', <type 'bool'>, None)
+output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None))
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
output: Output('value', <type 'unicode'>, None)
command: automember_remove_condition