forked from aristanetworks/avd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(eos_designs): Fix incorrect syntax in EVPN multicast PIM error me…
…ssages (aristanetworks#3456)
- Loading branch information
Showing
4 changed files
with
96 additions
and
4 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
...ns_negative_unit_tests/inventory/host_vars/failure-missing-evpn-multicast-l3-with-pim.yml
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,45 @@ | ||
type: l3leaf | ||
underlay_multicast: true | ||
evpn_multicast: true | ||
|
||
l3leaf: | ||
defaults: | ||
# LOOPBACK AND VTEP MANAGEMENT | ||
loopback_ipv4_pool: 10.10.0.0/24 | ||
vtep_loopback_ipv4_pool: 10.11.0.0/24 | ||
vtep_loopback: Loopback1 | ||
nodes: | ||
- name: failure-missing-evpn-multicast-l3-with-pim | ||
id: 3 | ||
bgp_as: 65101 | ||
filter: | ||
tags: ['evpn-multicast-pegs'] | ||
|
||
tenants: | ||
- name: FABRIC | ||
mac_vrf_vni_base: 10000 | ||
evpn_l3_multicast: | ||
enabled: false | ||
evpn_underlay_l3_multicast_group_ipv4_pool: 232.0.0.0/20 | ||
vrfs: | ||
- name: Tenant_A_OP_Zone_MC | ||
description: "Tenant_A_OP_Zone" | ||
vrf_vni: 10 | ||
vtep_diagnostic: | ||
loopback: 31 | ||
loopback_ip_range: 10.255.1.0/24 | ||
svis: | ||
- id: 210 | ||
name: Tenant_A_OP_Zone_1 | ||
tags: ['evpn-multicast-l3'] | ||
l3_interfaces: | ||
- nodes: [ failure-missing-evpn-multicast-l3-with-pim ] | ||
interfaces: [ Ethernet1 ] | ||
ip_addresses: [ 10.254.248.0/31 ] | ||
descriptions: [ "L3 Link to RPs" ] | ||
enabled: true | ||
pim: | ||
enabled: true | ||
|
||
expected_error_message: >- | ||
'pim: enabled' set on l3_interface 'Ethernet1' on 'failure-missing-evpn-multicast-l3-with-pim' requires evpn_l3_multicast: enabled: true under VRF 'Tenant_A_OP_Zone_MC' or Tenant 'FABRIC' |
45 changes: 45 additions & 0 deletions
45
...esigns_negative_unit_tests/inventory/host_vars/failure-missing-evpn-multicast-peg-rps.yml
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,45 @@ | ||
type: l3leaf | ||
underlay_multicast: true | ||
evpn_multicast: true | ||
|
||
l3leaf: | ||
defaults: | ||
# LOOPBACK AND VTEP MANAGEMENT | ||
loopback_ipv4_pool: 10.10.0.0/24 | ||
vtep_loopback_ipv4_pool: 10.11.0.0/24 | ||
vtep_loopback: Loopback1 | ||
nodes: | ||
- name: failure-missing-evpn-multicast-peg-rps | ||
id: 3 | ||
bgp_as: 65101 | ||
filter: | ||
tags: ['evpn-multicast-pegs'] | ||
|
||
tenants: | ||
- name: FABRIC | ||
mac_vrf_vni_base: 10000 | ||
evpn_l3_multicast: | ||
enabled: true | ||
evpn_underlay_l3_multicast_group_ipv4_pool: 232.0.0.0/20 | ||
vrfs: | ||
- name: Tenant_A_OP_Zone_MC | ||
description: "Tenant_A_OP_Zone" | ||
vrf_vni: 10 | ||
vtep_diagnostic: | ||
loopback: 31 | ||
loopback_ip_range: 10.255.1.0/24 | ||
svis: | ||
- id: 210 | ||
name: Tenant_A_OP_Zone_1 | ||
tags: ['evpn-multicast-l3'] | ||
l3_interfaces: | ||
- nodes: [ failure-missing-evpn-multicast-peg-rps ] | ||
interfaces: [ Ethernet1 ] | ||
ip_addresses: [ 10.254.248.0/31 ] | ||
descriptions: [ "L3 Link to RPs" ] | ||
enabled: true | ||
pim: | ||
enabled: true | ||
|
||
expected_error_message: >- | ||
'pim: enabled' set on l3_interface 'Ethernet1' on 'failure-missing-evpn-multicast-peg-rps' requires at least one RP defined in pim_rp_addresses under VRF 'Tenant_A_OP_Zone_MC' or Tenant 'FABRIC' |
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