mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			496 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			496 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
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 
 |