topologysegment: hide direction and enable options

These options should not be touched by users yet.

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

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Petr Vobornik 2015-06-30 10:38:12 +02:00 committed by Tomas Babej
parent fa4954c35d
commit 2b8e1caa7b
2 changed files with 4 additions and 10 deletions

View File

@ -138,7 +138,8 @@ return {
$type: 'radio',
name: 'nsds5replicaenabled',
options: ['on', 'off'],
default_value: 'on'
default_value: 'on',
read_only: true
},
'nsds5replicatimeout',
'nsds5replicastripattrs',
@ -168,14 +169,6 @@ return {
other_entity: 'server',
other_field: 'cn',
z_index: 1
},
{
$type: 'radio',
name: 'iparepltoposegmentdirection',
options: IPA.create_options([
'both', 'left-right', 'right-left'
]),
default_value: 'both'
}
]
}

View File

@ -103,7 +103,7 @@ class topologysegment(LDAPObject):
default=u'both',
doc=_('Direction of replication between left and right replication '
'node'),
flags={'no_update'},
flags={'no_option', 'no_update'},
),
Str(
'nsds5replicastripattrs?',
@ -145,6 +145,7 @@ class topologysegment(LDAPObject):
doc=_('Whether a replication agreement is active, meaning whether '
'replication is occurring per that agreement'),
values=(u'on', u'off'),
flags={'no_option'},
),
)