Software Development Kit (SDK) and API Discussions

Malformed XML exceptions while trying to retrieve disk drives

explorenetapp
2,646 Views

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

3 REPLIES 3

kunalm
2,646 Views

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.

explorenetapp
2,646 Views

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

aashray
2,646 Views

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-

Public