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

[frrcfgd] Support configuring source IPv6 for routes #20333

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

Conversation

matofeder
Copy link

Why I did it

Fixes #14195

How I did it

Add support for configuring a route map to set the source IPv6 for routes pushed into the kernel by FRR.

How to verify it

  • Run BGP config with frrcfgd
  • Check ipv6 route
  • Observe that routes don't have their source set
  • Add BGP_GLOBALS|default|route_map_ipv6 to e.g. FIX_SOURCE
  • Add ROUTE_MAP|FIX_SOURCE|100 with route_operation: permit and set_src: <your IPv6>
  • Load the config
  • Check ipv6 route again
  • Observe that routes have src <your IPv6> set

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

  • master

Description for the changelog

Support configuring source IPv6 for BGP routes

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Copy link

linux-foundation-easycla bot commented Sep 23, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

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.

frrcfgd: does not push 'ip protocol bgp route-map', resulting in incorrect default source address selection
2 participants