diff options
author | Martin Basti <mbasti@redhat.com> | 2014-09-25 10:55:58 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-09-25 12:08:22 +0200 |
commit | 7325983a48c9cf9300d046260c98253b6dae2dbc (patch) | |
tree | d79ca1524f5d4ea255604d6f905d7d692f5d4b04 | |
parent | dafdd68a6ed7030d7f7a153144b36443603e884f (diff) | |
download | freeipa-7325983a48c9cf9300d046260c98253b6dae2dbc.tar.gz freeipa-7325983a48c9cf9300d046260c98253b6dae2dbc.tar.xz freeipa-7325983a48c9cf9300d046260c98253b6dae2dbc.zip |
DNS: remove --class option
This option haven't been working, it is time to remove it.
Ticket: https://fedorahosted.org/freeipa/ticket/3414
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Reviewed-By: Petr Spacek <pspacek@redhat.com>
-rw-r--r-- | ipalib/plugins/dns.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index 64cb18b8e..c23014f71 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -294,6 +294,7 @@ _zone_top_record_types = ('NS', 'MX', 'LOC', ) # attributes derived from record types _record_attributes = [str('%srecord' % t.lower()) for t in _record_types] +# Deprecated # supported DNS classes, IN = internet, rest is almost never used _record_classes = (u'IN', u'CS', u'CH', u'HS') @@ -2142,9 +2143,9 @@ class dnszone(DNSZoneBase): maxvalue=2147483647, # see RFC 2181 ), StrEnum('dnsclass?', + # Deprecated cli_name='class', - label=_('SOA class'), - doc=_('SOA record class'), + flags=['no_option'], values=_record_classes, ), Str('idnsupdatepolicy?', @@ -2595,9 +2596,9 @@ class dnsrecord(LDAPObject): doc=_('Time to live'), ), StrEnum('dnsclass?', + # Deprecated cli_name='class', - label=_('Class'), - doc=_('DNS class'), + flags=['no_option'], values=_record_classes, ), ) + _dns_record_options |