Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zebra: avoid having speed set to UINT32_MAX (backport #10151) #15312

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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>
(cherry picked from commit e3c62b2)

# Conflicts:
#	zebra/zebra_cli.c
  • Loading branch information
pguibert6WIND authored and mergify[bot] committed Feb 6, 2024
commit b1e730d12c8e11827ab32570ec75dbb5ea348e72
5 changes: 2 additions & 3 deletions doc/user/zebra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,9 @@ Standard Commands
Enable or disable multicast flag for the interface.


.. clicmd:: bandwidth (1-10000000)
.. clicmd:: bandwidth (1-1000000)


Set bandwidth value of the interface in kilobits/sec. This is for
Set bandwidth value of the interface in Megabits/sec. This is for
calculating OSPF cost. This command does not affect the actual device
configuration.

Expand Down
2 changes: 1 addition & 1 deletion yang/frr-zebra.yang
Original file line number Diff line number Diff line change
Expand Up @@ -1990,7 +1990,7 @@ module frr-zebra {

leaf bandwidth {
type uint32 {
range "1..100000";
range "1..1000000";
}
description
"Link bandwidth informational parameter, in megabits.";
Expand Down
Loading