<?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 Re: DFM API - host-list-info-iter-start inable to retrive filer info in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/DFM-API-host-list-info-iter-start-inable-to-retrive-filer-info/m-p/126404#M2193</link>
    <description>&lt;P&gt;never mind..think figured out the answer.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2016 21:06:10 GMT</pubDate>
    <dc:creator>sridharchevendra</dc:creator>
    <dc:date>2016-12-19T21:06:10Z</dc:date>
    <item>
      <title>DFM API - host-list-info-iter-start inable to retrive filer info</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/DFM-API-host-list-info-iter-start-inable-to-retrive-filer-info/m-p/126403#M2192</link>
      <description>&lt;P&gt;This is the firs time using iter function. It is providing 3 out put result sin zedi.When querying from python on the hosts output, it says hosts has None. Did anyone come across this? appreciate any doc or sugestion in retriving info from the iter functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the sample code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;api1 = NaElement("host-list-info-iter-start")&lt;BR /&gt;api1.child_add_string("expand-filer-to-vfilers","true")&lt;/P&gt;&lt;P&gt;xi_1 = NaElement("host-types")&lt;BR /&gt;api1.child_add(xi_1)&lt;/P&gt;&lt;P&gt;xi_1.child_add_string("host-type","vfiler")&lt;/P&gt;&lt;P&gt;xo1 = s.invoke_elem(api1)&lt;BR /&gt;if (xo1.results_status() == "failed") :&lt;BR /&gt;print ("Error:\n")&lt;BR /&gt;print (xo1.sprintf())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Able to retrive the information from the first set of results&lt;/P&gt;&lt;P&gt;tag = xo1.child_get_string("tag")&lt;BR /&gt;records = xo1.child_get_string("records")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Following fails&lt;/P&gt;&lt;P&gt;for host in xo1.child_get("hosts").children_get():&lt;BR /&gt;print host.child_get_string("id")&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:04:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/DFM-API-host-list-info-iter-start-inable-to-retrive-filer-info/m-p/126403#M2192</guid>
      <dc:creator>sridharchevendra</dc:creator>
      <dc:date>2025-06-04T18:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: DFM API - host-list-info-iter-start inable to retrive filer info</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/DFM-API-host-list-info-iter-start-inable-to-retrive-filer-info/m-p/126404#M2193</link>
      <description>&lt;P&gt;never mind..think figured out the answer.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 21:06:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/DFM-API-host-list-info-iter-start-inable-to-retrive-filer-info/m-p/126404#M2193</guid>
      <dc:creator>sridharchevendra</dc:creator>
      <dc:date>2016-12-19T21:06:10Z</dc:date>
    </item>
  </channel>
</rss>

