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

[preview]Add PIC support in the srv6 VPN scenario. #16879

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zice312963205
Copy link
Contributor

What I did
[HLD] BGP PIC HLD

Why I did it
This PR implements the separation of nh_srv6-related information, which was originally stored in the nexthop, in the srv6-vpn scenario. It generates a new pic nexthop that contains only the next-hop forwarding information. Meanwhile, the original nexthop containing nh_srv6 is used as pic context information and indexed separately.
This is used to achieve fast switching of nexthop group members by identifying the corresponding members in the nexthop group based on route changes, and then performing operations on the members.

This PR is temporarily for review purposes. Documentation and test cases will be added later, and a complete PR will be resubmitted.

@frrbot frrbot bot added the bgp label Sep 20, 2024
@zice312963205 zice312963205 changed the title Add PIC support in the srv6 VPN scenario. [preview]Add PIC support in the srv6 VPN scenario. Sep 20, 2024
This PR implements the separation of nh_srv6-related information, which was originally stored in the nexthop, in the srv6-vpn scenario. It generates a new pic nexthop that contains only the next-hop forwarding information. Meanwhile, the original nexthop containing nh_srv6 is used as pic context information and indexed separately.

Signed-off-by: hanyu.zly&freddy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant