summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/dns.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-11-28 12:31:45 -0500
committerRob Crittenden <rcritten@redhat.com>2011-12-05 22:29:02 -0500
commit181e6da9d8d9ee601989f845356a3c5b31d2720b (patch)
treed87f42ed6c427da7eb00a93092cb8e35cc8f3429 /ipalib/plugins/dns.py
parent59721431d29c5684924c1d76ffe1c59cd6149d97 (diff)
downloadfreeipa.git-181e6da9d8d9ee601989f845356a3c5b31d2720b.tar.gz
freeipa.git-181e6da9d8d9ee601989f845356a3c5b31d2720b.tar.xz
freeipa.git-181e6da9d8d9ee601989f845356a3c5b31d2720b.zip
Mark some attributes required to match the schema.
This makes no changes to the functionality in the command-line or GUI because these all have defaults anyway. This is mostly to show them properly in the UI and prevent someone from trying to erase the value (and getting a nasty schema error in response). https://fedorahosted.org/freeipa/ticket/2015
Diffstat (limited to 'ipalib/plugins/dns.py')
-rw-r--r--ipalib/plugins/dns.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index 7acb3df8..d4f91af7 100644
--- a/ipalib/plugins/dns.py
+++ b/ipalib/plugins/dns.py
@@ -673,7 +673,7 @@ class dnszone(LDAPObject):
default_from=lambda idnsname: 'hostmaster.%s' % idnsname,
normalizer=normalize_zonemgr,
),
- Int('idnssoaserial?',
+ Int('idnssoaserial',
cli_name='serial',
label=_('SOA serial'),
doc=_('SOA record serial number'),
@@ -681,7 +681,7 @@ class dnszone(LDAPObject):
create_default=_create_zone_serial,
autofill=True,
),
- Int('idnssoarefresh?',
+ Int('idnssoarefresh',
cli_name='refresh',
label=_('SOA refresh'),
doc=_('SOA record refresh time'),
@@ -689,7 +689,7 @@ class dnszone(LDAPObject):
default=3600,
autofill=True,
),
- Int('idnssoaretry?',
+ Int('idnssoaretry',
cli_name='retry',
label=_('SOA retry'),
doc=_('SOA record retry time'),
@@ -697,7 +697,7 @@ class dnszone(LDAPObject):
default=900,
autofill=True,
),
- Int('idnssoaexpire?',
+ Int('idnssoaexpire',
cli_name='expire',
label=_('SOA expire'),
doc=_('SOA record expire time'),
@@ -705,7 +705,7 @@ class dnszone(LDAPObject):
minvalue=0,
autofill=True,
),
- Int('idnssoaminimum?',
+ Int('idnssoaminimum',
cli_name='minimum',
label=_('SOA minimum'),
doc=_('How long should negative responses be cached'),