mirror of https://github.com/apache/cloudstack.git
depends on python's internal socket implementation. Added an explicit 3m timeout. Test code MUST NOT induce sleeps longer than 3m, instead check status periodically to keep the HTTPConnection alive. reviewed-by: Chirag Jog <chirag@clogeny.com> |
||
|---|---|---|
| .. | ||
| pymysql | ||
| sandbox | ||
| testcase | ||
| unitTest | ||
| .project | ||
| .pydevproject | ||
| README | ||
| TestCaseExecuteEngine.py | ||
| __init__.py | ||
| asyncJobMgr.py | ||
| cloudstackConnection.py | ||
| cloudstackException.py | ||
| cloudstackTestCase.py | ||
| cloudstackTestClient.py | ||
| codegenerator.py | ||
| configGenerator.py | ||
| dbConnection.py | ||
| deployAndRun.py | ||
| deployDataCenter.py | ||
| jsonHelper.py | ||
| remoteSSHClient.py | ||
README
CloudStack Test Client 1. generate Cloudstack API python code from an API XML spec file python codegenerator.py -o where-to-put-the-cloudstack-api -s where-the-spec-file 1.5 Spec file is generated by ant build-apidocs -> generates commands.xml in dist 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