Software Development Kit (SDK) and API Discussions

Cluster mode API net-port-get-iter

ana_sgr_1985

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

 

Anand

1 ACCEPTED SOLUTION

richard_payne

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.

 

 

--rdp

View solution in original post

2 REPLIES 2

richard_payne

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.

 

 

--rdp

View solution in original post

Thanks Richard .. it works. 🙂

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public