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

Refactor(eos_cli_config_gen): Allow duplicate value of address in router_pim_sparse_mode.rp_addresses #4366

Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ BFD enabled: True
| Rendezvous Point Address | Group Address | Access Lists | Priority | Hashmask | Override |
| ------------------------ | ------------- | ------------ | -------- | -------- | -------- |
| 10.238.1.161 | 239.12.12.12/32, 239.12.12.13/32, 239.12.12.14/32, 239.12.12.16/32, 239.12.12.20/32, 239.12.12.21/32 | RP_ACL, RP_ACL2 | 20 | - | - |
| 10.238.1.161 | 239.12.12.17/32 | RP_ACL3 | - | - | - |

##### IP Anycast Information

Expand Down Expand Up @@ -87,6 +88,8 @@ router pim sparse-mode
rp address 10.238.1.161 239.12.12.21/32 priority 20
rp address 10.238.1.161 access-list RP_ACL priority 20
rp address 10.238.1.161 access-list RP_ACL2 priority 20
rp address 10.238.1.161 239.12.12.17/32
rp address 10.238.1.161 access-list RP_ACL3
anycast-rp 10.38.1.161 10.50.64.16 register-count 15
ssm range standard
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ router pim sparse-mode
rp address 10.238.1.161 239.12.12.21/32 priority 20
rp address 10.238.1.161 access-list RP_ACL priority 20
rp address 10.238.1.161 access-list RP_ACL2 priority 20
rp address 10.238.1.161 239.12.12.17/32
rp address 10.238.1.161 access-list RP_ACL3
anycast-rp 10.38.1.161 10.50.64.16 register-count 15
ssm range standard
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ router_pim_sparse_mode:
- RP_ACL
- RP_ACL2
priority: 20
- address: 10.238.1.161
groups:
- 239.12.12.17/32
access_lists:
- RP_ACL3
anycast_rps:
- address: 10.38.1.161
other_anycast_rp_addresses:
Expand Down

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

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 @@ -20,11 +20,8 @@ keys:
description: IPv4 Prefix associated with SSM.
rp_addresses:
type: list
# This primary_key is inserted to support conversion from wildcard dicts,
# but it also stops the user from defining the same RP address multiple times,
# which should be allowed. When wildcard dict support is finally removed,
# this primary_key should also be removed. TODO: AVD5.0
primary_key: address
ClausHolbechArista marked this conversation as resolved.
Show resolved Hide resolved
ClausHolbechArista marked this conversation as resolved.
Show resolved Hide resolved
allow_duplicate_primary_key: true
items:
type: dict
keys:
Expand Down
Loading