-
Notifications
You must be signed in to change notification settings - Fork 1.4k
bfdd, yang: change bfd timer and multiplier values #17002
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation?
bfdd/bfdd_cli.c
Outdated
@@ -357,7 +357,7 @@ void bfd_cli_show_mult(struct vty *vty, const struct lyd_node *dnode, | |||
|
|||
DEFPY_YANG( | |||
bfd_peer_rx, bfd_peer_rx_cmd, | |||
"[no] receive-interval ![(10-60000)$interval]", | |||
"[no] receive-interval ![(0-4294967)$interval]", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0 means what?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was a mistake
c298c59
to
995b66c
Compare
Added |
The minimum and maximum values for BFD timers and multiplier settings have been updated to align with RFC 5880 requirements. Since the values inputted via VTY are in milliseconds, the maximum permissible value on the VTY interface is 4,294,967 milliseconds. For the multiplier setting, the minimum value is now restricted to be greater than zero, as zero is not allowed. The minimum transmit interval has been set to 10 milliseconds to ensure reliable service performance. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
995b66c
to
244155a
Compare
ci:rerun |
1 similar comment
ci:rerun |
The minimum and maximum values for BFD timers and multiplier settings have been updated to align with RFC 5880 requirements.
Since the values inputted via VTY are in milliseconds, the maximum permissible value on the VTY interface is 4,294,967 milliseconds.
For the multiplier setting, the minimum value is now restricted to be greater than zero, as zero is not allowed.
The minimum transmit interval has been set to 10 milliseconds to ensure reliable service performance.