<?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 Fetch quota report for cluster mode filers using NetApp Perl APIs in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Fetch-quota-report-for-cluster-mode-filers-using-NetApp-Perl-APIs/m-p/122386#M2083</link>
    <description>&lt;P&gt;I am using the following LOC to fetch the report. It geneartes the report but the report contains details for a different volume(Not expected) and does not contain any details of the expected volume. I tried verifying by doing a SSH to the particular filer and check the quota entry for a particluar volume. There I see the entries for all the required users for that volume. Don't know where I am missing and what I am missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any leads will be helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the snippet to fetch the report:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$s = NaServer-&amp;gt;new($filer, 1, 21 );
$s-&amp;gt;set_server_type('FILER');
$s-&amp;gt;set_transport_type('HTTPS');
$s-&amp;gt;set_port(443);
$s-&amp;gt;set_style('LOGIN');
$s-&amp;gt;set_admin_user('user','passwd');
$api = NaElement-&amp;gt;new('quota-report-iter');
my $xo = $s-&amp;gt;invoke_elem($api);
if ( $xo-&amp;gt;results_status() eq 'failed' ) {

}
else{
     my @temp= $xo-&amp;gt;sprintf();
}&lt;/PRE&gt;</description>
    <pubDate>Wed, 04 Jun 2025 19:29:31 GMT</pubDate>
    <dc:creator>rahuldhek</dc:creator>
    <dc:date>2025-06-04T19:29:31Z</dc:date>
    <item>
      <title>Fetch quota report for cluster mode filers using NetApp Perl APIs</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Fetch-quota-report-for-cluster-mode-filers-using-NetApp-Perl-APIs/m-p/122386#M2083</link>
      <description>&lt;P&gt;I am using the following LOC to fetch the report. It geneartes the report but the report contains details for a different volume(Not expected) and does not contain any details of the expected volume. I tried verifying by doing a SSH to the particular filer and check the quota entry for a particluar volume. There I see the entries for all the required users for that volume. Don't know where I am missing and what I am missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any leads will be helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the snippet to fetch the report:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$s = NaServer-&amp;gt;new($filer, 1, 21 );
$s-&amp;gt;set_server_type('FILER');
$s-&amp;gt;set_transport_type('HTTPS');
$s-&amp;gt;set_port(443);
$s-&amp;gt;set_style('LOGIN');
$s-&amp;gt;set_admin_user('user','passwd');
$api = NaElement-&amp;gt;new('quota-report-iter');
my $xo = $s-&amp;gt;invoke_elem($api);
if ( $xo-&amp;gt;results_status() eq 'failed' ) {

}
else{
     my @temp= $xo-&amp;gt;sprintf();
}&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Jun 2025 19:29:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Fetch-quota-report-for-cluster-mode-filers-using-NetApp-Perl-APIs/m-p/122386#M2083</guid>
      <dc:creator>rahuldhek</dc:creator>
      <dc:date>2025-06-04T19:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch quota report for cluster mode filers using NetApp Perl APIs</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Fetch-quota-report-for-cluster-mode-filers-using-NetApp-Perl-APIs/m-p/122394#M2084</link>
      <description>&lt;P&gt;With clustered Data ONTAP you'll need to specify which SVM you want to target. &amp;nbsp;You can further limit the returned results by specifying the volume too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;use Data::Dumper;

$s = NaServer-&amp;gt;new($filer, 1, 21 );
$s-&amp;gt;set_server_type('FILER');
$s-&amp;gt;set_transport_type('HTTPS');
$s-&amp;gt;set_port(443);
$s-&amp;gt;set_style('LOGIN');
$s-&amp;gt;set_admin_user('user','passwd');

# specify the SVM
$s-&amp;gt;set_vserver('mySvm');

# specify the volume in the request
my $xo = $s-&amp;gt;invoke('quota-report-iter', 'path', '/vol/myVol');

if ( $xo-&amp;gt;results_status() eq 'passed' ) {
    # you can get a pretty print of the returned object
    # using Data::Dumper
    print Dumper($xo);
    
} else {
    print $xo-&amp;gt;results_reason();
}&lt;/PRE&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>Wed, 17 Aug 2016 13:37:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Fetch-quota-report-for-cluster-mode-filers-using-NetApp-Perl-APIs/m-p/122394#M2084</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-08-17T13:37:58Z</dc:date>
    </item>
  </channel>
</rss>

