mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-15 10:51:56 -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
|
# attributes derived from record types
|
||||||
_record_attributes = [str('%srecord' % t.lower()) for t in _record_types]
|
_record_attributes = [str('%srecord' % t.lower()) for t in _record_types]
|
||||||
|
|
||||||
|
# Deprecated
|
||||||
# supported DNS classes, IN = internet, rest is almost never used
|
# supported DNS classes, IN = internet, rest is almost never used
|
||||||
_record_classes = (u'IN', u'CS', u'CH', u'HS')
|
_record_classes = (u'IN', u'CS', u'CH', u'HS')
|
||||||
|
|
||||||
@ -2142,9 +2143,9 @@ class dnszone(DNSZoneBase):
|
|||||||
maxvalue=2147483647, # see RFC 2181
|
maxvalue=2147483647, # see RFC 2181
|
||||||
),
|
),
|
||||||
StrEnum('dnsclass?',
|
StrEnum('dnsclass?',
|
||||||
|
# Deprecated
|
||||||
cli_name='class',
|
cli_name='class',
|
||||||
label=_('SOA class'),
|
flags=['no_option'],
|
||||||
doc=_('SOA record class'),
|
|
||||||
values=_record_classes,
|
values=_record_classes,
|
||||||
),
|
),
|
||||||
Str('idnsupdatepolicy?',
|
Str('idnsupdatepolicy?',
|
||||||
@ -2595,9 +2596,9 @@ class dnsrecord(LDAPObject):
|
|||||||
doc=_('Time to live'),
|
doc=_('Time to live'),
|
||||||
),
|
),
|
||||||
StrEnum('dnsclass?',
|
StrEnum('dnsclass?',
|
||||||
|
# Deprecated
|
||||||
cli_name='class',
|
cli_name='class',
|
||||||
label=_('Class'),
|
flags=['no_option'],
|
||||||
doc=_('DNS class'),
|
|
||||||
values=_record_classes,
|
values=_record_classes,
|
||||||
),
|
),
|
||||||
) + _dns_record_options
|
) + _dns_record_options
|
||||||
|
Loading…
Reference in New Issue
Block a user