<?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 Perl API to add/modify user quota on cluster mode filers in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Perl-API-to-add-modify-user-quota-on-cluster-mode-filers/m-p/120746#M1990</link>
    <description>&lt;P&gt;Need some help to add/create quota for the users.&lt;/P&gt;&lt;P&gt;I am ablr to GET the quota report but not able to modify/add quota for existing/new users.&lt;/P&gt;&lt;P&gt;Any leads would be appreaciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 20:10:56 GMT</pubDate>
    <dc:creator>rahuldhek</dc:creator>
    <dc:date>2025-06-04T20:10:56Z</dc:date>
    <item>
      <title>Perl API to add/modify user quota on cluster mode filers</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Perl-API-to-add-modify-user-quota-on-cluster-mode-filers/m-p/120746#M1990</link>
      <description>&lt;P&gt;Need some help to add/create quota for the users.&lt;/P&gt;&lt;P&gt;I am ablr to GET the quota report but not able to modify/add quota for existing/new users.&lt;/P&gt;&lt;P&gt;Any leads would be appreaciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 20:10:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Perl-API-to-add-modify-user-quota-on-cluster-mode-filers/m-p/120746#M1990</guid>
      <dc:creator>rahuldhek</dc:creator>
      <dc:date>2025-06-04T20:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Perl API to add/modify user quota on cluster mode filers</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Perl-API-to-add-modify-user-quota-on-cluster-mode-filers/m-p/120754#M1991</link>
      <description>&lt;P&gt;Hello Rahul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think &lt;A href="https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/how-to-add-a-rule-to-a-quota-policy-with-OnTap-API/td-p/119271" target="_self"&gt;this thread&lt;/A&gt; might help answer your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 13:18:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Perl-API-to-add-modify-user-quota-on-cluster-mode-filers/m-p/120754#M1991</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-06-29T13:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Perl API to add/modify user quota on cluster mode filers</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Perl-API-to-add-modify-user-quota-on-cluster-mode-filers/m-p/120790#M1992</link>
      <description>&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;Could not get much help.. following is the snippet where I am getting the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;if ($filer_type eq "ontap-cm"){
                $out = $s-&amp;gt;invoke( "quota-add-entry",
                            "disk-limit","$disklimit",
                            "quota-type","user",
                            "quota-target","$uid",
                            "volume","$volume");

                        if ($out-&amp;gt;results_status() eq "failed"){
                                print($out-&amp;gt;results_errno());
                                print($out-&amp;gt;results_reason());
                         }
}
else{
                $out = $s-&amp;gt;invoke( "quota-add-entry",
                            "disk-limit","$disklimit",
                            "quota-type","user",
                            "volume","$volume",
                            "quota-target","$uid",
                            "qtree","$qtree" );
               

                        if ($out-&amp;gt;results_status() eq "failed"){
                                print ($out-&amp;gt;results_errno());
                                print($out-&amp;gt;results_reason());
                        }
}&lt;/PRE&gt;&lt;P&gt;The snippet works perfectly fine when the filer type is "ontap" but throws an error when filer type is "ontap-cm"&lt;/P&gt;&lt;P&gt;The error message is "13005 Unable to find API: quota-add-entry ".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help/lead would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 09:26:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Perl-API-to-add-modify-user-quota-on-cluster-mode-filers/m-p/120790#M1992</guid>
      <dc:creator>rahuldhek</dc:creator>
      <dc:date>2016-06-30T09:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Perl API to add/modify user quota on cluster mode filers</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Perl-API-to-add-modify-user-quota-on-cluster-mode-filers/m-p/120811#M1993</link>
      <description>&lt;P&gt;The "quota-add-entry" API&amp;nbsp;must be directed at a SVM/vserver. &amp;nbsp;Make sure you're either connecting to the SVM admin LIF, or doing vserver tunneling from the cluster LIF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 13:47:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Perl-API-to-add-modify-user-quota-on-cluster-mode-filers/m-p/120811#M1993</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-06-30T13:47:04Z</dc:date>
    </item>
  </channel>
</rss>

