From 1a9c3a1e57968779a0f5b4ef4f08ae0e2741bd97 Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Tue, 14 Mar 2023 08:39:59 +0100 Subject: [PATCH] isisd: Add SRv6 locator name to SRv6 configuration Add the name of the SRv6 locator to use with IS-IS to the per-area SRv6 configuration. If an SRv6 locator is not configured for an IS-IS instance, the locator name is an empty string. When an IS-IS instance is configured to use an SRv6 locator, the locator name stores the name of the selected locator. Subsequent commits will add the possibility to set and unset an SRv6 locator for a specific IS-IS instance. Signed-off-by: Carmine Scarpitta --- isisd/isis_srv6.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/isisd/isis_srv6.h b/isisd/isis_srv6.h index 077e938359..d999f3b853 100644 --- a/isisd/isis_srv6.h +++ b/isisd/isis_srv6.h @@ -24,6 +24,9 @@ struct isis_srv6_db { /* Administrative status of SRv6 */ bool enabled; + /* Name of the SRv6 Locator */ + char srv6_locator_name[SRV6_LOCNAME_SIZE]; + /* Maximum Segments Left Depth supported by the router */ uint8_t max_seg_left_msd; -- 2.39.5