DNS: Improve field descriptions for SRV records

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Petr Spacek authored and Martin Basti committed 2016-10-11 16:48:47 +02:00
1 parent f363dfbeed
commit bf96b80200
2 files changed
+9 -5

No files matched your search

+4 -4
View File
@@ -1180,10 +1180,10 @@ IPA.dns.get_record_metadata = function() {
{
name: 'srvrecord',
attributes: [
'srv_part_priority',
'srv_part_weight',
'srv_part_port',
'srv_part_target'
'srv_part_priority',
'srv_part_weight',
'srv_part_port',
'srv_part_target'
],
adder_attributes: [],
columns: ['srv_part_priority', 'srv_part_weight', 'srv_part_port',
+5 -1
View File
@@ -1329,12 +1329,16 @@ class SRVRecord(DNSRecord):
rfc = 2782
parts = (
Int('priority',
label=_('Priority'),
label=_('Priority (order)'),
doc=_('Lower number means higher priority. Clients will attempt '
'to contact the server with the lowest-numbered priority '
'they can reach.'),
minvalue=0,
maxvalue=65535,
),
Int('weight',
label=_('Weight'),
doc=_('Relative weight for entries with the same priority.'),
minvalue=0,
maxvalue=65535,
),