[roster-dns-management] r1153 committed - changes to dnslscnames requirement

0 views
Skip to first unread message

roster-dns...@googlecode.com

unread,
Jul 26, 2013, 3:32:17 AM7/26/13
to roster-...@googlegroups.com
Revision: 1153
Author: jane...@gmail.com
Date: Fri Jul 26 00:31:56 2013
Log: changes to dnslscnames requirement
http://code.google.com/p/roster-dns-management/source/detail?r=1153

Modified:
/trunk/roster-user-tools/scripts/dnslscnames
/trunk/test/dnslscnames_test.py

=======================================
--- /trunk/roster-user-tools/scripts/dnslscnames Tue Jul 24 12:26:29 2012
+++ /trunk/roster-user-tools/scripts/dnslscnames Fri Jul 26 00:31:56 2013
@@ -54,13 +54,13 @@
Inputs:
args: list of arguments from the command line
"""
- command = None
+ command = 'cname'
if( args and not args[0].startswith('-') ):
command = args.pop(0)
usage = ('\n'
'\n'
'To list all CNAMEs for a specified hostname:\n'
- '\t%s cname --hostname <hostname> -v <view-name> '
+ '\t%s --hostname <hostname> -v <view-name> '
'-z <zone-name> [-r]\n'
'\n' % tuple(sys.argv[0] for x in range(1)))
args_instance = Args(command, ['cname'], args, usage)
=======================================
--- /trunk/test/dnslscnames_test.py Tue Aug 7 07:51:24 2012
+++ /trunk/test/dnslscnames_test.py Fri Jul 26 00:31:56 2013
@@ -154,7 +154,7 @@
{u'assignment_host':
u'machine5.university.edu.'},
view_name=u'any')
- command = os.popen('python %s cname -v any -z test_zone '
+ command = os.popen('python %s -v any -z test_zone '
'--hostname %s -u %s -p %s --config-file %s
-s %s' % (
EXEC, u'machine1.university.edu.', USERNAME,
self.password, USER_CONFIG, self.server_name))
@@ -189,7 +189,7 @@
{u'assignment_host':
u'machine5.university.edu.'},
view_name=u'test_view')
- command = os.popen('python %s cname -v test_view -z test_zone '
+ command = os.popen('python %s -v test_view -z test_zone '
'--hostname %s -u %s -p %s --config-file %s
-s %s' % (
EXEC, u'machine1.university.edu.', USERNAME,
self.password, USER_CONFIG, self.server_name))
@@ -227,7 +227,7 @@
{u'assignment_host':
u'machine4.university.edu.'},
view_name=u'test_view')
- command = os.popen('python %s cname -v test_view -z test_zone '
+ command = os.popen('python %s -v test_view -z test_zone '
'--hostname %s -u %s -p %s --config-file %s -s %s
-r' % (
EXEC, u'machine1.university.edu.', USERNAME,
self.password, USER_CONFIG, self.server_name))
Reply all
Reply to author
Forward
0 new messages