diff options
| author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-03-10 23:50:46 +0100 |
|---|---|---|
| committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-09-11 17:34:55 +0200 |
| commit | f49937e340a9ddca0c7fc12ab3b45e83850dcf5c (patch) | |
| tree | 3d16096df3a69dceef901732565640bd5d11f35a /isisd/isis_srv6.h | |
| parent | d223a8167e471c9297a6b33cd97fec37e97ca3c5 (diff) | |
isisd: Add func to unset the SRv6 locator
Add a function to unset the SRv6 locator for a specific IS-IS area.
This function calls `isis_zebra_srv6_manager_release_locator_chunk()` to
ask zebra to release the locator chunk owned by IS-IS and removes the
chunk from the area's chunks list.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'isisd/isis_srv6.h')
| -rw-r--r-- | isisd/isis_srv6.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_srv6.h b/isisd/isis_srv6.h index b0e92c8a5b..40a0faaa99 100644 --- a/isisd/isis_srv6.h +++ b/isisd/isis_srv6.h @@ -44,6 +44,8 @@ struct isis_srv6_db { } config; }; +bool isis_srv6_locator_unset(struct isis_area *area); + extern void isis_srv6_area_init(struct isis_area *area); extern void isis_srv6_area_term(struct isis_area *area); |
