Software Development Kit (SDK) and API Discussions

Cluster mode API net-port-get-iter

ana_sgr_1985
3,328 Views

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
3,303 Views

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
3,304 Views

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

ana_sgr_1985
3,249 Views

Thanks Richard .. it works. 🙂

Public