]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
tasks: Use '_' instead of '-' in names
authorJohn Spray <john.spray@inktank.com>
Mon, 12 May 2014 09:55:58 +0000 (10:55 +0100)
committerJohn Spray <john.spray@inktank.com>
Wed, 28 May 2014 13:39:41 +0000 (14:39 +0100)
commit79dfe2cbefbbf14b69ae10c44a89a4fe45fedbe5
treeb156c0e0abc25aacf395a4407739f1679d109214
parentd3c230071a23354d6acfb44d26e1c4559b9a6bdf
tasks: Use '_' instead of '-' in names

Python modules are not allowed to contain hyphens
in the name.  Using hyphens only works here because
we're using low level __import__.

Change run_tasks to replace '-' with '_' when reading
configs, and rename the task modules to have valid
python module names.

Aside from general hygiene, the motivation to do this
is to allow one task to build on code in another
task by importing it.

Signed-off-by: John Spray <john.spray@inktank.com>
17 files changed:
teuthology/run_tasks.py
teuthology/task/ceph-deploy.py [deleted file]
teuthology/task/ceph-fuse.py [deleted file]
teuthology/task/ceph_deploy.py [new file with mode: 0644]
teuthology/task/ceph_fuse.py [new file with mode: 0644]
teuthology/task/cifs-mount.py [deleted file]
teuthology/task/cifs_mount.py [new file with mode: 0644]
teuthology/task/radosgw-admin-rest.py [deleted file]
teuthology/task/radosgw-admin.py [deleted file]
teuthology/task/radosgw-agent.py [deleted file]
teuthology/task/radosgw_admin.py [new file with mode: 0644]
teuthology/task/radosgw_admin_rest.py [new file with mode: 0644]
teuthology/task/radosgw_agent.py [new file with mode: 0644]
teuthology/task/rest-api.py [deleted file]
teuthology/task/rest_api.py [new file with mode: 0644]
teuthology/task/rgw-logsocket.py [deleted file]
teuthology/task/rgw_logsocket.py [new file with mode: 0644]