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

[vnet] Add ref_count of router interfaces for vnet #1425

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

liron-ze
Copy link
Contributor

@liron-ze liron-ze commented Sep 3, 2020

What I did
Add ref_count of router interfaces for vnet.

Why I did it
Due to sequence problems or other reasons, deleting a vnet earlier than deleting the interface bound to this vnet will cause an error.

Aug 26 15:00:35.521764 leaf-237 ERR swss#orchagent: :- meta_generic_validation_remove: object 0x3000000000938 reference count is 1, can't remove
Aug 26 15:00:35.522349 leaf-237 ERR swss#orchagent: :- ~VNetVrfObject: Failed to remove virtual router name: Vnet1, rv:-5

How I verified it
add Vnet1
bind Ethernet1 to Vnet1
remove Vnet1
remove Ethernet1

@prsunny
Copy link
Collaborator

prsunny commented Sep 3, 2020

retest vs please

@prsunny
Copy link
Collaborator

prsunny commented Oct 6, 2020

retest vs please

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