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

Feat(eos_cli_config_gen): Add BFD Slow-Timer Knob #4718

Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -5336,6 +5336,10 @@ policy-map type pbr PM_PBR_BREAKOUT

### Router BFD

| BFD Tuning |
| ---------- |
| Slow-Timer 5000 |

#### Router BFD Singlehop Summary

| Interval | Minimum RX | Multiplier |
Expand All @@ -5361,6 +5365,7 @@ policy-map type pbr PM_PBR_BREAKOUT
router bfd
interval 900 min-rx 900 multiplier 50 default
multihop interval 300 min-rx 300 multiplier 3
slow-timer 5000
local-address 192.168.255.1
session stats snapshot interval 51
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3530,6 +3530,7 @@ peer-filter PF2
router bfd
interval 900 min-rx 900 multiplier 50 default
multihop interval 300 min-rx 300 multiplier 3
slow-timer 5000
local-address 192.168.255.1
session stats snapshot interval 51
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ router_bfd:
reflector:
min_rx: 600
local_discriminator: 155.1.3.1
slow_timer: 5000

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
{% if router_bfd is arista.avd.defined %}

### Router BFD
{% if router_bfd.slow_timer is arista.avd.defined %}

| BFD Tuning |
| ---------- |
{% if router_bfd.slow_timer is arista.avd.defined %}
| Slow-Timer {{ router_bfd.slow_timer }} |
{% endif %}
{% endif %}
{% if router_bfd.interval is arista.avd.defined and router_bfd.min_rx is arista.avd.defined and router_bfd.multiplier is arista.avd.defined %}

#### Router BFD Singlehop Summary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@
{% if router_bfd is arista.avd.defined %}
!
router bfd
{% if router_bfd.interval is arista.avd.defined and router_bfd.min_rx is arista.avd.defined and router_bfd.multiplier is arista.avd.defined %}
{% if router_bfd.interval is arista.avd.defined and router_bfd.min_rx is arista.avd.defined and router_bfd.multiplier is arista.avd.defined %}
interval {{ router_bfd.interval }} min-rx {{ router_bfd.min_rx }} multiplier {{ router_bfd.multiplier }} default
{% endif %}
{% if router_bfd.multihop.interval is arista.avd.defined and router_bfd.multihop.min_rx is arista.avd.defined and router_bfd.multihop.multiplier is arista.avd.defined %}
{% if router_bfd.multihop.interval is arista.avd.defined and router_bfd.multihop.min_rx is arista.avd.defined and router_bfd.multihop.multiplier is arista.avd.defined %}
multihop interval {{ router_bfd.multihop.interval }} min-rx {{ router_bfd.multihop.min_rx }} multiplier {{ router_bfd.multihop.multiplier }}
{% endif %}
{% if router_bfd.slow_timer is arista.avd.defined %}
slow-timer {{ router_bfd.slow_timer }}
{% endif %}
{% if router_bfd.local_address is arista.avd.defined %}
local-address {{ router_bfd.local_address }}
{% endif %}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,10 @@ keys:
local_discriminator:
type: str
description: IPv4 address or 32 bit integer.
slow_timer:
description: Rate in milliseconds.
type: int
ccsnw marked this conversation as resolved.
Show resolved Hide resolved
convert_types:
- str
min: 2000
max: 60000
Loading