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 maximum_paths to router_bgp.vrfs #4655

Merged
merged 26 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
dd4576a
router_bgp vrf maximum_paths
juanjtomasg Oct 25, 2024
f6b293c
Upload artefact for issue #4583
juanjtomasg Oct 25, 2024
2307f2a
update table
juanjtomasg Oct 25, 2024
415125d
rebase
juanjtomasg Oct 25, 2024
ba1c0e4
documentation
juanjtomasg Oct 25, 2024
850393d
missing doc
juanjtomasg Oct 25, 2024
06f8917
eof
juanjtomasg Oct 25, 2024
e7f5b45
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 25, 2024
a7a9a21
missing endif
juanjtomasg Oct 28, 2024
f3def03
Merge branch 'devel' into feat/bgp_vrf_maximum_paths
juanjtomasg Oct 28, 2024
f39e441
Merge branch 'feat/bgp_vrf_maximum_paths' of https://github.com/juanj…
juanjtomasg Oct 28, 2024
b2fa0a8
linting
juanjtomasg Oct 28, 2024
7899123
router_bgp vrf maximum_paths
juanjtomasg Oct 25, 2024
6f635ca
Upload artefact for issue #4583
juanjtomasg Oct 25, 2024
92b50b7
update table
juanjtomasg Oct 25, 2024
f9d7287
documentation
juanjtomasg Oct 25, 2024
6db0520
missing doc
juanjtomasg Oct 25, 2024
ad2f477
eof
juanjtomasg Oct 25, 2024
a06e1da
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 25, 2024
3fdd12f
missing endif
juanjtomasg Oct 28, 2024
be1dacb
linting
juanjtomasg Oct 28, 2024
98066d6
Merge branch 'devel' into feat/bgp_vrf_maximum_paths
gmuloc Oct 28, 2024
3842a8b
maximum_paths cli position is between additional_paths and timers_bgp
juanjtomasg Oct 28, 2024
7db1c4f
merge schema
juanjtomasg Oct 28, 2024
ee7f55b
Merge branch 'feat/bgp_vrf_maximum_paths' of https://github.com/juanj…
juanjtomasg Oct 28, 2024
a885812
deleting from previous position vrf.maximum_paths
juanjtomasg Oct 28, 2024
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 @@ -234,6 +234,7 @@ router bgp 65001
bgp additional-paths send limit 3
!
vrf VRF03
maximum-paths 10 ecmp 10
redistribute dynamic rcf VRF_RCF_DYNAMIC()
!
address-family ipv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ router bgp 65001
bgp additional-paths send limit 3
!
vrf VRF03
maximum-paths 10 ecmp 10
redistribute dynamic rcf VRF_RCF_DYNAMIC()
!
address-family ipv4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,9 @@ router_bgp:
route_map: RM_VRF_HOST

- name: VRF03
maximum_paths:
paths: 10
ecmp: 10
address_family_ipv4:
bgp:
additional_paths:
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 @@ -2649,6 +2649,13 @@ router bgp {{ router_bgp.as }}
{% if vrf.router_id is arista.avd.defined %}
router-id {{ vrf.router_id }}
{% endif %}
{% if vrf.maximum_paths.paths is arista.avd.defined %}
{% set paths_cli = "maximum-paths " ~ vrf.maximum_paths.paths %}
{% if vrf.maximum_paths.ecmp is arista.avd.defined %}
{% set paths_cli = paths_cli ~ " ecmp " ~ vrf.maximum_paths.ecmp %}
{% endif %}
{{ paths_cli }}
{% endif %}
Vibhu-gslab marked this conversation as resolved.
Show resolved Hide resolved
{% if vrf.updates.wait_for_convergence is arista.avd.defined(true) %}
update wait-for-convergence
{% 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 @@ -3705,6 +3705,22 @@ keys:
description: IPv4 prefix "A.B.C.D/E" or IPv6 prefix "A:B:C:D:E:F:G:H/I".
route_map:
type: str
maximum_paths:
type: dict
keys:
paths:
type: int
required: true
convert_types:
- str
min: 1
max: 600
MaheshGSLAB marked this conversation as resolved.
Show resolved Hide resolved
ecmp:
type: int
convert_types:
- str
min: 1
max: 600
updates:
type: dict
keys:
Expand Down
Loading