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

Introduce detailed error handling when orphaning generic system LAGs #263

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

chrismarget-j
Copy link
Collaborator

"Orphaning" a generic system LAG by changing all LAG member "group labels" to a new value produces an error like:

Operation is not permitted because link group XXX has assigned structures (VN endpoints, subinterfaces, endpoint templates etc.). Either at least one link from this group should preserve original group label, or all its links should change group label to the same new value, keeping aggregation (LAG / NO LAG) and without other link being added to it.

This PR ensures that the error returned in this case produces a detail struct (type ErrLagHasAssignedStructuresDetail) which enumerates the problem group labels for handling by the calling application.

@chrismarget-j chrismarget-j merged commit d29c825 into main Apr 30, 2024
1 check passed
@chrismarget-j chrismarget-j deleted the clear-cts-when-orphaning-bonds branch April 30, 2024 18:28
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