2012-10-18 03:57 AM
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.
2012-10-18 04:07 AM
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.
2012-10-18 04:17 AM
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?
2012-10-19 04:28 AM
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