Software Development Kit (SDK) and API Discussions

Cluster mode API net-port-get-iter

Greetings everyone,


I need help getting the info for one of the node for all ports in it using the net-port-get-iter or net-port-get using pyhton. WHile net-port-get-iter gets the info in array form for all nodes and ports, net-port-get needs two inputs about node and port to get the info. Is there anyway, I can get the all ports related info for a specific node in the cluster?


Thanks in advance




Re: Cluster mode API net-port-get-iter

Yes, it looks like you can call net-port-get-iter with a query (of type net-port-info). In that net-port-info you can set node=$nameName.




View solution in original post

Re: Cluster mode API net-port-get-iter

Thanks Richard .. it works. 🙂

Cloud Volumes ONTAP
Review Banner
All Community Forums