cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
270
Views
0
Helpful
0
Replies
Highlighted
Beginner

CER switchport API performance

I'm working with the CER switchport API and having some issues with the performance of this API.  When I run this query it either doesn't respond, or takes so long to respond that I get a timeout.  Additionally, the tomcat web service hangs and is not responsive.  I've had to restart Tomcat to restore web services.

 

I have approx 40,000+ switchports in the database.  Most ports don't have phones/MAC addresses connected.

 

One solution would be to only include switchports where a phone MAC is connected, but I'm not aware of any filters/search capabilities.  

 

GET http://{CER-IP}/cerappservices/export/switchport/info

Does anyone know if there are any parameters that can be passed, for example.

 

?phone_exists=true

This widget could not be displayed.