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: use instance fault flags instead of a counter #2291

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

Conversation

louis-6wind
Copy link
Contributor

The num_script_if_fault counter is not very convenient. We don't easily
know what has incremented and decremented the counter. And the counter
could go back to zero for a reason in case of a bug.

Use an instance fault flags 'flags_if_fault' instead of a counter. Keep
the a counter 'num_track_fault' for tracked object.

Signed-off-by: Louis Scalbert louis.scalbert@6wind.com

Cosmetic change in try_up_instance() in order to prepare the next
commits.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Cosmetic change in try_up_instance() in order to prepare the next
commits.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Cosmetic change in down_instance() in order to prepare the next
commits.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
The num_script_if_fault counter is not very convenient. We don't easily
know what has incremented and decremented the counter. And the counter
could go back to zero for a reason in case of a bug.

Use an instance fault flags 'flags_if_fault' instead of a counter. Keep
the a counter 'num_track_fault' for tracked object.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
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