<?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: SDK - Get Non-Root Aggregates in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/SDK-Get-Non-Root-Aggregates/m-p/130580#M2346</link>
    <description>&lt;P&gt;Maybe check for &lt;FONT face="courier new,courier"&gt;aggr-raid-attributes -&amp;gt; has-local-root&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;aggr-raid-attributes -&amp;gt; has-partner-root&lt;/FONT&gt; to both be false. &amp;nbsp;FWIW, your query works fine against my ONTAP 9.0 system.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2017 14:42:10 GMT</pubDate>
    <dc:creator>asulliva</dc:creator>
    <dc:date>2017-04-27T14:42:10Z</dc:date>
    <item>
      <title>SDK - Get Non-Root Aggregates</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/SDK-Get-Non-Root-Aggregates/m-p/130553#M2343</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the ZAPI tool to generate the following XML:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;netapp  xmlns="http://www.netapp.com/filer/admin" version="1.31"&amp;gt;
  &amp;lt;aggr-get-iter&amp;gt;
    &amp;lt;desired-attributes&amp;gt;...snipped for brevity...&amp;lt;/desired-attributes&amp;gt;
	&amp;lt;query&amp;gt;
		&amp;lt;aggr-attributes&amp;gt;
			&amp;lt;aggr-raid-attributes&amp;gt;
				&amp;lt;is-root-aggregate&amp;gt;false&amp;lt;/is-root-aggregate&amp;gt;
			&amp;lt;/aggr-raid-attributes&amp;gt;
		&amp;lt;/aggr-attributes&amp;gt;
	&amp;lt;/query&amp;gt;
    &amp;lt;/aggr-get-iter&amp;gt;
&amp;lt;/netapp&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, this still returns root aggregates (running against a CDOT 8.3.2P9 cluster). How can I get only non-root aggregates?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:09:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/SDK-Get-Non-Root-Aggregates/m-p/130553#M2343</guid>
      <dc:creator>stephzylstra</dc:creator>
      <dc:date>2025-06-04T15:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: SDK - Get Non-Root Aggregates</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/SDK-Get-Non-Root-Aggregates/m-p/130556#M2344</link>
      <description>&lt;P&gt;Not familiar with the API.. but have you tried looking for "ha_policy" of "cfo"? Only root aggregates have the ha_policy set to "cfo" (controller failover) - all others are sfo (storage failover).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 00:44:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/SDK-Get-Non-Root-Aggregates/m-p/130556#M2344</guid>
      <dc:creator>AlexDawson</dc:creator>
      <dc:date>2017-04-27T00:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: SDK - Get Non-Root Aggregates</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/SDK-Get-Non-Root-Aggregates/m-p/130580#M2346</link>
      <description>&lt;P&gt;Maybe check for &lt;FONT face="courier new,courier"&gt;aggr-raid-attributes -&amp;gt; has-local-root&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;aggr-raid-attributes -&amp;gt; has-partner-root&lt;/FONT&gt; to both be false. &amp;nbsp;FWIW, your query works fine against my ONTAP 9.0 system.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 14:42:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/SDK-Get-Non-Root-Aggregates/m-p/130580#M2346</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2017-04-27T14:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: SDK - Get Non-Root Aggregates</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/SDK-Get-Non-Root-Aggregates/m-p/130594#M2347</link>
      <description>&lt;P&gt;Thanks for your suggestions, everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like it's actually an issue with the ZAPI tool - I can use the tool to generate the code, but if I try to execute it, it brings back the wrong results. If I copy the generated XML and run it outside of the tool, it works as expected.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 23:13:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/SDK-Get-Non-Root-Aggregates/m-p/130594#M2347</guid>
      <dc:creator>stephzylstra</dc:creator>
      <dc:date>2017-04-27T23:13:22Z</dc:date>
    </item>
  </channel>
</rss>

