From bcad7df60d47111f49604a5ee7fd8a491e7ce0da Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Sat, 21 Dec 2024 09:26:44 +0100 Subject: [PATCH 1/3] doc: Fix the order of SRv6 locator parameters Align the order of the SRv6 locator parameters with the actual implementation: ``` "prefix X:X::X:X/M$prefix [block-len (16-64)$block_bit_len] \ [node-len (16-64)$node_bit_len] [func-bits (0-64)$func_bit_len]" ``` Signed-off-by: Carmine Scarpitta --- doc/user/zebra.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user/zebra.rst b/doc/user/zebra.rst index 46eddfe05d76..23bf100c10aa 100644 --- a/doc/user/zebra.rst +++ b/doc/user/zebra.rst @@ -926,7 +926,7 @@ and this section also helps that case. Create a new locator. If the name of an existing locator is specified, move to specified locator's configuration node to change the settings it. -.. clicmd:: prefix X:X::X:X/M [func-bits (0-64)] [block-len 40] [node-len 24] +.. clicmd:: prefix X:X::X:X/M [block-len 40] [node-len 24] [func-bits (0-64)] Set the ipv6 prefix block of the locator. SRv6 locator is defined by RFC8986. The actual routing protocol specifies the locator and allocates a From f8ff3e6e06e1512311eeca01ccf7e74c5a8104ee Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Sat, 21 Dec 2024 09:29:55 +0100 Subject: [PATCH 2/3] doc: Show the valid range of SRv6 locator block-len The documentation should provide the valid range of SRv6 locator block-len parameter, rather than the default value. Signed-off-by: Carmine Scarpitta --- doc/user/zebra.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user/zebra.rst b/doc/user/zebra.rst index 23bf100c10aa..349d4f3956c8 100644 --- a/doc/user/zebra.rst +++ b/doc/user/zebra.rst @@ -926,7 +926,7 @@ and this section also helps that case. Create a new locator. If the name of an existing locator is specified, move to specified locator's configuration node to change the settings it. -.. clicmd:: prefix X:X::X:X/M [block-len 40] [node-len 24] [func-bits (0-64)] +.. clicmd:: prefix X:X::X:X/M [block-len (16-64)] [node-len 24] [func-bits (0-64)] Set the ipv6 prefix block of the locator. SRv6 locator is defined by RFC8986. The actual routing protocol specifies the locator and allocates a From fd21131ecf0d6201b18d7338416c7a4c22acda82 Mon Sep 17 00:00:00 2001 From: Carmine Scarpitta Date: Sat, 21 Dec 2024 09:30:57 +0100 Subject: [PATCH 3/3] doc: Show the valid range of SRv6 locator node-len The documentation should provide the valid range of SRv6 locator node-len parameter, rather than the default value. Signed-off-by: Carmine Scarpitta --- doc/user/zebra.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user/zebra.rst b/doc/user/zebra.rst index 349d4f3956c8..ac29b1c7d4ca 100644 --- a/doc/user/zebra.rst +++ b/doc/user/zebra.rst @@ -926,7 +926,7 @@ and this section also helps that case. Create a new locator. If the name of an existing locator is specified, move to specified locator's configuration node to change the settings it. -.. clicmd:: prefix X:X::X:X/M [block-len (16-64)] [node-len 24] [func-bits (0-64)] +.. clicmd:: prefix X:X::X:X/M [block-len (16-64)] [node-len (16-64)] [func-bits (0-64)] Set the ipv6 prefix block of the locator. SRv6 locator is defined by RFC8986. The actual routing protocol specifies the locator and allocates a