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

Pw cleanup #17009

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Pw cleanup #17009

merged 2 commits into from
Oct 8, 2024

Conversation

donaldsharp
Copy link
Member

slight cleanup of where code was and also a small change to not automatically retry the installation of a pseudowire if it's reachability is down.

Currently the pw code sets the status of the pw for install
and uninstall immediately when notifying the dplane.  This
is incorrect in that we do not actually know the status at
this point in time.  When we get the result is when to set
the status.

Signed-off-by: Donald Sharp <[email protected]>
Currently the zebra pw code has setup a retry to install the
pw after 30 seconds when it is decided that reachability to
the pw is gone.  This causes a failure mode where the
pw code just goes and re-installs the pw after 30 seconds
in the non-reachability case.  Instead it should just be
reinstalling after reachability is restored.

Signed-off-by: Donald Sharp <[email protected]>
Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@riw777 riw777 merged commit a4fb596 into FRRouting:master Oct 8, 2024
11 checks passed
donaldsharp added a commit to donaldsharp/frr that referenced this pull request Oct 9, 2024
Recent PR FRRouting#17009 introduced a crash in pw handing
for deletion.  Let's fix that problem.

Fixes: FRRouting#17041
Signed-off-by: Donald Sharp <[email protected]>
mergify bot pushed a commit that referenced this pull request Oct 9, 2024
Recent PR #17009 introduced a crash in pw handing
for deletion.  Let's fix that problem.

Fixes: #17041
Signed-off-by: Donald Sharp <[email protected]>
(cherry picked from commit 154a89b)
zice312963205 pushed a commit to wenwang00/frr that referenced this pull request Nov 28, 2024
Recent PR FRRouting#17009 introduced a crash in pw handing
for deletion.  Let's fix that problem.

Fixes: FRRouting#17041
Signed-off-by: Donald Sharp <[email protected]>
zice312963205 pushed a commit to wenwang00/frr that referenced this pull request Nov 28, 2024
Recent PR FRRouting#17009 introduced a crash in pw handing
for deletion.  Let's fix that problem.

Fixes: FRRouting#17041
Signed-off-by: Donald Sharp <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants