forked from Mirror/frr
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>
This commit is contained in:
parent
51cb6aee4b
commit
e3c62b2aeb
|
@ -184,10 +184,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.
|
||||
|
||||
|
|
|
@ -2050,7 +2050,7 @@ module frr-zebra {
|
|||
|
||||
leaf bandwidth {
|
||||
type uint32 {
|
||||
range "1..100000";
|
||||
range "1..1000000";
|
||||
}
|
||||
units "megabits/sec";
|
||||
description
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue