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): Adding support to disable make_before_break for PIM sparse-mode #4745

Merged
merged 15 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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 @@ -5854,6 +5854,8 @@ router multicast

BFD enabled: True

Make-before-break: False

##### IP Rendezvous Information

| Rendezvous Point Address | Group Address | Access Lists | Priority | Hashmask | Override |
Expand Down Expand Up @@ -5890,6 +5892,7 @@ router pim sparse-mode
ipv4
ssm range standard
bfd
make-before-break disabled
rp address 10.238.1.161 239.12.12.12/32 priority 20
rp address 10.238.1.161 239.12.12.13/32 priority 20
rp address 10.238.1.161 239.12.12.14/32 priority 20
Expand All @@ -5905,6 +5908,7 @@ router pim sparse-mode
vrf MCAST_VRF1
ipv4
bfd
make-before-break disabled
rp address 10.238.2.161 239.12.22.12/32
rp address 10.238.2.161 239.12.22.13/32
rp address 10.238.2.161 239.12.22.14/32
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3777,6 +3777,7 @@ router pim sparse-mode
ipv4
ssm range standard
bfd
make-before-break disabled
rp address 10.238.1.161 239.12.12.12/32 priority 20
rp address 10.238.1.161 239.12.12.13/32 priority 20
rp address 10.238.1.161 239.12.12.14/32 priority 20
Expand All @@ -3792,6 +3793,7 @@ router pim sparse-mode
vrf MCAST_VRF1
ipv4
bfd
make-before-break disabled
rp address 10.238.2.161 239.12.22.12/32
rp address 10.238.2.161 239.12.22.13/32
rp address 10.238.2.161 239.12.22.14/32
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
router_pim_sparse_mode:
ipv4:
bfd: true
make_before_break: false
rp_addresses:
- address: 10.238.1.161
groups:
Expand Down Expand Up @@ -32,6 +33,7 @@ router_pim_sparse_mode:
- name: MCAST_VRF1
ipv4:
bfd: true
make_before_break: false
ClausHolbechArista marked this conversation as resolved.
Show resolved Hide resolved
rp_addresses:
- address: 10.238.2.161
groups:
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 @@ -12,6 +12,10 @@
{% if router_pim_sparse_mode.ipv4 is arista.avd.defined %}

BFD enabled: {{ router_pim_sparse_mode.ipv4.bfd | arista.avd.default(false) }}
{% if router_pim_sparse_mode.ipv4.make_before_break is arista.avd.defined %}

Make-before-break: {{ router_pim_sparse_mode.ipv4.make_before_break }}
{% endif %}
{% if router_pim_sparse_mode.ipv4.rp_addresses is arista.avd.defined %}

##### IP Rendezvous Information
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ router pim sparse-mode
{% if router_pim_sparse_mode.ipv4.bfd is arista.avd.defined(true) %}
bfd
{% endif %}
{% if router_pim_sparse_mode.ipv4.make_before_break is arista.avd.defined %}
{% if router_pim_sparse_mode.ipv4.make_before_break: %}
make-before-break
{% else %}
make-before-break disabled
{% endif %}
{% endif %}
Shivani-gslab marked this conversation as resolved.
Show resolved Hide resolved
{% for rp_address in router_pim_sparse_mode.ipv4.rp_addresses | arista.avd.natural_sort('address') %}
{% set rp_options_cli = "" %}
{% if rp_address.priority is arista.avd.defined %}
Expand Down Expand Up @@ -59,6 +66,13 @@ router pim sparse-mode
{% if vrf.ipv4.bfd is arista.avd.defined(true) %}
bfd
{% endif %}
{% if vrf.ipv4.make_before_break is arista.avd.defined %}
{% if vrf.ipv4.make_before_break: %}
make-before-break
{% else %}
make-before-break disabled
{% endif %}
{% endif %}
Shivani-gslab marked this conversation as resolved.
Show resolved Hide resolved
{% for rp_address in vrf.ipv4.rp_addresses | arista.avd.natural_sort('address') %}
{% set rp_options_cli = "" %}
{% if rp_address.priority is arista.avd.defined %}
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 @@ -15,6 +15,9 @@ keys:
bfd:
type: bool
description: Enable/Disable BFD.
make_before_break:
type: bool
description: Enable/Disable Make-Before-Break.
ssm_range:
type: str
description: IPv4 Prefix associated with SSM.
Expand Down Expand Up @@ -85,6 +88,9 @@ keys:
bfd:
type: bool
description: Enable/Disable BFD.
make_before_break:
type: bool
description: Enable/Disable Make-Before-Break.
rp_addresses:
type: list
items:
Expand Down
Loading