diff options
author | Ana Krivokapic <akrivoka@redhat.com> | 2013-09-19 14:01:58 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-11-15 12:46:06 +0100 |
commit | d97386de5b68c90c53362dda54b126fdc97e00b6 (patch) | |
tree | ddd3927c48e16a54613f07b132476c2eca122fda /API.txt | |
parent | eaaf7ed0f20b81ce10e1e36ce36c673445a83f2b (diff) | |
download | freeipa.git-d97386de5b68c90c53362dda54b126fdc97e00b6.tar.gz freeipa.git-d97386de5b68c90c53362dda54b126fdc97e00b6.tar.xz freeipa.git-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.txt | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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') |