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

lib,zebra,sharpd: allow recursive resolution of nexthop-groups #16775

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Sep 6, 2024

  1. zebra: reorg api used to add daemon-owned nhg

    Re-org/simplify the api used to add nhgs via zapi messages
    from daemons, using a temporary nhe so we can convey all nhe
    attributes.
    
    Signed-off-by: Mark Stapp <[email protected]>
    Mark Stapp authored and Mark Stapp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    ff13cda View commit details
    Browse the repository at this point in the history
  2. lib,zebra: add flags to NHG zapi

    Add a flags field to the zapi nexthop-group struct; encode
    and decode the field.
    
    Signed-off-by: Mark Stapp <[email protected]>
    Mark Stapp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    fcfdcab View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. lib: add recursive config option for nexthop-groups

    Add a 'recursive' flag field and corresponding config option
    for nexthop-groups.
    
    Signed-off-by: Mark Stapp <[email protected]>
    Mark Stapp committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    7e5210c View commit details
    Browse the repository at this point in the history
  2. sharpd: revise nexthop-group api to carry config info

    Update sharpd's internal api so that we carry more config info
    when processing nhg config callbacks. This is used to allow
    access to, e.g., the flags field.
    
    Signed-off-by: Mark Stapp <[email protected]>
    Mark Stapp committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    f21f2fa View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. zebra: perform recursive resolution for nexthop-groups

    Add support for recursive resolution of nexthop-groups: iterate
    over a group's nexthops, use the zebra validity-checking logic,
    and update as necessary. This is driven by daemon-owned nhgs,
    allowing the use of recursive nexthops in those nhgs.
    
    Signed-off-by: Mark Stapp <[email protected]>
    Mark Stapp committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    1e4f8f9 View commit details
    Browse the repository at this point in the history
  2. doc: add doc for nexthop-group recursive config

    Add some words about the recursive nhg config option; clean
    up duplicate doc tags.
    
    Signed-off-by: Mark Stapp <[email protected]>
    Mark Stapp committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    fb655cb View commit details
    Browse the repository at this point in the history