<?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: Node Management IP Address in Python Discussions</title>
    <link>https://community.netapp.com/t5/Python-Discussions/Node-Management-IP-Address/m-p/134249#M15</link>
    <description>&lt;P&gt;This post solved it for me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/python-code-for-calling-the-quota-report-iter-API/td-p/121805" target="_blank"&gt;https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/python-code-for-calling-the-quota-report-iter-API/td-p/121805&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I needed to add the "max-records" to get the full list of IP address's returned.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2017 19:31:15 GMT</pubDate>
    <dc:creator>Mogley766</dc:creator>
    <dc:date>2017-09-05T19:31:15Z</dc:date>
    <item>
      <title>Node Management IP Address</title>
      <link>https://community.netapp.com/t5/Python-Discussions/Node-Management-IP-Address/m-p/134233#M14</link>
      <description>&lt;P&gt;Does anyone have any idea why the following code snipit would fail on a 4 node cluster, but work fine on a 2 node cluster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# get node mangement interface info&lt;BR /&gt;nmgmtipresults = con.invoke("net-interface-get-iter").child_get("attributes-list").children_get()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# create empty list for node management interface&lt;BR /&gt;nmgmtip = []&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# loop through attributes and get the ones wanted&lt;BR /&gt;for nmitem in nmgmtipresults:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; # get role&lt;BR /&gt;&amp;nbsp; &amp;nbsp; nmrole = nmitem.child_get_string("role")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; # node management ips&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if(nmrole == "node_mgmt"):&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nmgmtip.append(nmitem.child_get_string("address"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; for m in nmgmtip:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print "ip: "+m&lt;/P&gt;&lt;P&gt;except Exception, e:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; print e&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run it against a 4 node cluster, I don't get any output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:38:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Python-Discussions/Node-Management-IP-Address/m-p/134233#M14</guid>
      <dc:creator>Mogley766</dc:creator>
      <dc:date>2025-06-04T14:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Node Management IP Address</title>
      <link>https://community.netapp.com/t5/Python-Discussions/Node-Management-IP-Address/m-p/134249#M15</link>
      <description>&lt;P&gt;This post solved it for me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/python-code-for-calling-the-quota-report-iter-API/td-p/121805" target="_blank"&gt;https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/python-code-for-calling-the-quota-report-iter-API/td-p/121805&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I needed to add the "max-records" to get the full list of IP address's returned.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 19:31:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Python-Discussions/Node-Management-IP-Address/m-p/134249#M15</guid>
      <dc:creator>Mogley766</dc:creator>
      <dc:date>2017-09-05T19:31:15Z</dc:date>
    </item>
  </channel>
</rss>

