summaryrefslogtreecommitdiffstats
path: root/isisd/isis_nb.h
diff options
context:
space:
mode:
authorCarmine Scarpitta <carmine.scarpitta@uniroma2.it>2023-01-27 16:04:49 +0100
committerCarmine Scarpitta <carmine.scarpitta@uniroma2.it>2023-09-11 17:34:55 +0200
commit95096e9585e254f6b56578fb159ffb2495384f9e (patch)
tree29cf35576cc5da5f2a0245546a55401843d42f66 /isisd/isis_nb.h
parentyang: Add SRv6 locator to the IS-IS YANG model (diff)
downloadfrr-95096e9585e254f6b56578fb159ffb2495384f9e.tar.xz
frr-95096e9585e254f6b56578fb159ffb2495384f9e.zip
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>
Diffstat (limited to 'isisd/isis_nb.h')
-rw-r--r--isisd/isis_nb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_nb.h b/isisd/isis_nb.h
index 728967700..657c8fb2d 100644
--- a/isisd/isis_nb.h
+++ b/isisd/isis_nb.h
@@ -326,6 +326,8 @@ int isis_instance_segment_routing_srv6_enabled_modify(
struct nb_cb_modify_args *args);
void cli_show_isis_srv6_enabled(struct vty *vty, const struct lyd_node *dnode,
bool show_defaults);
+int isis_instance_segment_routing_srv6_locator_modify(
+ struct nb_cb_modify_args *args);
int isis_instance_mpls_ldp_sync_destroy(struct nb_cb_destroy_args *args);
int isis_instance_mpls_ldp_sync_create(struct nb_cb_create_args *args);
int isis_instance_mpls_ldp_sync_holddown_modify(struct nb_cb_modify_args *args);