summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2015-06-08 18:52:56 +0200
committerPetr Vobornik <pvoborni@redhat.com>2015-06-10 14:16:03 +0200
commit2661a860e0049c75088fffe2765d67b051c31c9b (patch)
tree77a8cd22bee7d7e8ed19fc0e55fc76382e3a803f /ipalib
parent4232c39f6767d27b9f812a15cfc5ee2c5be69d5e (diff)
downloadfreeipa-2661a860e0049c75088fffe2765d67b051c31c9b.tar.gz
freeipa-2661a860e0049c75088fffe2765d67b051c31c9b.tar.xz
freeipa-2661a860e0049c75088fffe2765d67b051c31c9b.zip
topology: hide topologysuffix-add del mod commands
Suffices are created on installation/upgrade. Users should not modify them. https://fedorahosted.org/freeipa/ticket/4302 Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/topology.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipalib/plugins/topology.py b/ipalib/plugins/topology.py
index 3e3f24402..99781fd10 100644
--- a/ipalib/plugins/topology.py
+++ b/ipalib/plugins/topology.py
@@ -355,6 +355,8 @@ class topologysuffix_find(LDAPSearch):
class topologysuffix_del(LDAPDelete):
__doc__ = _('Delete a topology suffix.')
+ NO_CLI = True
+
msg_summary = _('Deleted topology suffix "%(value)s"')
def pre_callback(self, ldap, dn, *keys, **options):
@@ -367,6 +369,8 @@ class topologysuffix_del(LDAPDelete):
class topologysuffix_add(LDAPCreate):
__doc__ = _('Add a new topology suffix to be managed.')
+ NO_CLI = True
+
msg_summary = _('Added topology suffix "%(value)s"')
def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options):
@@ -379,6 +383,8 @@ class topologysuffix_add(LDAPCreate):
class topologysuffix_mod(LDAPUpdate):
__doc__ = _('Modify a topology suffix.')
+ NO_CLI = True
+
msg_summary = _('Modified topology suffix "%(value)s"')
def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options):