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

zebra: Fix pseudowires with backup nexthops (backport #8731) #9174

Merged
merged 4 commits into from
Jul 24, 2021

Commits on Jul 24, 2021

  1. zebra: use const in rib_match

    Use const in common rib_match api.
    
    Signed-off-by: Mark Stapp <mjs@voltanet.io>
    (cherry picked from commit bc77c3b)
    Mark Stapp authored and mergify-bot committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    12cedff View commit details
    Browse the repository at this point in the history
  2. zebra: add boolean to control pw reachability checking

    Add a boolean to control whether pseudowire reachability
    checking needs to be strict.
    
    Signed-off-by: Mark Stapp <mjs@voltanet.io>
    (cherry picked from commit 6fb3580)
    Mark Stapp authored and mergify-bot committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    0de3408 View commit details
    Browse the repository at this point in the history
  3. zebra: revise pw reachability logic

    Modify the pseudowire reachability logic so that it returns
    success if there is at least one installed labelled nexthop for
    the route resolving the pw destination. We also check for
    valid backup nexthops if necessary, in case there's been a
    switchover event.
    Only OpenBSD requires that _all_ nexthops be labelled, so we
    have a more strict version of the logic also.
    
    Signed-off-by: Mark Stapp <mjs@voltanet.io>
    (cherry picked from commit 0d145d4)
    Mark Stapp authored and mergify-bot committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    a8f7485 View commit details
    Browse the repository at this point in the history
  4. zebra: update pw dataplane info

    Include the complete set of primary and backup nexthops from
    the resolving route for a pseudowire. Add accessors for that
    info. Modify the logic that creates the fib set of pw nexthops
    so that only installed, labelled nexthops are included.
    
    Signed-off-by: Mark Stapp <mjs@voltanet.io>
    (cherry picked from commit 072b487)
    Mark Stapp authored and mergify-bot committed Jul 24, 2021
    Configuration menu
    Copy the full SHA
    7081f66 View commit details
    Browse the repository at this point in the history