bug 7270: added strip xml support to cloud-tool. · binaryatwork/cloudstack@33c0624 · GitHub
Skip to content

Commit 33c0624

Browse files
committed
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>
1 parent 9885392 commit 33c0624

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

cloud-cli/cloudapis/cloud.py

Lines changed: 15 additions & 2 deletions

0 commit comments

Comments
 (0)