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
..
2010-10-26 18:05:28 -07:00
2010-10-29 09:15:28 -07:00