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

Rework port dependency #23

Merged

Conversation

vasant17
Copy link
Collaborator

What I did
Removed code to track port dependency in orchagent. Using SAI REDIS return code to see if port deletion failed due to port dependency

Why I did it
So, that we can rely on SAI REDIS code for dependency check instead of duplicating the effort in orchagent.

How I verified it
Ran DPB command via CLI, and verified in syslog that dependency is really caught and correct log messages are printed. Also verified that breakout itself goes through successfully when dependencies are removed.

Details if related

@vasant17 vasant17 changed the title Use SAI REDIS return code to track dependency on port. Rework port dependency Feb 24, 2020
orchagent/portsorch.cpp Outdated Show resolved Hide resolved
orchagent/portsorch.cpp Show resolved Hide resolved
orchagent/portsorch.cpp Outdated Show resolved Hide resolved
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