diff options
author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-01-27 16:04:49 +0100 |
---|---|---|
committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-09-11 17:34:55 +0200 |
commit | 95096e9585e254f6b56578fb159ffb2495384f9e (patch) | |
tree | 29cf35576cc5da5f2a0245546a55401843d42f66 /isisd/isis_nb.h | |
parent | yang: Add SRv6 locator to the IS-IS YANG model (diff) | |
download | frr-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.h | 2 |
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); |