]> git.puffer.fish Git - mirror/frr.git/commit
isisd: Add nb command to configure an SRv6 locator
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Fri, 27 Jan 2023 15:04:49 +0000 (16:04 +0100)
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>
Mon, 11 Sep 2023 15:34:55 +0000 (17:34 +0200)
commit95096e9585e254f6b56578fb159ffb2495384f9e
tree29cf35576cc5da5f2a0245546a55401843d42f66
parent6b881e41aeca4b0ad9518bc04074538767a25a91
isisd: Add nb command to configure an SRv6 locator

Add a northbound command to configure an SRv6 locator for a specific
IS-IS area.

After configuring a locator, `isis_zebra_srv6_manager_get_locator_chunk`
is called to ask zebra to allocate a chunk from the configured locator.
The allocated chunk will be owned by IS-IS. IS-IS can allocate SIDs from
its chunk.

Currently, we support only one locator per-area. Therefore, before
configuring a locator we unset the previously configured locator, if
there was any.

Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
isisd/isis_nb.c
isisd/isis_nb.h
isisd/isis_nb_config.c