10 Commits

Author SHA1 Message Date
Edison Su
b7d4e54317 Using the CloudApi didn't work as parms and self were passed on as part
of the request. Making parms a copy of the locals() dict will prevent it
from being changed later on.
RB: https://reviews.apache.org/r/5828/
Send-by: htrippaers@schubergphilis.com
2012-07-24 14:07:07 -07:00
David Nalley
c15948a3ef committing Chip Childers patches fixing licensing headers
Applying to the following directories:
* api
* deamonize
* agnet
* agent-simulator
* cloud-cli
2012-06-12 12:32:58 -04:00
frank
2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Edison Su
18255e985c add apikey/securitykey in cloud-cli 2011-08-19 11:23:30 -07:00
Frank
92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
alena
2901cb5518 Defaulted "stripxml" parameter to true in cloud cli tool. 2010-11-29 11:06:17 -08:00
alena
33c062473d bug 7270: added strip xml support to cloud-tool.
status 7270: resolved fixed

Specify --stripxml=true if you want to enable this option. It set to "false" by default. Example with tags stripped:

$ cloud-tool listDomains --server=localhost:8096 --stripxml=true

domain
id=1
name=ROOT
level=0
haschild=true

domain
id=2
name=hello
level=1
parentdomainid=1
parentdomainname=ROOT
haschild=false

Example with original xml format:

$ cloud-tool listDomains --server=localhost:8096

<?xml version="1.0" encoding="ISO-8859-1"?><listdomainsresponse cloud-stack-version="1.9.1"><domain><id>1</id><name>ROOT</name><level>0</level><haschild>true</haschild></domain><domain><id>2</id><name>hello"</name><level>1</level><parentdomainid>1</parentdomainid><parentdomainname>ROOT</parentdomainname><haschild>false</haschild></domain></listdomainsresponse>
2010-11-24 17:31:52 -08:00
alena
fe2fc63692 Fixed command line tool 2010-10-29 09:15:28 -07:00
edison
b9a242332b fix cloud-tool to list all the available apis 2010-10-28 11:28:56 -07:00
edison
066d94f6f9 Add cloud-tool into FOSS 2010-10-26 18:05:28 -07:00