-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'show ip ospf interface' really slow when many interfaces #746
Comments
Hi, Ticket heading and problem statement both are different. Could you please clarify whether you are looking for the API for show run | section vrf ?, and for Which OS / Device model ? And , also would be good if you can share the reference logs (manual) to analyze further data to cross check. Are the system CPU/memory status only peaks when executing these cli`s ? |
Could you please clarify and share logs to analyze and to cross check, if you are still facing the issue. |
As we currently not supporting, we will add to backlog for support as per priority of customer need to resolve the issue you are facing in future. If you need further assistance, please let me know and I'll do my best to provide additional guidance. |
Thank you for bringing this issue to our attention. Unfortunately, at the moment, we do not support the specific request you have made. However, we value your feedback and understand the importance of resolving this issue for our customers. Therefore, we will prioritize adding it to our backlog for future support based on the level of need expressed by our customers. If you require any further assistance or have any other questions, please don't hesitate to let me know. I am here to help and will endeavor to provide any additional guidance or information you may require. |
Opened PR #780 to address this issue. The optimized parser brought a 17 minute run of the command down to ~2 minutes. |
This command will last about 17 minutes on a switch that has 540 ospf interfaces.
Looking at the parser code, a 'show run | section vrf {vrf-id}' is run for each interfaces to gather vrf data. To optimize the code, it would be better to do 'show run | section vrf' once and refer to this returned dictionary for each OSPF interfaces.
The text was updated successfully, but these errors were encountered: