Subscribe

Malformed XML exceptions while trying to retrieve disk drives

Hi,

I am trying to get the list of disk drives using the disk-list-info API. This does not seem to be returning the data. I am trying to use the CLI disk_list for getting the list of all disk names. This also seems to be failing with a MalformedXML exception.

Please let me know how this can be resolved.

Thanks

Re: Malformed XML exceptions while trying to retrieve disk drives

You can try the tool ZEDI (packaged within NMSDK) to execute this API. All you need to enter will be the input parameter, ZEDI will take care of the rest.

Re: Malformed XML exceptions while trying to retrieve disk drives

Hi,

Thanks for the reply. Can I get some hints regarding this using the APItest tool? If so, can you please clarify on the format for the same?

Regards,

Prasanna

Re: Malformed XML exceptions while trying to retrieve disk drives

Hi Prasanna,

The format to use the APItest tool is :

apitest -x <IP.XXX.XXX.XX> <USERNAME> <PWD> <API>

you can also use the -X (uppercase instead of lowercase) option instead of -x to get the complete raw XML.

So in your case the command would be :

apitest -x <IP address> <username> <pwd> disk-list-info

-Aashray-