cloudstack/tools/testClient
Prasanna Santhanam 81366d35c1 a. Test Discovery is only found in python 2.7+. unittest2 makes it backwards compatible for python 2.4-2.6
b. Adding traceback from pymysql to debug problems in connecting with database
(cherry picked from commit 81218d718af0ec101f7ba424c62bb6e0b5642744)
2011-08-25 19:52:30 +05:30
..
pymysql fix typo 2011-08-10 18:37:34 -07:00
testcase fix conflict 2011-08-24 18:47:09 -07:00
unitTest fix conflict 2011-08-24 18:47:09 -07:00
.project fix typo 2011-08-10 18:37:34 -07:00
.pydevproject fix typo 2011-08-10 18:37:34 -07:00
README Merge branch '2.2.y' 2011-08-22 20:28:30 -07:00
TestCaseExecuteEngine.py a. Test Discovery is only found in python 2.7+. unittest2 makes it backwards compatible for python 2.4-2.6 2011-08-25 19:52:30 +05:30
asyncJobMgr.py fix conflict 2011-08-24 18:47:09 -07:00
cloudstackConnection.py fix conflict 2011-08-24 18:47:09 -07:00
cloudstackException.py fix typo 2011-08-10 18:37:34 -07:00
cloudstackTestCase.py add new testcase class, make testcase pydev friendly 2011-08-19 16:22:02 -07:00
cloudstackTestClient.py fix conflict 2011-08-24 18:47:09 -07:00
codegenerator.py fix conflict 2011-08-24 18:47:09 -07:00
configGenerator.py fix conflict 2011-08-24 18:47:09 -07:00
dbConnection.py a. Test Discovery is only found in python 2.7+. unittest2 makes it backwards compatible for python 2.4-2.6 2011-08-25 19:52:30 +05:30
deployAndRun.py add more test cases 2011-08-18 10:51:38 -07:00
deployDataCenter.py fix conflict 2011-08-24 18:47:09 -07:00
remoteSSHClient.py fix typo 2011-08-10 18:37:34 -07:00

README

CloudStack Test Client

0. Generate API XML spec file
   ant build-apidocs, the output xml file is dist/commands.xml

1. generate Cloudstack API python code from an API XML spec file generated by step 0
   python codegenerator.py  -o where-to-put-the-cloudstack-api -s where-the-spec-file


2. Facility it provides:
  1. very handy cloudstack API python wrapper
  2. support async job executing in parallel
  3. remote ssh login/execute command
  4. mysql query 

3. sample code is under unitTest