summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-09-19 14:01:58 +0200
committerMartin Kosek <mkosek@redhat.com>2013-11-15 12:46:06 +0100
commitd97386de5b68c90c53362dda54b126fdc97e00b6 (patch)
treeddd3927c48e16a54613f07b132476c2eca122fda /API.txt
parenteaaf7ed0f20b81ce10e1e36ce36c673445a83f2b (diff)
downloadfreeipa-d97386de5b68c90c53362dda54b126fdc97e00b6.tar.gz
freeipa-d97386de5b68c90c53362dda54b126fdc97e00b6.tar.xz
freeipa-d97386de5b68c90c53362dda54b126fdc97e00b6.zip
Add automember rebuild command
Add a new command to IPA CLI: ipa automember-rebuild The command integrates the automember rebuild membership task functionality into IPA CLI. It makes it possible to rebuild automember membership for groups/hostgroups. Design: http://www.freeipa.org/page/V3/Automember_rebuild_membership https://fedorahosted.org/freeipa/ticket/3752
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/API.txt b/API.txt
index cddb9d719..b3b3a7e38 100644
--- a/API.txt
+++ b/API.txt
@@ -199,6 +199,15 @@ option: Str('version?', exclude='webui')
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_rebuild
+args: 0,4,3
+option: Str('hosts*')
+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: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
+output: Output('value', <type 'unicode'>, None)
command: automember_remove_condition
args: 1,8,5
arg: Str('cn', cli_name='automember_rule')