Open martinhoyer opened 6 years ago
Compellent JAVA SDK has option to return the output in XML output for all the commands.
How do I do that? I only found the xmloutputfile option:
The help says '-xmloutputfile
' java -jar CompCU.jar -host
btw, "Default is cu_output.xml" is kind of broken, because it still expect a file name, even though it will create cu_output.xml and fill it with False return code.
Any update on this, please?
# java -jar CompCU.jar -host <host> -user Admin -password <pass> -c "volume show" -xmloutputfile output.xml
`cat output.xml
Hi, can we get a machine readable output for 'show's commands? Json, xml... Or is there a way to do so without creating a parser? Thanks