mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-27 09:21:59 -06:00
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>
This commit is contained in:
parent
dafdd68a6e
commit
7325983a48
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user