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

vrrp: fix non-existent vmac base interface at reload #2281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

louis-6wind
Copy link
Contributor

When an existing use_vmac VRRP instance is updated with a non-existent base interface, the instance goes to FAULT. However, when the base interface is created, the VMAC interface is not updated and the instance remains in FAULT state.

Delete the VMAC interface if the base interface is changed to a non-existent one. The VMAC interface will be re-created when the base interface appears.

@louis-6wind
Copy link
Contributor Author

This fix requires #2277 to work properly

When an existing VMAC VRRP instance is updated with a base interface
that does not exists, the instance goes to FAULT state for a good
reason. However, when the base interface is appears, the VMAC interface
is never updated so the instance remains in FAULT state.

Delete the VMAC interface if the base interface is changed to a
non-existent one. The VMAC interface will be re-created when the base
interface appears.

Signed-off-by: Louis Scalbert <[email protected]>
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.

1 participant