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

Reintroduce BDInterface.get_for_vrf() #123

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

sebageek
Copy link
Collaborator

@sebageek sebageek commented Jan 9, 2025

In the heat of cleaning up the old BDI code and for that matter not needing to parameterize all the get_item/get_filter calls we also accidentally removed the get_for_vrf() call. This might result in that in some cases we don't clean up interfaces properly. This happens on router delete and the exception is caught, so the DeviceCleaner should remove any left over interfaces, but reintroducing the original method is of course the way to go.

By readding get_for_vrf() we no longer see an exception on router delete and everything should get cleaned up properly.

In the heat of cleaning up the old BDI code and for that matter not
needing to parameterize all the get_item/get_filter calls we also
accidentally removed the get_for_vrf() call. This might result in that
in some cases we don't clean up interfaces properly. This happens on
router delete and the exception is caught, so the DeviceCleaner should
remove any left over interfaces, but reintroducing the original method
is of course the way to go.

By readding get_for_vrf() we no longer see an exception on router delete
and everything should get cleaned up properly.
@sebageek sebageek merged commit b23d6f0 into stable/yoga-m3 Jan 9, 2025
1 check passed
@sebageek sebageek deleted the readd-bdiface-get-for-vrf branch January 9, 2025 16:08
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.

3 participants