-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor(eos_cli_config_gen): Add support for MPLS RSVP
- Loading branch information
1 parent
3cac535
commit 30f3528
Showing
9 changed files
with
821 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
130 changes: 130 additions & 0 deletions
130
ansible_collections/arista/avd/roles/eos_cli_config_gen/docs/tables/mpls.md
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
65 changes: 65 additions & 0 deletions
65
python-avd/pyavd/_eos_cli_config_gen/j2templates/documentation/mpls-rsvp.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{# | ||
Copyright (c) 2023-2024 Arista Networks, Inc. | ||
Use of this source code is governed by the Apache License 2.0 | ||
that can be found in the LICENSE file. | ||
#} | ||
{# doc - mpls interfaces #} | ||
{% if mpls.rsvp is arista.avd.defined %} | ||
|
||
### MPLS RSVP | ||
|
||
#### MPLS RSVP Summary | ||
|
||
| Settings | Value | | ||
| -------- | ----- | | ||
{% if mpls.rsvp.hello.interval is arista.avd.defined and mpls.rsvp.hello.multiplier is arista.avd.defined%} | ||
| Hello interval | {{ mpls.rsvp.hello.interval }} | | ||
| Timeout multiplier | {{ mpls.rsvp.hello.multiplier }} | | ||
{% endif %} | ||
{% if mpls.rsvp.authentication is arista.avd.defined %} | ||
{% set auth = mpls.rsvp.authentication %} | ||
| Authentication type | {{ auth.type | arista.avd.default('-') }} | | ||
| Authentication sequence-number window | {{ auth.sequence_number_window | arista.avd.default('-') }} | | ||
| Authentication active index | {{ auth.active_index | arista.avd.default('-') }} | | ||
{% endif %} | ||
{% if mpls.rsvp.ip_access_group is arista.avd.defined or mpls.rsvp.ipv6_access_group is arista.avd.defined %} | ||
| IPv4 access-group | {{ mpls.rsvp.ip_access_group | arista.avd.default('-') }} | | ||
| IPv6 access-group | {{ mpls.rsvp.ipv6_access_group | arista.avd.default('-') }} | | ||
{% endif %} | ||
{% if mpls.rsvp.label_local_termination is arista.avd.defined %} | ||
| Label local-termination | {{ mpls.rsvp.label_local_termination }} | | ||
{% endif %} | ||
{% if mpls.rsvp.preemption_method.preemption is arista.avd.defined %} | ||
| Preemption method | {{ mpls.rsvp.preemption_method.preemption }} | | ||
{% if mpls.rsvp.preemption_method.timer is arista.avd.defined %} | ||
| Preemption timer | {{ mpls.rsvp.preemption_method.timer }} | | ||
{% endif %} | ||
{% endif %} | ||
{% if mpls.rsvp.mtu_signaling is arista.avd.defined %} | ||
| Mtu signaling | {{ mpls.rsvp.mtu_signaling | arista.avd.default('-') }} | | ||
{% endif %} | ||
{% if mpls.rsvp.fast_reroute is arista.avd.defined %} | ||
{% set fast_reroute = mpls.rsvp.fast_reroute %} | ||
| Fast reroute mode | {{ fast_reroute.mode | arista.avd.default('-') }} | | ||
| Fast reroute reversion | {{ fast_reroute.reversion | arista.avd.default('-') }} | | ||
| Fast reroute bypass tunnel optimization interval | {{ fast_reroute.bypass_tunnel_optimization_interval | arista.avd.default('-') }} | | ||
{% endif %} | ||
{% if mpls.rsvp.hitless_restart is arista.avd.defined %} | ||
| Hitless restart | Active | | ||
| Hitless restart recovery timer | {{ mpls.rsvp.hitless_restart.timer_recovery | arista.avd.default('-') }} | | ||
{% endif %} | ||
{% if mpls.rsvp.graceful_restart is arista.avd.defined %} | ||
{% set graceful_restart = mpls.rsvp.graceful_restart %} | ||
|
||
##### Graceful restart | ||
|
||
| Role | Recovery timer | Restart timer | | ||
| ---- | -------------- | ------------- | | ||
{% if graceful_restart.role_helper.enabled is arista.avd.defined(true) %} | ||
| Helper | {{ graceful_restart.role_helper.grace_period_recovery | arista.avd.default('-') }} | {{ graceful_restart.role_helper.grace_period_restart | arista.avd.default('-') }} | | ||
{% endif %} | ||
{% if graceful_restart.role_speaker.enabled is arista.avd.defined(true) %} | ||
| Speaker | {{ graceful_restart.role_speaker.grace_period_recovery | arista.avd.default('-') }} | {{ graceful_restart.role_speaker.grace_period_restart | arista.avd.default('-') }} | | ||
{% endif %} | ||
{% endif %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.