summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-01-17 12:28:24 -0500
committerSimo Sorce <ssorce@redhat.com>2011-01-19 20:23:42 -0500
commit835436df1549578932705f5722bc78ec985c2f69 (patch)
tree52748b134f557487a3548981b5417ee22d9409f7 /API.txt
parenta44607ecba1edb696172bb7171afbbe5dc1c6efa (diff)
downloadfreeipa-835436df1549578932705f5722bc78ec985c2f69.tar.gz
freeipa-835436df1549578932705f5722bc78ec985c2f69.tar.xz
freeipa-835436df1549578932705f5722bc78ec985c2f69.zip
Provide API to check if IPA DNS is enabled on some server
Fixes: https://fedorahosted.org/freeipa/ticket/600
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/API.txt b/API.txt
index 2fe57235..650c47a6 100644
--- a/API.txt
+++ b/API.txt
@@ -467,6 +467,11 @@ option: Str('version?', exclude='webui', flags=['no_option', 'no_output'])
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), 'User-friendly description of action performed')
output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None))
output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user")
+command: dns_is_enabled
+args: 0,0,3
+output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), 'User-friendly description of action performed')
+output: Output('result', <type 'bool'>, 'True means the operation was successful')
+output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user")
command: dns_resolve
args: 1,0,3
arg: Str('hostname', label=Gettext('Hostname', domain='ipa', localedir=None))