dns: re-introduce --raw in dnsrecord-del

The flag was removed in commit ff52c25ae2
because it is unused. Add it back for compatibility with old clients.

https://fedorahosted.org/freeipa/ticket/5644

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Jan Cholasta 2016-09-15 14:13:28 +02:00 committed by Martin Basti
parent 984ae3858d
commit e5f7a612fb
3 changed files with 8 additions and 3 deletions

View File

@ -1340,7 +1340,7 @@ output: Entry('result')
output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
output: PrimaryKey('value')
command: dnsrecord_del/1
args: 2,34,3
args: 2,35,3
arg: DNSNameParam('dnszoneidnsname', cli_name='dnszone')
arg: DNSNameParam('idnsname', cli_name='name')
option: A6Record('a6record*', autofill=False, cli_name='a6_rec')
@ -1367,6 +1367,7 @@ option: NAPTRRecord('naptrrecord*', autofill=False, cli_name='naptr_rec')
option: NSECRecord('nsecrecord*', autofill=False, cli_name='nsec_rec')
option: NSRecord('nsrecord*', autofill=False, cli_name='ns_rec')
option: PTRRecord('ptrrecord*', autofill=False, cli_name='ptr_rec')
option: Flag('raw', autofill=True, default=False)
option: RPRecord('rprecord*', autofill=False, cli_name='rp_rec')
option: RRSIGRecord('rrsigrecord*', autofill=False, cli_name='rrsig_rec')
option: SIGRecord('sigrecord*', autofill=False, cli_name='sig_rec')

View File

@ -90,5 +90,5 @@ IPA_DATA_VERSION=20100614120000
# #
########################################################
IPA_API_VERSION_MAJOR=2
IPA_API_VERSION_MINOR=214
# Last change: ftweedal: add ca-disable and ca-enable commands
IPA_API_VERSION_MINOR=215
# Last change: dns: re-introduce --raw in dnsrecord-del

View File

@ -3800,6 +3800,10 @@ class dnsrecord_del(LDAPUpdate):
label=_('Delete all associated records'),
),
dnsrecord.structured_flag,
Flag(
'raw',
exclude=('cli', 'webui'),
),
)
def get_options(self):