Software Development Kit (SDK) and API Discussions

Cluster mode API net-port-get-iter

ana_sgr_1985
2,942 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
2,917 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
2,918 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
2,863 Views

Thanks Richard .. it works. 🙂

Public