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.
Any leads will be helpful.
Below is the snippet to fetch the report:
$s = NaServer->new($filer, 1, 21 );
$s->set_server_type('FILER');
$s->set_transport_type('HTTPS');
$s->set_port(443);
$s->set_style('LOGIN');
$s->set_admin_user('user','passwd');
$api = NaElement->new('quota-report-iter');
my $xo = $s->invoke_elem($api);
if ( $xo->results_status() eq 'failed' ) {
}
else{
my @temp= $xo->sprintf();
}