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

Handle 'subinterfaces' link deletion error #264

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

chrismarget-j
Copy link
Collaborator

Deleting a generic system link with ip_link (L3 handoff) connectivity template produces an error we hadn't noticed before:

Link with id XXX can not be deleted since some of its interfaces have subinterfaces

Add regex to handle this error gracefully.

@chrismarget-j chrismarget-j merged commit 3b8e9f7 into main Apr 30, 2024
1 check passed
@chrismarget-j chrismarget-j deleted the handle-subinterface-error branch April 30, 2024 19:29
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.

None yet

2 participants