summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/dns.py
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2009-06-16 16:51:44 +0200
committerRob Crittenden <rcritten@redhat.com>2009-07-02 13:33:02 -0400
commit4b6a6c405cb66b38e1fd0961eaaca406f061fa60 (patch)
tree275432c9087b9d6225271dbe4821c6f728ba1f05 /ipalib/plugins/dns.py
parent89993d9939e938d7e3305da59c3b61aa84792593 (diff)
downloadfreeipa-4b6a6c405cb66b38e1fd0961eaaca406f061fa60.tar.gz
freeipa-4b6a6c405cb66b38e1fd0961eaaca406f061fa60.tar.xz
freeipa-4b6a6c405cb66b38e1fd0961eaaca406f061fa60.zip
Rename *-create/*-delete commands to *-add/*-del respectively.
Diffstat (limited to 'ipalib/plugins/dns.py')
-rw-r--r--ipalib/plugins/dns.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index bd21ea8c7..8e6cc3c92 100644
--- a/ipalib/plugins/dns.py
+++ b/ipalib/plugins/dns.py
@@ -17,7 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
-Domain Name System (DNS) Plugin
+Domain Name System (DNS) plugin
Implements a set of commands useful for manipulating DNS records used by
the BIND LDAP plugin.
@@ -165,7 +165,7 @@ class dns(Object):
api.register(dns)
-class dns_create(crud.Create):
+class dns_add(crud.Create):
"""
Create new DNS zone/SOA record.
"""
@@ -207,10 +207,10 @@ class dns_create(crud.Create):
textui.print_entry(entry_attrs)
textui.print_dashed('Created DNS zone "%s".' % idnsname)
-api.register(dns_create)
+api.register(dns_add)
-class dns_delete(crud.Delete):
+class dns_del(crud.Delete):
"""
Delete existing DNS zone/SOA record.
"""
@@ -244,7 +244,7 @@ class dns_delete(crud.Delete):
textui.print_name(self.name)
textui.print_dashed('Deleted DNS zone "%s".' % args[0])
-api.register(dns_delete)
+api.register(dns_del)
class dns_mod(crud.Update):