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

2 REPLIES 2

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

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

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

ana_sgr_1985

Thanks Richard .. it works. 🙂

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public