Skip to content

zebra:Add PIC support in the srv6 VPN scenario.#17316

Closed
zice312963205 wants to merge 1 commit intoFRRouting:masterfrom
zice312963205:phoenixwing-pic
Closed

zebra:Add PIC support in the srv6 VPN scenario.#17316
zice312963205 wants to merge 1 commit intoFRRouting:masterfrom
zice312963205:phoenixwing-pic

Conversation

@zice312963205
Copy link
Copy Markdown
Contributor

What I did
[HLD] sonic-net/SONiC#1493

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 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.

With this modification, we can converge the nexthop group and update the FIB before notifying other protocols (such as BGP) when a route is withdrawn. This can significantly reduce packet loss duration during link failures.

Signed-off-by: hanyu.zly <hanyu.zly@alibaba-inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant