Skip to content

Conversation

pguibert6WIND
Copy link
Member

The seg6local route dumped by 'show ipv6 route' makes think that the USP flavor is supported, whereas it is not the case. This information is a context information, and for End, the context information should be empty.

show ipv6 route

[..]
I>* fc00:0:4::/128 [115/0] is directly connected, sr0, seg6local End USP, weight 1, 00:49:01

Fix this by suppressing the USP information from the output.

Fixes: e496b42 ("bgpd: prefix-sid srv6 l3vpn service tlv")

@ton31337
Copy link
Member

ton31337 commented Feb 5, 2025

@Mergifyio backport dev/10.3 stable/10.2 stable/10.1 stable/10.0

Copy link

mergify bot commented Feb 5, 2025

backport dev/10.3 stable/10.2 stable/10.1 stable/10.0

✅ Backports have been created

The seg6local route dumped by 'show ipv6 route' makes think that the USP
flavor is supported, whereas it is not the case. This information is a
context information, and for End, the context information should be
empty.

> # show ipv6 route
> [..]
> I>* fc00:0:4::/128 [115/0] is directly connected, sr0, seg6local End USP, weight 1, 00:49:01

Fix this by suppressing the USP information from the output.

Fixes: e496b42 ("bgpd: prefix-sid srv6 l3vpn service tlv")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Copy link
Contributor

@cscarpitta cscarpitta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cscarpitta cscarpitta merged commit caeef98 into FRRouting:master Feb 13, 2025
13 checks passed
Jafaral added a commit that referenced this pull request Feb 14, 2025
lib: fix false context information for SRv6 route (backport #18023)
Jafaral added a commit that referenced this pull request Feb 14, 2025
lib: fix false context information for SRv6 route (backport #18023)
donaldsharp added a commit that referenced this pull request Feb 15, 2025
…p_for_10.0

lib: fix false context information for SRv6 route (backport #18023 for 10.0)
donaldsharp added a commit that referenced this pull request Feb 15, 2025
…p_for_10.1

lib: fix false context information for SRv6 route (backport #18023 for 10.1)
cscarpitta added a commit to cscarpitta/frr that referenced this pull request Mar 5, 2025
The function `srv6_sid_ctx2str` dumps the context information
associated with a SID. For End SIDs, the context information dumped by
this function is incorrect. It should be empty.

This has been fixed in a couple of places in this PR: FRRouting#18023.
The `srv6_sid_ctx2str` function is still dumping the wrong information.

This commit fixes `srv6_sid_ctx2str`.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
cscarpitta added a commit to cscarpitta/frr that referenced this pull request Mar 5, 2025
The output of `show ipv6 route` was dumping incorrect information for
End SIDs. The issue has been fixed in this PR: FRRouting#18023

However, the sharpd documentation is still showing the wrong information.

This PR fixes the issue by updating the documentation.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.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.

3 participants