Skip to content

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Feb 13, 2025

The SRv6 support in staticd (PR #16894) does not set the correct SID parameters (block length, node length, function length).

This PR fixes the issue and computes the correct parameters.

The bug was reported by SONiC testing.


This is an automatic backport of pull request #18064 done by Mergify.

The SRv6 support in staticd (PR #16894) does not set the correct SID
parameters (block length, node length, function length).

This commit fixes the issue and computes the correct parameters.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
(cherry picked from commit e1654ba)
The `show ipv6 route json` command displays the IPv6 routing table in
JSON format, including SRv6 SIDs. For each SRv6 SID, it provides
behavior and SID attributes. However, it does not include the SID
structure.

This commit adds the SID structure to the SRv6 SID JSON output.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
(cherry picked from commit 312f7b3)
The `static_srv6_sids` topotest verifies that staticd correctly
programs the SIDs in the zebra RIB. Currently, the topotest only
validates the programmed behavior and SID attributes.

This commit extends the topotest to also validate the SID structure.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
(cherry picked from commit a6d02fe)
@frrbot frrbot bot added libfrr staticd tests Topotests, make check, etc labels Feb 13, 2025
@Jafaral Jafaral merged commit 4788644 into dev/10.3 Feb 14, 2025
20 checks passed
@Jafaral Jafaral deleted the mergify/bp/dev/10.3/pr-18064 branch February 26, 2025 16:35
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.

2 participants