XML Encapsulated Errors

To display all errors as encapsulated XML suitable for processing with an XML parser, specify -x on the command line.

The following example displays errors associated with a bad username/password:

$ avcli -x -H eagles -u admin -p foo node-info

The following example displays errors associated with a bad host address for the everRun system:

$ avcli -x -H foo -u admin -p foo node-info
foo

The following example attempts an operation using a nonexistent VM:

$ avcli -H eagles -x vm-delete eagles23
Cannot find a resource that matches the identifier eagles23.