Subscribe
Accepted Solution

Unable to get aggregate list using vserver-get-iter for zapi 1.21

I am able to get the aggregate list  using vserver-get-iter on zapi 1.30.However this list is not available in zapi 1.21

Is there any other way to get the list of aggregates on a vserver in zapi 1.21 ?

Re: Unable to get aggregate list using vserver-get-iter for zapi 1.21

[ Edited ]

Hi,

Both api work identicaly, these values are only filled if you set value  with  

>vserver modify -vserver <vserver>  -aggr-list <aggr1>, <aggr2>

By default all aggregates are available by all vserver when -aggr-list is emply (-)

If you want list off aggregates just use 

 

<?xml version="1.0" encoding="UTF-8"?>
<netapp xmlns="http://www.netapp.com/filer/admin" version="1.31">
<aggr-get-iter>
  <desired-attributes> 
  <aggr-attributes>
  <aggregate-name></aggregate-name>
  </aggr-attributes>
  </desired-attributes>
</aggr-get-iter>
</netapp>

 

François

 

Re: Unable to get aggregate list using vserver-get-iter for zapi 1.21

Awesome.....It worked after adding the aggregate to the aggr-list

 

Thanks for help Smiley Happy