summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-01-20 07:54:14 -0500
committerSimo Sorce <ssorce@redhat.com>2011-01-28 11:44:38 -0500
commita641f1f23d40dec7dc596c9d6d2bf7265ea54f97 (patch)
tree48430ca2d9032ab056732f889c0efec2ddebad11 /API.txt
parent828cd5f11acc044378d1911fe64fb7e64c4e42db (diff)
downloadfreeipa-a641f1f23d40dec7dc596c9d6d2bf7265ea54f97.tar.gz
freeipa-a641f1f23d40dec7dc596c9d6d2bf7265ea54f97.tar.xz
freeipa-a641f1f23d40dec7dc596c9d6d2bf7265ea54f97.zip
Delete the whole DNS record with no parameters
Error out when deleting a nonexistent DNS record Also fixes the DNS unit tests. https://fedorahosted.org/freeipa/ticket/816 https://fedorahosted.org/freeipa/ticket/829
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/API.txt b/API.txt
index 703978f5..fd894a5d 100644
--- a/API.txt
+++ b/API.txt
@@ -580,9 +580,10 @@ output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), 'User-friendly
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: dnsrecord_del
-args: 2,41,3
+args: 2,42,3
arg: Str('dnszoneidnsname', cli_name='dnszone', label=Gettext('Zone name', domain='ipa', localedir=None), query=True, required=True)
arg: Str('idnsname', attribute=True, cli_name='name', label=Gettext('Record name', domain='ipa', localedir=None), multivalue=False, primary_key=True, query=True, required=True)
+option: Flag('del_all', autofill=True, default=False, label=Gettext('Delete all associated records', domain='ipa', localedir=None))
option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output'])
option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output'])
option: Str('version?', exclude='webui', flags=['no_option', 'no_output'])