From 4361cd02422d8a6b30d67bb6869af9c67f7ec9c0 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 20 Jan 2011 15:07:43 -0500 Subject: Rename INTERNAL to NO_CLI for commands we hide from the cli. Also make i18n_messages and json_metadata NO_CLI. ticket 821 --- ipalib/plugins/dns.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ipalib/plugins/dns.py') diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index 6d2109741..69c38b26c 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -471,7 +471,7 @@ class dnsrecord_add_record(dnsrecord_mod_record): """ Add records to DNS resource. """ - INTERNAL = True + NO_CLI = True def update_old_entry_callback(self, entry_attrs, old_entry_attrs): for (a, v) in entry_attrs.iteritems(): @@ -509,7 +509,7 @@ class dnsrecord_delentry(LDAPDelete): """ Delete DNS record entry. """ - INTERNAL = True + NO_CLI = True api.register(dnsrecord_delentry) @@ -621,7 +621,7 @@ class dns_is_enabled(Command): """ Checks if any of the servers has the DNS service enabled. """ - INTERNAL = True + NO_CLI = True has_output = output.standard_value base_dn = 'cn=masters,cn=ipa,cn=etc,%s' % api.env.basedn -- cgit