summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-01-02 16:55:51 +0100
committerEndi S. Dewata <edewata@redhat.com>2012-01-03 21:28:49 -0600
commitc7ae0c20db86aeace6224425f3ccf7e4726d6b46 (patch)
tree0bff5416562a7bcee6a99d07c3cf3e6aad74bb75 /ipalib
parent911f396604f1fe3f45b5cc40e3885a975d07fa91 (diff)
downloadfreeipa-c7ae0c20db86aeace6224425f3ccf7e4726d6b46.tar.gz
freeipa-c7ae0c20db86aeace6224425f3ccf7e4726d6b46.tar.xz
freeipa-c7ae0c20db86aeace6224425f3ccf7e4726d6b46.zip
Added client-side validation of A and AAAA DNS records
https://fedorahosted.org/freeipa/ticket/1466
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/internal.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index e4308140b..3eed9ec56 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -515,6 +515,9 @@ class i18n_messages(Command):
"validation": {
"error": _("Text does not match field pattern"),
"integer": _("Must be an integer"),
+ "ip_address": _('Not a valid IP address'),
+ "ip_v4_address": _('Not a valid IPv4 address'),
+ "ip_v6_address": _('Not a valid IPv6 address'),
"max_value": _("Maximum value is ${value}"),
"min_value": _("Minimum value is ${value}"),
"required": _("Required field"),