summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-04-01 17:09:07 +0200
committerEndi Sukma Dewata <edewata@people01.fedoraproject.org>2011-04-21 19:03:38 +0000
commitbc6f9accd9250114b4f0c457fa5badd7f794af8e (patch)
treef18dd93a8f0fd53ef86c5eefde428a96c796c462 /API.txt
parentd9c17612341af82405873dde120b177dbc0abd83 (diff)
downloadfreeipa-bc6f9accd9250114b4f0c457fa5badd7f794af8e.tar.gz
freeipa-bc6f9accd9250114b4f0c457fa5badd7f794af8e.tar.xz
freeipa-bc6f9accd9250114b4f0c457fa5badd7f794af8e.zip
Need force option in DNS zone adder dialog
When adding a new DNS zone in the WebUI, IPA server will verify whether the nameserver is in DNS. Sometimes it is necessary to skip the verification. This patch adds a --force option already available in CLI which can skip this the verification. https://fedorahosted.org/freeipa/ticket/1105
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/API.txt b/API.txt
index 451b4565f..44e513955 100644
--- a/API.txt
+++ b/API.txt
@@ -493,7 +493,7 @@ option: Int('dnsttl', attribute=True, cli_name='ttl', label=Gettext('Time to liv
option: StrEnum('dnsclass', attribute=True, cli_name='class', label=Gettext('Class', domain='ipa', localedir=None), multivalue=False, required=False, values=(u'IN', u'CS', u'CH', u'HS'))
option: Str('addattr*', validate_add_attribute, cli_name='addattr', exclude='webui')
option: Str('setattr*', validate_set_attribute, cli_name='setattr', exclude='webui')
-option: Flag('force', autofill=True, default=False, flags=['no_option', 'no_output'])
+option: Flag('force', autofill=True, default=False, flags=['no_option', 'no_output'], label=Gettext('Force', 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'])
@@ -708,7 +708,7 @@ option: Str('idnsupdatepolicy', attribute=True, cli_name='update_policy', label=
option: Flag('idnsallowdynupdate', attribute=True, autofill=True, cli_name='allow_dynupdate', default=False, label=Gettext('Dynamic update', domain='ipa', localedir=None), multivalue=False, required=True)
option: Str('addattr*', validate_add_attribute, cli_name='addattr', exclude='webui')
option: Str('setattr*', validate_set_attribute, cli_name='setattr', exclude='webui')
-option: Flag('force', autofill=True, default=False,lag('force', autofill=True, default=False, doc=Gettext('Force DNS zone creation even if nameserver not in DNS.', domain='ipa', localedir=None))
+option: Flag('force', autofill=True, default=False, label=Gettext('Force', domain='ipa', localedir=None))
option: Str('ip_address?', _validate_ipaddr,tr('ip_address?', _validate_ipaddr, doc=Gettext('Add the nameserver to DNS with this IP address', 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'])