2014-01-07 02:56 AM
I want to get information about disks, LUNs and aggregates using netapp api and java exactly similar to volumelist given in sample code.
How can I achieve that using java?
Thanks in advance.....
2014-01-07 04:34 AM
I tried demo given with sdk 8.1. It is working for volume list. Same kind of data I want to display for LUNs, Disks and aggregates.
2014-01-07 10:56 PM
There is no NMSDK 8.1 version at this moment.
However, from your responses I am assuming the following:
Based on these assumptions, please find the response to your queries below:
Details of these classes can be found from ontap-api-8.1-javadoc.jar [available under doc\Data_ONTAP\ directory].
[You can extract this jar and open the index.html from the extracted directory to see the javadoc for the classes].
Please feel free to revert back if you still have more queries on this.
2014-01-07 11:50 PM
I am using these classes.
But don't know how to use response and request class together.
Here is my code:
Here is a code:
LunListInfoRequest lunreq = new LunListInfoRequest();
System.out.println("luninfo is .. " + lunreq);
Iterator<LunInfo> lunInfoIter = apirunner.iterate(lunreq,10);
In this code I got error to iterate method at line 3.
Is there any alternate way to iterate the object?
Can you guide me with piece of code please????