summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-01-26 13:41:39 +0100
committerEndi S. Dewata <edewata@redhat.com>2012-01-26 10:17:39 -0600
commit0b9279a30a04de447b324eeb87e7a9e3b288bb1d (patch)
treeac2633d9c3c3e65908c56c883c1045f82c36032b /API.txt
parent4277253b837f1485a900abee2b5fd0c246fa8d50 (diff)
downloadfreeipa-0b9279a30a04de447b324eeb87e7a9e3b288bb1d.tar.gz
freeipa-0b9279a30a04de447b324eeb87e7a9e3b288bb1d.tar.xz
freeipa-0b9279a30a04de447b324eeb87e7a9e3b288bb1d.zip
Add missing managing hosts filtering options
Host object has a virtual attribute "managing" containing all hosts it manages (governed by managedBy attribute). This patch also adds standard membership filtering options: --man-hosts=HOSTS: Only hosts managing _all_ HOSTS are returned --not-man-hosts=HOSTS: Only hosts which do not manage _any_ host in HOSTS are returned https://fedorahosted.org/freeipa/ticket/1675
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/API.txt b/API.txt
index ebf23181a..d87dfc3b2 100644
--- a/API.txt
+++ b/API.txt
@@ -1697,7 +1697,7 @@ output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
output: Output('result', <type 'bool'>, None)
output: Output('value', <type 'unicode'>, None)
command: host_find
-args: 1,29,4
+args: 1,31,4
arg: Str('criteria?', noextrawhitespace=False)
option: Str('fqdn', attribute=True, autofill=False, cli_name='hostname', maxlength=255, multivalue=False, pattern='^[a-zA-Z0-9][a-zA-Z0-9-\\.]{0,254}$', pattern_errmsg='may only include letters, numbers, and -', primary_key=True, query=True, required=False)
option: Str('description', attribute=True, autofill=False, cli_name='desc', multivalue=False, query=True, required=False)
@@ -1728,6 +1728,8 @@ option: Str('enroll_by_user*', cli_name='enroll_by_users', csv=True)
option: Str('not_enroll_by_user*', cli_name='not_enroll_by_users', csv=True)
option: Str('man_by_host*', cli_name='man_by_hosts', csv=True)
option: Str('not_man_by_host*', cli_name='not_man_by_hosts', csv=True)
+option: Str('man_host*', cli_name='man_hosts', csv=True)
+option: Str('not_man_host*', cli_name='not_man_hosts', csv=True)
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
output: ListOfEntries('result', (<type 'list'>, <type 'tuple'>), Gettext('A list of LDAP entries', domain='ipa', localedir=None))
output: Output('count', <type 'int'>, None)