Software Development Kit (SDK) and API Discussions

Unable to get node name using volume-get-iter in Ontap 8.2

rohancmr
2,482 Views

How do I get the node name for a volume using "volume-get-iter" ?

 

For Netapp Ontap 8.3, 'volume-get-iter' has a field for "node" which is not available in Ontap 8.2 . I am using api version 1.21.

 

Thanks,

Rohan

1 ACCEPTED SOLUTION

richard_payne
2,471 Views

Hello,

 

volume-get-iter wil return to you the aggregate name (containing-aggregate-name). You can use that in a query to aggr_get_iter which will get you the node name.

 

OK, not optimal since it's two calls but that's the first thing that comes to mind.

 

--rdp

View solution in original post

2 REPLIES 2

richard_payne
2,472 Views

Hello,

 

volume-get-iter wil return to you the aggregate name (containing-aggregate-name). You can use that in a query to aggr_get_iter which will get you the node name.

 

OK, not optimal since it's two calls but that's the first thing that comes to mind.

 

--rdp

rohancmr
2,432 Views
That worked. Thanks a lot.
Public