diff options
author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-08-04 08:11:46 +0200 |
---|---|---|
committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-09-11 22:11:50 +0200 |
commit | bdbbb26d556ccfb2ee0e3c7bf9418825f0f19f16 (patch) | |
tree | c386803e984e3e21ef0baeaf8c21539ae26819c6 /isisd/isisd.c | |
parent | yang: Add SRv6 MSDs to IS-IS YANG model (diff) | |
download | frr-bdbbb26d556ccfb2ee0e3c7bf9418825f0f19f16.tar.xz frr-bdbbb26d556ccfb2ee0e3c7bf9418825f0f19f16.zip |
isisd: Make SRv6 Node MSDs customizable
Add CLI commands to customize SRv6 Node MSD values.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to '')
-rw-r--r-- | isisd/isisd.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/isisd/isisd.c b/isisd/isisd.c index f9c12bc7c..b1064d894 100644 --- a/isisd/isisd.c +++ b/isisd/isisd.c @@ -3839,6 +3839,13 @@ struct cmd_node isis_srv6_node = { .prompt = "%s(config-router-srv6)# ", }; +struct cmd_node isis_srv6_node_msd_node = { + .name = "isis-srv6-node-msd", + .node = ISIS_SRV6_NODE_MSD_NODE, + .parent_node = ISIS_SRV6_NODE, + .prompt = "%s(config-router-srv6-node-msd)# ", +}; + void isis_init(void) { /* Install IS-IS top node */ @@ -3954,5 +3961,8 @@ void isis_init(void) install_node(&isis_srv6_node); install_default(ISIS_SRV6_NODE); + install_node(&isis_srv6_node_msd_node); + install_default(ISIS_SRV6_NODE_MSD_NODE); + spf_backoff_cmd_init(); } |