diff options
| author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-12-05 17:06:36 +0100 | 
|---|---|---|
| committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2023-09-11 17:34:56 +0200 | 
| commit | 7af35808f4e1583f8b65c3373146fb3e4a8ef5c5 (patch) | |
| tree | cd540b0b81a18fe626386f8eece8b6392ccd1ae9 /isisd/isis_cli.c | |
| parent | 31d76b10456e3da481cd67047dfcd5e810503792 (diff) | |
isisd: Add nb command to show SRv6 locator info
Add a northbound command to show information about the SRv6 locator
configured in IS-IS.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'isisd/isis_cli.c')
| -rw-r--r-- | isisd/isis_cli.c | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/isisd/isis_cli.c b/isisd/isis_cli.c index 108df2b16a..61b4e64881 100644 --- a/isisd/isis_cli.c +++ b/isisd/isis_cli.c @@ -2038,6 +2038,15 @@ void cli_show_isis_prefix_sid_algorithm(struct vty *vty,  }  /* + * XPath: /frr-isisd:isis/instance/segment-routing-srv6/locator + */ +void cli_show_isis_srv6_locator(struct vty *vty, const struct lyd_node *dnode, +				bool show_defaults) +{ +	vty_out(vty, "  locator %s\n", yang_dnode_get_string(dnode, NULL)); +} + +/*   * XPath: /frr-isisd:isis/instance/segment-routing-srv6/enabled   */  DEFPY_YANG_NOSH (isis_srv6_enable,  | 
