summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/src/freeipa/topology.js11
-rw-r--r--ipalib/plugins/topology.py3
2 files changed, 4 insertions, 10 deletions
diff --git a/install/ui/src/freeipa/topology.js b/install/ui/src/freeipa/topology.js
index c8a8acbe9..9ca31741f 100644
--- a/install/ui/src/freeipa/topology.js
+++ b/install/ui/src/freeipa/topology.js
@@ -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'
}
]
}
diff --git a/ipalib/plugins/topology.py b/ipalib/plugins/topology.py
index 49060d672..04e7b6e30 100644
--- a/ipalib/plugins/topology.py
+++ b/ipalib/plugins/topology.py
@@ -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'},
),
)