DNSSEC: WebUI: add TLSA record

Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
Martin Basti 2014-06-25 12:53:12 +02:00 committed by Petr Vobornik
parent 12cb31575c
commit 8e911fcabc

View File

@ -1122,6 +1122,23 @@ IPA.dns.get_record_metadata = function() {
adder_attributes: [],
columns: ['sshfp_part_algorithm', 'sshfp_part_fp_type']
},
{
name: 'tlsarecord',
attributes: [
'tlsa_part_cert_usage',
'tlsa_part_selector',
'tlsa_part_matching_type',
{
name: 'tlsa_part_cert_association_data',
$type: 'textarea'
}
],
adder_attributes: [],
columns: [
'tlsa_part_cert_usage', 'tlsa_part_selector',
'tlsa_part_matching_type'
]
},
{
name: 'txtrecord',
attributes: [
@ -1507,7 +1524,7 @@ IPA.dns_record_types = function() {
//only supported
var attrs = ['A', 'AAAA', 'A6', 'AFSDB', 'CERT', 'CNAME', 'DNAME',
'DS', 'DLV', 'KX', 'LOC', 'MX', 'NAPTR', 'NS',
'NSEC3PARAM', 'PTR', 'SRV', 'SSHFP', 'TXT'];
'NSEC3PARAM', 'PTR', 'SRV', 'SSHFP', 'TLSA', 'TXT'];
var record_types = [];
for (var i=0; i<attrs.length; i++) {
var attr = attrs[i];