<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to get list of LUN's, Disks and aggregates in a volume using java? in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-get-list-of-LUN-s-Disks-and-aggregates-in-a-volume-using-java/m-p/60425#M539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to get information about disks, LUNs and aggregates using netapp api and java exactly similar to volumelist given in sample code.&lt;/P&gt;&lt;P&gt;How can I achieve that using java?&lt;/P&gt;&lt;P&gt;Thanks in advance.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:46:12 GMT</pubDate>
    <dc:creator>VISHWASTALULE</dc:creator>
    <dc:date>2025-06-05T05:46:12Z</dc:date>
    <item>
      <title>How to get list of LUN's, Disks and aggregates in a volume using java?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-get-list-of-LUN-s-Disks-and-aggregates-in-a-volume-using-java/m-p/60425#M539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to get information about disks, LUNs and aggregates using netapp api and java exactly similar to volumelist given in sample code.&lt;/P&gt;&lt;P&gt;How can I achieve that using java?&lt;/P&gt;&lt;P&gt;Thanks in advance.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:46:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-get-list-of-LUN-s-Disks-and-aggregates-in-a-volume-using-java/m-p/60425#M539</guid>
      <dc:creator>VISHWASTALULE</dc:creator>
      <dc:date>2025-06-05T05:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of LUN's, Disks and aggregates in a volume using java?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-get-list-of-LUN-s-Disks-and-aggregates-in-a-volume-using-java/m-p/60430#M540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using Java Bindings or core Java NMSDK bundle?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 11:31:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-get-list-of-LUN-s-Disks-and-aggregates-in-a-volume-using-java/m-p/60430#M540</guid>
      <dc:creator>sens</dc:creator>
      <dc:date>2014-01-07T11:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of LUN's, Disks and aggregates in a volume using java?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-get-list-of-LUN-s-Disks-and-aggregates-in-a-volume-using-java/m-p/60435#M541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NMSDK 8.1.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 12:34:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-get-list-of-LUN-s-Disks-and-aggregates-in-a-volume-using-java/m-p/60435#M541</guid>
      <dc:creator>VISHWASTALULE</dc:creator>
      <dc:date>2014-01-07T12:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of LUN's, Disks and aggregates in a volume using java?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-get-list-of-LUN-s-Disks-and-aggregates-in-a-volume-using-java/m-p/60440#M542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no NMSDK 8.1 version at this moment.&lt;/P&gt;&lt;P&gt;However, from your responses I am assuming the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You are probably using NMSDK 5.1 Java Bindings bundle and the jar you are using is - ontap-api-8.1.jar&lt;/LI&gt;&lt;LI&gt;You are using Data ONTAP 8.1&lt;/LI&gt;&lt;LI&gt;The storage system is in 7 Mode [since VolList.java sample code is working for you].&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on these assumptions, please find the response to your queries below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;To display LUNs, you need to use &lt;STRONG&gt;LunListInfoRequest &lt;/STRONG&gt;and &lt;STRONG&gt;LunListInfoResponse &lt;/STRONG&gt;classes.&lt;/LI&gt;&lt;LI&gt;For Disks, you have use &lt;STRONG&gt;DiskListInfoRequest &lt;/STRONG&gt;and &lt;STRONG&gt;DiskListInfoResponse &lt;/STRONG&gt;classes.&lt;/LI&gt;&lt;LI&gt;And for aggregates, you will have to use &lt;STRONG&gt;AggrListInfoRequest &lt;/STRONG&gt;and &lt;STRONG&gt;AggrListInfoResponse &lt;/STRONG&gt;classes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details of these classes can be found from &lt;STRONG&gt;ontap-api-8.1-javadoc.jar&lt;/STRONG&gt; [available under &lt;STRONG&gt;doc\Data_ONTAP\&lt;/STRONG&gt; directory].&lt;/P&gt;&lt;P&gt;[You can extract this jar and open the index.html from the extracted directory to see the javadoc for the classes].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please feel free to revert back if you still have more queries on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 06:56:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-get-list-of-LUN-s-Disks-and-aggregates-in-a-volume-using-java/m-p/60440#M542</guid>
      <dc:creator>sens</dc:creator>
      <dc:date>2014-01-08T06:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get list of LUN's, Disks and aggregates in a volume using java?</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-get-list-of-LUN-s-Disks-and-aggregates-in-a-volume-using-java/m-p/60449#M543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly Sens..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using these classes.&lt;/P&gt;&lt;P&gt;But don't know how to use response and request class together.&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;Here is a code:&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;LunListInfoRequest lunreq = new LunListInfoRequest();&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;System.out.println("luninfo is .. " + lunreq);&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;Iterator&amp;lt;LunInfo&amp;gt; lunInfoIter = apirunner.iterate(lunreq,10);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;In this code I got error to iterate method at line 3.&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;Is there any alternate way to iterate the object?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you guide me with piece of code please????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 07:50:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-get-list-of-LUN-s-Disks-and-aggregates-in-a-volume-using-java/m-p/60449#M543</guid>
      <dc:creator>VISHWASTALULE</dc:creator>
      <dc:date>2014-01-08T07:50:01Z</dc:date>
    </item>
  </channel>
</rss>

