summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_cli.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2020-04-22 13:33:20 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2024-01-29 14:52:35 +0100
commite3c62b2aeb869002051d06b2a76eaf539f96b176 (patch)
treea970a198c377942b990b0d4fda167fcaf932b8eb /zebra/zebra_cli.c
parentzebra: fix speed set to UINT32_MAX (diff)
downloadfrr-e3c62b2aeb869002051d06b2a76eaf539f96b176.tar.xz
frr-e3c62b2aeb869002051d06b2a76eaf539f96b176.zip
doc, yang, zebra: allow bandwidth up to 1 terabit/sec
Allow bandwidth up to 1000000 Mb/s (ie. 1 Tb/s) and document it. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'zebra/zebra_cli.c')
-rw-r--r--zebra/zebra_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_cli.c b/zebra/zebra_cli.c
index 296f03ae8..a00698e8c 100644
--- a/zebra/zebra_cli.c
+++ b/zebra/zebra_cli.c
@@ -194,7 +194,7 @@ static void lib_interface_zebra_enabled_cli_write(struct vty *vty,
DEFPY_YANG (bandwidth_if,
bandwidth_if_cmd,
- "[no] bandwidth ![(1-100000)]$bw",
+ "[no] bandwidth ![(1-1000000)]$bw",
NO_STR
"Set bandwidth informational parameter\n"
"Bandwidth in megabits\n")