From 835436df1549578932705f5722bc78ec985c2f69 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 17 Jan 2011 12:28:24 -0500 Subject: Provide API to check if IPA DNS is enabled on some server Fixes: https://fedorahosted.org/freeipa/ticket/600 --- API.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'API.txt') diff --git a/API.txt b/API.txt index 2fe572351..650c47a62 100644 --- a/API.txt +++ b/API.txt @@ -467,6 +467,11 @@ option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) output: Output('summary', (, ), 'User-friendly description of action performed') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") +command: dns_is_enabled +args: 0,0,3 +output: Output('summary', (, ), 'User-friendly description of action performed') +output: Output('result', , 'True means the operation was successful') +output: Output('value', , "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)) -- cgit