Skip to content

[frrcfgd] Support configuring source IPv6 for routes#20333

Open
matofeder wants to merge 2 commits intosonic-net:masterfrom
matofeder:fix_set_src_frr
Open

[frrcfgd] Support configuring source IPv6 for routes#20333
matofeder wants to merge 2 commits intosonic-net:masterfrom
matofeder:fix_set_src_frr

Conversation

@matofeder
Copy link
Copy Markdown
Contributor

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)

@linux-foundation-easycla
Copy link
Copy Markdown

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