summaryrefslogtreecommitdiffstats
path: root/isisd/isis_nb.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-08-07 18:37:00 +0200
committerOlivier Dugeon <olivier.dugeon@orange.com>2020-04-30 11:37:38 +0200
commit8f6c893629f609c2313150ef9ceaecd8125a3357 (patch)
treef5eada4089dfcb4c018266963c70ba8e03a69bbc /isisd/isis_nb.c
parentisisd: add segment-routing YANG nodes and skeleton callbacks (diff)
downloadfrr-8f6c893629f609c2313150ef9ceaecd8125a3357.tar.xz
frr-8f6c893629f609c2313150ef9ceaecd8125a3357.zip
isisd: add segment-routing CLI commands
In the name of consistency, these commands are very similar to the ospfd SR configuration commands. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_nb.c')
-rw-r--r--isisd/isis_nb.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/isisd/isis_nb.c b/isisd/isis_nb.c
index bdfa71091..2dedebf98 100644
--- a/isisd/isis_nb.c
+++ b/isisd/isis_nb.c
@@ -458,6 +458,13 @@ const struct frr_yang_module_info frr_isisd_info = {
.xpath = "/frr-isisd:isis/instance/segment-routing/enabled",
.cbs = {
.modify = isis_instance_segment_routing_enabled_modify,
+ .cli_show = cli_show_isis_sr_enabled,
+ },
+ },
+ {
+ .xpath = "/frr-isisd:isis/instance/segment-routing/srgb",
+ .cbs = {
+ .cli_show = cli_show_isis_srgb,
},
},
{
@@ -477,6 +484,7 @@ const struct frr_yang_module_info frr_isisd_info = {
.cbs = {
.modify = isis_instance_segment_routing_msd_node_msd_modify,
.destroy = isis_instance_segment_routing_msd_node_msd_destroy,
+ .cli_show = cli_show_isis_node_msd,
},
},
{
@@ -484,6 +492,7 @@ const struct frr_yang_module_info frr_isisd_info = {
.cbs = {
.create = isis_instance_segment_routing_prefix_sid_map_prefix_sid_create,
.destroy = isis_instance_segment_routing_prefix_sid_map_prefix_sid_destroy,
+ .cli_show = cli_show_isis_prefix_sid,
},
},
{