Skip to content
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][vrf] Improve the speed of show command for vrf #2080

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MuLinForest
Copy link
Contributor

What I did

Improve the speed of show vrf command

How I did it

It would get interface information from configDB each time for each vrf in vrfs, and if the amount of vrf is large, the command will take much time.
Therefore, it will reduce the execution time to let it just get interface information once, and using it with all vrf.

How to verify it

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

Signed-off-by: MuLin mulin_huang@edge-core.com

Signed-off-by: MuLin <mulin_huang@edge-core.com>
@gord1306
Copy link
Contributor

gord1306 commented Mar 4, 2022

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 2080 in repo Azure/sonic-utilities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants