Fix --ttl description for DNS zones

TTL specified in idnsZone object class affects all records at zone apex,
not only SOA record.

Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
This commit is contained in:
Petr Spacek 2014-06-11 13:24:48 +02:00 committed by Petr Viktorin
parent 8f286d5c51
commit 91d3d4d7b2
4 changed files with 14 additions and 14 deletions

View File

@ -7866,9 +7866,9 @@
{
"attribute": true,
"class": "Int",
"doc": "SOA record time to live",
"doc": "Time to live for records at zone apex",
"flags": [],
"label": "SOA time to live",
"label": "Time to live",
"maxvalue": 2147483647,
"minvalue": 0,
"name": "dnsttl",
@ -8156,9 +8156,9 @@
{
"attribute": true,
"class": "Int",
"doc": "SOA record time to live",
"doc": "Time to live for records at zone apex",
"flags": [],
"label": "SOA time to live",
"label": "Time to live",
"maxvalue": 2147483647,
"minvalue": 0,
"name": "dnsttl",
@ -8438,9 +8438,9 @@
{
"attribute": true,
"class": "Int",
"doc": "SOA record time to live",
"doc": "Time to live for records at zone apex",
"flags": [],
"label": "SOA time to live",
"label": "Time to live",
"maxvalue": 2147483647,
"minvalue": 0,
"name": "dnsttl",
@ -22494,4 +22494,4 @@
"methods": {},
"objects": {}
}
}
}

View File

@ -4116,9 +4116,9 @@
},
{
"class": "Int",
"doc": "SOA record time to live",
"doc": "Time to live for records at zone apex",
"flags": [],
"label": "SOA time to live",
"label": "Time to live",
"maxvalue": 2147483647,
"minvalue": 0,
"name": "dnsttl",
@ -8906,4 +8906,4 @@
}
}
}
}
}

View File

@ -4485,12 +4485,12 @@
"cli_name": "ttl",
"cli_short_name": null,
"default": null,
"doc": "SOA record time to live",
"doc": "Time to live for records at zone apex",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "SOA time to live",
"label": "Time to live",
"maxvalue": 2147483647,
"minvalue": null,
"multivalue": false,

View File

@ -1764,8 +1764,8 @@ class dnszone(LDAPObject):
),
Int('dnsttl?',
cli_name='ttl',
label=_('SOA time to live'),
doc=_('SOA record time to live'),
label=_('Time to live'),
doc=_('Time to live for records at zone apex'),
minvalue=0,
maxvalue=2147483647, # see RFC 2181
),