]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Add sidStructure in SRv6 SIDs JSON output
authorCarmine Scarpitta <cscarpit@cisco.com>
Sat, 8 Feb 2025 21:17:09 +0000 (22:17 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 13 Feb 2025 18:38:17 +0000 (18:38 +0000)
commit2a23344123ccd31c373c7157fc0545938b192eb9
treecde147ab97735b50b6840554ffd07a74d0e9f77b
parentfce911649bb656a174cc2d47c708a548d5b6676f
lib: Add sidStructure in SRv6 SIDs JSON output

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 312f7b3f8c7382afef6993aa2110326db2327c35)
lib/nexthop.c
lib/srv6.c
lib/srv6.h