diff options
| author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-03-14 08:39:59 +0100 | 
|---|---|---|
| committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-09-11 17:34:51 +0200 | 
| commit | 1a9c3a1e57968779a0f5b4ef4f08ae0e2741bd97 (patch) | |
| tree | 4c87e12692f29bc6a2805bb4a90d6ef2b4b55ad8 /isisd/isis_srv6.h | |
| parent | fb9eb231f4eb130c6c11b4108faf69af37bcb56d (diff) | |
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 <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'isisd/isis_srv6.h')
| -rw-r--r-- | isisd/isis_srv6.h | 3 | 
1 files changed, 3 insertions, 0 deletions
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;  | 
