diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-01-20 15:07:43 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-01-21 13:56:02 -0500 |
commit | 4361cd02422d8a6b30d67bb6869af9c67f7ec9c0 (patch) | |
tree | 706f815f0ae0cbb68649397e0949599d6e035e96 /ipalib/plugins/dns.py | |
parent | 35f2f1d72078d69ca82b68f4d52bc61f2d297dfc (diff) | |
download | freeipa-4361cd02422d8a6b30d67bb6869af9c67f7ec9c0.tar.gz freeipa-4361cd02422d8a6b30d67bb6869af9c67f7ec9c0.tar.xz freeipa-4361cd02422d8a6b30d67bb6869af9c67f7ec9c0.zip |
Rename INTERNAL to NO_CLI for commands we hide from the cli.
Also make i18n_messages and json_metadata NO_CLI.
ticket 821
Diffstat (limited to 'ipalib/plugins/dns.py')
-rw-r--r-- | ipalib/plugins/dns.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |