diff options
author | Martin Basti <mbasti@redhat.com> | 2015-11-18 19:44:08 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2015-11-25 14:09:02 +0100 |
commit | 749dfc3917cd5b3d0f222d144e8fc96e08308e10 (patch) | |
tree | 6dcb0c59520fc0e2006cf1857e331d27555f2171 /ipalib/messages.py | |
parent | 801672cc6618947f5cc4607910871e695587fcbf (diff) | |
download | freeipa-749dfc3917cd5b3d0f222d144e8fc96e08308e10.tar.gz freeipa-749dfc3917cd5b3d0f222d144e8fc96e08308e10.tar.xz freeipa-749dfc3917cd5b3d0f222d144e8fc96e08308e10.zip |
Make command dns-resolve deprecated.
To debug DNS issues other commands should be used like 'dig', 'host',
'nslookup' instead of command 'ipa dns-resolve'.
This command is executed on server side, what may not be helpful with
debugging clients.
'ipa dns-resolve' command is worse copy of host command, users should use
'host' command instead.
dns-resolve is removed from CLI
https://fedorahosted.org/freeipa/ticket/5466
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipalib/messages.py')
-rw-r--r-- | ipalib/messages.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ipalib/messages.py b/ipalib/messages.py index 7b4aaf4d8..44fee6d15 100644 --- a/ipalib/messages.py +++ b/ipalib/messages.py @@ -311,6 +311,16 @@ class DNSSuspiciousRelativeName(PublicMessage): ) +class CommandDeprecatedWarning(PublicMessage): + """ + **13015** Used when user uses a deprecated option + """ + + errno = 13015 + type = "warning" + format = _(u"'%(command)s' is deprecated. %(additional_info)s") + + def iter_messages(variables, base): """Return a tuple with all subclasses """ |