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): Better error message when missing 'evpn_multicast' …
…for PIM l3 interfaces (aristanetworks#4391)
- Loading branch information
Showing
4 changed files
with
63 additions
and
5 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
48 changes: 48 additions & 0 deletions
48
...signs_negative_unit_tests/inventory/host_vars/failure-missing-evpn-multicast-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,48 @@ | ||
type: l3leaf | ||
underlay_multicast: true | ||
# When this is set to false, the VRF won't have evpn_l3_multicast enabled | ||
# and PIM will fail | ||
evpn_multicast: false | ||
|
||
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-with-pim | ||
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-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-with-pim' | ||
requires 'evpn_multicast: true' at the fabric level |
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