diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-leaf1.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-leaf1.md deleted file mode 100644 index 4fe606a9aea..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-leaf1.md +++ /dev/null @@ -1,631 +0,0 @@ -# ptp-tests-leaf1 -# Table of Contents - -- [Management](#management) - - [Management Interfaces](#management-interfaces) - - [PTP](#ptp) - - [Management API HTTP](#management-api-http) -- [Authentication](#authentication) -- [Monitoring](#monitoring) -- [Spanning Tree](#spanning-tree) - - [Spanning Tree Summary](#spanning-tree-summary) - - [Spanning Tree Device Configuration](#spanning-tree-device-configuration) -- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) - - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) - - [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) -- [VLANs](#vlans) - - [VLANs Summary](#vlans-summary) - - [VLANs Device Configuration](#vlans-device-configuration) -- [Interfaces](#interfaces) - - [Ethernet Interfaces](#ethernet-interfaces) - - [Loopback Interfaces](#loopback-interfaces) - - [VLAN Interfaces](#vlan-interfaces) - - [VXLAN Interface](#vxlan-interface) -- [Routing](#routing) - - [Service Routing Protocols Model](#service-routing-protocols-model) - - [Virtual Router MAC Address](#virtual-router-mac-address) - - [IP Routing](#ip-routing) - - [IPv6 Routing](#ipv6-routing) - - [Static Routes](#static-routes) - - [Router BGP](#router-bgp) -- [BFD](#bfd) - - [Router BFD](#router-bfd) -- [Multicast](#multicast) - - [IP IGMP Snooping](#ip-igmp-snooping) -- [Filters](#filters) - - [Prefix-lists](#prefix-lists) - - [Route-maps](#route-maps) -- [ACL](#acl) -- [VRF Instances](#vrf-instances) - - [VRF Instances Summary](#vrf-instances-summary) - - [VRF Instances Device Configuration](#vrf-instances-device-configuration) -- [Quality Of Service](#quality-of-service) - -# Management - -## Management Interfaces - -### Management Interfaces Summary - -#### IPv4 - -| Management Interface | description | Type | VRF | IP Address | Gateway | -| -------------------- | ----------- | ---- | --- | ---------- | ------- | -| Management1 | oob_management | oob | MGMT | 192.168.0.101/24 | 192.168.0.1 | - -#### IPv6 - -| Management Interface | description | Type | VRF | IPv6 Address | IPv6 Gateway | -| -------------------- | ----------- | ---- | --- | ------------ | ------------ | -| Management1 | oob_management | oob | MGMT | - | - | - -### Management Interfaces Device Configuration - -```eos -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 192.168.0.101/24 -``` - -## PTP - -### PTP Summary - -| PTP setting | Value | -| ----------- | ----- | -| Clock-identity | 11:11:11:11:11:11 | -| Priority1 | 30 | -| Priority2 | 1 | -| Domain | 127 | - -### PTP Device Configuration - -```eos -! -ptp clock-identity 11:11:11:11:11:11 -ptp priority1 30 -ptp priority2 1 -ptp domain 127 -ptp mode boundary -``` - -## Management API HTTP - -### Management API HTTP Summary - -| HTTP | HTTPS | Default Services | -| ---- | ----- | ---------------- | -| False | True | - | - -### Management API VRF Access - -| VRF Name | IPv4 ACL | IPv6 ACL | -| -------- | -------- | -------- | -| MGMT | - | - | - -### Management API HTTP Configuration - -```eos -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -``` - -# Authentication - -# Monitoring - -# Spanning Tree - -## Spanning Tree Summary - -STP mode: **mstp** - -### MSTP Instance and Priority - -| Instance(s) | Priority | -| -------- | -------- | -| 0 | 4096 | - -## Spanning Tree Device Configuration - -```eos -! -spanning-tree mode mstp -spanning-tree mst 0 priority 4096 -``` - -# Internal VLAN Allocation Policy - -## Internal VLAN Allocation Policy Summary - -| Policy Allocation | Range Beginning | Range Ending | -| ------------------| --------------- | ------------ | -| ascending | 1006 | 1199 | - -## Internal VLAN Allocation Policy Configuration - -```eos -! -vlan internal order ascending range 1006 1199 -``` - -# VLANs - -## VLANs Summary - -| VLAN ID | Name | Trunk Groups | -| ------- | ---- | ------------ | -| 11 | VLAN11 | - | - -## VLANs Device Configuration - -```eos -! -vlan 11 - name VLAN11 -``` - -# Interfaces - -## Ethernet Interfaces - -### Ethernet Interfaces Summary - -#### L2 - -| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | -| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | -| Ethernet3 | Endpoint-with-specific-PTP-profile_eth3 | access | 11 | - | - | - | -| Ethernet5 | video-endpoint_PCI1 | access | 11 | - | - | - | -| Ethernet13 | bmca-endpoint_eth1 | access | 11 | - | - | - | - -*Inherited from Port-Channel Interface - -#### IPv4 - -| Interface | Description | Type | Channel Group | IP Address | VRF | MTU | Shutdown | ACL In | ACL Out | -| --------- | ----------- | -----| ------------- | ---------- | ----| ---- | -------- | ------ | ------- | -| Ethernet1 | P2P_LINK_TO_PTP-TESTS-SPINE1_Ethernet1 | routed | - | 10.254.2.1/31 | default | 9000 | false | - | - | -| Ethernet2 | P2P_LINK_TO_PTP-TESTS-SPINE1_Ethernet2 | routed | - | 10.254.2.3/31 | default | 9000 | false | - | - | - -### Ethernet Interfaces Device Configuration - -```eos -! -interface Ethernet1 - description P2P_LINK_TO_PTP-TESTS-SPINE1_Ethernet1 - no shutdown - mtu 9000 - no switchport - ip address 10.254.2.1/31 - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 -! -interface Ethernet2 - description P2P_LINK_TO_PTP-TESTS-SPINE1_Ethernet2 - no shutdown - mtu 9000 - no switchport - ip address 10.254.2.3/31 - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 -! -interface Ethernet3 - description Endpoint-with-specific-PTP-profile_eth3 - no shutdown - switchport access vlan 11 - switchport mode access - switchport - ptp enable - ptp sync-message interval -4 - ptp announce interval -1 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -4 - ptp role master -! -interface Ethernet5 - description video-endpoint_PCI1 - no shutdown - switchport access vlan 11 - switchport mode access - switchport - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 - ptp role master - spanning-tree portfast -! -interface Ethernet13 - description bmca-endpoint_eth1 - no shutdown - switchport access vlan 11 - switchport mode access - switchport - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 -``` - -## Loopback Interfaces - -### Loopback Interfaces Summary - -#### IPv4 - -| Interface | Description | VRF | IP Address | -| --------- | ----------- | --- | ---------- | -| Loopback0 | EVPN_Overlay_Peering | default | 10.254.1.1/32 | -| Loopback1 | VTEP_VXLAN_Tunnel_Source | default | 10.254.11.1/32 | - -#### IPv6 - -| Interface | Description | VRF | IPv6 Address | -| --------- | ----------- | --- | ------------ | -| Loopback0 | EVPN_Overlay_Peering | default | - | -| Loopback1 | VTEP_VXLAN_Tunnel_Source | default | - | - - -### Loopback Interfaces Device Configuration - -```eos -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.254.1.1/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.254.11.1/32 -``` - -## VLAN Interfaces - -### VLAN Interfaces Summary - -| Interface | Description | VRF | MTU | Shutdown | -| --------- | ----------- | --- | ---- | -------- | -| Vlan11 | VLAN11 | VRF1 | - | false | - -#### IPv4 - -| Interface | VRF | IP Address | IP Address Virtual | IP Router Virtual Address | VRRP | ACL In | ACL Out | -| --------- | --- | ---------- | ------------------ | ------------------------- | ---- | ------ | ------- | -| Vlan11 | VRF1 | 172.16.11.1/24 | - | - | - | - | - | - -### VLAN Interfaces Device Configuration - -```eos -! -interface Vlan11 - description VLAN11 - no shutdown - vrf VRF1 - ip address 172.16.11.1/24 -``` - -## VXLAN Interface - -### VXLAN Interface Summary - -| Setting | Value | -| ------- | ----- | -| Source Interface | Loopback1 | -| UDP port | 4789 | - -#### VLAN to VNI, Flood List and Multicast Group Mappings - -| VLAN | VNI | Flood List | Multicast Group | -| ---- | --- | ---------- | --------------- | -| 11 | 10011 | - | - | - -#### VRF to VNI and Multicast Group Mappings - -| VRF | VNI | Multicast Group | -| ---- | --- | --------------- | -| VRF1 | 1 | - | - -### VXLAN Interface Device Configuration - -```eos -! -interface Vxlan1 - description ptp-tests-leaf1_VTEP - vxlan source-interface Loopback1 - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vrf VRF1 vni 1 -``` - -# Routing -## Service Routing Protocols Model - -Multi agent routing protocol model enabled - -```eos -! -service routing protocols model multi-agent -``` - -## Virtual Router MAC Address - -### Virtual Router MAC Address Summary - -#### Virtual Router MAC Address: 00:1c:73:00:00:99 - -### Virtual Router MAC Address Configuration - -```eos -! -ip virtual-router mac-address 00:1c:73:00:00:99 -``` - -## IP Routing - -### IP Routing Summary - -| VRF | Routing Enabled | -| --- | --------------- | -| default | true | -| MGMT | false | -| VRF1 | true | - -### IP Routing Device Configuration - -```eos -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF1 -``` -## IPv6 Routing - -### IPv6 Routing Summary - -| VRF | Routing Enabled | -| --- | --------------- | -| default | false | -| MGMT | false | -| VRF1 | false | - -## Static Routes - -### Static Routes Summary - -| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | -| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | -| MGMT | 0.0.0.0/0 | 192.168.0.1 | - | 1 | - | - | - | - -### Static Routes Device Configuration - -```eos -! -ip route vrf MGMT 0.0.0.0/0 192.168.0.1 -``` - -## Router BGP - -### Router BGP Summary - -| BGP AS | Router ID | -| ------ | --------- | -| 65101| 10.254.1.1 | - -| BGP Tuning | -| ---------- | -| maximum-paths 4 ecmp 4 | - -### Router BGP Peer Groups - -#### EVPN-OVERLAY-PEERS - -| Settings | Value | -| -------- | ----- | -| Address Family | evpn | -| Source | Loopback0 | -| BFD | True | -| Ebgp multihop | 3 | -| Send community | all | -| Maximum routes | 0 (no limit) | - -#### IPv4-UNDERLAY-PEERS - -| Settings | Value | -| -------- | ----- | -| Address Family | ipv4 | -| Send community | all | -| Maximum routes | 12000 | - -### BGP Neighbors - -| Neighbor | Remote AS | VRF | Shutdown | Send-community | Maximum-routes | Allowas-in | BFD | RIB Pre-Policy Retain | -| -------- | --------- | --- | -------- | -------------- | -------------- | ---------- | --- | --------------------- | -| 10.254.2.0 | 65200 | default | - | Inherited from peer group IPv4-UNDERLAY-PEERS | Inherited from peer group IPv4-UNDERLAY-PEERS | - | - | - | -| 10.254.2.2 | 65200 | default | - | Inherited from peer group IPv4-UNDERLAY-PEERS | Inherited from peer group IPv4-UNDERLAY-PEERS | - | - | - | -| 10.255.0.1 | 65200 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | - -### Router BGP EVPN Address Family - -#### EVPN Peer Groups - -| Peer Group | Activate | -| ---------- | -------- | -| EVPN-OVERLAY-PEERS | True | - -### Router BGP VLANs - -| VLAN | Route-Distinguisher | Both Route-Target | Import Route Target | Export Route-Target | Redistribute | -| ---- | ------------------- | ----------------- | ------------------- | ------------------- | ------------ | -| 11 | 10.254.1.1:10011 | 10011:10011 | - | - | learned | - -### Router BGP VRFs - -| VRF | Route-Distinguisher | Redistribute | -| --- | ------------------- | ------------ | -| VRF1 | 10.254.1.1:1 | connected | - -### Router BGP Device Configuration - -```eos -! -router bgp 65101 - router-id 10.254.1.1 - maximum-paths 4 ecmp 4 - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.254.2.0 peer group IPv4-UNDERLAY-PEERS - neighbor 10.254.2.0 remote-as 65200 - neighbor 10.254.2.0 description ptp-tests-spine1_Ethernet1 - neighbor 10.254.2.2 peer group IPv4-UNDERLAY-PEERS - neighbor 10.254.2.2 remote-as 65200 - neighbor 10.254.2.2 description ptp-tests-spine1_Ethernet2 - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65200 - neighbor 10.255.0.1 description ptp-tests-spine1 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.254.1.1:10011 - route-target both 10011:10011 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - ! - vrf VRF1 - rd 10.254.1.1:1 - route-target import evpn 1:1 - route-target export evpn 1:1 - router-id 10.254.1.1 - redistribute connected -``` - -# BFD - -## Router BFD - -### Router BFD Multihop Summary - -| Interval | Minimum RX | Multiplier | -| -------- | ---------- | ---------- | -| 300 | 300 | 3 | - -### Router BFD Device Configuration - -```eos -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -``` - -# Multicast - -## IP IGMP Snooping - -### IP IGMP Snooping Summary - -| IGMP Snooping | Fast Leave | Interface Restart Query | Proxy | Restart Query Interval | Robustness Variable | -| ------------- | ---------- | ----------------------- | ----- | ---------------------- | ------------------- | -| Enabled | - | - | - | - | - | - -### IP IGMP Snooping Device Configuration - -```eos -``` - -# Filters - -## Prefix-lists - -### Prefix-lists Summary - -#### PL-LOOPBACKS-EVPN-OVERLAY - -| Sequence | Action | -| -------- | ------ | -| 10 | permit 10.254.1.0/27 eq 32 | -| 20 | permit 10.254.11.0/27 eq 32 | - -### Prefix-lists Device Configuration - -```eos -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.254.1.0/27 eq 32 - seq 20 permit 10.254.11.0/27 eq 32 -``` - -## Route-maps - -### Route-maps Summary - -#### RM-CONN-2-BGP - -| Sequence | Type | Match and/or Set | -| -------- | ---- | ---------------- | -| 10 | permit | match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | - -### Route-maps Device Configuration - -```eos -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -``` - -# ACL - -# VRF Instances - -## VRF Instances Summary - -| VRF Name | IP Routing | -| -------- | ---------- | -| MGMT | disabled | -| VRF1 | enabled | - -## VRF Instances Device Configuration - -```eos -! -vrf instance MGMT -! -vrf instance VRF1 -``` - -# Quality Of Service diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-leaf2.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-leaf2.md deleted file mode 100644 index bdb6696faaa..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-leaf2.md +++ /dev/null @@ -1,606 +0,0 @@ -# ptp-tests-leaf2 -# Table of Contents - -- [Management](#management) - - [Management Interfaces](#management-interfaces) - - [PTP](#ptp) - - [Management API HTTP](#management-api-http) -- [Authentication](#authentication) -- [Monitoring](#monitoring) -- [Spanning Tree](#spanning-tree) - - [Spanning Tree Summary](#spanning-tree-summary) - - [Spanning Tree Device Configuration](#spanning-tree-device-configuration) -- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) - - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) - - [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) -- [VLANs](#vlans) - - [VLANs Summary](#vlans-summary) - - [VLANs Device Configuration](#vlans-device-configuration) -- [Interfaces](#interfaces) - - [Ethernet Interfaces](#ethernet-interfaces) - - [Loopback Interfaces](#loopback-interfaces) - - [VLAN Interfaces](#vlan-interfaces) - - [VXLAN Interface](#vxlan-interface) -- [Routing](#routing) - - [Service Routing Protocols Model](#service-routing-protocols-model) - - [Virtual Router MAC Address](#virtual-router-mac-address) - - [IP Routing](#ip-routing) - - [IPv6 Routing](#ipv6-routing) - - [Static Routes](#static-routes) - - [Router BGP](#router-bgp) -- [BFD](#bfd) - - [Router BFD](#router-bfd) -- [Multicast](#multicast) - - [IP IGMP Snooping](#ip-igmp-snooping) -- [Filters](#filters) - - [Prefix-lists](#prefix-lists) - - [Route-maps](#route-maps) -- [ACL](#acl) -- [VRF Instances](#vrf-instances) - - [VRF Instances Summary](#vrf-instances-summary) - - [VRF Instances Device Configuration](#vrf-instances-device-configuration) -- [Quality Of Service](#quality-of-service) - -# Management - -## Management Interfaces - -### Management Interfaces Summary - -#### IPv4 - -| Management Interface | description | Type | VRF | IP Address | Gateway | -| -------------------- | ----------- | ---- | --- | ---------- | ------- | -| Management1 | oob_management | oob | MGMT | 192.168.0.102/24 | 192.168.0.1 | - -#### IPv6 - -| Management Interface | description | Type | VRF | IPv6 Address | IPv6 Gateway | -| -------------------- | ----------- | ---- | --- | ------------ | ------------ | -| Management1 | oob_management | oob | MGMT | - | - | - -### Management Interfaces Device Configuration - -```eos -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 192.168.0.102/24 -``` - -## PTP - -### PTP Summary - -| PTP setting | Value | -| ----------- | ----- | -| Clock-identity | 22:33:44:01:00:02 | -| Priority1 | 1 | -| Priority2 | 2 | -| TTL | 16 | -| Domain | 127 | - -### PTP Device Configuration - -```eos -! -ptp clock-identity 22:33:44:01:00:02 -ptp source ip 10.254.1.2 -ptp priority1 1 -ptp priority2 2 -ptp ttl 16 -ptp domain 127 -ptp mode boundary -ptp forward-unicast -``` - -## Management API HTTP - -### Management API HTTP Summary - -| HTTP | HTTPS | Default Services | -| ---- | ----- | ---------------- | -| False | True | - | - -### Management API VRF Access - -| VRF Name | IPv4 ACL | IPv6 ACL | -| -------- | -------- | -------- | -| MGMT | - | - | - -### Management API HTTP Configuration - -```eos -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -``` - -# Authentication - -# Monitoring - -# Spanning Tree - -## Spanning Tree Summary - -STP mode: **mstp** - -### MSTP Instance and Priority - -| Instance(s) | Priority | -| -------- | -------- | -| 0 | 4096 | - -## Spanning Tree Device Configuration - -```eos -! -spanning-tree mode mstp -spanning-tree mst 0 priority 4096 -``` - -# Internal VLAN Allocation Policy - -## Internal VLAN Allocation Policy Summary - -| Policy Allocation | Range Beginning | Range Ending | -| ------------------| --------------- | ------------ | -| ascending | 1006 | 1199 | - -## Internal VLAN Allocation Policy Configuration - -```eos -! -vlan internal order ascending range 1006 1199 -``` - -# VLANs - -## VLANs Summary - -| VLAN ID | Name | Trunk Groups | -| ------- | ---- | ------------ | -| 11 | VLAN11 | - | - -## VLANs Device Configuration - -```eos -! -vlan 11 - name VLAN11 -``` - -# Interfaces - -## Ethernet Interfaces - -### Ethernet Interfaces Summary - -#### L2 - -| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | -| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | -| Ethernet5 | video-endpoint_PCI2 | access | 11 | - | - | - | - -*Inherited from Port-Channel Interface - -#### IPv4 - -| Interface | Description | Type | Channel Group | IP Address | VRF | MTU | Shutdown | ACL In | ACL Out | -| --------- | ----------- | -----| ------------- | ---------- | ----| ---- | -------- | ------ | ------- | -| Ethernet1 | P2P_LINK_TO_PTP-TESTS-SPINE1_Ethernet3 | routed | - | 10.254.2.5/31 | default | 9000 | false | - | - | -| Ethernet2 | P2P_LINK_TO_PTP-TESTS-SPINE1_Ethernet4 | routed | - | 10.254.2.7/31 | default | 9000 | false | - | - | - -### Ethernet Interfaces Device Configuration - -```eos -! -interface Ethernet1 - description P2P_LINK_TO_PTP-TESTS-SPINE1_Ethernet3 - no shutdown - mtu 9000 - no switchport - ip address 10.254.2.5/31 - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 -! -interface Ethernet2 - description P2P_LINK_TO_PTP-TESTS-SPINE1_Ethernet4 - no shutdown - mtu 9000 - no switchport - ip address 10.254.2.7/31 - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 -! -interface Ethernet5 - description video-endpoint_PCI2 - no shutdown - switchport access vlan 11 - switchport mode access - switchport - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 - ptp role master - spanning-tree portfast -``` - -## Loopback Interfaces - -### Loopback Interfaces Summary - -#### IPv4 - -| Interface | Description | VRF | IP Address | -| --------- | ----------- | --- | ---------- | -| Loopback0 | EVPN_Overlay_Peering | default | 10.254.1.2/32 | -| Loopback1 | VTEP_VXLAN_Tunnel_Source | default | 10.254.11.2/32 | - -#### IPv6 - -| Interface | Description | VRF | IPv6 Address | -| --------- | ----------- | --- | ------------ | -| Loopback0 | EVPN_Overlay_Peering | default | - | -| Loopback1 | VTEP_VXLAN_Tunnel_Source | default | - | - - -### Loopback Interfaces Device Configuration - -```eos -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.254.1.2/32 -! -interface Loopback1 - description VTEP_VXLAN_Tunnel_Source - no shutdown - ip address 10.254.11.2/32 -``` - -## VLAN Interfaces - -### VLAN Interfaces Summary - -| Interface | Description | VRF | MTU | Shutdown | -| --------- | ----------- | --- | ---- | -------- | -| Vlan11 | VLAN11 | VRF1 | - | false | - -#### IPv4 - -| Interface | VRF | IP Address | IP Address Virtual | IP Router Virtual Address | VRRP | ACL In | ACL Out | -| --------- | --- | ---------- | ------------------ | ------------------------- | ---- | ------ | ------- | -| Vlan11 | VRF1 | 172.17.11.1/24 | - | - | - | - | - | - -### VLAN Interfaces Device Configuration - -```eos -! -interface Vlan11 - description VLAN11 - no shutdown - vrf VRF1 - ip address 172.17.11.1/24 -``` - -## VXLAN Interface - -### VXLAN Interface Summary - -| Setting | Value | -| ------- | ----- | -| Source Interface | Loopback1 | -| UDP port | 4789 | - -#### VLAN to VNI, Flood List and Multicast Group Mappings - -| VLAN | VNI | Flood List | Multicast Group | -| ---- | --- | ---------- | --------------- | -| 11 | 10011 | - | - | - -#### VRF to VNI and Multicast Group Mappings - -| VRF | VNI | Multicast Group | -| ---- | --- | --------------- | -| VRF1 | 1 | - | - -### VXLAN Interface Device Configuration - -```eos -! -interface Vxlan1 - description ptp-tests-leaf2_VTEP - vxlan source-interface Loopback1 - vxlan udp-port 4789 - vxlan vlan 11 vni 10011 - vxlan vrf VRF1 vni 1 -``` - -# Routing -## Service Routing Protocols Model - -Multi agent routing protocol model enabled - -```eos -! -service routing protocols model multi-agent -``` - -## Virtual Router MAC Address - -### Virtual Router MAC Address Summary - -#### Virtual Router MAC Address: 00:1c:73:00:00:99 - -### Virtual Router MAC Address Configuration - -```eos -! -ip virtual-router mac-address 00:1c:73:00:00:99 -``` - -## IP Routing - -### IP Routing Summary - -| VRF | Routing Enabled | -| --- | --------------- | -| default | true | -| MGMT | false | -| VRF1 | true | - -### IP Routing Device Configuration - -```eos -! -ip routing -no ip routing vrf MGMT -ip routing vrf VRF1 -``` -## IPv6 Routing - -### IPv6 Routing Summary - -| VRF | Routing Enabled | -| --- | --------------- | -| default | false | -| MGMT | false | -| VRF1 | false | - -## Static Routes - -### Static Routes Summary - -| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | -| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | -| MGMT | 0.0.0.0/0 | 192.168.0.1 | - | 1 | - | - | - | - -### Static Routes Device Configuration - -```eos -! -ip route vrf MGMT 0.0.0.0/0 192.168.0.1 -``` - -## Router BGP - -### Router BGP Summary - -| BGP AS | Router ID | -| ------ | --------- | -| 65102| 10.254.1.2 | - -| BGP Tuning | -| ---------- | -| maximum-paths 4 ecmp 4 | - -### Router BGP Peer Groups - -#### EVPN-OVERLAY-PEERS - -| Settings | Value | -| -------- | ----- | -| Address Family | evpn | -| Source | Loopback0 | -| BFD | True | -| Ebgp multihop | 3 | -| Send community | all | -| Maximum routes | 0 (no limit) | - -#### IPv4-UNDERLAY-PEERS - -| Settings | Value | -| -------- | ----- | -| Address Family | ipv4 | -| Send community | all | -| Maximum routes | 12000 | - -### BGP Neighbors - -| Neighbor | Remote AS | VRF | Shutdown | Send-community | Maximum-routes | Allowas-in | BFD | RIB Pre-Policy Retain | -| -------- | --------- | --- | -------- | -------------- | -------------- | ---------- | --- | --------------------- | -| 10.254.2.4 | 65200 | default | - | Inherited from peer group IPv4-UNDERLAY-PEERS | Inherited from peer group IPv4-UNDERLAY-PEERS | - | - | - | -| 10.254.2.6 | 65200 | default | - | Inherited from peer group IPv4-UNDERLAY-PEERS | Inherited from peer group IPv4-UNDERLAY-PEERS | - | - | - | -| 10.255.0.1 | 65200 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | - -### Router BGP EVPN Address Family - -#### EVPN Peer Groups - -| Peer Group | Activate | -| ---------- | -------- | -| EVPN-OVERLAY-PEERS | True | - -### Router BGP VLANs - -| VLAN | Route-Distinguisher | Both Route-Target | Import Route Target | Export Route-Target | Redistribute | -| ---- | ------------------- | ----------------- | ------------------- | ------------------- | ------------ | -| 11 | 10.254.1.2:10011 | 10011:10011 | - | - | learned | - -### Router BGP VRFs - -| VRF | Route-Distinguisher | Redistribute | -| --- | ------------------- | ------------ | -| VRF1 | 10.254.1.2:1 | connected | - -### Router BGP Device Configuration - -```eos -! -router bgp 65102 - router-id 10.254.1.2 - maximum-paths 4 ecmp 4 - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.254.2.4 peer group IPv4-UNDERLAY-PEERS - neighbor 10.254.2.4 remote-as 65200 - neighbor 10.254.2.4 description ptp-tests-spine1_Ethernet3 - neighbor 10.254.2.6 peer group IPv4-UNDERLAY-PEERS - neighbor 10.254.2.6 remote-as 65200 - neighbor 10.254.2.6 description ptp-tests-spine1_Ethernet4 - neighbor 10.255.0.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.255.0.1 remote-as 65200 - neighbor 10.255.0.1 description ptp-tests-spine1 - redistribute connected route-map RM-CONN-2-BGP - ! - vlan 11 - rd 10.254.1.2:10011 - route-target both 10011:10011 - redistribute learned - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate - ! - vrf VRF1 - rd 10.254.1.2:1 - route-target import evpn 1:1 - route-target export evpn 1:1 - router-id 10.254.1.2 - redistribute connected -``` - -# BFD - -## Router BFD - -### Router BFD Multihop Summary - -| Interval | Minimum RX | Multiplier | -| -------- | ---------- | ---------- | -| 300 | 300 | 3 | - -### Router BFD Device Configuration - -```eos -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -``` - -# Multicast - -## IP IGMP Snooping - -### IP IGMP Snooping Summary - -| IGMP Snooping | Fast Leave | Interface Restart Query | Proxy | Restart Query Interval | Robustness Variable | -| ------------- | ---------- | ----------------------- | ----- | ---------------------- | ------------------- | -| Enabled | - | - | - | - | - | - -### IP IGMP Snooping Device Configuration - -```eos -``` - -# Filters - -## Prefix-lists - -### Prefix-lists Summary - -#### PL-LOOPBACKS-EVPN-OVERLAY - -| Sequence | Action | -| -------- | ------ | -| 10 | permit 10.254.1.0/27 eq 32 | -| 20 | permit 10.254.11.0/27 eq 32 | - -### Prefix-lists Device Configuration - -```eos -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.254.1.0/27 eq 32 - seq 20 permit 10.254.11.0/27 eq 32 -``` - -## Route-maps - -### Route-maps Summary - -#### RM-CONN-2-BGP - -| Sequence | Type | Match and/or Set | -| -------- | ---- | ---------------- | -| 10 | permit | match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | - -### Route-maps Device Configuration - -```eos -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -``` - -# ACL - -# VRF Instances - -## VRF Instances Summary - -| VRF Name | IP Routing | -| -------- | ---------- | -| MGMT | disabled | -| VRF1 | enabled | - -## VRF Instances Device Configuration - -```eos -! -vrf instance MGMT -! -vrf instance VRF1 -``` - -# Quality Of Service diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-spine1.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-spine1.md deleted file mode 100644 index fd3cb9188bc..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-spine1.md +++ /dev/null @@ -1,487 +0,0 @@ -# ptp-tests-spine1 -# Table of Contents - -- [Management](#management) - - [Management Interfaces](#management-interfaces) - - [PTP](#ptp) - - [Management API HTTP](#management-api-http) -- [Authentication](#authentication) -- [Monitoring](#monitoring) -- [Spanning Tree](#spanning-tree) - - [Spanning Tree Summary](#spanning-tree-summary) - - [Spanning Tree Device Configuration](#spanning-tree-device-configuration) -- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) - - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) - - [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) -- [Interfaces](#interfaces) - - [Ethernet Interfaces](#ethernet-interfaces) - - [Loopback Interfaces](#loopback-interfaces) -- [Routing](#routing) - - [Service Routing Protocols Model](#service-routing-protocols-model) - - [IP Routing](#ip-routing) - - [IPv6 Routing](#ipv6-routing) - - [Static Routes](#static-routes) - - [Router BGP](#router-bgp) -- [BFD](#bfd) - - [Router BFD](#router-bfd) -- [Multicast](#multicast) -- [Filters](#filters) - - [Prefix-lists](#prefix-lists) - - [Route-maps](#route-maps) -- [ACL](#acl) -- [VRF Instances](#vrf-instances) - - [VRF Instances Summary](#vrf-instances-summary) - - [VRF Instances Device Configuration](#vrf-instances-device-configuration) -- [Quality Of Service](#quality-of-service) - -# Management - -## Management Interfaces - -### Management Interfaces Summary - -#### IPv4 - -| Management Interface | description | Type | VRF | IP Address | Gateway | -| -------------------- | ----------- | ---- | --- | ---------- | ------- | -| Management1 | oob_management | oob | MGMT | 192.168.0.11/24 | 192.168.0.1 | - -#### IPv6 - -| Management Interface | description | Type | VRF | IPv6 Address | IPv6 Gateway | -| -------------------- | ----------- | ---- | --- | ------------ | ------------ | -| Management1 | oob_management | oob | MGMT | - | - | - -### Management Interfaces Device Configuration - -```eos -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 192.168.0.11/24 -``` - -## PTP - -### PTP Summary - -| PTP setting | Value | -| ----------- | ----- | -| Clock-identity | 00:00:00:00:00:00 | -| Priority1 | 20 | -| Priority2 | 1 | -| Domain | 127 | - -### PTP Device Configuration - -```eos -! -ptp clock-identity 00:00:00:00:00:00 -ptp priority1 20 -ptp priority2 1 -ptp domain 127 -ptp mode boundary -``` - -## Management API HTTP - -### Management API HTTP Summary - -| HTTP | HTTPS | Default Services | -| ---- | ----- | ---------------- | -| False | True | - | - -### Management API VRF Access - -| VRF Name | IPv4 ACL | IPv6 ACL | -| -------- | -------- | -------- | -| MGMT | - | - | - -### Management API HTTP Configuration - -```eos -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -``` - -# Authentication - -# Monitoring - -# Spanning Tree - -## Spanning Tree Summary - -STP mode: **none** - -## Spanning Tree Device Configuration - -```eos -! -spanning-tree mode none -``` - -# Internal VLAN Allocation Policy - -## Internal VLAN Allocation Policy Summary - -| Policy Allocation | Range Beginning | Range Ending | -| ------------------| --------------- | ------------ | -| ascending | 1006 | 1199 | - -## Internal VLAN Allocation Policy Configuration - -```eos -! -vlan internal order ascending range 1006 1199 -``` - -# Interfaces - -## Ethernet Interfaces - -### Ethernet Interfaces Summary - -#### L2 - -| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | -| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | - -*Inherited from Port-Channel Interface - -#### IPv4 - -| Interface | Description | Type | Channel Group | IP Address | VRF | MTU | Shutdown | ACL In | ACL Out | -| --------- | ----------- | -----| ------------- | ---------- | ----| ---- | -------- | ------ | ------- | -| Ethernet1 | P2P_LINK_TO_PTP-TESTS-LEAF1_Ethernet1 | routed | - | 10.254.2.0/31 | default | 9000 | false | - | - | -| Ethernet2 | P2P_LINK_TO_PTP-TESTS-LEAF1_Ethernet2 | routed | - | 10.254.2.2/31 | default | 9000 | false | - | - | -| Ethernet3 | P2P_LINK_TO_PTP-TESTS-LEAF2_Ethernet1 | routed | - | 10.254.2.4/31 | default | 9000 | false | - | - | -| Ethernet4 | P2P_LINK_TO_PTP-TESTS-LEAF2_Ethernet2 | routed | - | 10.254.2.6/31 | default | 9000 | false | - | - | - -### Ethernet Interfaces Device Configuration - -```eos -! -interface Ethernet1 - description P2P_LINK_TO_PTP-TESTS-LEAF1_Ethernet1 - no shutdown - mtu 9000 - no switchport - ip address 10.254.2.0/31 - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 -! -interface Ethernet2 - description P2P_LINK_TO_PTP-TESTS-LEAF1_Ethernet2 - no shutdown - mtu 9000 - no switchport - ip address 10.254.2.2/31 - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 -! -interface Ethernet3 - description P2P_LINK_TO_PTP-TESTS-LEAF2_Ethernet1 - no shutdown - mtu 9000 - no switchport - ip address 10.254.2.4/31 - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 -! -interface Ethernet4 - description P2P_LINK_TO_PTP-TESTS-LEAF2_Ethernet2 - no shutdown - mtu 9000 - no switchport - ip address 10.254.2.6/31 - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 -! -interface Ethernet6 - description P2P_LINK_TO_ptp-tests-spine2_Ethernet6 - no shutdown - mtu 9000 - no switchport - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 -``` - -## Loopback Interfaces - -### Loopback Interfaces Summary - -#### IPv4 - -| Interface | Description | VRF | IP Address | -| --------- | ----------- | --- | ---------- | -| Loopback0 | EVPN_Overlay_Peering | default | 10.255.0.1/32 | - -#### IPv6 - -| Interface | Description | VRF | IPv6 Address | -| --------- | ----------- | --- | ------------ | -| Loopback0 | EVPN_Overlay_Peering | default | - | - - -### Loopback Interfaces Device Configuration - -```eos -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.1/32 -``` - -# Routing -## Service Routing Protocols Model - -Multi agent routing protocol model enabled - -```eos -! -service routing protocols model multi-agent -``` - -## IP Routing - -### IP Routing Summary - -| VRF | Routing Enabled | -| --- | --------------- | -| default | true | -| MGMT | false | - -### IP Routing Device Configuration - -```eos -! -ip routing -no ip routing vrf MGMT -``` -## IPv6 Routing - -### IPv6 Routing Summary - -| VRF | Routing Enabled | -| --- | --------------- | -| default | false | -| MGMT | false | - -## Static Routes - -### Static Routes Summary - -| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | -| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | -| MGMT | 0.0.0.0/0 | 192.168.0.1 | - | 1 | - | - | - | - -### Static Routes Device Configuration - -```eos -! -ip route vrf MGMT 0.0.0.0/0 192.168.0.1 -``` - -## Router BGP - -### Router BGP Summary - -| BGP AS | Router ID | -| ------ | --------- | -| 65200| 10.255.0.1 | - -| BGP Tuning | -| ---------- | -| maximum-paths 4 ecmp 4 | - -### Router BGP Peer Groups - -#### EVPN-OVERLAY-PEERS - -| Settings | Value | -| -------- | ----- | -| Address Family | evpn | -| Next-hop unchanged | True | -| Source | Loopback0 | -| BFD | True | -| Ebgp multihop | 3 | -| Send community | all | -| Maximum routes | 0 (no limit) | - -#### IPv4-UNDERLAY-PEERS - -| Settings | Value | -| -------- | ----- | -| Address Family | ipv4 | -| Send community | all | -| Maximum routes | 12000 | - -### BGP Neighbors - -| Neighbor | Remote AS | VRF | Shutdown | Send-community | Maximum-routes | Allowas-in | BFD | RIB Pre-Policy Retain | -| -------- | --------- | --- | -------- | -------------- | -------------- | ---------- | --- | --------------------- | -| 10.254.1.1 | 65101 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | -| 10.254.1.2 | 65102 | default | - | Inherited from peer group EVPN-OVERLAY-PEERS | Inherited from peer group EVPN-OVERLAY-PEERS | - | Inherited from peer group EVPN-OVERLAY-PEERS | - | -| 10.254.2.1 | 65101 | default | - | Inherited from peer group IPv4-UNDERLAY-PEERS | Inherited from peer group IPv4-UNDERLAY-PEERS | - | - | - | -| 10.254.2.3 | 65101 | default | - | Inherited from peer group IPv4-UNDERLAY-PEERS | Inherited from peer group IPv4-UNDERLAY-PEERS | - | - | - | -| 10.254.2.5 | 65102 | default | - | Inherited from peer group IPv4-UNDERLAY-PEERS | Inherited from peer group IPv4-UNDERLAY-PEERS | - | - | - | -| 10.254.2.7 | 65102 | default | - | Inherited from peer group IPv4-UNDERLAY-PEERS | Inherited from peer group IPv4-UNDERLAY-PEERS | - | - | - | - -### Router BGP EVPN Address Family - -#### EVPN Peer Groups - -| Peer Group | Activate | -| ---------- | -------- | -| EVPN-OVERLAY-PEERS | True | - -### Router BGP Device Configuration - -```eos -! -router bgp 65200 - router-id 10.255.0.1 - maximum-paths 4 ecmp 4 - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - neighbor 10.254.1.1 peer group EVPN-OVERLAY-PEERS - neighbor 10.254.1.1 remote-as 65101 - neighbor 10.254.1.1 description ptp-tests-leaf1 - neighbor 10.254.1.2 peer group EVPN-OVERLAY-PEERS - neighbor 10.254.1.2 remote-as 65102 - neighbor 10.254.1.2 description ptp-tests-leaf2 - neighbor 10.254.2.1 peer group IPv4-UNDERLAY-PEERS - neighbor 10.254.2.1 remote-as 65101 - neighbor 10.254.2.1 description ptp-tests-leaf1_Ethernet1 - neighbor 10.254.2.3 peer group IPv4-UNDERLAY-PEERS - neighbor 10.254.2.3 remote-as 65101 - neighbor 10.254.2.3 description ptp-tests-leaf1_Ethernet2 - neighbor 10.254.2.5 peer group IPv4-UNDERLAY-PEERS - neighbor 10.254.2.5 remote-as 65102 - neighbor 10.254.2.5 description ptp-tests-leaf2_Ethernet1 - neighbor 10.254.2.7 peer group IPv4-UNDERLAY-PEERS - neighbor 10.254.2.7 remote-as 65102 - neighbor 10.254.2.7 description ptp-tests-leaf2_Ethernet2 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -``` - -# BFD - -## Router BFD - -### Router BFD Multihop Summary - -| Interval | Minimum RX | Multiplier | -| -------- | ---------- | ---------- | -| 300 | 300 | 3 | - -### Router BFD Device Configuration - -```eos -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -``` - -# Multicast - -# Filters - -## Prefix-lists - -### Prefix-lists Summary - -#### PL-LOOPBACKS-EVPN-OVERLAY - -| Sequence | Action | -| -------- | ------ | -| 10 | permit 10.255.0.0/27 eq 32 | - -### Prefix-lists Device Configuration - -```eos -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -``` - -## Route-maps - -### Route-maps Summary - -#### RM-CONN-2-BGP - -| Sequence | Type | Match and/or Set | -| -------- | ---- | ---------------- | -| 10 | permit | match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | - -### Route-maps Device Configuration - -```eos -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -``` - -# ACL - -# VRF Instances - -## VRF Instances Summary - -| VRF Name | IP Routing | -| -------- | ---------- | -| MGMT | disabled | - -## VRF Instances Device Configuration - -```eos -! -vrf instance MGMT -``` - -# Quality Of Service diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-spine2.md b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-spine2.md deleted file mode 100644 index 78d265e8b6c..00000000000 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/documentation/devices/ptp-tests-spine2.md +++ /dev/null @@ -1,401 +0,0 @@ -# ptp-tests-spine2 -# Table of Contents - -- [Management](#management) - - [Management Interfaces](#management-interfaces) - - [PTP](#ptp) - - [Management API HTTP](#management-api-http) -- [Authentication](#authentication) -- [Monitoring](#monitoring) -- [Spanning Tree](#spanning-tree) - - [Spanning Tree Summary](#spanning-tree-summary) - - [Spanning Tree Device Configuration](#spanning-tree-device-configuration) -- [Internal VLAN Allocation Policy](#internal-vlan-allocation-policy) - - [Internal VLAN Allocation Policy Summary](#internal-vlan-allocation-policy-summary) - - [Internal VLAN Allocation Policy Configuration](#internal-vlan-allocation-policy-configuration) -- [Interfaces](#interfaces) - - [Ethernet Interfaces](#ethernet-interfaces) - - [Loopback Interfaces](#loopback-interfaces) -- [Routing](#routing) - - [Service Routing Protocols Model](#service-routing-protocols-model) - - [IP Routing](#ip-routing) - - [IPv6 Routing](#ipv6-routing) - - [Static Routes](#static-routes) - - [Router BGP](#router-bgp) -- [BFD](#bfd) - - [Router BFD](#router-bfd) -- [Multicast](#multicast) -- [Filters](#filters) - - [Prefix-lists](#prefix-lists) - - [Route-maps](#route-maps) -- [ACL](#acl) -- [VRF Instances](#vrf-instances) - - [VRF Instances Summary](#vrf-instances-summary) - - [VRF Instances Device Configuration](#vrf-instances-device-configuration) -- [Quality Of Service](#quality-of-service) - -# Management - -## Management Interfaces - -### Management Interfaces Summary - -#### IPv4 - -| Management Interface | description | Type | VRF | IP Address | Gateway | -| -------------------- | ----------- | ---- | --- | ---------- | ------- | -| Management1 | oob_management | oob | MGMT | 192.168.0.21/24 | 192.168.0.1 | - -#### IPv6 - -| Management Interface | description | Type | VRF | IPv6 Address | IPv6 Gateway | -| -------------------- | ----------- | ---- | --- | ------------ | ------------ | -| Management1 | oob_management | oob | MGMT | - | - | - -### Management Interfaces Device Configuration - -```eos -! -interface Management1 - description oob_management - no shutdown - vrf MGMT - ip address 192.168.0.21/24 -``` - -## PTP - -### PTP Summary - -| PTP setting | Value | -| ----------- | ----- | -| Clock-identity | 01:02:03:14:00:0a | -| Priority1 | 20 | -| Priority2 | 10 | -| TTL | 128 | -| Domain | 127 | - -### PTP Device Configuration - -```eos -! -ptp clock-identity 01:02:03:14:00:0a -ptp source ip 10.255.0.1 -ptp priority1 20 -ptp priority2 10 -ptp ttl 128 -ptp domain 127 -ptp mode boundary -ptp forward-unicast -``` - -## Management API HTTP - -### Management API HTTP Summary - -| HTTP | HTTPS | Default Services | -| ---- | ----- | ---------------- | -| False | True | - | - -### Management API VRF Access - -| VRF Name | IPv4 ACL | IPv6 ACL | -| -------- | -------- | -------- | -| MGMT | - | - | - -### Management API HTTP Configuration - -```eos -! -management api http-commands - protocol https - no shutdown - ! - vrf MGMT - no shutdown -``` - -# Authentication - -# Monitoring - -# Spanning Tree - -## Spanning Tree Summary - -STP mode: **none** - -## Spanning Tree Device Configuration - -```eos -! -spanning-tree mode none -``` - -# Internal VLAN Allocation Policy - -## Internal VLAN Allocation Policy Summary - -| Policy Allocation | Range Beginning | Range Ending | -| ------------------| --------------- | ------------ | -| ascending | 1006 | 1199 | - -## Internal VLAN Allocation Policy Configuration - -```eos -! -vlan internal order ascending range 1006 1199 -``` - -# Interfaces - -## Ethernet Interfaces - -### Ethernet Interfaces Summary - -#### L2 - -| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group | -| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- | - -*Inherited from Port-Channel Interface - -### Ethernet Interfaces Device Configuration - -```eos -! -interface Ethernet6 - description P2P_LINK_TO_ptp-tests-spine1_Ethernet6 - no shutdown - mtu 9000 - no switchport - ptp enable - ptp sync-message interval -3 - ptp announce interval 0 - ptp transport ipv4 - ptp announce timeout 3 - ptp delay-req interval -3 -``` - -## Loopback Interfaces - -### Loopback Interfaces Summary - -#### IPv4 - -| Interface | Description | VRF | IP Address | -| --------- | ----------- | --- | ---------- | -| Loopback0 | EVPN_Overlay_Peering | default | 10.255.0.2/32 | - -#### IPv6 - -| Interface | Description | VRF | IPv6 Address | -| --------- | ----------- | --- | ------------ | -| Loopback0 | EVPN_Overlay_Peering | default | - | - - -### Loopback Interfaces Device Configuration - -```eos -! -interface Loopback0 - description EVPN_Overlay_Peering - no shutdown - ip address 10.255.0.2/32 -``` - -# Routing -## Service Routing Protocols Model - -Multi agent routing protocol model enabled - -```eos -! -service routing protocols model multi-agent -``` - -## IP Routing - -### IP Routing Summary - -| VRF | Routing Enabled | -| --- | --------------- | -| default | true | -| MGMT | false | - -### IP Routing Device Configuration - -```eos -! -ip routing -no ip routing vrf MGMT -``` -## IPv6 Routing - -### IPv6 Routing Summary - -| VRF | Routing Enabled | -| --- | --------------- | -| default | false | -| MGMT | false | - -## Static Routes - -### Static Routes Summary - -| VRF | Destination Prefix | Next Hop IP | Exit interface | Administrative Distance | Tag | Route Name | Metric | -| --- | ------------------ | ----------------------- | ------------------- | ----------------------------- | ----------------- | ----------------------------- | -------------- | -| MGMT | 0.0.0.0/0 | 192.168.0.1 | - | 1 | - | - | - | - -### Static Routes Device Configuration - -```eos -! -ip route vrf MGMT 0.0.0.0/0 192.168.0.1 -``` - -## Router BGP - -### Router BGP Summary - -| BGP AS | Router ID | -| ------ | --------- | -| 65200| 10.255.0.2 | - -| BGP Tuning | -| ---------- | -| maximum-paths 4 ecmp 4 | - -### Router BGP Peer Groups - -#### EVPN-OVERLAY-PEERS - -| Settings | Value | -| -------- | ----- | -| Address Family | evpn | -| Next-hop unchanged | True | -| Source | Loopback0 | -| BFD | True | -| Ebgp multihop | 3 | -| Send community | all | -| Maximum routes | 0 (no limit) | - -#### IPv4-UNDERLAY-PEERS - -| Settings | Value | -| -------- | ----- | -| Address Family | ipv4 | -| Send community | all | -| Maximum routes | 12000 | - -### Router BGP EVPN Address Family - -#### EVPN Peer Groups - -| Peer Group | Activate | -| ---------- | -------- | -| EVPN-OVERLAY-PEERS | True | - -### Router BGP Device Configuration - -```eos -! -router bgp 65200 - router-id 10.255.0.2 - maximum-paths 4 ecmp 4 - neighbor EVPN-OVERLAY-PEERS peer group - neighbor EVPN-OVERLAY-PEERS next-hop-unchanged - neighbor EVPN-OVERLAY-PEERS update-source Loopback0 - neighbor EVPN-OVERLAY-PEERS bfd - neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 - neighbor EVPN-OVERLAY-PEERS send-community - neighbor EVPN-OVERLAY-PEERS maximum-routes 0 - neighbor IPv4-UNDERLAY-PEERS peer group - neighbor IPv4-UNDERLAY-PEERS send-community - neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 - redistribute connected route-map RM-CONN-2-BGP - ! - address-family evpn - neighbor EVPN-OVERLAY-PEERS activate - ! - address-family ipv4 - no neighbor EVPN-OVERLAY-PEERS activate - neighbor IPv4-UNDERLAY-PEERS activate -``` - -# BFD - -## Router BFD - -### Router BFD Multihop Summary - -| Interval | Minimum RX | Multiplier | -| -------- | ---------- | ---------- | -| 300 | 300 | 3 | - -### Router BFD Device Configuration - -```eos -! -router bfd - multihop interval 300 min-rx 300 multiplier 3 -``` - -# Multicast - -# Filters - -## Prefix-lists - -### Prefix-lists Summary - -#### PL-LOOPBACKS-EVPN-OVERLAY - -| Sequence | Action | -| -------- | ------ | -| 10 | permit 10.255.0.0/27 eq 32 | - -### Prefix-lists Device Configuration - -```eos -! -ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY - seq 10 permit 10.255.0.0/27 eq 32 -``` - -## Route-maps - -### Route-maps Summary - -#### RM-CONN-2-BGP - -| Sequence | Type | Match and/or Set | -| -------- | ---- | ---------------- | -| 10 | permit | match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY | - -### Route-maps Device Configuration - -```eos -! -route-map RM-CONN-2-BGP permit 10 - match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY -``` - -# ACL - -# VRF Instances - -## VRF Instances Summary - -| VRF Name | IP Routing | -| -------- | ---------- | -| MGMT | disabled | - -## VRF Instances Device Configuration - -```eos -! -vrf instance MGMT -``` - -# Quality Of Service diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L2LEAF1A.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L2LEAF1A.cfg index 0fd055365b7..f2941ebdce3 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L2LEAF1A.cfg +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L2LEAF1A.cfg @@ -44,24 +44,66 @@ vlan 110 vlan 111 name MULTICAST_ENABLED_111 ! +vlan 130 + name L3_MULTICAST_ENABLED_130 +! +vlan 131 + name L3_MULTICAST_ENABLED_131 +! +vlan 140 + name L3_MULTICAST_ENABLED_140 +! +vlan 141 + name L3_MULTICAST_DISABLED_141 +! +vlan 150 + name L3_MULTICAST_ENABLED_150 +! vlan 210 name MULTICAST_ENABLED_210 ! vlan 211 name MULTICAST_DISABLED_211 ! +vlan 230 + name L3_MULTICAST_ENABLED_230 +! +vlan 231 + name L3_MULTICAST_DISABLED_231 +! +vlan 240 + name L3_MULTICAST_DISABLED_240 +! +vlan 241 + name L3_MULTICAST_DISABLED_241 +! +vlan 250 + name L3_MULTICAST_ENABLED_250 +! vlan 256 name MULTICAST_DISABLED_256 ! vlan 257 name MULTICAST_ENABLED_257 ! +vlan 260 + name L3_MULTICAST_ENABLED_260 +! vlan 310 name MULTICAST_DISABLED_310 ! vlan 311 name MULTICAST_DISABLED_311 ! +vlan 330 + name L3_MULTICAST_DISABLED_330 +! +vlan 331 + name L3_MULTICAST_DISABLED_331 +! +vlan 550 + name L3_MULTICAST_ENABLED_550 +! vlan 4092 name MULTICAST_ENABLED_4092 ! @@ -71,7 +113,7 @@ interface Port-Channel1 description EVPN_MULTICAST_L3LEAF1_Po6 no shutdown switchport - switchport trunk allowed vlan 1-9,110-111,210-211,256-257,310-311,4092 + switchport trunk allowed vlan 1-9,110-111,130-131,140-141,150,210-211,230-231,240-241,250,256-257,260,310-311,330-331,550,4092 switchport mode trunk ! interface Ethernet1 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF1A.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF1A.cfg index 0bf03e37df0..5d99b8b80c4 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF1A.cfg +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF1A.cfg @@ -72,24 +72,66 @@ vlan 110 vlan 111 name MULTICAST_ENABLED_111 ! +vlan 130 + name L3_MULTICAST_ENABLED_130 +! +vlan 131 + name L3_MULTICAST_ENABLED_131 +! +vlan 140 + name L3_MULTICAST_ENABLED_140 +! +vlan 141 + name L3_MULTICAST_DISABLED_141 +! +vlan 150 + name L3_MULTICAST_ENABLED_150 +! vlan 210 name MULTICAST_ENABLED_210 ! vlan 211 name MULTICAST_DISABLED_211 ! +vlan 230 + name L3_MULTICAST_ENABLED_230 +! +vlan 231 + name L3_MULTICAST_DISABLED_231 +! +vlan 240 + name L3_MULTICAST_DISABLED_240 +! +vlan 241 + name L3_MULTICAST_DISABLED_241 +! +vlan 250 + name L3_MULTICAST_ENABLED_250 +! vlan 256 name MULTICAST_DISABLED_256 ! vlan 257 name MULTICAST_ENABLED_257 ! +vlan 260 + name L3_MULTICAST_ENABLED_260 +! vlan 310 name MULTICAST_DISABLED_310 ! vlan 311 name MULTICAST_DISABLED_311 ! +vlan 330 + name L3_MULTICAST_DISABLED_330 +! +vlan 331 + name L3_MULTICAST_DISABLED_331 +! +vlan 550 + name L3_MULTICAST_ENABLED_550 +! vlan 3010 name MLAG_iBGP_MULTICAST_ENABLED_110_111 trunk group LEAF_PEER_L3 @@ -110,6 +152,42 @@ vlan 3021 name MLAG_iBGP_MULTICAST_ENABLED_3_DISABLED_4 trunk group LEAF_PEER_L3 ! +vlan 3030 + name MLAG_iBGP_TEN_C_L3_MULTICAST_ENABLED_130_131 + trunk group LEAF_PEER_L3 +! +vlan 3031 + name MLAG_iBGP_TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + trunk group LEAF_PEER_L3 +! +vlan 3032 + name MLAG_iBGP_TEN_C_L3_MULTICAST_DISABLED_330_331 + trunk group LEAF_PEER_L3 +! +vlan 3040 + name MLAG_iBGP_TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + trunk group LEAF_PEER_L3 +! +vlan 3041 + name MLAG_iBGP_TEN_D_L3_MULTICAST_DISABLED_240_241 + trunk group LEAF_PEER_L3 +! +vlan 3050 + name MLAG_iBGP_TEN_E_PEG_L3_MULTICAST_ENABLED + trunk group LEAF_PEER_L3 +! +vlan 3051 + name MLAG_iBGP_TEN_E_L3_MULTICAST_TRANSIT + trunk group LEAF_PEER_L3 +! +vlan 3054 + name MLAG_iBGP_TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + trunk group LEAF_PEER_L3 +! +vlan 3059 + name MLAG_iBGP_TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + trunk group LEAF_PEER_L3 +! vlan 4092 name MULTICAST_ENABLED_4092 ! @@ -141,6 +219,33 @@ vrf instance MULTICAST_ENABLED_110_111 vrf instance MULTICAST_ENABLED_210_DISABLED_211 description MULTICAST_ENABLED_210_DISABLED_211 ! +vrf instance TEN_C_L3_MULTICAST_DISABLED_330_331 + description L3_MULTICAST_DISABLED_330_331 +! +vrf instance TEN_C_L3_MULTICAST_ENABLED_130_131 + description L3_MULTICAST_ENABLED_130_131 +! +vrf instance TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + description L3_MULTICAST_ENABLED_230_DISABLED_231 +! +vrf instance TEN_D_L3_MULTICAST_DISABLED_240_241 + description L3_MULTICAST_DISABLED_240_241 +! +vrf instance TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + description L3_MULTICAST_ENABLED_140_DISABLED_141 +! +vrf instance TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + description L3_MULTICAST_ENABLED_PEG_OVERRIDE +! +vrf instance TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + description L3_MULTICAST_TRANSIT +! +vrf instance TEN_E_L3_MULTICAST_TRANSIT + description L3_MULTICAST_TRANSIT +! +vrf instance TEN_E_PEG_L3_MULTICAST_ENABLED + description PEG_L3_MULTICAST_ENABLED in Tenant E +! interface Port-Channel3 description MLAG_PEER_EVPN-MULTICAST-L3LEAF1B_Po3 no shutdown @@ -154,7 +259,7 @@ interface Port-Channel6 description EVPN-MULTICAST-L2LEAF1A_Po1 no shutdown switchport - switchport trunk allowed vlan 1-9,110-111,210-211,256-257,310-311,4092 + switchport trunk allowed vlan 1-9,110-111,130-131,140-141,150,210-211,230-231,240-241,250,256-257,260,310-311,330-331,550,4092 switchport mode trunk mlag 6 ! @@ -181,6 +286,34 @@ interface Ethernet6 no shutdown channel-group 6 mode active ! +interface Ethernet7 + no shutdown + no switchport + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.1.51.0/31 + pim ipv4 sparse-mode +! +interface Ethernet8 + no shutdown + no switchport + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip address 10.1.55.0/31 + pim ipv4 sparse-mode +! +interface Ethernet9 + no shutdown + no switchport + vrf TEN_E_L3_MULTICAST_TRANSIT + ip address 10.1.52.0/31 + pim ipv4 sparse-mode +! +interface Ethernet10 + no shutdown + no switchport + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip address 10.1.60.0/31 + pim ipv4 sparse-mode +! interface Loopback0 description EVPN_Overlay_Peering no shutdown @@ -191,6 +324,60 @@ interface Loopback1 no shutdown ip address 192.168.254.3/32 ! +interface Loopback31 + description TEN_C_L3_MULTICAST_ENABLED_130_131_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.255.1.3/32 +! +interface Loopback32 + description TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address 10.255.2.3/32 +! +interface Loopback33 + description TEN_C_L3_MULTICAST_DISABLED_330_331_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address 10.255.3.3/32 +! +interface Loopback41 + description TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address 10.255.41.3/32 +! +interface Loopback42 + description TEN_D_L3_MULTICAST_DISABLED_240_241_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address 10.255.42.3/32 +! +interface Loopback51 + description TEN_E_PEG_L3_MULTICAST_ENABLED_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.255.51.3/32 +! +interface Loopback52 + description TEN_E_L3_MULTICAST_TRANSIT_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_TRANSIT + ip address 10.255.52.3/32 +! +interface Loopback55 + description TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip address 10.255.55.3/32 +! +interface Loopback60 + description TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip address 10.255.60.3/32 +! interface Management1 description oob_management no shutdown @@ -245,6 +432,44 @@ interface Vlan111 vrf MULTICAST_ENABLED_110_111 ip address virtual 10.1.11.1/24 ! +interface Vlan130 + description L3_MULTICAST_ENABLED_130 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback31 + ip address virtual 10.1.13.1/24 +! +interface Vlan131 + description L3_MULTICAST_ENABLED_131 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.1.14.2/24 + pim ipv4 sparse-mode + ip virtual-router address 10.1.14.1 +! +interface Vlan140 + description L3_MULTICAST_ENABLED_140 + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback41 + ip address virtual 10.1.14.1/24 +! +interface Vlan141 + description L3_MULTICAST_DISABLED_141 + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address virtual 10.1.15.1/24 +! +interface Vlan150 + description L3_MULTICAST_ENABLED_150 + no shutdown + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback51 + ip address virtual 10.1.15.1/24 +! interface Vlan210 description MULTICAST_ENABLED_210 no shutdown @@ -257,6 +482,48 @@ interface Vlan211 vrf MULTICAST_ENABLED_210_DISABLED_211 ip address virtual 10.2.11.1/24 ! +interface Vlan230 + description L3_MULTICAST_ENABLED_230 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback32 + ip address virtual 10.2.23.1/24 +! +interface Vlan231 + description L3_MULTICAST_DISABLED_231 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address virtual 10.2.24.1/24 +! +interface Vlan240 + description L3_MULTICAST_DISABLED_240 + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address virtual 10.1.24.1/24 +! +interface Vlan241 + description L3_MULTICAST_DISABLED_241 + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address virtual 10.1.25.1/24 +! +interface Vlan250 + description L3_MULTICAST_ENABLED_250 + no shutdown + vrf TEN_E_L3_MULTICAST_TRANSIT + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback52 + ip address virtual 10.1.15.1/24 +! +interface Vlan260 + description L3_MULTICAST_ENABLED_260 + no shutdown + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback60 + ip address virtual 10.1.26.1/24 +! interface Vlan310 description MULTICAST_DISABLED_310 no shutdown @@ -269,6 +536,26 @@ interface Vlan311 vrf MULTICAST_DISABLED_310_311 ip address virtual 10.3.11.1/24 ! +interface Vlan330 + description L3_MULTICAST_DISABLED_330 + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address virtual 10.3.33.1/24 +! +interface Vlan331 + description L3_MULTICAST_DISABLED_331 + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address virtual 10.3.34.1/24 +! +interface Vlan550 + description L3_MULTICAST_ENABLED_550 + no shutdown + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback55 + ip address virtual 10.1.56.1/24 +! interface Vlan3010 description MLAG_PEER_L3_iBGP: vrf MULTICAST_ENABLED_110_111 no shutdown @@ -304,6 +591,69 @@ interface Vlan3021 vrf MULTICAST_ENABLED_3_DISABLED_4 ip address 10.255.251.0/31 ! +interface Vlan3030 + description MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + no shutdown + mtu 9000 + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.255.251.0/31 +! +interface Vlan3031 + description MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + no shutdown + mtu 9000 + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address 10.255.251.0/31 +! +interface Vlan3032 + description MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + no shutdown + mtu 9000 + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address 10.255.251.0/31 +! +interface Vlan3040 + description MLAG_PEER_L3_iBGP: vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + no shutdown + mtu 9000 + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address 10.255.251.0/31 +! +interface Vlan3041 + description MLAG_PEER_L3_iBGP: vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + no shutdown + mtu 9000 + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address 10.255.251.0/31 +! +interface Vlan3050 + description MLAG_PEER_L3_iBGP: vrf TEN_E_PEG_L3_MULTICAST_ENABLED + no shutdown + mtu 9000 + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.255.251.0/31 +! +interface Vlan3051 + description MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_TRANSIT + no shutdown + mtu 9000 + vrf TEN_E_L3_MULTICAST_TRANSIT + ip address 10.255.251.0/31 +! +interface Vlan3054 + description MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + no shutdown + mtu 9000 + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip address 10.255.251.0/31 +! +interface Vlan3059 + description MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + no shutdown + mtu 9000 + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip address 10.255.251.0/31 +! interface Vlan4093 description MLAG_PEER_L3_PEERING no shutdown @@ -334,12 +684,26 @@ interface Vxlan1 vxlan vlan 9 vni 10009 vxlan vlan 110 vni 10110 vxlan vlan 111 vni 10111 + vxlan vlan 130 vni 10130 + vxlan vlan 131 vni 10131 + vxlan vlan 140 vni 10140 + vxlan vlan 141 vni 10141 + vxlan vlan 150 vni 10150 vxlan vlan 210 vni 10210 vxlan vlan 211 vni 10211 + vxlan vlan 230 vni 10230 + vxlan vlan 231 vni 10231 + vxlan vlan 240 vni 10240 + vxlan vlan 241 vni 10241 + vxlan vlan 250 vni 10250 vxlan vlan 256 vni 10256 vxlan vlan 257 vni 10257 + vxlan vlan 260 vni 10260 vxlan vlan 310 vni 10310 vxlan vlan 311 vni 10311 + vxlan vlan 330 vni 10330 + vxlan vlan 331 vni 10331 + vxlan vlan 550 vni 10550 vxlan vlan 4092 vni 14092 vxlan vrf MULTICAST_DISABLED_5_6 vni 22 vxlan vrf MULTICAST_DISABLED_310_311 vni 13 @@ -347,6 +711,15 @@ interface Vxlan1 vxlan vrf MULTICAST_ENABLED_3_DISABLED_4 vni 22 vxlan vrf MULTICAST_ENABLED_110_111 vni 11 vxlan vrf MULTICAST_ENABLED_210_DISABLED_211 vni 12 + vxlan vrf TEN_C_L3_MULTICAST_DISABLED_330_331 vni 33 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_130_131 vni 31 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 vni 32 + vxlan vrf TEN_D_L3_MULTICAST_DISABLED_240_241 vni 42 + vxlan vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 vni 41 + vxlan vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE vni 55 + vxlan vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES vni 60 + vxlan vrf TEN_E_L3_MULTICAST_TRANSIT vni 52 + vxlan vrf TEN_E_PEG_L3_MULTICAST_ENABLED vni 51 vxlan mlag source-interface Loopback1 vxlan vlan 1 multicast group 232.0.16.1 vxlan vlan 2 multicast group 232.0.16.2 @@ -358,9 +731,26 @@ interface Vxlan1 vxlan vlan 210 multicast group 232.0.0.209 vxlan vlan 257 multicast group 232.0.1.0 vxlan vlan 4092 multicast group 232.0.15.251 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_130_131 multicast group 232.0.32.31 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 multicast group 232.0.32.32 + vxlan vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 multicast group 232.0.64.40 + vxlan vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE multicast group 232.0.96.54 + vxlan vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES multicast group 232.0.96.59 + vxlan vrf TEN_E_L3_MULTICAST_TRANSIT multicast group 232.0.96.51 + vxlan vrf TEN_E_PEG_L3_MULTICAST_ENABLED multicast group 232.0.96.50 ! ip virtual-router mac-address 00:dc:00:00:00:0a ! +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_DISABLED_330_331 address 10.255.3.3 +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_ENABLED_130_131 address 10.255.1.3 +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 address 10.255.2.3 +ip address virtual source-nat vrf TEN_D_L3_MULTICAST_DISABLED_240_241 address 10.255.42.3 +ip address virtual source-nat vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 address 10.255.41.3 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE address 10.255.55.3 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES address 10.255.60.3 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_TRANSIT address 10.255.52.3 +ip address virtual source-nat vrf TEN_E_PEG_L3_MULTICAST_ENABLED address 10.255.51.3 +! ip routing no ip routing vrf MGMT ip routing vrf MULTICAST_DISABLED_5_6 @@ -369,6 +759,15 @@ ip routing vrf MULTICAST_ENABLED_1_2 ip routing vrf MULTICAST_ENABLED_3_DISABLED_4 ip routing vrf MULTICAST_ENABLED_110_111 ip routing vrf MULTICAST_ENABLED_210_DISABLED_211 +ip routing vrf TEN_C_L3_MULTICAST_DISABLED_330_331 +ip routing vrf TEN_C_L3_MULTICAST_ENABLED_130_131 +ip routing vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 +ip routing vrf TEN_D_L3_MULTICAST_DISABLED_240_241 +ip routing vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 +ip routing vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE +ip routing vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES +ip routing vrf TEN_E_L3_MULTICAST_TRANSIT +ip routing vrf TEN_E_PEG_L3_MULTICAST_ENABLED ! ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY seq 10 permit 192.168.255.0/24 eq 32 @@ -496,6 +895,60 @@ router bgp 65101 redistribute learned vlan 4092 ! + vlan-aware-bundle TEN_C_L3_MULTICAST_DISABLED_330_331 + rd 192.168.255.3:33 + route-target both 33:33 + redistribute learned + vlan 330-331 + ! + vlan-aware-bundle TEN_C_L3_MULTICAST_ENABLED_130_131 + rd 192.168.255.3:31 + route-target both 31:31 + redistribute learned + vlan 130-131 + ! + vlan-aware-bundle TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + rd 192.168.255.3:32 + route-target both 32:32 + redistribute learned + vlan 230-231 + ! + vlan-aware-bundle TEN_D_L3_MULTICAST_DISABLED_240_241 + rd 192.168.255.3:42 + route-target both 42:42 + redistribute learned + vlan 240-241 + ! + vlan-aware-bundle TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + rd 192.168.255.3:41 + route-target both 41:41 + redistribute learned + vlan 140-141 + ! + vlan-aware-bundle TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + rd 192.168.255.3:55 + route-target both 55:55 + redistribute learned + vlan 550 + ! + vlan-aware-bundle TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + rd 192.168.255.3:60 + route-target both 60:60 + redistribute learned + vlan 260 + ! + vlan-aware-bundle TEN_E_L3_MULTICAST_TRANSIT + rd 192.168.255.3:52 + route-target both 52:52 + redistribute learned + vlan 250 + ! + vlan-aware-bundle TEN_E_PEG_L3_MULTICAST_ENABLED + rd 192.168.255.3:51 + route-target both 51:51 + redistribute learned + vlan 150 + ! address-family evpn neighbor EVPN-OVERLAY-PEERS activate ! @@ -551,11 +1004,143 @@ router bgp 65101 router-id 192.168.255.3 neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER redistribute connected + ! + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + rd 192.168.255.3:33 + route-target import evpn 33:33 + route-target export evpn 33:33 + router-id 192.168.255.3 + neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + rd 192.168.255.3:31 + evpn multicast + route-target import evpn 31:31 + route-target export evpn 31:31 + router-id 192.168.255.3 + neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + rd 192.168.255.3:32 + evpn multicast + route-target import evpn 32:32 + route-target export evpn 32:32 + router-id 192.168.255.3 + neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + rd 192.168.255.3:42 + route-target import evpn 42:42 + route-target export evpn 42:42 + router-id 192.168.255.3 + neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + rd 192.168.255.3:41 + evpn multicast + route-target import evpn 41:41 + route-target export evpn 41:41 + router-id 192.168.255.3 + neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + rd 192.168.255.3:55 + evpn multicast + route-target import evpn 55:55 + route-target export evpn 55:55 + router-id 192.168.255.3 + neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + rd 192.168.255.3:60 + evpn multicast + address-family ipv4 + transit + route-target import evpn 60:60 + route-target export evpn 60:60 + router-id 192.168.255.3 + neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + rd 192.168.255.3:52 + evpn multicast + address-family ipv4 + transit + route-target import evpn 52:52 + route-target export evpn 52:52 + router-id 192.168.255.3 + neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + rd 192.168.255.3:51 + evpn multicast + route-target import evpn 51:51 + route-target export evpn 51:51 + router-id 192.168.255.3 + neighbor 10.255.251.1 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected ! router multicast ipv4 routing software-forwarding sfe + ! + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ipv4 + routing + ! + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ipv4 + routing + ! + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + ipv4 + routing + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4 + routing +! +router pim sparse-mode + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4 + rp address 10.20.20.20 232.0.0.0/21 + rp address 10.40.40.40 + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4 + rp address 10.30.30.30 + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + ipv4 + rp address 10.30.30.30 + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4 + rp address 10.1.50.100 232.0.112.0/21 + rp address 10.1.51.130 + rp address 10.1.52.130 ! management api http-commands protocol https diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF1B.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF1B.cfg index 1d9e172f354..f23ebbe8db8 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF1B.cfg +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF1B.cfg @@ -72,24 +72,66 @@ vlan 110 vlan 111 name MULTICAST_ENABLED_111 ! +vlan 130 + name L3_MULTICAST_ENABLED_130 +! +vlan 131 + name L3_MULTICAST_ENABLED_131 +! +vlan 140 + name L3_MULTICAST_ENABLED_140 +! +vlan 141 + name L3_MULTICAST_DISABLED_141 +! +vlan 150 + name L3_MULTICAST_ENABLED_150 +! vlan 210 name MULTICAST_ENABLED_210 ! vlan 211 name MULTICAST_DISABLED_211 ! +vlan 230 + name L3_MULTICAST_ENABLED_230 +! +vlan 231 + name L3_MULTICAST_DISABLED_231 +! +vlan 240 + name L3_MULTICAST_DISABLED_240 +! +vlan 241 + name L3_MULTICAST_DISABLED_241 +! +vlan 250 + name L3_MULTICAST_ENABLED_250 +! vlan 256 name MULTICAST_DISABLED_256 ! vlan 257 name MULTICAST_ENABLED_257 ! +vlan 260 + name L3_MULTICAST_ENABLED_260 +! vlan 310 name MULTICAST_DISABLED_310 ! vlan 311 name MULTICAST_DISABLED_311 ! +vlan 330 + name L3_MULTICAST_DISABLED_330 +! +vlan 331 + name L3_MULTICAST_DISABLED_331 +! +vlan 550 + name L3_MULTICAST_ENABLED_550 +! vlan 3010 name MLAG_iBGP_MULTICAST_ENABLED_110_111 trunk group LEAF_PEER_L3 @@ -110,6 +152,42 @@ vlan 3021 name MLAG_iBGP_MULTICAST_ENABLED_3_DISABLED_4 trunk group LEAF_PEER_L3 ! +vlan 3030 + name MLAG_iBGP_TEN_C_L3_MULTICAST_ENABLED_130_131 + trunk group LEAF_PEER_L3 +! +vlan 3031 + name MLAG_iBGP_TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + trunk group LEAF_PEER_L3 +! +vlan 3032 + name MLAG_iBGP_TEN_C_L3_MULTICAST_DISABLED_330_331 + trunk group LEAF_PEER_L3 +! +vlan 3040 + name MLAG_iBGP_TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + trunk group LEAF_PEER_L3 +! +vlan 3041 + name MLAG_iBGP_TEN_D_L3_MULTICAST_DISABLED_240_241 + trunk group LEAF_PEER_L3 +! +vlan 3050 + name MLAG_iBGP_TEN_E_PEG_L3_MULTICAST_ENABLED + trunk group LEAF_PEER_L3 +! +vlan 3051 + name MLAG_iBGP_TEN_E_L3_MULTICAST_TRANSIT + trunk group LEAF_PEER_L3 +! +vlan 3054 + name MLAG_iBGP_TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + trunk group LEAF_PEER_L3 +! +vlan 3059 + name MLAG_iBGP_TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + trunk group LEAF_PEER_L3 +! vlan 4092 name MULTICAST_ENABLED_4092 ! @@ -141,6 +219,33 @@ vrf instance MULTICAST_ENABLED_110_111 vrf instance MULTICAST_ENABLED_210_DISABLED_211 description MULTICAST_ENABLED_210_DISABLED_211 ! +vrf instance TEN_C_L3_MULTICAST_DISABLED_330_331 + description L3_MULTICAST_DISABLED_330_331 +! +vrf instance TEN_C_L3_MULTICAST_ENABLED_130_131 + description L3_MULTICAST_ENABLED_130_131 +! +vrf instance TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + description L3_MULTICAST_ENABLED_230_DISABLED_231 +! +vrf instance TEN_D_L3_MULTICAST_DISABLED_240_241 + description L3_MULTICAST_DISABLED_240_241 +! +vrf instance TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + description L3_MULTICAST_ENABLED_140_DISABLED_141 +! +vrf instance TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + description L3_MULTICAST_ENABLED_PEG_OVERRIDE +! +vrf instance TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + description L3_MULTICAST_TRANSIT +! +vrf instance TEN_E_L3_MULTICAST_TRANSIT + description L3_MULTICAST_TRANSIT +! +vrf instance TEN_E_PEG_L3_MULTICAST_ENABLED + description PEG_L3_MULTICAST_ENABLED in Tenant E +! interface Port-Channel3 description MLAG_PEER_EVPN-MULTICAST-L3LEAF1A_Po3 no shutdown @@ -154,7 +259,7 @@ interface Port-Channel6 description EVPN-MULTICAST-L2LEAF1A_Po1 no shutdown switchport - switchport trunk allowed vlan 1-9,110-111,210-211,256-257,310-311,4092 + switchport trunk allowed vlan 1-9,110-111,130-131,140-141,150,210-211,230-231,240-241,250,256-257,260,310-311,330-331,550,4092 switchport mode trunk mlag 6 ! @@ -181,6 +286,34 @@ interface Ethernet6 no shutdown channel-group 6 mode active ! +interface Ethernet7 + no shutdown + no switchport + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.1.51.2/31 + pim ipv4 sparse-mode +! +interface Ethernet8 + no shutdown + no switchport + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip address 10.1.55.2/31 + pim ipv4 sparse-mode +! +interface Ethernet9 + no shutdown + no switchport + vrf TEN_E_L3_MULTICAST_TRANSIT + ip address 10.1.52.2/31 + pim ipv4 sparse-mode +! +interface Ethernet10 + no shutdown + no switchport + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip address 10.1.60.2/31 + pim ipv4 sparse-mode +! interface Loopback0 description EVPN_Overlay_Peering no shutdown @@ -191,6 +324,60 @@ interface Loopback1 no shutdown ip address 192.168.254.3/32 ! +interface Loopback31 + description TEN_C_L3_MULTICAST_ENABLED_130_131_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.255.1.4/32 +! +interface Loopback32 + description TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address 10.255.2.4/32 +! +interface Loopback33 + description TEN_C_L3_MULTICAST_DISABLED_330_331_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address 10.255.3.4/32 +! +interface Loopback41 + description TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address 10.255.41.4/32 +! +interface Loopback42 + description TEN_D_L3_MULTICAST_DISABLED_240_241_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address 10.255.42.4/32 +! +interface Loopback51 + description TEN_E_PEG_L3_MULTICAST_ENABLED_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.255.51.4/32 +! +interface Loopback52 + description TEN_E_L3_MULTICAST_TRANSIT_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_TRANSIT + ip address 10.255.52.4/32 +! +interface Loopback55 + description TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip address 10.255.55.4/32 +! +interface Loopback60 + description TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip address 10.255.60.4/32 +! interface Management1 description oob_management no shutdown @@ -245,6 +432,44 @@ interface Vlan111 vrf MULTICAST_ENABLED_110_111 ip address virtual 10.1.11.1/24 ! +interface Vlan130 + description L3_MULTICAST_ENABLED_130 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback31 + ip address virtual 10.1.13.1/24 +! +interface Vlan131 + description L3_MULTICAST_ENABLED_131 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.1.14.3/24 + pim ipv4 sparse-mode + ip virtual-router address 10.1.14.1 +! +interface Vlan140 + description L3_MULTICAST_ENABLED_140 + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback41 + ip address virtual 10.1.14.1/24 +! +interface Vlan141 + description L3_MULTICAST_DISABLED_141 + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address virtual 10.1.15.1/24 +! +interface Vlan150 + description L3_MULTICAST_ENABLED_150 + no shutdown + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback51 + ip address virtual 10.1.15.1/24 +! interface Vlan210 description MULTICAST_ENABLED_210 no shutdown @@ -257,6 +482,48 @@ interface Vlan211 vrf MULTICAST_ENABLED_210_DISABLED_211 ip address virtual 10.2.11.1/24 ! +interface Vlan230 + description L3_MULTICAST_ENABLED_230 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback32 + ip address virtual 10.2.23.1/24 +! +interface Vlan231 + description L3_MULTICAST_DISABLED_231 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address virtual 10.2.24.1/24 +! +interface Vlan240 + description L3_MULTICAST_DISABLED_240 + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address virtual 10.1.24.1/24 +! +interface Vlan241 + description L3_MULTICAST_DISABLED_241 + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address virtual 10.1.25.1/24 +! +interface Vlan250 + description L3_MULTICAST_ENABLED_250 + no shutdown + vrf TEN_E_L3_MULTICAST_TRANSIT + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback52 + ip address virtual 10.1.15.1/24 +! +interface Vlan260 + description L3_MULTICAST_ENABLED_260 + no shutdown + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback60 + ip address virtual 10.1.26.1/24 +! interface Vlan310 description MULTICAST_DISABLED_310 no shutdown @@ -269,6 +536,26 @@ interface Vlan311 vrf MULTICAST_DISABLED_310_311 ip address virtual 10.3.11.1/24 ! +interface Vlan330 + description L3_MULTICAST_DISABLED_330 + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address virtual 10.3.33.1/24 +! +interface Vlan331 + description L3_MULTICAST_DISABLED_331 + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address virtual 10.3.34.1/24 +! +interface Vlan550 + description L3_MULTICAST_ENABLED_550 + no shutdown + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + pim ipv4 sparse-mode + pim ipv4 local-interface Loopback55 + ip address virtual 10.1.56.1/24 +! interface Vlan3010 description MLAG_PEER_L3_iBGP: vrf MULTICAST_ENABLED_110_111 no shutdown @@ -304,6 +591,69 @@ interface Vlan3021 vrf MULTICAST_ENABLED_3_DISABLED_4 ip address 10.255.251.1/31 ! +interface Vlan3030 + description MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + no shutdown + mtu 9000 + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.255.251.1/31 +! +interface Vlan3031 + description MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + no shutdown + mtu 9000 + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address 10.255.251.1/31 +! +interface Vlan3032 + description MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + no shutdown + mtu 9000 + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address 10.255.251.1/31 +! +interface Vlan3040 + description MLAG_PEER_L3_iBGP: vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + no shutdown + mtu 9000 + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address 10.255.251.1/31 +! +interface Vlan3041 + description MLAG_PEER_L3_iBGP: vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + no shutdown + mtu 9000 + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address 10.255.251.1/31 +! +interface Vlan3050 + description MLAG_PEER_L3_iBGP: vrf TEN_E_PEG_L3_MULTICAST_ENABLED + no shutdown + mtu 9000 + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.255.251.1/31 +! +interface Vlan3051 + description MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_TRANSIT + no shutdown + mtu 9000 + vrf TEN_E_L3_MULTICAST_TRANSIT + ip address 10.255.251.1/31 +! +interface Vlan3054 + description MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + no shutdown + mtu 9000 + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip address 10.255.251.1/31 +! +interface Vlan3059 + description MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + no shutdown + mtu 9000 + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip address 10.255.251.1/31 +! interface Vlan4093 description MLAG_PEER_L3_PEERING no shutdown @@ -334,12 +684,26 @@ interface Vxlan1 vxlan vlan 9 vni 10009 vxlan vlan 110 vni 10110 vxlan vlan 111 vni 10111 + vxlan vlan 130 vni 10130 + vxlan vlan 131 vni 10131 + vxlan vlan 140 vni 10140 + vxlan vlan 141 vni 10141 + vxlan vlan 150 vni 10150 vxlan vlan 210 vni 10210 vxlan vlan 211 vni 10211 + vxlan vlan 230 vni 10230 + vxlan vlan 231 vni 10231 + vxlan vlan 240 vni 10240 + vxlan vlan 241 vni 10241 + vxlan vlan 250 vni 10250 vxlan vlan 256 vni 10256 vxlan vlan 257 vni 10257 + vxlan vlan 260 vni 10260 vxlan vlan 310 vni 10310 vxlan vlan 311 vni 10311 + vxlan vlan 330 vni 10330 + vxlan vlan 331 vni 10331 + vxlan vlan 550 vni 10550 vxlan vlan 4092 vni 14092 vxlan vrf MULTICAST_DISABLED_5_6 vni 22 vxlan vrf MULTICAST_DISABLED_310_311 vni 13 @@ -347,6 +711,15 @@ interface Vxlan1 vxlan vrf MULTICAST_ENABLED_3_DISABLED_4 vni 22 vxlan vrf MULTICAST_ENABLED_110_111 vni 11 vxlan vrf MULTICAST_ENABLED_210_DISABLED_211 vni 12 + vxlan vrf TEN_C_L3_MULTICAST_DISABLED_330_331 vni 33 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_130_131 vni 31 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 vni 32 + vxlan vrf TEN_D_L3_MULTICAST_DISABLED_240_241 vni 42 + vxlan vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 vni 41 + vxlan vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE vni 55 + vxlan vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES vni 60 + vxlan vrf TEN_E_L3_MULTICAST_TRANSIT vni 52 + vxlan vrf TEN_E_PEG_L3_MULTICAST_ENABLED vni 51 vxlan mlag source-interface Loopback1 vxlan vlan 1 multicast group 232.0.16.1 vxlan vlan 2 multicast group 232.0.16.2 @@ -358,9 +731,26 @@ interface Vxlan1 vxlan vlan 210 multicast group 232.0.0.209 vxlan vlan 257 multicast group 232.0.1.0 vxlan vlan 4092 multicast group 232.0.15.251 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_130_131 multicast group 232.0.32.31 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 multicast group 232.0.32.32 + vxlan vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 multicast group 232.0.64.40 + vxlan vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE multicast group 232.0.96.54 + vxlan vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES multicast group 232.0.96.59 + vxlan vrf TEN_E_L3_MULTICAST_TRANSIT multicast group 232.0.96.51 + vxlan vrf TEN_E_PEG_L3_MULTICAST_ENABLED multicast group 232.0.96.50 ! ip virtual-router mac-address 00:dc:00:00:00:0a ! +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_DISABLED_330_331 address 10.255.3.4 +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_ENABLED_130_131 address 10.255.1.4 +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 address 10.255.2.4 +ip address virtual source-nat vrf TEN_D_L3_MULTICAST_DISABLED_240_241 address 10.255.42.4 +ip address virtual source-nat vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 address 10.255.41.4 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE address 10.255.55.4 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES address 10.255.60.4 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_TRANSIT address 10.255.52.4 +ip address virtual source-nat vrf TEN_E_PEG_L3_MULTICAST_ENABLED address 10.255.51.4 +! ip routing no ip routing vrf MGMT ip routing vrf MULTICAST_DISABLED_5_6 @@ -369,6 +759,15 @@ ip routing vrf MULTICAST_ENABLED_1_2 ip routing vrf MULTICAST_ENABLED_3_DISABLED_4 ip routing vrf MULTICAST_ENABLED_110_111 ip routing vrf MULTICAST_ENABLED_210_DISABLED_211 +ip routing vrf TEN_C_L3_MULTICAST_DISABLED_330_331 +ip routing vrf TEN_C_L3_MULTICAST_ENABLED_130_131 +ip routing vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 +ip routing vrf TEN_D_L3_MULTICAST_DISABLED_240_241 +ip routing vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 +ip routing vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE +ip routing vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES +ip routing vrf TEN_E_L3_MULTICAST_TRANSIT +ip routing vrf TEN_E_PEG_L3_MULTICAST_ENABLED ! ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY seq 10 permit 192.168.255.0/24 eq 32 @@ -496,6 +895,60 @@ router bgp 65101 redistribute learned vlan 4092 ! + vlan-aware-bundle TEN_C_L3_MULTICAST_DISABLED_330_331 + rd 192.168.255.4:33 + route-target both 33:33 + redistribute learned + vlan 330-331 + ! + vlan-aware-bundle TEN_C_L3_MULTICAST_ENABLED_130_131 + rd 192.168.255.4:31 + route-target both 31:31 + redistribute learned + vlan 130-131 + ! + vlan-aware-bundle TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + rd 192.168.255.4:32 + route-target both 32:32 + redistribute learned + vlan 230-231 + ! + vlan-aware-bundle TEN_D_L3_MULTICAST_DISABLED_240_241 + rd 192.168.255.4:42 + route-target both 42:42 + redistribute learned + vlan 240-241 + ! + vlan-aware-bundle TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + rd 192.168.255.4:41 + route-target both 41:41 + redistribute learned + vlan 140-141 + ! + vlan-aware-bundle TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + rd 192.168.255.4:55 + route-target both 55:55 + redistribute learned + vlan 550 + ! + vlan-aware-bundle TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + rd 192.168.255.4:60 + route-target both 60:60 + redistribute learned + vlan 260 + ! + vlan-aware-bundle TEN_E_L3_MULTICAST_TRANSIT + rd 192.168.255.4:52 + route-target both 52:52 + redistribute learned + vlan 250 + ! + vlan-aware-bundle TEN_E_PEG_L3_MULTICAST_ENABLED + rd 192.168.255.4:51 + route-target both 51:51 + redistribute learned + vlan 150 + ! address-family evpn neighbor EVPN-OVERLAY-PEERS activate ! @@ -551,11 +1004,143 @@ router bgp 65101 router-id 192.168.255.4 neighbor 10.255.251.0 peer group MLAG-IPv4-UNDERLAY-PEER redistribute connected + ! + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + rd 192.168.255.4:33 + route-target import evpn 33:33 + route-target export evpn 33:33 + router-id 192.168.255.4 + neighbor 10.255.251.0 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + rd 192.168.255.4:31 + evpn multicast + route-target import evpn 31:31 + route-target export evpn 31:31 + router-id 192.168.255.4 + neighbor 10.255.251.0 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + rd 192.168.255.4:32 + evpn multicast + route-target import evpn 32:32 + route-target export evpn 32:32 + router-id 192.168.255.4 + neighbor 10.255.251.0 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + rd 192.168.255.4:42 + route-target import evpn 42:42 + route-target export evpn 42:42 + router-id 192.168.255.4 + neighbor 10.255.251.0 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + rd 192.168.255.4:41 + evpn multicast + route-target import evpn 41:41 + route-target export evpn 41:41 + router-id 192.168.255.4 + neighbor 10.255.251.0 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + rd 192.168.255.4:55 + evpn multicast + route-target import evpn 55:55 + route-target export evpn 55:55 + router-id 192.168.255.4 + neighbor 10.255.251.0 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + rd 192.168.255.4:60 + evpn multicast + address-family ipv4 + transit + route-target import evpn 60:60 + route-target export evpn 60:60 + router-id 192.168.255.4 + neighbor 10.255.251.0 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + rd 192.168.255.4:52 + evpn multicast + address-family ipv4 + transit + route-target import evpn 52:52 + route-target export evpn 52:52 + router-id 192.168.255.4 + neighbor 10.255.251.0 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + rd 192.168.255.4:51 + evpn multicast + route-target import evpn 51:51 + route-target export evpn 51:51 + router-id 192.168.255.4 + neighbor 10.255.251.0 peer group MLAG-IPv4-UNDERLAY-PEER + redistribute connected ! router multicast ipv4 routing software-forwarding sfe + ! + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ipv4 + routing + ! + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ipv4 + routing + ! + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + ipv4 + routing + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4 + routing +! +router pim sparse-mode + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4 + rp address 10.20.20.20 232.0.0.0/21 + rp address 10.40.40.40 + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4 + rp address 10.30.30.30 + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + ipv4 + rp address 10.30.30.30 + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4 + rp address 10.1.50.100 232.0.112.0/21 + rp address 10.1.51.130 + rp address 10.1.52.130 ! management api http-commands protocol https diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF2A.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF2A.cfg index abe34b08512..6b4ae43e594 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF2A.cfg +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF2A.cfg @@ -72,24 +72,66 @@ vlan 110 vlan 111 name MULTICAST_ENABLED_111 ! +vlan 130 + name L3_MULTICAST_ENABLED_130 +! +vlan 131 + name L3_MULTICAST_ENABLED_131 +! +vlan 140 + name L3_MULTICAST_ENABLED_140 +! +vlan 141 + name L3_MULTICAST_DISABLED_141 +! +vlan 150 + name L3_MULTICAST_ENABLED_150 +! vlan 210 name MULTICAST_ENABLED_210 ! vlan 211 name MULTICAST_DISABLED_211 ! +vlan 230 + name L3_MULTICAST_ENABLED_230 +! +vlan 231 + name L3_MULTICAST_DISABLED_231 +! +vlan 240 + name L3_MULTICAST_DISABLED_240 +! +vlan 241 + name L3_MULTICAST_DISABLED_241 +! +vlan 250 + name L3_MULTICAST_ENABLED_250 +! vlan 256 name MULTICAST_DISABLED_256 ! vlan 257 name MULTICAST_ENABLED_257 ! +vlan 260 + name L3_MULTICAST_ENABLED_260 +! vlan 310 name MULTICAST_DISABLED_310 ! vlan 311 name MULTICAST_DISABLED_311 ! +vlan 330 + name L3_MULTICAST_DISABLED_330 +! +vlan 331 + name L3_MULTICAST_DISABLED_331 +! +vlan 550 + name L3_MULTICAST_ENABLED_550 +! vlan 4092 name MULTICAST_ENABLED_4092 ! @@ -113,6 +155,33 @@ vrf instance MULTICAST_ENABLED_110_111 vrf instance MULTICAST_ENABLED_210_DISABLED_211 description MULTICAST_ENABLED_210_DISABLED_211 ! +vrf instance TEN_C_L3_MULTICAST_DISABLED_330_331 + description L3_MULTICAST_DISABLED_330_331 +! +vrf instance TEN_C_L3_MULTICAST_ENABLED_130_131 + description L3_MULTICAST_ENABLED_130_131 +! +vrf instance TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + description L3_MULTICAST_ENABLED_230_DISABLED_231 +! +vrf instance TEN_D_L3_MULTICAST_DISABLED_240_241 + description L3_MULTICAST_DISABLED_240_241 +! +vrf instance TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + description L3_MULTICAST_ENABLED_140_DISABLED_141 +! +vrf instance TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + description L3_MULTICAST_ENABLED_PEG_OVERRIDE +! +vrf instance TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + description L3_MULTICAST_TRANSIT +! +vrf instance TEN_E_L3_MULTICAST_TRANSIT + description L3_MULTICAST_TRANSIT +! +vrf instance TEN_E_PEG_L3_MULTICAST_ENABLED + description PEG_L3_MULTICAST_ENABLED in Tenant E +! interface Ethernet1 description P2P_LINK_TO_EVPN-MULTICAST-SPINE1_Ethernet3 no shutdown @@ -131,6 +200,60 @@ interface Loopback1 no shutdown ip address 192.168.254.5/32 ! +interface Loopback31 + description TEN_C_L3_MULTICAST_ENABLED_130_131_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.255.1.5/32 +! +interface Loopback32 + description TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address 10.255.2.5/32 +! +interface Loopback33 + description TEN_C_L3_MULTICAST_DISABLED_330_331_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address 10.255.3.5/32 +! +interface Loopback41 + description TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address 10.255.41.5/32 +! +interface Loopback42 + description TEN_D_L3_MULTICAST_DISABLED_240_241_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address 10.255.42.5/32 +! +interface Loopback51 + description TEN_E_PEG_L3_MULTICAST_ENABLED_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.255.51.5/32 +! +interface Loopback52 + description TEN_E_L3_MULTICAST_TRANSIT_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_TRANSIT + ip address 10.255.52.5/32 +! +interface Loopback55 + description TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip address 10.255.55.5/32 +! +interface Loopback60 + description TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip address 10.255.60.5/32 +! interface Management1 description oob_management no shutdown @@ -185,6 +308,44 @@ interface Vlan111 vrf MULTICAST_ENABLED_110_111 ip address virtual 10.1.11.1/24 ! +interface Vlan130 + description L3_MULTICAST_ENABLED_130 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip igmp + pim ipv4 local-interface Loopback31 + ip address virtual 10.1.13.1/24 +! +interface Vlan131 + description L3_MULTICAST_ENABLED_131 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.1.14.4/24 + ip igmp + ip virtual-router address 10.1.14.1 +! +interface Vlan140 + description L3_MULTICAST_ENABLED_140 + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip igmp + pim ipv4 local-interface Loopback41 + ip address virtual 10.1.14.1/24 +! +interface Vlan141 + description L3_MULTICAST_DISABLED_141 + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address virtual 10.1.15.1/24 +! +interface Vlan150 + description L3_MULTICAST_ENABLED_150 + no shutdown + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip igmp + pim ipv4 local-interface Loopback51 + ip address virtual 10.1.15.1/24 +! interface Vlan210 description MULTICAST_ENABLED_210 no shutdown @@ -197,6 +358,48 @@ interface Vlan211 vrf MULTICAST_ENABLED_210_DISABLED_211 ip address virtual 10.2.11.1/24 ! +interface Vlan230 + description L3_MULTICAST_ENABLED_230 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip igmp + pim ipv4 local-interface Loopback32 + ip address virtual 10.2.23.1/24 +! +interface Vlan231 + description L3_MULTICAST_DISABLED_231 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address virtual 10.2.24.1/24 +! +interface Vlan240 + description L3_MULTICAST_DISABLED_240 + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address virtual 10.1.24.1/24 +! +interface Vlan241 + description L3_MULTICAST_DISABLED_241 + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address virtual 10.1.25.1/24 +! +interface Vlan250 + description L3_MULTICAST_ENABLED_250 + no shutdown + vrf TEN_E_L3_MULTICAST_TRANSIT + ip igmp + pim ipv4 local-interface Loopback52 + ip address virtual 10.1.15.1/24 +! +interface Vlan260 + description L3_MULTICAST_ENABLED_260 + no shutdown + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip igmp + pim ipv4 local-interface Loopback60 + ip address virtual 10.1.26.1/24 +! interface Vlan310 description MULTICAST_DISABLED_310 no shutdown @@ -209,6 +412,26 @@ interface Vlan311 vrf MULTICAST_DISABLED_310_311 ip address virtual 10.3.11.1/24 ! +interface Vlan330 + description L3_MULTICAST_DISABLED_330 + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address virtual 10.3.33.1/24 +! +interface Vlan331 + description L3_MULTICAST_DISABLED_331 + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address virtual 10.3.34.1/24 +! +interface Vlan550 + description L3_MULTICAST_ENABLED_550 + no shutdown + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip igmp + pim ipv4 local-interface Loopback55 + ip address virtual 10.1.56.1/24 +! interface Vxlan1 description EVPN-MULTICAST-L3LEAF2A_VTEP vxlan source-interface Loopback1 @@ -224,12 +447,26 @@ interface Vxlan1 vxlan vlan 9 vni 10009 vxlan vlan 110 vni 10110 vxlan vlan 111 vni 10111 + vxlan vlan 130 vni 10130 + vxlan vlan 131 vni 10131 + vxlan vlan 140 vni 10140 + vxlan vlan 141 vni 10141 + vxlan vlan 150 vni 10150 vxlan vlan 210 vni 10210 vxlan vlan 211 vni 10211 + vxlan vlan 230 vni 10230 + vxlan vlan 231 vni 10231 + vxlan vlan 240 vni 10240 + vxlan vlan 241 vni 10241 + vxlan vlan 250 vni 10250 vxlan vlan 256 vni 10256 vxlan vlan 257 vni 10257 + vxlan vlan 260 vni 10260 vxlan vlan 310 vni 10310 vxlan vlan 311 vni 10311 + vxlan vlan 330 vni 10330 + vxlan vlan 331 vni 10331 + vxlan vlan 550 vni 10550 vxlan vlan 4092 vni 14092 vxlan vrf MULTICAST_DISABLED_5_6 vni 22 vxlan vrf MULTICAST_DISABLED_310_311 vni 13 @@ -237,6 +474,15 @@ interface Vxlan1 vxlan vrf MULTICAST_ENABLED_3_DISABLED_4 vni 22 vxlan vrf MULTICAST_ENABLED_110_111 vni 11 vxlan vrf MULTICAST_ENABLED_210_DISABLED_211 vni 12 + vxlan vrf TEN_C_L3_MULTICAST_DISABLED_330_331 vni 33 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_130_131 vni 31 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 vni 32 + vxlan vrf TEN_D_L3_MULTICAST_DISABLED_240_241 vni 42 + vxlan vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 vni 41 + vxlan vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE vni 55 + vxlan vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES vni 60 + vxlan vrf TEN_E_L3_MULTICAST_TRANSIT vni 52 + vxlan vrf TEN_E_PEG_L3_MULTICAST_ENABLED vni 51 vxlan vlan 1 multicast group 232.0.16.1 vxlan vlan 2 multicast group 232.0.16.2 vxlan vlan 3 multicast group 232.0.16.3 @@ -247,9 +493,26 @@ interface Vxlan1 vxlan vlan 210 multicast group 232.0.0.209 vxlan vlan 257 multicast group 232.0.1.0 vxlan vlan 4092 multicast group 232.0.15.251 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_130_131 multicast group 232.0.32.31 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 multicast group 232.0.32.32 + vxlan vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 multicast group 232.0.64.40 + vxlan vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE multicast group 232.0.96.54 + vxlan vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES multicast group 232.0.96.59 + vxlan vrf TEN_E_L3_MULTICAST_TRANSIT multicast group 232.0.96.51 + vxlan vrf TEN_E_PEG_L3_MULTICAST_ENABLED multicast group 232.0.96.50 ! ip virtual-router mac-address 00:dc:00:00:00:0a ! +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_DISABLED_330_331 address 10.255.3.5 +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_ENABLED_130_131 address 10.255.1.5 +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 address 10.255.2.5 +ip address virtual source-nat vrf TEN_D_L3_MULTICAST_DISABLED_240_241 address 10.255.42.5 +ip address virtual source-nat vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 address 10.255.41.5 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE address 10.255.55.5 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES address 10.255.60.5 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_TRANSIT address 10.255.52.5 +ip address virtual source-nat vrf TEN_E_PEG_L3_MULTICAST_ENABLED address 10.255.51.5 +! ip routing no ip routing vrf MGMT ip routing vrf MULTICAST_DISABLED_5_6 @@ -258,6 +521,15 @@ ip routing vrf MULTICAST_ENABLED_1_2 ip routing vrf MULTICAST_ENABLED_3_DISABLED_4 ip routing vrf MULTICAST_ENABLED_110_111 ip routing vrf MULTICAST_ENABLED_210_DISABLED_211 +ip routing vrf TEN_C_L3_MULTICAST_DISABLED_330_331 +ip routing vrf TEN_C_L3_MULTICAST_ENABLED_130_131 +ip routing vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 +ip routing vrf TEN_D_L3_MULTICAST_DISABLED_240_241 +ip routing vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 +ip routing vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE +ip routing vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES +ip routing vrf TEN_E_L3_MULTICAST_TRANSIT +ip routing vrf TEN_E_PEG_L3_MULTICAST_ENABLED ! ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY seq 10 permit 192.168.255.0/24 eq 32 @@ -271,7 +543,7 @@ route-map RM-CONN-2-BGP permit 10 router bfd multihop interval 300 min-rx 300 multiplier 3 ! -router bgp 65102 +router bgp 65103 router-id 192.168.255.5 maximum-paths 4 ecmp 4 neighbor EVPN-OVERLAY-PEERS peer group @@ -309,6 +581,31 @@ router bgp 65102 redistribute igmp redistribute learned ! + vlan 130 + rd 192.168.255.5:10130 + route-target both 10130:10130 + redistribute learned + ! + vlan 131 + rd 192.168.255.5:10131 + route-target both 10131:10131 + redistribute learned + ! + vlan 140 + rd 192.168.255.5:10140 + route-target both 10140:10140 + redistribute learned + ! + vlan 141 + rd 192.168.255.5:10141 + route-target both 10141:10141 + redistribute learned + ! + vlan 150 + rd 192.168.255.5:10150 + route-target both 10150:10150 + redistribute learned + ! vlan 2 rd 192.168.255.5:10002 route-target both 10002:10002 @@ -326,6 +623,31 @@ router bgp 65102 route-target both 10211:10211 redistribute learned ! + vlan 230 + rd 192.168.255.5:10230 + route-target both 10230:10230 + redistribute learned + ! + vlan 231 + rd 192.168.255.5:10231 + route-target both 10231:10231 + redistribute learned + ! + vlan 240 + rd 192.168.255.5:10240 + route-target both 10240:10240 + redistribute learned + ! + vlan 241 + rd 192.168.255.5:10241 + route-target both 10241:10241 + redistribute learned + ! + vlan 250 + rd 192.168.255.5:10250 + route-target both 10250:10250 + redistribute learned + ! vlan 256 rd 192.168.255.5:10256 route-target both 10256:10256 @@ -337,6 +659,11 @@ router bgp 65102 redistribute igmp redistribute learned ! + vlan 260 + rd 192.168.255.5:10260 + route-target both 10260:10260 + redistribute learned + ! vlan 3 rd 192.168.255.5:10003 route-target both 10003:10003 @@ -353,6 +680,16 @@ router bgp 65102 route-target both 10311:10311 redistribute learned ! + vlan 330 + rd 192.168.255.5:10330 + route-target both 10330:10330 + redistribute learned + ! + vlan 331 + rd 192.168.255.5:10331 + route-target both 10331:10331 + redistribute learned + ! vlan 4 rd 192.168.255.5:10004 route-target both 10004:10004 @@ -369,6 +706,11 @@ router bgp 65102 route-target both 10005:10005 redistribute learned ! + vlan 550 + rd 192.168.255.5:10550 + route-target both 10550:10550 + redistribute learned + ! vlan 6 rd 192.168.255.5:10006 route-target both 10006:10006 @@ -439,11 +781,120 @@ router bgp 65102 route-target export evpn 12:12 router-id 192.168.255.5 redistribute connected + ! + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + rd 192.168.255.5:33 + route-target import evpn 33:33 + route-target export evpn 33:33 + router-id 192.168.255.5 + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + rd 192.168.255.5:31 + evpn multicast + route-target import evpn 31:31 + route-target export evpn 31:31 + router-id 192.168.255.5 + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + rd 192.168.255.5:32 + evpn multicast + route-target import evpn 32:32 + route-target export evpn 32:32 + router-id 192.168.255.5 + redistribute connected + ! + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + rd 192.168.255.5:42 + route-target import evpn 42:42 + route-target export evpn 42:42 + router-id 192.168.255.5 + redistribute connected + ! + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + rd 192.168.255.5:41 + evpn multicast + route-target import evpn 41:41 + route-target export evpn 41:41 + router-id 192.168.255.5 + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + rd 192.168.255.5:55 + evpn multicast + route-target import evpn 55:55 + route-target export evpn 55:55 + router-id 192.168.255.5 + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + rd 192.168.255.5:60 + evpn multicast + route-target import evpn 60:60 + route-target export evpn 60:60 + router-id 192.168.255.5 + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + rd 192.168.255.5:52 + evpn multicast + route-target import evpn 52:52 + route-target export evpn 52:52 + router-id 192.168.255.5 + redistribute connected + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + rd 192.168.255.5:51 + evpn multicast + route-target import evpn 51:51 + route-target export evpn 51:51 + router-id 192.168.255.5 + redistribute connected ! router multicast ipv4 routing software-forwarding sfe + ! + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ipv4 + routing + ! + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ipv4 + routing + ! + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + ipv4 + routing + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4 + routing +! +router pim sparse-mode + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4 + rp address 10.20.20.20 232.0.0.0/21 + rp address 10.40.40.40 + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4 + rp address 10.1.50.100 232.0.112.0/21 ! management api http-commands protocol https diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF3A.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF3A.cfg new file mode 100644 index 00000000000..fc54a1f6aa2 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF3A.cfg @@ -0,0 +1,944 @@ +!RANCID-CONTENT-TYPE: arista +! +vlan internal order ascending range 1006 1199 +! +ip igmp snooping vlan 1 querier +ip igmp snooping vlan 1 querier address 1.1.1.1 +ip igmp snooping vlan 1 querier version 3 +ip igmp snooping vlan 2 querier +ip igmp snooping vlan 2 querier address 1.1.1.1 +ip igmp snooping vlan 2 querier version 3 +ip igmp snooping vlan 3 querier +ip igmp snooping vlan 3 querier address 2.2.2.2 +ip igmp snooping vlan 3 querier version 1 +ip igmp snooping vlan 8 querier +ip igmp snooping vlan 8 querier address 1.1.1.1 +ip igmp snooping vlan 8 querier version 3 +ip igmp snooping vlan 9 querier +ip igmp snooping vlan 9 querier address 2.2.2.2 +ip igmp snooping vlan 9 querier version 1 +ip igmp snooping vlan 110 querier +ip igmp snooping vlan 110 querier address 192.168.255.6 +ip igmp snooping vlan 111 querier +ip igmp snooping vlan 111 querier address 192.168.255.6 +ip igmp snooping vlan 210 querier +ip igmp snooping vlan 210 querier address 192.168.255.6 +ip igmp snooping vlan 257 querier +ip igmp snooping vlan 257 querier address 192.168.255.6 +ip igmp snooping vlan 4092 querier +ip igmp snooping vlan 4092 querier address 192.168.255.6 +! +transceiver qsfp default-mode 4x10G +! +service routing protocols model multi-agent +! +hostname EVPN-MULTICAST-L3LEAF3A +! +no enable password +no aaa root +! +vlan 1 + name MULTICAST_ENABLED_1 +! +vlan 2 + name MULTICAST_ENABLED_2 +! +vlan 3 + name MULTICAST_ENABLED_3 +! +vlan 4 + name MULTICAST_DISABLED_4 +! +vlan 5 + name MULTICAST_DISABLED_5 +! +vlan 6 + name MULTICAST_DISABLED_6 +! +vlan 7 + name MULTICAST_DISABLED_7 +! +vlan 8 + name MULTICAST_ENABLED_8 +! +vlan 9 + name MULTICAST_ENABLED_8 +! +vlan 110 + name MULTICAST_ENABLED_110 +! +vlan 111 + name MULTICAST_ENABLED_111 +! +vlan 130 + name L3_MULTICAST_ENABLED_130 +! +vlan 131 + name L3_MULTICAST_ENABLED_131 +! +vlan 140 + name L3_MULTICAST_ENABLED_140 +! +vlan 141 + name L3_MULTICAST_DISABLED_141 +! +vlan 150 + name L3_MULTICAST_ENABLED_150 +! +vlan 210 + name MULTICAST_ENABLED_210 +! +vlan 211 + name MULTICAST_DISABLED_211 +! +vlan 230 + name L3_MULTICAST_ENABLED_230 +! +vlan 231 + name L3_MULTICAST_DISABLED_231 +! +vlan 240 + name L3_MULTICAST_DISABLED_240 +! +vlan 241 + name L3_MULTICAST_DISABLED_241 +! +vlan 250 + name L3_MULTICAST_ENABLED_250 +! +vlan 256 + name MULTICAST_DISABLED_256 +! +vlan 257 + name MULTICAST_ENABLED_257 +! +vlan 260 + name L3_MULTICAST_ENABLED_260 +! +vlan 310 + name MULTICAST_DISABLED_310 +! +vlan 311 + name MULTICAST_DISABLED_311 +! +vlan 330 + name L3_MULTICAST_DISABLED_330 +! +vlan 331 + name L3_MULTICAST_DISABLED_331 +! +vlan 550 + name L3_MULTICAST_ENABLED_550 +! +vlan 4092 + name MULTICAST_ENABLED_4092 +! +vrf instance MGMT +! +vrf instance MULTICAST_DISABLED_5_6 + description MULTICAST_DISABLED_5_6 +! +vrf instance MULTICAST_DISABLED_310_311 + description MULTICAST_DISABLED_310_311 +! +vrf instance MULTICAST_ENABLED_1_2 + description MULTICAST_ENABLED_1_2 +! +vrf instance MULTICAST_ENABLED_3_DISABLED_4 + description MULTICAST_ENABLED_3_DISABLED_4 +! +vrf instance MULTICAST_ENABLED_110_111 + description MULTICAST_ENABLED_110_111 +! +vrf instance MULTICAST_ENABLED_210_DISABLED_211 + description MULTICAST_ENABLED_210_DISABLED_211 +! +vrf instance TEN_C_L3_MULTICAST_DISABLED_330_331 + description L3_MULTICAST_DISABLED_330_331 +! +vrf instance TEN_C_L3_MULTICAST_ENABLED_130_131 + description L3_MULTICAST_ENABLED_130_131 +! +vrf instance TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + description L3_MULTICAST_ENABLED_230_DISABLED_231 +! +vrf instance TEN_D_L3_MULTICAST_DISABLED_240_241 + description L3_MULTICAST_DISABLED_240_241 +! +vrf instance TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + description L3_MULTICAST_ENABLED_140_DISABLED_141 +! +vrf instance TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + description L3_MULTICAST_ENABLED_PEG_OVERRIDE +! +vrf instance TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + description L3_MULTICAST_TRANSIT +! +vrf instance TEN_E_L3_MULTICAST_TRANSIT + description L3_MULTICAST_TRANSIT +! +vrf instance TEN_E_PEG_L3_MULTICAST_ENABLED + description PEG_L3_MULTICAST_ENABLED in Tenant E +! +interface Ethernet1 + description P2P_LINK_TO_EVPN-MULTICAST-SPINE1_Ethernet4 + no shutdown + mtu 9000 + no switchport + ip address 172.31.255.7/31 + pim ipv4 sparse-mode +! +interface Ethernet7 + no shutdown + no switchport +! +interface Ethernet7.10 + no shutdown + encapsulation dot1q vlan 10 + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.1.51.4/31 +! +interface Ethernet8 + no shutdown + no switchport + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.1.51.4/31 + pim ipv4 sparse-mode +! +interface Ethernet9 + no shutdown + no switchport + vrf TEN_E_L3_MULTICAST_TRANSIT + ip address 10.2.52.0/31 + pim ipv4 sparse-mode +! +interface Loopback0 + description EVPN_Overlay_Peering + no shutdown + ip address 192.168.255.6/32 +! +interface Loopback1 + description VTEP_VXLAN_Tunnel_Source + no shutdown + ip address 192.168.254.6/32 +! +interface Loopback31 + description TEN_C_L3_MULTICAST_ENABLED_130_131_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.255.1.6/32 +! +interface Loopback32 + description TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address 10.255.2.6/32 +! +interface Loopback33 + description TEN_C_L3_MULTICAST_DISABLED_330_331_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address 10.255.3.6/32 +! +interface Loopback41 + description TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address 10.255.41.6/32 +! +interface Loopback42 + description TEN_D_L3_MULTICAST_DISABLED_240_241_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address 10.255.42.6/32 +! +interface Loopback51 + description TEN_E_PEG_L3_MULTICAST_ENABLED_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.255.51.6/32 +! +interface Loopback52 + description TEN_E_L3_MULTICAST_TRANSIT_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_TRANSIT + ip address 10.255.52.6/32 +! +interface Loopback55 + description TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip address 10.255.55.6/32 +! +interface Loopback60 + description TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip address 10.255.60.6/32 +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.200.108/24 +! +interface Vlan1 + description MULTICAST_ENABLED_1 + no shutdown + vrf MULTICAST_ENABLED_1_2 + ip address virtual 10.0.1.1/24 +! +interface Vlan2 + description MULTICAST_ENABLED_2 + no shutdown + vrf MULTICAST_ENABLED_1_2 + ip address virtual 10.0.2.1/24 +! +interface Vlan3 + description MULTICAST_ENABLED_3 + no shutdown + vrf MULTICAST_ENABLED_3_DISABLED_4 + ip address virtual 10.0.3.1/24 +! +interface Vlan4 + description MULTICAST_DISABLED_4 + no shutdown + vrf MULTICAST_ENABLED_3_DISABLED_4 + ip address virtual 10.0.4.1/24 +! +interface Vlan5 + description MULTICAST_DISABLED_5 + no shutdown + vrf MULTICAST_DISABLED_5_6 + ip address virtual 10.0.5.1/24 +! +interface Vlan6 + description MULTICAST_DISABLED_6 + no shutdown + vrf MULTICAST_DISABLED_5_6 + ip address virtual 10.0.6.1/24 +! +interface Vlan110 + description MULTICAST_ENABLED_110 + no shutdown + vrf MULTICAST_ENABLED_110_111 + ip address virtual 10.1.10.1/24 +! +interface Vlan111 + description MULTICAST_ENABLED_111 + no shutdown + vrf MULTICAST_ENABLED_110_111 + ip address virtual 10.1.11.1/24 +! +interface Vlan130 + description L3_MULTICAST_ENABLED_130 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip igmp + pim ipv4 local-interface Loopback31 + ip address virtual 10.1.13.1/24 +! +interface Vlan131 + description L3_MULTICAST_ENABLED_131 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.1.14.5/24 + ip igmp + ip virtual-router address 10.1.14.1 +! +interface Vlan140 + description L3_MULTICAST_ENABLED_140 + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip igmp + pim ipv4 local-interface Loopback41 + ip address virtual 10.1.14.1/24 +! +interface Vlan141 + description L3_MULTICAST_DISABLED_141 + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address virtual 10.1.15.1/24 +! +interface Vlan150 + description L3_MULTICAST_ENABLED_150 + no shutdown + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip igmp + pim ipv4 local-interface Loopback51 + ip address virtual 10.1.15.1/24 +! +interface Vlan210 + description MULTICAST_ENABLED_210 + no shutdown + vrf MULTICAST_ENABLED_210_DISABLED_211 + ip address virtual 10.2.10.1/24 +! +interface Vlan211 + description MULTICAST_DISABLED_211 + no shutdown + vrf MULTICAST_ENABLED_210_DISABLED_211 + ip address virtual 10.2.11.1/24 +! +interface Vlan230 + description L3_MULTICAST_ENABLED_230 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip igmp + pim ipv4 local-interface Loopback32 + ip address virtual 10.2.23.1/24 +! +interface Vlan231 + description L3_MULTICAST_DISABLED_231 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address virtual 10.2.24.1/24 +! +interface Vlan240 + description L3_MULTICAST_DISABLED_240 + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address virtual 10.1.24.1/24 +! +interface Vlan241 + description L3_MULTICAST_DISABLED_241 + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address virtual 10.1.25.1/24 +! +interface Vlan250 + description L3_MULTICAST_ENABLED_250 + no shutdown + vrf TEN_E_L3_MULTICAST_TRANSIT + ip igmp + pim ipv4 local-interface Loopback52 + ip address virtual 10.1.15.1/24 +! +interface Vlan260 + description L3_MULTICAST_ENABLED_260 + no shutdown + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip igmp + pim ipv4 local-interface Loopback60 + ip address virtual 10.1.26.1/24 +! +interface Vlan310 + description MULTICAST_DISABLED_310 + no shutdown + vrf MULTICAST_DISABLED_310_311 + ip address virtual 10.3.10.1/24 +! +interface Vlan311 + description MULTICAST_DISABLED_311 + no shutdown + vrf MULTICAST_DISABLED_310_311 + ip address virtual 10.3.11.1/24 +! +interface Vlan330 + description L3_MULTICAST_DISABLED_330 + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address virtual 10.3.33.1/24 +! +interface Vlan331 + description L3_MULTICAST_DISABLED_331 + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address virtual 10.3.34.1/24 +! +interface Vlan550 + description L3_MULTICAST_ENABLED_550 + no shutdown + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip igmp + pim ipv4 local-interface Loopback55 + ip address virtual 10.1.56.1/24 +! +interface Vxlan1 + description EVPN-MULTICAST-L3LEAF3A_VTEP + vxlan source-interface Loopback1 + vxlan udp-port 4789 + vxlan vlan 1 vni 10001 + vxlan vlan 2 vni 10002 + vxlan vlan 3 vni 10003 + vxlan vlan 4 vni 10004 + vxlan vlan 5 vni 10005 + vxlan vlan 6 vni 10006 + vxlan vlan 7 vni 10007 + vxlan vlan 8 vni 10008 + vxlan vlan 9 vni 10009 + vxlan vlan 110 vni 10110 + vxlan vlan 111 vni 10111 + vxlan vlan 130 vni 10130 + vxlan vlan 131 vni 10131 + vxlan vlan 140 vni 10140 + vxlan vlan 141 vni 10141 + vxlan vlan 150 vni 10150 + vxlan vlan 210 vni 10210 + vxlan vlan 211 vni 10211 + vxlan vlan 230 vni 10230 + vxlan vlan 231 vni 10231 + vxlan vlan 240 vni 10240 + vxlan vlan 241 vni 10241 + vxlan vlan 250 vni 10250 + vxlan vlan 256 vni 10256 + vxlan vlan 257 vni 10257 + vxlan vlan 260 vni 10260 + vxlan vlan 310 vni 10310 + vxlan vlan 311 vni 10311 + vxlan vlan 330 vni 10330 + vxlan vlan 331 vni 10331 + vxlan vlan 550 vni 10550 + vxlan vlan 4092 vni 14092 + vxlan vrf MULTICAST_DISABLED_5_6 vni 22 + vxlan vrf MULTICAST_DISABLED_310_311 vni 13 + vxlan vrf MULTICAST_ENABLED_1_2 vni 21 + vxlan vrf MULTICAST_ENABLED_3_DISABLED_4 vni 22 + vxlan vrf MULTICAST_ENABLED_110_111 vni 11 + vxlan vrf MULTICAST_ENABLED_210_DISABLED_211 vni 12 + vxlan vrf TEN_C_L3_MULTICAST_DISABLED_330_331 vni 33 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_130_131 vni 31 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 vni 32 + vxlan vrf TEN_D_L3_MULTICAST_DISABLED_240_241 vni 42 + vxlan vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 vni 41 + vxlan vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE vni 55 + vxlan vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES vni 60 + vxlan vrf TEN_E_L3_MULTICAST_TRANSIT vni 52 + vxlan vrf TEN_E_PEG_L3_MULTICAST_ENABLED vni 51 + vxlan vlan 1 multicast group 232.0.16.1 + vxlan vlan 2 multicast group 232.0.16.2 + vxlan vlan 3 multicast group 232.0.16.3 + vxlan vlan 8 multicast group 232.0.16.8 + vxlan vlan 9 multicast group 232.0.16.9 + vxlan vlan 110 multicast group 232.0.0.109 + vxlan vlan 111 multicast group 232.0.0.110 + vxlan vlan 210 multicast group 232.0.0.209 + vxlan vlan 257 multicast group 232.0.1.0 + vxlan vlan 4092 multicast group 232.0.15.251 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_130_131 multicast group 232.0.32.31 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 multicast group 232.0.32.32 + vxlan vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 multicast group 232.0.64.40 + vxlan vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE multicast group 232.0.96.54 + vxlan vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES multicast group 232.0.96.59 + vxlan vrf TEN_E_L3_MULTICAST_TRANSIT multicast group 232.0.96.51 + vxlan vrf TEN_E_PEG_L3_MULTICAST_ENABLED multicast group 232.0.96.50 +! +ip virtual-router mac-address 00:dc:00:00:00:0a +! +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_DISABLED_330_331 address 10.255.3.6 +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_ENABLED_130_131 address 10.255.1.6 +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 address 10.255.2.6 +ip address virtual source-nat vrf TEN_D_L3_MULTICAST_DISABLED_240_241 address 10.255.42.6 +ip address virtual source-nat vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 address 10.255.41.6 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE address 10.255.55.6 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES address 10.255.60.6 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_TRANSIT address 10.255.52.6 +ip address virtual source-nat vrf TEN_E_PEG_L3_MULTICAST_ENABLED address 10.255.51.6 +! +ip routing +no ip routing vrf MGMT +ip routing vrf MULTICAST_DISABLED_5_6 +ip routing vrf MULTICAST_DISABLED_310_311 +ip routing vrf MULTICAST_ENABLED_1_2 +ip routing vrf MULTICAST_ENABLED_3_DISABLED_4 +ip routing vrf MULTICAST_ENABLED_110_111 +ip routing vrf MULTICAST_ENABLED_210_DISABLED_211 +ip routing vrf TEN_C_L3_MULTICAST_DISABLED_330_331 +ip routing vrf TEN_C_L3_MULTICAST_ENABLED_130_131 +ip routing vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 +ip routing vrf TEN_D_L3_MULTICAST_DISABLED_240_241 +ip routing vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 +ip routing vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE +ip routing vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES +ip routing vrf TEN_E_L3_MULTICAST_TRANSIT +ip routing vrf TEN_E_PEG_L3_MULTICAST_ENABLED +! +ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY + seq 10 permit 192.168.255.0/24 eq 32 + seq 20 permit 192.168.254.0/24 eq 32 +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.1 +! +route-map RM-CONN-2-BGP permit 10 + match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +! +router bfd + multihop interval 300 min-rx 300 multiplier 3 +! +router bgp 65104 + router-id 192.168.255.6 + maximum-paths 4 ecmp 4 + neighbor EVPN-OVERLAY-PEERS peer group + neighbor EVPN-OVERLAY-PEERS update-source Loopback0 + neighbor EVPN-OVERLAY-PEERS bfd + neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 + neighbor EVPN-OVERLAY-PEERS send-community + neighbor EVPN-OVERLAY-PEERS maximum-routes 0 + neighbor IPv4-UNDERLAY-PEERS peer group + neighbor IPv4-UNDERLAY-PEERS send-community + neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 + neighbor 172.31.255.6 peer group IPv4-UNDERLAY-PEERS + neighbor 172.31.255.6 remote-as 65001 + neighbor 172.31.255.6 description EVPN-MULTICAST-SPINE1_Ethernet4 + neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.1 remote-as 65001 + neighbor 192.168.255.1 description EVPN-MULTICAST-SPINE1 + redistribute connected route-map RM-CONN-2-BGP + ! + vlan 1 + rd 192.168.255.6:10001 + route-target both 10001:10001 + redistribute igmp + redistribute learned + ! + vlan 110 + rd 192.168.255.6:10110 + route-target both 10110:10110 + redistribute igmp + redistribute learned + ! + vlan 111 + rd 192.168.255.6:10111 + route-target both 10111:10111 + redistribute igmp + redistribute learned + ! + vlan 130 + rd 192.168.255.6:10130 + route-target both 10130:10130 + redistribute learned + ! + vlan 131 + rd 192.168.255.6:10131 + route-target both 10131:10131 + redistribute learned + ! + vlan 140 + rd 192.168.255.6:10140 + route-target both 10140:10140 + redistribute learned + ! + vlan 141 + rd 192.168.255.6:10141 + route-target both 10141:10141 + redistribute learned + ! + vlan 150 + rd 192.168.255.6:10150 + route-target both 10150:10150 + redistribute learned + ! + vlan 2 + rd 192.168.255.6:10002 + route-target both 10002:10002 + redistribute igmp + redistribute learned + ! + vlan 210 + rd 192.168.255.6:10210 + route-target both 10210:10210 + redistribute igmp + redistribute learned + ! + vlan 211 + rd 192.168.255.6:10211 + route-target both 10211:10211 + redistribute learned + ! + vlan 230 + rd 192.168.255.6:10230 + route-target both 10230:10230 + redistribute learned + ! + vlan 231 + rd 192.168.255.6:10231 + route-target both 10231:10231 + redistribute learned + ! + vlan 240 + rd 192.168.255.6:10240 + route-target both 10240:10240 + redistribute learned + ! + vlan 241 + rd 192.168.255.6:10241 + route-target both 10241:10241 + redistribute learned + ! + vlan 250 + rd 192.168.255.6:10250 + route-target both 10250:10250 + redistribute learned + ! + vlan 256 + rd 192.168.255.6:10256 + route-target both 10256:10256 + redistribute learned + ! + vlan 257 + rd 192.168.255.6:10257 + route-target both 10257:10257 + redistribute igmp + redistribute learned + ! + vlan 260 + rd 192.168.255.6:10260 + route-target both 10260:10260 + redistribute learned + ! + vlan 3 + rd 192.168.255.6:10003 + route-target both 10003:10003 + redistribute igmp + redistribute learned + ! + vlan 310 + rd 192.168.255.6:10310 + route-target both 10310:10310 + redistribute learned + ! + vlan 311 + rd 192.168.255.6:10311 + route-target both 10311:10311 + redistribute learned + ! + vlan 330 + rd 192.168.255.6:10330 + route-target both 10330:10330 + redistribute learned + ! + vlan 331 + rd 192.168.255.6:10331 + route-target both 10331:10331 + redistribute learned + ! + vlan 4 + rd 192.168.255.6:10004 + route-target both 10004:10004 + redistribute learned + ! + vlan 4092 + rd 192.168.255.6:14092 + route-target both 14092:14092 + redistribute igmp + redistribute learned + ! + vlan 5 + rd 192.168.255.6:10005 + route-target both 10005:10005 + redistribute learned + ! + vlan 550 + rd 192.168.255.6:10550 + route-target both 10550:10550 + redistribute learned + ! + vlan 6 + rd 192.168.255.6:10006 + route-target both 10006:10006 + redistribute learned + ! + vlan 7 + rd 192.168.255.6:10007 + route-target both 10007:10007 + redistribute learned + ! + vlan 8 + rd 192.168.255.6:10008 + route-target both 10008:10008 + redistribute igmp + redistribute learned + ! + vlan 9 + rd 192.168.255.6:10009 + route-target both 10009:10009 + redistribute igmp + redistribute learned + ! + address-family evpn + neighbor EVPN-OVERLAY-PEERS activate + ! + address-family ipv4 + no neighbor EVPN-OVERLAY-PEERS activate + neighbor IPv4-UNDERLAY-PEERS activate + ! + vrf MULTICAST_DISABLED_5_6 + rd 192.168.255.6:22 + route-target import evpn 22:22 + route-target export evpn 22:22 + router-id 192.168.255.6 + redistribute connected + ! + vrf MULTICAST_DISABLED_310_311 + rd 192.168.255.6:13 + route-target import evpn 13:13 + route-target export evpn 13:13 + router-id 192.168.255.6 + redistribute connected + ! + vrf MULTICAST_ENABLED_1_2 + rd 192.168.255.6:21 + route-target import evpn 21:21 + route-target export evpn 21:21 + router-id 192.168.255.6 + redistribute connected + ! + vrf MULTICAST_ENABLED_3_DISABLED_4 + rd 192.168.255.6:22 + route-target import evpn 22:22 + route-target export evpn 22:22 + router-id 192.168.255.6 + redistribute connected + ! + vrf MULTICAST_ENABLED_110_111 + rd 192.168.255.6:11 + route-target import evpn 11:11 + route-target export evpn 11:11 + router-id 192.168.255.6 + redistribute connected + ! + vrf MULTICAST_ENABLED_210_DISABLED_211 + rd 192.168.255.6:12 + route-target import evpn 12:12 + route-target export evpn 12:12 + router-id 192.168.255.6 + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + rd 192.168.255.6:33 + route-target import evpn 33:33 + route-target export evpn 33:33 + router-id 192.168.255.6 + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + rd 192.168.255.6:31 + evpn multicast + route-target import evpn 31:31 + route-target export evpn 31:31 + router-id 192.168.255.6 + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + rd 192.168.255.6:32 + evpn multicast + route-target import evpn 32:32 + route-target export evpn 32:32 + router-id 192.168.255.6 + redistribute connected + ! + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + rd 192.168.255.6:42 + route-target import evpn 42:42 + route-target export evpn 42:42 + router-id 192.168.255.6 + redistribute connected + ! + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + rd 192.168.255.6:41 + evpn multicast + route-target import evpn 41:41 + route-target export evpn 41:41 + router-id 192.168.255.6 + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + rd 192.168.255.6:55 + evpn multicast + route-target import evpn 55:55 + route-target export evpn 55:55 + router-id 192.168.255.6 + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + rd 192.168.255.6:60 + evpn multicast + address-family ipv4 + transit + route-target import evpn 60:60 + route-target export evpn 60:60 + router-id 192.168.255.6 + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + rd 192.168.255.6:52 + evpn multicast + address-family ipv4 + transit + route-target import evpn 52:52 + route-target export evpn 52:52 + router-id 192.168.255.6 + redistribute connected + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + rd 192.168.255.6:51 + evpn multicast + route-target import evpn 51:51 + route-target export evpn 51:51 + router-id 192.168.255.6 + redistribute connected +! +router multicast + ipv4 + routing + software-forwarding sfe + ! + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ipv4 + routing + ! + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ipv4 + routing + ! + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + ipv4 + routing + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4 + routing +! +router pim sparse-mode + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4 + rp address 10.20.20.20 232.0.0.0/21 + rp address 10.40.40.40 + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4 + rp address 10.60.60.60 + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + ipv4 + rp address 10.60.60.60 + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4 + rp address 10.1.50.100 232.0.112.0/21 + rp address 10.1.51.129 232.0.96.0/21 + rp address 10.1.51.129 232.0.104.0/21 + rp address 10.1.52.129 232.0.96.0/21 + rp address 10.1.52.129 232.0.104.0/21 +! +management api http-commands + protocol https + no shutdown + ! + vrf MGMT + no shutdown +! +end diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF3B.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF3B.cfg new file mode 100644 index 00000000000..7b4de5be5c7 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-L3LEAF3B.cfg @@ -0,0 +1,944 @@ +!RANCID-CONTENT-TYPE: arista +! +vlan internal order ascending range 1006 1199 +! +ip igmp snooping vlan 1 querier +ip igmp snooping vlan 1 querier address 1.1.1.1 +ip igmp snooping vlan 1 querier version 3 +ip igmp snooping vlan 2 querier +ip igmp snooping vlan 2 querier address 1.1.1.1 +ip igmp snooping vlan 2 querier version 3 +ip igmp snooping vlan 3 querier +ip igmp snooping vlan 3 querier address 2.2.2.2 +ip igmp snooping vlan 3 querier version 1 +ip igmp snooping vlan 8 querier +ip igmp snooping vlan 8 querier address 1.1.1.1 +ip igmp snooping vlan 8 querier version 3 +ip igmp snooping vlan 9 querier +ip igmp snooping vlan 9 querier address 2.2.2.2 +ip igmp snooping vlan 9 querier version 1 +ip igmp snooping vlan 110 querier +ip igmp snooping vlan 110 querier address 192.168.255.7 +ip igmp snooping vlan 111 querier +ip igmp snooping vlan 111 querier address 192.168.255.7 +ip igmp snooping vlan 210 querier +ip igmp snooping vlan 210 querier address 192.168.255.7 +ip igmp snooping vlan 257 querier +ip igmp snooping vlan 257 querier address 192.168.255.7 +ip igmp snooping vlan 4092 querier +ip igmp snooping vlan 4092 querier address 192.168.255.7 +! +transceiver qsfp default-mode 4x10G +! +service routing protocols model multi-agent +! +hostname EVPN-MULTICAST-L3LEAF3B +! +no enable password +no aaa root +! +vlan 1 + name MULTICAST_ENABLED_1 +! +vlan 2 + name MULTICAST_ENABLED_2 +! +vlan 3 + name MULTICAST_ENABLED_3 +! +vlan 4 + name MULTICAST_DISABLED_4 +! +vlan 5 + name MULTICAST_DISABLED_5 +! +vlan 6 + name MULTICAST_DISABLED_6 +! +vlan 7 + name MULTICAST_DISABLED_7 +! +vlan 8 + name MULTICAST_ENABLED_8 +! +vlan 9 + name MULTICAST_ENABLED_8 +! +vlan 110 + name MULTICAST_ENABLED_110 +! +vlan 111 + name MULTICAST_ENABLED_111 +! +vlan 130 + name L3_MULTICAST_ENABLED_130 +! +vlan 131 + name L3_MULTICAST_ENABLED_131 +! +vlan 140 + name L3_MULTICAST_ENABLED_140 +! +vlan 141 + name L3_MULTICAST_DISABLED_141 +! +vlan 150 + name L3_MULTICAST_ENABLED_150 +! +vlan 210 + name MULTICAST_ENABLED_210 +! +vlan 211 + name MULTICAST_DISABLED_211 +! +vlan 230 + name L3_MULTICAST_ENABLED_230 +! +vlan 231 + name L3_MULTICAST_DISABLED_231 +! +vlan 240 + name L3_MULTICAST_DISABLED_240 +! +vlan 241 + name L3_MULTICAST_DISABLED_241 +! +vlan 250 + name L3_MULTICAST_ENABLED_250 +! +vlan 256 + name MULTICAST_DISABLED_256 +! +vlan 257 + name MULTICAST_ENABLED_257 +! +vlan 260 + name L3_MULTICAST_ENABLED_260 +! +vlan 310 + name MULTICAST_DISABLED_310 +! +vlan 311 + name MULTICAST_DISABLED_311 +! +vlan 330 + name L3_MULTICAST_DISABLED_330 +! +vlan 331 + name L3_MULTICAST_DISABLED_331 +! +vlan 550 + name L3_MULTICAST_ENABLED_550 +! +vlan 4092 + name MULTICAST_ENABLED_4092 +! +vrf instance MGMT +! +vrf instance MULTICAST_DISABLED_5_6 + description MULTICAST_DISABLED_5_6 +! +vrf instance MULTICAST_DISABLED_310_311 + description MULTICAST_DISABLED_310_311 +! +vrf instance MULTICAST_ENABLED_1_2 + description MULTICAST_ENABLED_1_2 +! +vrf instance MULTICAST_ENABLED_3_DISABLED_4 + description MULTICAST_ENABLED_3_DISABLED_4 +! +vrf instance MULTICAST_ENABLED_110_111 + description MULTICAST_ENABLED_110_111 +! +vrf instance MULTICAST_ENABLED_210_DISABLED_211 + description MULTICAST_ENABLED_210_DISABLED_211 +! +vrf instance TEN_C_L3_MULTICAST_DISABLED_330_331 + description L3_MULTICAST_DISABLED_330_331 +! +vrf instance TEN_C_L3_MULTICAST_ENABLED_130_131 + description L3_MULTICAST_ENABLED_130_131 +! +vrf instance TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + description L3_MULTICAST_ENABLED_230_DISABLED_231 +! +vrf instance TEN_D_L3_MULTICAST_DISABLED_240_241 + description L3_MULTICAST_DISABLED_240_241 +! +vrf instance TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + description L3_MULTICAST_ENABLED_140_DISABLED_141 +! +vrf instance TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + description L3_MULTICAST_ENABLED_PEG_OVERRIDE +! +vrf instance TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + description L3_MULTICAST_TRANSIT +! +vrf instance TEN_E_L3_MULTICAST_TRANSIT + description L3_MULTICAST_TRANSIT +! +vrf instance TEN_E_PEG_L3_MULTICAST_ENABLED + description PEG_L3_MULTICAST_ENABLED in Tenant E +! +interface Ethernet1 + description P2P_LINK_TO_EVPN-MULTICAST-SPINE1_Ethernet5 + no shutdown + mtu 9000 + no switchport + ip address 172.31.255.9/31 + pim ipv4 sparse-mode +! +interface Ethernet7 + no shutdown + no switchport +! +interface Ethernet7.10 + no shutdown + encapsulation dot1q vlan 10 + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.1.51.6/31 +! +interface Ethernet8 + no shutdown + no switchport + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.1.51.6/31 + pim ipv4 sparse-mode +! +interface Ethernet9 + no shutdown + no switchport + vrf TEN_E_L3_MULTICAST_TRANSIT + ip address 10.2.52.2/31 + pim ipv4 sparse-mode +! +interface Loopback0 + description EVPN_Overlay_Peering + no shutdown + ip address 192.168.255.7/32 +! +interface Loopback1 + description VTEP_VXLAN_Tunnel_Source + no shutdown + ip address 192.168.254.7/32 +! +interface Loopback31 + description TEN_C_L3_MULTICAST_ENABLED_130_131_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.255.1.7/32 +! +interface Loopback32 + description TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address 10.255.2.7/32 +! +interface Loopback33 + description TEN_C_L3_MULTICAST_DISABLED_330_331_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address 10.255.3.7/32 +! +interface Loopback41 + description TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address 10.255.41.7/32 +! +interface Loopback42 + description TEN_D_L3_MULTICAST_DISABLED_240_241_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address 10.255.42.7/32 +! +interface Loopback51 + description TEN_E_PEG_L3_MULTICAST_ENABLED_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip address 10.255.51.7/32 +! +interface Loopback52 + description TEN_E_L3_MULTICAST_TRANSIT_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_TRANSIT + ip address 10.255.52.7/32 +! +interface Loopback55 + description TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip address 10.255.55.7/32 +! +interface Loopback60 + description TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES_VTEP_DIAGNOSTICS + no shutdown + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip address 10.255.60.7/32 +! +interface Management1 + description oob_management + no shutdown + vrf MGMT + ip address 192.168.200.109/24 +! +interface Vlan1 + description MULTICAST_ENABLED_1 + no shutdown + vrf MULTICAST_ENABLED_1_2 + ip address virtual 10.0.1.1/24 +! +interface Vlan2 + description MULTICAST_ENABLED_2 + no shutdown + vrf MULTICAST_ENABLED_1_2 + ip address virtual 10.0.2.1/24 +! +interface Vlan3 + description MULTICAST_ENABLED_3 + no shutdown + vrf MULTICAST_ENABLED_3_DISABLED_4 + ip address virtual 10.0.3.1/24 +! +interface Vlan4 + description MULTICAST_DISABLED_4 + no shutdown + vrf MULTICAST_ENABLED_3_DISABLED_4 + ip address virtual 10.0.4.1/24 +! +interface Vlan5 + description MULTICAST_DISABLED_5 + no shutdown + vrf MULTICAST_DISABLED_5_6 + ip address virtual 10.0.5.1/24 +! +interface Vlan6 + description MULTICAST_DISABLED_6 + no shutdown + vrf MULTICAST_DISABLED_5_6 + ip address virtual 10.0.6.1/24 +! +interface Vlan110 + description MULTICAST_ENABLED_110 + no shutdown + vrf MULTICAST_ENABLED_110_111 + ip address virtual 10.1.10.1/24 +! +interface Vlan111 + description MULTICAST_ENABLED_111 + no shutdown + vrf MULTICAST_ENABLED_110_111 + ip address virtual 10.1.11.1/24 +! +interface Vlan130 + description L3_MULTICAST_ENABLED_130 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip igmp + pim ipv4 local-interface Loopback31 + ip address virtual 10.1.13.1/24 +! +interface Vlan131 + description L3_MULTICAST_ENABLED_131 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ip address 10.1.14.6/24 + ip igmp + ip virtual-router address 10.1.14.1 +! +interface Vlan140 + description L3_MULTICAST_ENABLED_140 + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip igmp + pim ipv4 local-interface Loopback41 + ip address virtual 10.1.14.1/24 +! +interface Vlan141 + description L3_MULTICAST_DISABLED_141 + no shutdown + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip address virtual 10.1.15.1/24 +! +interface Vlan150 + description L3_MULTICAST_ENABLED_150 + no shutdown + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ip igmp + pim ipv4 local-interface Loopback51 + ip address virtual 10.1.15.1/24 +! +interface Vlan210 + description MULTICAST_ENABLED_210 + no shutdown + vrf MULTICAST_ENABLED_210_DISABLED_211 + ip address virtual 10.2.10.1/24 +! +interface Vlan211 + description MULTICAST_DISABLED_211 + no shutdown + vrf MULTICAST_ENABLED_210_DISABLED_211 + ip address virtual 10.2.11.1/24 +! +interface Vlan230 + description L3_MULTICAST_ENABLED_230 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip igmp + pim ipv4 local-interface Loopback32 + ip address virtual 10.2.23.1/24 +! +interface Vlan231 + description L3_MULTICAST_DISABLED_231 + no shutdown + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip address virtual 10.2.24.1/24 +! +interface Vlan240 + description L3_MULTICAST_DISABLED_240 + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address virtual 10.1.24.1/24 +! +interface Vlan241 + description L3_MULTICAST_DISABLED_241 + no shutdown + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + ip address virtual 10.1.25.1/24 +! +interface Vlan250 + description L3_MULTICAST_ENABLED_250 + no shutdown + vrf TEN_E_L3_MULTICAST_TRANSIT + ip igmp + pim ipv4 local-interface Loopback52 + ip address virtual 10.1.15.1/24 +! +interface Vlan260 + description L3_MULTICAST_ENABLED_260 + no shutdown + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip igmp + pim ipv4 local-interface Loopback60 + ip address virtual 10.1.26.1/24 +! +interface Vlan310 + description MULTICAST_DISABLED_310 + no shutdown + vrf MULTICAST_DISABLED_310_311 + ip address virtual 10.3.10.1/24 +! +interface Vlan311 + description MULTICAST_DISABLED_311 + no shutdown + vrf MULTICAST_DISABLED_310_311 + ip address virtual 10.3.11.1/24 +! +interface Vlan330 + description L3_MULTICAST_DISABLED_330 + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address virtual 10.3.33.1/24 +! +interface Vlan331 + description L3_MULTICAST_DISABLED_331 + no shutdown + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + ip address virtual 10.3.34.1/24 +! +interface Vlan550 + description L3_MULTICAST_ENABLED_550 + no shutdown + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip igmp + pim ipv4 local-interface Loopback55 + ip address virtual 10.1.56.1/24 +! +interface Vxlan1 + description EVPN-MULTICAST-L3LEAF3B_VTEP + vxlan source-interface Loopback1 + vxlan udp-port 4789 + vxlan vlan 1 vni 10001 + vxlan vlan 2 vni 10002 + vxlan vlan 3 vni 10003 + vxlan vlan 4 vni 10004 + vxlan vlan 5 vni 10005 + vxlan vlan 6 vni 10006 + vxlan vlan 7 vni 10007 + vxlan vlan 8 vni 10008 + vxlan vlan 9 vni 10009 + vxlan vlan 110 vni 10110 + vxlan vlan 111 vni 10111 + vxlan vlan 130 vni 10130 + vxlan vlan 131 vni 10131 + vxlan vlan 140 vni 10140 + vxlan vlan 141 vni 10141 + vxlan vlan 150 vni 10150 + vxlan vlan 210 vni 10210 + vxlan vlan 211 vni 10211 + vxlan vlan 230 vni 10230 + vxlan vlan 231 vni 10231 + vxlan vlan 240 vni 10240 + vxlan vlan 241 vni 10241 + vxlan vlan 250 vni 10250 + vxlan vlan 256 vni 10256 + vxlan vlan 257 vni 10257 + vxlan vlan 260 vni 10260 + vxlan vlan 310 vni 10310 + vxlan vlan 311 vni 10311 + vxlan vlan 330 vni 10330 + vxlan vlan 331 vni 10331 + vxlan vlan 550 vni 10550 + vxlan vlan 4092 vni 14092 + vxlan vrf MULTICAST_DISABLED_5_6 vni 22 + vxlan vrf MULTICAST_DISABLED_310_311 vni 13 + vxlan vrf MULTICAST_ENABLED_1_2 vni 21 + vxlan vrf MULTICAST_ENABLED_3_DISABLED_4 vni 22 + vxlan vrf MULTICAST_ENABLED_110_111 vni 11 + vxlan vrf MULTICAST_ENABLED_210_DISABLED_211 vni 12 + vxlan vrf TEN_C_L3_MULTICAST_DISABLED_330_331 vni 33 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_130_131 vni 31 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 vni 32 + vxlan vrf TEN_D_L3_MULTICAST_DISABLED_240_241 vni 42 + vxlan vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 vni 41 + vxlan vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE vni 55 + vxlan vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES vni 60 + vxlan vrf TEN_E_L3_MULTICAST_TRANSIT vni 52 + vxlan vrf TEN_E_PEG_L3_MULTICAST_ENABLED vni 51 + vxlan vlan 1 multicast group 232.0.16.1 + vxlan vlan 2 multicast group 232.0.16.2 + vxlan vlan 3 multicast group 232.0.16.3 + vxlan vlan 8 multicast group 232.0.16.8 + vxlan vlan 9 multicast group 232.0.16.9 + vxlan vlan 110 multicast group 232.0.0.109 + vxlan vlan 111 multicast group 232.0.0.110 + vxlan vlan 210 multicast group 232.0.0.209 + vxlan vlan 257 multicast group 232.0.1.0 + vxlan vlan 4092 multicast group 232.0.15.251 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_130_131 multicast group 232.0.32.31 + vxlan vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 multicast group 232.0.32.32 + vxlan vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 multicast group 232.0.64.40 + vxlan vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE multicast group 232.0.96.54 + vxlan vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES multicast group 232.0.96.59 + vxlan vrf TEN_E_L3_MULTICAST_TRANSIT multicast group 232.0.96.51 + vxlan vrf TEN_E_PEG_L3_MULTICAST_ENABLED multicast group 232.0.96.50 +! +ip virtual-router mac-address 00:dc:00:00:00:0a +! +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_DISABLED_330_331 address 10.255.3.7 +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_ENABLED_130_131 address 10.255.1.7 +ip address virtual source-nat vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 address 10.255.2.7 +ip address virtual source-nat vrf TEN_D_L3_MULTICAST_DISABLED_240_241 address 10.255.42.7 +ip address virtual source-nat vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 address 10.255.41.7 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE address 10.255.55.7 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES address 10.255.60.7 +ip address virtual source-nat vrf TEN_E_L3_MULTICAST_TRANSIT address 10.255.52.7 +ip address virtual source-nat vrf TEN_E_PEG_L3_MULTICAST_ENABLED address 10.255.51.7 +! +ip routing +no ip routing vrf MGMT +ip routing vrf MULTICAST_DISABLED_5_6 +ip routing vrf MULTICAST_DISABLED_310_311 +ip routing vrf MULTICAST_ENABLED_1_2 +ip routing vrf MULTICAST_ENABLED_3_DISABLED_4 +ip routing vrf MULTICAST_ENABLED_110_111 +ip routing vrf MULTICAST_ENABLED_210_DISABLED_211 +ip routing vrf TEN_C_L3_MULTICAST_DISABLED_330_331 +ip routing vrf TEN_C_L3_MULTICAST_ENABLED_130_131 +ip routing vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 +ip routing vrf TEN_D_L3_MULTICAST_DISABLED_240_241 +ip routing vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 +ip routing vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE +ip routing vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES +ip routing vrf TEN_E_L3_MULTICAST_TRANSIT +ip routing vrf TEN_E_PEG_L3_MULTICAST_ENABLED +! +ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY + seq 10 permit 192.168.255.0/24 eq 32 + seq 20 permit 192.168.254.0/24 eq 32 +! +ip route vrf MGMT 0.0.0.0/0 192.168.200.1 +! +route-map RM-CONN-2-BGP permit 10 + match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +! +router bfd + multihop interval 300 min-rx 300 multiplier 3 +! +router bgp 65105 + router-id 192.168.255.7 + maximum-paths 4 ecmp 4 + neighbor EVPN-OVERLAY-PEERS peer group + neighbor EVPN-OVERLAY-PEERS update-source Loopback0 + neighbor EVPN-OVERLAY-PEERS bfd + neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3 + neighbor EVPN-OVERLAY-PEERS send-community + neighbor EVPN-OVERLAY-PEERS maximum-routes 0 + neighbor IPv4-UNDERLAY-PEERS peer group + neighbor IPv4-UNDERLAY-PEERS send-community + neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000 + neighbor 172.31.255.8 peer group IPv4-UNDERLAY-PEERS + neighbor 172.31.255.8 remote-as 65001 + neighbor 172.31.255.8 description EVPN-MULTICAST-SPINE1_Ethernet5 + neighbor 192.168.255.1 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.1 remote-as 65001 + neighbor 192.168.255.1 description EVPN-MULTICAST-SPINE1 + redistribute connected route-map RM-CONN-2-BGP + ! + vlan 1 + rd 192.168.255.7:10001 + route-target both 10001:10001 + redistribute igmp + redistribute learned + ! + vlan 110 + rd 192.168.255.7:10110 + route-target both 10110:10110 + redistribute igmp + redistribute learned + ! + vlan 111 + rd 192.168.255.7:10111 + route-target both 10111:10111 + redistribute igmp + redistribute learned + ! + vlan 130 + rd 192.168.255.7:10130 + route-target both 10130:10130 + redistribute learned + ! + vlan 131 + rd 192.168.255.7:10131 + route-target both 10131:10131 + redistribute learned + ! + vlan 140 + rd 192.168.255.7:10140 + route-target both 10140:10140 + redistribute learned + ! + vlan 141 + rd 192.168.255.7:10141 + route-target both 10141:10141 + redistribute learned + ! + vlan 150 + rd 192.168.255.7:10150 + route-target both 10150:10150 + redistribute learned + ! + vlan 2 + rd 192.168.255.7:10002 + route-target both 10002:10002 + redistribute igmp + redistribute learned + ! + vlan 210 + rd 192.168.255.7:10210 + route-target both 10210:10210 + redistribute igmp + redistribute learned + ! + vlan 211 + rd 192.168.255.7:10211 + route-target both 10211:10211 + redistribute learned + ! + vlan 230 + rd 192.168.255.7:10230 + route-target both 10230:10230 + redistribute learned + ! + vlan 231 + rd 192.168.255.7:10231 + route-target both 10231:10231 + redistribute learned + ! + vlan 240 + rd 192.168.255.7:10240 + route-target both 10240:10240 + redistribute learned + ! + vlan 241 + rd 192.168.255.7:10241 + route-target both 10241:10241 + redistribute learned + ! + vlan 250 + rd 192.168.255.7:10250 + route-target both 10250:10250 + redistribute learned + ! + vlan 256 + rd 192.168.255.7:10256 + route-target both 10256:10256 + redistribute learned + ! + vlan 257 + rd 192.168.255.7:10257 + route-target both 10257:10257 + redistribute igmp + redistribute learned + ! + vlan 260 + rd 192.168.255.7:10260 + route-target both 10260:10260 + redistribute learned + ! + vlan 3 + rd 192.168.255.7:10003 + route-target both 10003:10003 + redistribute igmp + redistribute learned + ! + vlan 310 + rd 192.168.255.7:10310 + route-target both 10310:10310 + redistribute learned + ! + vlan 311 + rd 192.168.255.7:10311 + route-target both 10311:10311 + redistribute learned + ! + vlan 330 + rd 192.168.255.7:10330 + route-target both 10330:10330 + redistribute learned + ! + vlan 331 + rd 192.168.255.7:10331 + route-target both 10331:10331 + redistribute learned + ! + vlan 4 + rd 192.168.255.7:10004 + route-target both 10004:10004 + redistribute learned + ! + vlan 4092 + rd 192.168.255.7:14092 + route-target both 14092:14092 + redistribute igmp + redistribute learned + ! + vlan 5 + rd 192.168.255.7:10005 + route-target both 10005:10005 + redistribute learned + ! + vlan 550 + rd 192.168.255.7:10550 + route-target both 10550:10550 + redistribute learned + ! + vlan 6 + rd 192.168.255.7:10006 + route-target both 10006:10006 + redistribute learned + ! + vlan 7 + rd 192.168.255.7:10007 + route-target both 10007:10007 + redistribute learned + ! + vlan 8 + rd 192.168.255.7:10008 + route-target both 10008:10008 + redistribute igmp + redistribute learned + ! + vlan 9 + rd 192.168.255.7:10009 + route-target both 10009:10009 + redistribute igmp + redistribute learned + ! + address-family evpn + neighbor EVPN-OVERLAY-PEERS activate + ! + address-family ipv4 + no neighbor EVPN-OVERLAY-PEERS activate + neighbor IPv4-UNDERLAY-PEERS activate + ! + vrf MULTICAST_DISABLED_5_6 + rd 192.168.255.7:22 + route-target import evpn 22:22 + route-target export evpn 22:22 + router-id 192.168.255.7 + redistribute connected + ! + vrf MULTICAST_DISABLED_310_311 + rd 192.168.255.7:13 + route-target import evpn 13:13 + route-target export evpn 13:13 + router-id 192.168.255.7 + redistribute connected + ! + vrf MULTICAST_ENABLED_1_2 + rd 192.168.255.7:21 + route-target import evpn 21:21 + route-target export evpn 21:21 + router-id 192.168.255.7 + redistribute connected + ! + vrf MULTICAST_ENABLED_3_DISABLED_4 + rd 192.168.255.7:22 + route-target import evpn 22:22 + route-target export evpn 22:22 + router-id 192.168.255.7 + redistribute connected + ! + vrf MULTICAST_ENABLED_110_111 + rd 192.168.255.7:11 + route-target import evpn 11:11 + route-target export evpn 11:11 + router-id 192.168.255.7 + redistribute connected + ! + vrf MULTICAST_ENABLED_210_DISABLED_211 + rd 192.168.255.7:12 + route-target import evpn 12:12 + route-target export evpn 12:12 + router-id 192.168.255.7 + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_DISABLED_330_331 + rd 192.168.255.7:33 + route-target import evpn 33:33 + route-target export evpn 33:33 + router-id 192.168.255.7 + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + rd 192.168.255.7:31 + evpn multicast + route-target import evpn 31:31 + route-target export evpn 31:31 + router-id 192.168.255.7 + redistribute connected + ! + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + rd 192.168.255.7:32 + evpn multicast + route-target import evpn 32:32 + route-target export evpn 32:32 + router-id 192.168.255.7 + redistribute connected + ! + vrf TEN_D_L3_MULTICAST_DISABLED_240_241 + rd 192.168.255.7:42 + route-target import evpn 42:42 + route-target export evpn 42:42 + router-id 192.168.255.7 + redistribute connected + ! + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + rd 192.168.255.7:41 + evpn multicast + route-target import evpn 41:41 + route-target export evpn 41:41 + router-id 192.168.255.7 + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + rd 192.168.255.7:55 + evpn multicast + route-target import evpn 55:55 + route-target export evpn 55:55 + router-id 192.168.255.7 + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + rd 192.168.255.7:60 + evpn multicast + address-family ipv4 + transit + route-target import evpn 60:60 + route-target export evpn 60:60 + router-id 192.168.255.7 + redistribute connected + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + rd 192.168.255.7:52 + evpn multicast + address-family ipv4 + transit + route-target import evpn 52:52 + route-target export evpn 52:52 + router-id 192.168.255.7 + redistribute connected + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + rd 192.168.255.7:51 + evpn multicast + route-target import evpn 51:51 + route-target export evpn 51:51 + router-id 192.168.255.7 + redistribute connected +! +router multicast + ipv4 + routing + software-forwarding sfe + ! + vrf TEN_C_L3_MULTICAST_ENABLED_130_131 + ipv4 + routing + ! + vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ipv4 + routing + ! + vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4 + routing + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + ipv4 + routing + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4 + routing +! +router pim sparse-mode + ! + vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4 + rp address 10.20.20.20 232.0.0.0/21 + rp address 10.40.40.40 + ! + vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4 + rp address 10.60.60.60 + ! + vrf TEN_E_L3_MULTICAST_TRANSIT + ipv4 + rp address 10.60.60.60 + ! + vrf TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4 + rp address 10.1.50.100 232.0.112.0/21 + rp address 10.1.51.129 232.0.96.0/21 + rp address 10.1.51.129 232.0.104.0/21 + rp address 10.1.52.129 232.0.96.0/21 + rp address 10.1.52.129 232.0.104.0/21 +! +management api http-commands + protocol https + no shutdown + ! + vrf MGMT + no shutdown +! +end diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-SPINE1.cfg b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-SPINE1.cfg index 16f0c5a4e7a..30201755be7 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-SPINE1.cfg +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/configs/EVPN-MULTICAST-SPINE1.cfg @@ -39,6 +39,22 @@ interface Ethernet3 ip address 172.31.255.4/31 pim ipv4 sparse-mode ! +interface Ethernet4 + description P2P_LINK_TO_EVPN-MULTICAST-L3LEAF3A_Ethernet1 + no shutdown + mtu 9000 + no switchport + ip address 172.31.255.6/31 + pim ipv4 sparse-mode +! +interface Ethernet5 + description P2P_LINK_TO_EVPN-MULTICAST-L3LEAF3B_Ethernet1 + no shutdown + mtu 9000 + no switchport + ip address 172.31.255.8/31 + pim ipv4 sparse-mode +! interface Loopback0 description EVPN_Overlay_Peering no shutdown @@ -84,8 +100,14 @@ router bgp 65001 neighbor 172.31.255.3 remote-as 65101 neighbor 172.31.255.3 description EVPN-MULTICAST-L3LEAF1B_Ethernet1 neighbor 172.31.255.5 peer group IPv4-UNDERLAY-PEERS - neighbor 172.31.255.5 remote-as 65102 + neighbor 172.31.255.5 remote-as 65103 neighbor 172.31.255.5 description EVPN-MULTICAST-L3LEAF2A_Ethernet1 + neighbor 172.31.255.7 peer group IPv4-UNDERLAY-PEERS + neighbor 172.31.255.7 remote-as 65104 + neighbor 172.31.255.7 description EVPN-MULTICAST-L3LEAF3A_Ethernet1 + neighbor 172.31.255.9 peer group IPv4-UNDERLAY-PEERS + neighbor 172.31.255.9 remote-as 65105 + neighbor 172.31.255.9 description EVPN-MULTICAST-L3LEAF3B_Ethernet1 neighbor 192.168.255.3 peer group EVPN-OVERLAY-PEERS neighbor 192.168.255.3 remote-as 65101 neighbor 192.168.255.3 description EVPN-MULTICAST-L3LEAF1A @@ -93,8 +115,14 @@ router bgp 65001 neighbor 192.168.255.4 remote-as 65101 neighbor 192.168.255.4 description EVPN-MULTICAST-L3LEAF1B neighbor 192.168.255.5 peer group EVPN-OVERLAY-PEERS - neighbor 192.168.255.5 remote-as 65102 + neighbor 192.168.255.5 remote-as 65103 neighbor 192.168.255.5 description EVPN-MULTICAST-L3LEAF2A + neighbor 192.168.255.6 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.6 remote-as 65104 + neighbor 192.168.255.6 description EVPN-MULTICAST-L3LEAF3A + neighbor 192.168.255.7 peer group EVPN-OVERLAY-PEERS + neighbor 192.168.255.7 remote-as 65105 + neighbor 192.168.255.7 description EVPN-MULTICAST-L3LEAF3B redistribute connected route-map RM-CONN-2-BGP ! address-family evpn diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L2LEAF1A.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L2LEAF1A.yml index e6d37b3954f..508c1d7c7fc 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L2LEAF1A.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L2LEAF1A.yml @@ -51,7 +51,7 @@ port_channel_interfaces: type: switched shutdown: false mode: trunk - vlans: 1-9,110-111,210-211,256-257,310-311,4092 + vlans: 1-9,110-111,130-131,140-141,150,210-211,230-231,240-241,250,256-257,260,310-311,330-331,550,4092 vlans: 310: tenant: Tenant_A @@ -107,5 +107,47 @@ vlans: 9: tenant: Tenant_B name: MULTICAST_ENABLED_8 + 330: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_330 + 331: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_331 + 130: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_130 + 131: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_131 + 230: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_230 + 231: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_231 + 240: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_240 + 241: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_241 + 140: + tenant: Tenant_D + name: L3_MULTICAST_ENABLED_140 + 141: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_141 + 550: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_550 + 260: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_260 + 250: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_250 + 150: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_150 ip_igmp_snooping: globally_enabled: true diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF1A.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF1A.yml index 81217a3f9de..6855ffd87dc 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF1A.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF1A.yml @@ -141,6 +141,156 @@ router_bgp: neighbors: 10.255.251.1: peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_C_L3_MULTICAST_DISABLED_330_331: + router_id: 192.168.255.3 + rd: 192.168.255.3:33 + route_targets: + import: + evpn: + - '33:33' + export: + evpn: + - '33:33' + redistribute_routes: + - connected + evpn_multicast: false + neighbors: + 10.255.251.1: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_C_L3_MULTICAST_ENABLED_130_131: + router_id: 192.168.255.3 + rd: 192.168.255.3:31 + route_targets: + import: + evpn: + - '31:31' + export: + evpn: + - '31:31' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.1: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + router_id: 192.168.255.3 + rd: 192.168.255.3:32 + route_targets: + import: + evpn: + - '32:32' + export: + evpn: + - '32:32' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.1: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_D_L3_MULTICAST_DISABLED_240_241: + router_id: 192.168.255.3 + rd: 192.168.255.3:42 + route_targets: + import: + evpn: + - '42:42' + export: + evpn: + - '42:42' + redistribute_routes: + - connected + evpn_multicast: false + neighbors: + 10.255.251.1: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + router_id: 192.168.255.3 + rd: 192.168.255.3:41 + route_targets: + import: + evpn: + - '41:41' + export: + evpn: + - '41:41' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.1: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + router_id: 192.168.255.3 + rd: 192.168.255.3:55 + route_targets: + import: + evpn: + - '55:55' + export: + evpn: + - '55:55' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.1: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + router_id: 192.168.255.3 + rd: 192.168.255.3:60 + route_targets: + import: + evpn: + - 60:60 + export: + evpn: + - 60:60 + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.1: + peer_group: MLAG-IPv4-UNDERLAY-PEER + evpn_multicast_address_family: + ipv4: + transit: true + TEN_E_L3_MULTICAST_TRANSIT: + router_id: 192.168.255.3 + rd: 192.168.255.3:52 + route_targets: + import: + evpn: + - '52:52' + export: + evpn: + - '52:52' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.1: + peer_group: MLAG-IPv4-UNDERLAY-PEER + evpn_multicast_address_family: + ipv4: + transit: true + TEN_E_PEG_L3_MULTICAST_ENABLED: + router_id: 192.168.255.3 + rd: 192.168.255.3:51 + route_targets: + import: + evpn: + - '51:51' + export: + evpn: + - '51:51' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.1: + peer_group: MLAG-IPv4-UNDERLAY-PEER vlan_aware_bundles: MULTICAST_DISABLED_310_311: rd: 192.168.255.3:13 @@ -242,6 +392,78 @@ router_bgp: - learned - igmp vlan: 9 + TEN_C_L3_MULTICAST_DISABLED_330_331: + rd: 192.168.255.3:33 + route_targets: + both: + - '33:33' + redistribute_routes: + - learned + vlan: 330-331 + TEN_C_L3_MULTICAST_ENABLED_130_131: + rd: 192.168.255.3:31 + route_targets: + both: + - '31:31' + redistribute_routes: + - learned + vlan: 130-131 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + rd: 192.168.255.3:32 + route_targets: + both: + - '32:32' + redistribute_routes: + - learned + vlan: 230-231 + TEN_D_L3_MULTICAST_DISABLED_240_241: + rd: 192.168.255.3:42 + route_targets: + both: + - '42:42' + redistribute_routes: + - learned + vlan: 240-241 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + rd: 192.168.255.3:41 + route_targets: + both: + - '41:41' + redistribute_routes: + - learned + vlan: 140-141 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + rd: 192.168.255.3:55 + route_targets: + both: + - '55:55' + redistribute_routes: + - learned + vlan: '550' + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + rd: 192.168.255.3:60 + route_targets: + both: + - 60:60 + redistribute_routes: + - learned + vlan: '260' + TEN_E_L3_MULTICAST_TRANSIT: + rd: 192.168.255.3:52 + route_targets: + both: + - '52:52' + redistribute_routes: + - learned + vlan: '250' + TEN_E_PEG_L3_MULTICAST_ENABLED: + rd: 192.168.255.3:51 + route_targets: + both: + - '51:51' + redistribute_routes: + - learned + vlan: '150' static_routes: - vrf: MGMT destination_address_prefix: 0.0.0.0/0 @@ -252,6 +474,28 @@ router_multicast: ipv4: routing: true software_forwarding: sfe + vrfs: + - name: TEN_C_L3_MULTICAST_ENABLED_130_131 + ipv4: + routing: true + - name: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ipv4: + routing: true + - name: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_TRANSIT + ipv4: + routing: true + - name: TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4: + routing: true vlan_internal_order: allocation: ascending range: @@ -284,6 +528,42 @@ vrfs: tenant: Tenant_B ip_routing: true description: MULTICAST_ENABLED_3_DISABLED_4 + TEN_C_L3_MULTICAST_DISABLED_330_331: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_DISABLED_330_331 + TEN_C_L3_MULTICAST_ENABLED_130_131: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_ENABLED_130_131 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_ENABLED_230_DISABLED_231 + TEN_D_L3_MULTICAST_DISABLED_240_241: + tenant: Tenant_D + ip_routing: true + description: L3_MULTICAST_DISABLED_240_241 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + tenant: Tenant_D + ip_routing: true + description: L3_MULTICAST_ENABLED_140_DISABLED_141 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_ENABLED_PEG_OVERRIDE + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_TRANSIT + TEN_E_L3_MULTICAST_TRANSIT: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_TRANSIT + TEN_E_PEG_L3_MULTICAST_ENABLED: + tenant: Tenant_E + ip_routing: true + description: PEG_L3_MULTICAST_ENABLED in Tenant E management_interfaces: Management1: description: oob_management @@ -388,6 +668,93 @@ vlans: 9: tenant: Tenant_B name: MULTICAST_ENABLED_8 + 330: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_330 + 331: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_331 + 3032: + tenant: Tenant_C + name: MLAG_iBGP_TEN_C_L3_MULTICAST_DISABLED_330_331 + trunk_groups: + - LEAF_PEER_L3 + 130: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_130 + 131: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_131 + 3030: + tenant: Tenant_C + name: MLAG_iBGP_TEN_C_L3_MULTICAST_ENABLED_130_131 + trunk_groups: + - LEAF_PEER_L3 + 230: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_230 + 231: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_231 + 3031: + tenant: Tenant_C + name: MLAG_iBGP_TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + trunk_groups: + - LEAF_PEER_L3 + 240: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_240 + 241: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_241 + 3041: + tenant: Tenant_D + name: MLAG_iBGP_TEN_D_L3_MULTICAST_DISABLED_240_241 + trunk_groups: + - LEAF_PEER_L3 + 140: + tenant: Tenant_D + name: L3_MULTICAST_ENABLED_140 + 141: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_141 + 3040: + tenant: Tenant_D + name: MLAG_iBGP_TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + trunk_groups: + - LEAF_PEER_L3 + 550: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_550 + 3054: + tenant: Tenant_E + name: MLAG_iBGP_TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + trunk_groups: + - LEAF_PEER_L3 + 260: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_260 + 3059: + tenant: Tenant_E + name: MLAG_iBGP_TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + trunk_groups: + - LEAF_PEER_L3 + 250: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_250 + 3051: + tenant: Tenant_E + name: MLAG_iBGP_TEN_E_L3_MULTICAST_TRANSIT + trunk_groups: + - LEAF_PEER_L3 + 150: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_150 + 3050: + tenant: Tenant_E + name: MLAG_iBGP_TEN_E_PEG_L3_MULTICAST_ENABLED + trunk_groups: + - LEAF_PEER_L3 vlan_interfaces: Vlan4093: description: MLAG_PEER_L3_PEERING @@ -539,6 +906,223 @@ vlan_interfaces: shutdown: false ip_address_virtual: 10.0.4.1/24 vrf: MULTICAST_ENABLED_3_DISABLED_4 + Vlan330: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_330 + shutdown: false + ip_address_virtual: 10.3.33.1/24 + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + Vlan331: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_331 + shutdown: false + ip_address_virtual: 10.3.34.1/24 + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + Vlan3032: + tenant: Tenant_C + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_DISABLED_330_331' + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + mtu: 9000 + ip_address: 10.255.251.0/31 + Vlan130: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_130 + shutdown: false + ip_address_virtual: 10.1.13.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback31 + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + Vlan131: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_131 + shutdown: false + ip_address: 10.1.14.2/24 + ip_virtual_router_addresses: + - 10.1.14.1 + pim: + ipv4: + sparse_mode: true + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + Vlan3030: + tenant: Tenant_C + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_ENABLED_130_131' + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + mtu: 9000 + ip_address: 10.255.251.0/31 + Vlan230: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_230 + shutdown: false + ip_address_virtual: 10.2.23.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback32 + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + Vlan231: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_231 + shutdown: false + ip_address_virtual: 10.2.24.1/24 + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + Vlan3031: + tenant: Tenant_C + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231' + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + mtu: 9000 + ip_address: 10.255.251.0/31 + Vlan240: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_240 + shutdown: false + ip_address_virtual: 10.1.24.1/24 + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + Vlan241: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_241 + shutdown: false + ip_address_virtual: 10.1.25.1/24 + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + Vlan3041: + tenant: Tenant_D + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_D_L3_MULTICAST_DISABLED_240_241' + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + mtu: 9000 + ip_address: 10.255.251.0/31 + Vlan140: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_140 + shutdown: false + ip_address_virtual: 10.1.14.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback41 + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + Vlan141: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_141 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + Vlan3040: + tenant: Tenant_D + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141' + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + mtu: 9000 + ip_address: 10.255.251.0/31 + Vlan550: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_550 + shutdown: false + ip_address_virtual: 10.1.56.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback55 + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + Vlan3054: + tenant: Tenant_E + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE' + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + mtu: 9000 + ip_address: 10.255.251.0/31 + Vlan260: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_260 + shutdown: false + ip_address_virtual: 10.1.26.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback60 + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + Vlan3059: + tenant: Tenant_E + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES' + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + mtu: 9000 + ip_address: 10.255.251.0/31 + Vlan250: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_250 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback52 + vrf: TEN_E_L3_MULTICAST_TRANSIT + Vlan3051: + tenant: Tenant_E + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_TRANSIT' + vrf: TEN_E_L3_MULTICAST_TRANSIT + mtu: 9000 + ip_address: 10.255.251.0/31 + Vlan150: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_150 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback51 + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + Vlan3050: + tenant: Tenant_E + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_E_PEG_L3_MULTICAST_ENABLED' + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + mtu: 9000 + ip_address: 10.255.251.0/31 port_channel_interfaces: Port-Channel3: description: MLAG_PEER_EVPN-MULTICAST-L3LEAF1B_Po3 @@ -554,7 +1138,7 @@ port_channel_interfaces: type: switched shutdown: false mode: trunk - vlans: 1-9,110-111,210-211,256-257,310-311,4092 + vlans: 1-9,110-111,130-131,140-141,150,210-211,230-231,240-241,250,256-257,260,310-311,330-331,550,4092 mlag: 6 ethernet_interfaces: Ethernet3: @@ -599,6 +1183,42 @@ ethernet_interfaces: channel_group: id: 6 mode: active + Ethernet8: + peer_type: l3_interface + ip_address: 10.1.55.0/31 + shutdown: false + type: routed + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + pim: + ipv4: + sparse_mode: true + Ethernet10: + peer_type: l3_interface + ip_address: 10.1.60.0/31 + shutdown: false + type: routed + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + pim: + ipv4: + sparse_mode: true + Ethernet9: + peer_type: l3_interface + ip_address: 10.1.52.0/31 + shutdown: false + type: routed + vrf: TEN_E_L3_MULTICAST_TRANSIT + pim: + ipv4: + sparse_mode: true + Ethernet7: + peer_type: l3_interface + ip_address: 10.1.51.0/31 + shutdown: false + type: routed + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + pim: + ipv4: + sparse_mode: true mlag_configuration: domain_id: EVPN_MULTICAST_L3LEAF1 local_interface: Vlan4094 @@ -629,6 +1249,51 @@ loopback_interfaces: description: VTEP_VXLAN_Tunnel_Source shutdown: false ip_address: 192.168.254.3/32 + Loopback33: + description: TEN_C_L3_MULTICAST_DISABLED_330_331_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + ip_address: 10.255.3.3/32 + Loopback31: + description: TEN_C_L3_MULTICAST_ENABLED_130_131_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + ip_address: 10.255.1.3/32 + Loopback32: + description: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip_address: 10.255.2.3/32 + Loopback42: + description: TEN_D_L3_MULTICAST_DISABLED_240_241_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + ip_address: 10.255.42.3/32 + Loopback41: + description: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip_address: 10.255.41.3/32 + Loopback55: + description: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip_address: 10.255.55.3/32 + Loopback60: + description: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip_address: 10.255.60.3/32 + Loopback52: + description: TEN_E_L3_MULTICAST_TRANSIT_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_TRANSIT + ip_address: 10.255.52.3/32 + Loopback51: + description: TEN_E_PEG_L3_MULTICAST_ENABLED_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + ip_address: 10.255.51.3/32 prefix_lists: PL-LOOPBACKS-EVPN-OVERLAY: sequence_numbers: @@ -745,6 +1410,34 @@ vxlan_interface: 9: vni: 10009 multicast_group: 232.0.16.9 + 330: + vni: 10330 + 331: + vni: 10331 + 130: + vni: 10130 + 131: + vni: 10131 + 230: + vni: 10230 + 231: + vni: 10231 + 240: + vni: 10240 + 241: + vni: 10241 + 140: + vni: 10140 + 141: + vni: 10141 + 550: + vni: 10550 + 260: + vni: 10260 + 250: + vni: 10250 + 150: + vni: 10150 vrfs: MULTICAST_DISABLED_310_311: vni: 13 @@ -758,3 +1451,72 @@ vxlan_interface: vni: 21 MULTICAST_ENABLED_3_DISABLED_4: vni: 22 + TEN_C_L3_MULTICAST_DISABLED_330_331: + vni: 33 + TEN_C_L3_MULTICAST_ENABLED_130_131: + vni: 31 + multicast_group: 232.0.32.31 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + vni: 32 + multicast_group: 232.0.32.32 + TEN_D_L3_MULTICAST_DISABLED_240_241: + vni: 42 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + vni: 41 + multicast_group: 232.0.64.40 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + vni: 55 + multicast_group: 232.0.96.54 + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + vni: 60 + multicast_group: 232.0.96.59 + TEN_E_L3_MULTICAST_TRANSIT: + vni: 52 + multicast_group: 232.0.96.51 + TEN_E_PEG_L3_MULTICAST_ENABLED: + vni: 51 + multicast_group: 232.0.96.50 +virtual_source_nat_vrfs: + TEN_C_L3_MULTICAST_DISABLED_330_331: + ip_address: 10.255.3.3 + TEN_C_L3_MULTICAST_ENABLED_130_131: + ip_address: 10.255.1.3 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + ip_address: 10.255.2.3 + TEN_D_L3_MULTICAST_DISABLED_240_241: + ip_address: 10.255.42.3 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + ip_address: 10.255.41.3 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + ip_address: 10.255.55.3 + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + ip_address: 10.255.60.3 + TEN_E_L3_MULTICAST_TRANSIT: + ip_address: 10.255.52.3 + TEN_E_PEG_L3_MULTICAST_ENABLED: + ip_address: 10.255.51.3 +router_pim_sparse_mode: + vrfs: + - name: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4: + rp_addresses: + - address: 10.20.20.20 + groups: + - 232.0.0.0/21 + - address: 10.40.40.40 + - name: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4: + rp_addresses: + - address: 10.30.30.30 + - name: TEN_E_L3_MULTICAST_TRANSIT + ipv4: + rp_addresses: + - address: 10.30.30.30 + - name: TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4: + rp_addresses: + - address: 10.1.50.100 + groups: + - 232.0.112.0/21 + - address: 10.1.51.130 + - address: 10.1.52.130 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF1B.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF1B.yml index 2b376f1cf75..a820d1c9fa9 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF1B.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF1B.yml @@ -141,6 +141,156 @@ router_bgp: neighbors: 10.255.251.0: peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_C_L3_MULTICAST_DISABLED_330_331: + router_id: 192.168.255.4 + rd: 192.168.255.4:33 + route_targets: + import: + evpn: + - '33:33' + export: + evpn: + - '33:33' + redistribute_routes: + - connected + evpn_multicast: false + neighbors: + 10.255.251.0: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_C_L3_MULTICAST_ENABLED_130_131: + router_id: 192.168.255.4 + rd: 192.168.255.4:31 + route_targets: + import: + evpn: + - '31:31' + export: + evpn: + - '31:31' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.0: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + router_id: 192.168.255.4 + rd: 192.168.255.4:32 + route_targets: + import: + evpn: + - '32:32' + export: + evpn: + - '32:32' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.0: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_D_L3_MULTICAST_DISABLED_240_241: + router_id: 192.168.255.4 + rd: 192.168.255.4:42 + route_targets: + import: + evpn: + - '42:42' + export: + evpn: + - '42:42' + redistribute_routes: + - connected + evpn_multicast: false + neighbors: + 10.255.251.0: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + router_id: 192.168.255.4 + rd: 192.168.255.4:41 + route_targets: + import: + evpn: + - '41:41' + export: + evpn: + - '41:41' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.0: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + router_id: 192.168.255.4 + rd: 192.168.255.4:55 + route_targets: + import: + evpn: + - '55:55' + export: + evpn: + - '55:55' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.0: + peer_group: MLAG-IPv4-UNDERLAY-PEER + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + router_id: 192.168.255.4 + rd: 192.168.255.4:60 + route_targets: + import: + evpn: + - 60:60 + export: + evpn: + - 60:60 + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.0: + peer_group: MLAG-IPv4-UNDERLAY-PEER + evpn_multicast_address_family: + ipv4: + transit: true + TEN_E_L3_MULTICAST_TRANSIT: + router_id: 192.168.255.4 + rd: 192.168.255.4:52 + route_targets: + import: + evpn: + - '52:52' + export: + evpn: + - '52:52' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.0: + peer_group: MLAG-IPv4-UNDERLAY-PEER + evpn_multicast_address_family: + ipv4: + transit: true + TEN_E_PEG_L3_MULTICAST_ENABLED: + router_id: 192.168.255.4 + rd: 192.168.255.4:51 + route_targets: + import: + evpn: + - '51:51' + export: + evpn: + - '51:51' + redistribute_routes: + - connected + evpn_multicast: true + neighbors: + 10.255.251.0: + peer_group: MLAG-IPv4-UNDERLAY-PEER vlan_aware_bundles: MULTICAST_DISABLED_310_311: rd: 192.168.255.4:13 @@ -242,6 +392,78 @@ router_bgp: - learned - igmp vlan: 9 + TEN_C_L3_MULTICAST_DISABLED_330_331: + rd: 192.168.255.4:33 + route_targets: + both: + - '33:33' + redistribute_routes: + - learned + vlan: 330-331 + TEN_C_L3_MULTICAST_ENABLED_130_131: + rd: 192.168.255.4:31 + route_targets: + both: + - '31:31' + redistribute_routes: + - learned + vlan: 130-131 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + rd: 192.168.255.4:32 + route_targets: + both: + - '32:32' + redistribute_routes: + - learned + vlan: 230-231 + TEN_D_L3_MULTICAST_DISABLED_240_241: + rd: 192.168.255.4:42 + route_targets: + both: + - '42:42' + redistribute_routes: + - learned + vlan: 240-241 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + rd: 192.168.255.4:41 + route_targets: + both: + - '41:41' + redistribute_routes: + - learned + vlan: 140-141 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + rd: 192.168.255.4:55 + route_targets: + both: + - '55:55' + redistribute_routes: + - learned + vlan: '550' + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + rd: 192.168.255.4:60 + route_targets: + both: + - 60:60 + redistribute_routes: + - learned + vlan: '260' + TEN_E_L3_MULTICAST_TRANSIT: + rd: 192.168.255.4:52 + route_targets: + both: + - '52:52' + redistribute_routes: + - learned + vlan: '250' + TEN_E_PEG_L3_MULTICAST_ENABLED: + rd: 192.168.255.4:51 + route_targets: + both: + - '51:51' + redistribute_routes: + - learned + vlan: '150' static_routes: - vrf: MGMT destination_address_prefix: 0.0.0.0/0 @@ -252,6 +474,28 @@ router_multicast: ipv4: routing: true software_forwarding: sfe + vrfs: + - name: TEN_C_L3_MULTICAST_ENABLED_130_131 + ipv4: + routing: true + - name: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ipv4: + routing: true + - name: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_TRANSIT + ipv4: + routing: true + - name: TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4: + routing: true vlan_internal_order: allocation: ascending range: @@ -284,6 +528,42 @@ vrfs: tenant: Tenant_B ip_routing: true description: MULTICAST_ENABLED_3_DISABLED_4 + TEN_C_L3_MULTICAST_DISABLED_330_331: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_DISABLED_330_331 + TEN_C_L3_MULTICAST_ENABLED_130_131: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_ENABLED_130_131 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_ENABLED_230_DISABLED_231 + TEN_D_L3_MULTICAST_DISABLED_240_241: + tenant: Tenant_D + ip_routing: true + description: L3_MULTICAST_DISABLED_240_241 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + tenant: Tenant_D + ip_routing: true + description: L3_MULTICAST_ENABLED_140_DISABLED_141 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_ENABLED_PEG_OVERRIDE + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_TRANSIT + TEN_E_L3_MULTICAST_TRANSIT: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_TRANSIT + TEN_E_PEG_L3_MULTICAST_ENABLED: + tenant: Tenant_E + ip_routing: true + description: PEG_L3_MULTICAST_ENABLED in Tenant E management_interfaces: Management1: description: oob_management @@ -388,6 +668,93 @@ vlans: 9: tenant: Tenant_B name: MULTICAST_ENABLED_8 + 330: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_330 + 331: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_331 + 3032: + tenant: Tenant_C + name: MLAG_iBGP_TEN_C_L3_MULTICAST_DISABLED_330_331 + trunk_groups: + - LEAF_PEER_L3 + 130: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_130 + 131: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_131 + 3030: + tenant: Tenant_C + name: MLAG_iBGP_TEN_C_L3_MULTICAST_ENABLED_130_131 + trunk_groups: + - LEAF_PEER_L3 + 230: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_230 + 231: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_231 + 3031: + tenant: Tenant_C + name: MLAG_iBGP_TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + trunk_groups: + - LEAF_PEER_L3 + 240: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_240 + 241: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_241 + 3041: + tenant: Tenant_D + name: MLAG_iBGP_TEN_D_L3_MULTICAST_DISABLED_240_241 + trunk_groups: + - LEAF_PEER_L3 + 140: + tenant: Tenant_D + name: L3_MULTICAST_ENABLED_140 + 141: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_141 + 3040: + tenant: Tenant_D + name: MLAG_iBGP_TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + trunk_groups: + - LEAF_PEER_L3 + 550: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_550 + 3054: + tenant: Tenant_E + name: MLAG_iBGP_TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + trunk_groups: + - LEAF_PEER_L3 + 260: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_260 + 3059: + tenant: Tenant_E + name: MLAG_iBGP_TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + trunk_groups: + - LEAF_PEER_L3 + 250: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_250 + 3051: + tenant: Tenant_E + name: MLAG_iBGP_TEN_E_L3_MULTICAST_TRANSIT + trunk_groups: + - LEAF_PEER_L3 + 150: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_150 + 3050: + tenant: Tenant_E + name: MLAG_iBGP_TEN_E_PEG_L3_MULTICAST_ENABLED + trunk_groups: + - LEAF_PEER_L3 vlan_interfaces: Vlan4093: description: MLAG_PEER_L3_PEERING @@ -539,6 +906,223 @@ vlan_interfaces: shutdown: false ip_address_virtual: 10.0.4.1/24 vrf: MULTICAST_ENABLED_3_DISABLED_4 + Vlan330: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_330 + shutdown: false + ip_address_virtual: 10.3.33.1/24 + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + Vlan331: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_331 + shutdown: false + ip_address_virtual: 10.3.34.1/24 + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + Vlan3032: + tenant: Tenant_C + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_DISABLED_330_331' + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + mtu: 9000 + ip_address: 10.255.251.1/31 + Vlan130: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_130 + shutdown: false + ip_address_virtual: 10.1.13.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback31 + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + Vlan131: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_131 + shutdown: false + ip_address: 10.1.14.3/24 + ip_virtual_router_addresses: + - 10.1.14.1 + pim: + ipv4: + sparse_mode: true + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + Vlan3030: + tenant: Tenant_C + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_ENABLED_130_131' + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + mtu: 9000 + ip_address: 10.255.251.1/31 + Vlan230: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_230 + shutdown: false + ip_address_virtual: 10.2.23.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback32 + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + Vlan231: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_231 + shutdown: false + ip_address_virtual: 10.2.24.1/24 + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + Vlan3031: + tenant: Tenant_C + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231' + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + mtu: 9000 + ip_address: 10.255.251.1/31 + Vlan240: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_240 + shutdown: false + ip_address_virtual: 10.1.24.1/24 + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + Vlan241: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_241 + shutdown: false + ip_address_virtual: 10.1.25.1/24 + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + Vlan3041: + tenant: Tenant_D + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_D_L3_MULTICAST_DISABLED_240_241' + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + mtu: 9000 + ip_address: 10.255.251.1/31 + Vlan140: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_140 + shutdown: false + ip_address_virtual: 10.1.14.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback41 + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + Vlan141: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_141 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + Vlan3040: + tenant: Tenant_D + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141' + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + mtu: 9000 + ip_address: 10.255.251.1/31 + Vlan550: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_550 + shutdown: false + ip_address_virtual: 10.1.56.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback55 + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + Vlan3054: + tenant: Tenant_E + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE' + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + mtu: 9000 + ip_address: 10.255.251.1/31 + Vlan260: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_260 + shutdown: false + ip_address_virtual: 10.1.26.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback60 + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + Vlan3059: + tenant: Tenant_E + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES' + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + mtu: 9000 + ip_address: 10.255.251.1/31 + Vlan250: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_250 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback52 + vrf: TEN_E_L3_MULTICAST_TRANSIT + Vlan3051: + tenant: Tenant_E + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_E_L3_MULTICAST_TRANSIT' + vrf: TEN_E_L3_MULTICAST_TRANSIT + mtu: 9000 + ip_address: 10.255.251.1/31 + Vlan150: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_150 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + pim: + ipv4: + sparse_mode: true + local_interface: Loopback51 + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + Vlan3050: + tenant: Tenant_E + type: underlay_peering + shutdown: false + description: 'MLAG_PEER_L3_iBGP: vrf TEN_E_PEG_L3_MULTICAST_ENABLED' + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + mtu: 9000 + ip_address: 10.255.251.1/31 port_channel_interfaces: Port-Channel3: description: MLAG_PEER_EVPN-MULTICAST-L3LEAF1A_Po3 @@ -554,7 +1138,7 @@ port_channel_interfaces: type: switched shutdown: false mode: trunk - vlans: 1-9,110-111,210-211,256-257,310-311,4092 + vlans: 1-9,110-111,130-131,140-141,150,210-211,230-231,240-241,250,256-257,260,310-311,330-331,550,4092 mlag: 6 ethernet_interfaces: Ethernet3: @@ -599,6 +1183,42 @@ ethernet_interfaces: channel_group: id: 6 mode: active + Ethernet8: + peer_type: l3_interface + ip_address: 10.1.55.2/31 + shutdown: false + type: routed + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + pim: + ipv4: + sparse_mode: true + Ethernet10: + peer_type: l3_interface + ip_address: 10.1.60.2/31 + shutdown: false + type: routed + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + pim: + ipv4: + sparse_mode: true + Ethernet9: + peer_type: l3_interface + ip_address: 10.1.52.2/31 + shutdown: false + type: routed + vrf: TEN_E_L3_MULTICAST_TRANSIT + pim: + ipv4: + sparse_mode: true + Ethernet7: + peer_type: l3_interface + ip_address: 10.1.51.2/31 + shutdown: false + type: routed + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + pim: + ipv4: + sparse_mode: true mlag_configuration: domain_id: EVPN_MULTICAST_L3LEAF1 local_interface: Vlan4094 @@ -629,6 +1249,51 @@ loopback_interfaces: description: VTEP_VXLAN_Tunnel_Source shutdown: false ip_address: 192.168.254.3/32 + Loopback33: + description: TEN_C_L3_MULTICAST_DISABLED_330_331_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + ip_address: 10.255.3.4/32 + Loopback31: + description: TEN_C_L3_MULTICAST_ENABLED_130_131_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + ip_address: 10.255.1.4/32 + Loopback32: + description: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip_address: 10.255.2.4/32 + Loopback42: + description: TEN_D_L3_MULTICAST_DISABLED_240_241_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + ip_address: 10.255.42.4/32 + Loopback41: + description: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip_address: 10.255.41.4/32 + Loopback55: + description: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip_address: 10.255.55.4/32 + Loopback60: + description: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip_address: 10.255.60.4/32 + Loopback52: + description: TEN_E_L3_MULTICAST_TRANSIT_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_TRANSIT + ip_address: 10.255.52.4/32 + Loopback51: + description: TEN_E_PEG_L3_MULTICAST_ENABLED_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + ip_address: 10.255.51.4/32 prefix_lists: PL-LOOPBACKS-EVPN-OVERLAY: sequence_numbers: @@ -745,6 +1410,34 @@ vxlan_interface: 9: vni: 10009 multicast_group: 232.0.16.9 + 330: + vni: 10330 + 331: + vni: 10331 + 130: + vni: 10130 + 131: + vni: 10131 + 230: + vni: 10230 + 231: + vni: 10231 + 240: + vni: 10240 + 241: + vni: 10241 + 140: + vni: 10140 + 141: + vni: 10141 + 550: + vni: 10550 + 260: + vni: 10260 + 250: + vni: 10250 + 150: + vni: 10150 vrfs: MULTICAST_DISABLED_310_311: vni: 13 @@ -758,3 +1451,72 @@ vxlan_interface: vni: 21 MULTICAST_ENABLED_3_DISABLED_4: vni: 22 + TEN_C_L3_MULTICAST_DISABLED_330_331: + vni: 33 + TEN_C_L3_MULTICAST_ENABLED_130_131: + vni: 31 + multicast_group: 232.0.32.31 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + vni: 32 + multicast_group: 232.0.32.32 + TEN_D_L3_MULTICAST_DISABLED_240_241: + vni: 42 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + vni: 41 + multicast_group: 232.0.64.40 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + vni: 55 + multicast_group: 232.0.96.54 + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + vni: 60 + multicast_group: 232.0.96.59 + TEN_E_L3_MULTICAST_TRANSIT: + vni: 52 + multicast_group: 232.0.96.51 + TEN_E_PEG_L3_MULTICAST_ENABLED: + vni: 51 + multicast_group: 232.0.96.50 +virtual_source_nat_vrfs: + TEN_C_L3_MULTICAST_DISABLED_330_331: + ip_address: 10.255.3.4 + TEN_C_L3_MULTICAST_ENABLED_130_131: + ip_address: 10.255.1.4 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + ip_address: 10.255.2.4 + TEN_D_L3_MULTICAST_DISABLED_240_241: + ip_address: 10.255.42.4 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + ip_address: 10.255.41.4 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + ip_address: 10.255.55.4 + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + ip_address: 10.255.60.4 + TEN_E_L3_MULTICAST_TRANSIT: + ip_address: 10.255.52.4 + TEN_E_PEG_L3_MULTICAST_ENABLED: + ip_address: 10.255.51.4 +router_pim_sparse_mode: + vrfs: + - name: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4: + rp_addresses: + - address: 10.20.20.20 + groups: + - 232.0.0.0/21 + - address: 10.40.40.40 + - name: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4: + rp_addresses: + - address: 10.30.30.30 + - name: TEN_E_L3_MULTICAST_TRANSIT + ipv4: + rp_addresses: + - address: 10.30.30.30 + - name: TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4: + rp_addresses: + - address: 10.1.50.100 + groups: + - 232.0.112.0/21 + - address: 10.1.51.130 + - address: 10.1.52.130 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF2A.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF2A.yml index 45044b78dda..9f61595d864 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF2A.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF2A.yml @@ -1,5 +1,5 @@ router_bgp: - as: '65102' + as: '65103' router_id: 192.168.255.5 bgp_defaults: - maximum-paths 4 ecmp 4 @@ -110,6 +110,123 @@ router_bgp: - '22:22' redistribute_routes: - connected + TEN_C_L3_MULTICAST_DISABLED_330_331: + router_id: 192.168.255.5 + rd: 192.168.255.5:33 + route_targets: + import: + evpn: + - '33:33' + export: + evpn: + - '33:33' + redistribute_routes: + - connected + evpn_multicast: false + TEN_C_L3_MULTICAST_ENABLED_130_131: + router_id: 192.168.255.5 + rd: 192.168.255.5:31 + route_targets: + import: + evpn: + - '31:31' + export: + evpn: + - '31:31' + redistribute_routes: + - connected + evpn_multicast: true + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + router_id: 192.168.255.5 + rd: 192.168.255.5:32 + route_targets: + import: + evpn: + - '32:32' + export: + evpn: + - '32:32' + redistribute_routes: + - connected + evpn_multicast: true + TEN_D_L3_MULTICAST_DISABLED_240_241: + router_id: 192.168.255.5 + rd: 192.168.255.5:42 + route_targets: + import: + evpn: + - '42:42' + export: + evpn: + - '42:42' + redistribute_routes: + - connected + evpn_multicast: false + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + router_id: 192.168.255.5 + rd: 192.168.255.5:41 + route_targets: + import: + evpn: + - '41:41' + export: + evpn: + - '41:41' + redistribute_routes: + - connected + evpn_multicast: true + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + router_id: 192.168.255.5 + rd: 192.168.255.5:55 + route_targets: + import: + evpn: + - '55:55' + export: + evpn: + - '55:55' + redistribute_routes: + - connected + evpn_multicast: true + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + router_id: 192.168.255.5 + rd: 192.168.255.5:60 + route_targets: + import: + evpn: + - 60:60 + export: + evpn: + - 60:60 + redistribute_routes: + - connected + evpn_multicast: true + TEN_E_L3_MULTICAST_TRANSIT: + router_id: 192.168.255.5 + rd: 192.168.255.5:52 + route_targets: + import: + evpn: + - '52:52' + export: + evpn: + - '52:52' + redistribute_routes: + - connected + evpn_multicast: true + TEN_E_PEG_L3_MULTICAST_ENABLED: + router_id: 192.168.255.5 + rd: 192.168.255.5:51 + route_targets: + import: + evpn: + - '51:51' + export: + evpn: + - '51:51' + redistribute_routes: + - connected + evpn_multicast: true vlans: 310: tenant: Tenant_A @@ -265,6 +382,118 @@ router_bgp: redistribute_routes: - learned - igmp + 330: + tenant: Tenant_C + rd: 192.168.255.5:10330 + route_targets: + both: + - 10330:10330 + redistribute_routes: + - learned + 331: + tenant: Tenant_C + rd: 192.168.255.5:10331 + route_targets: + both: + - 10331:10331 + redistribute_routes: + - learned + 130: + tenant: Tenant_C + rd: 192.168.255.5:10130 + route_targets: + both: + - 10130:10130 + redistribute_routes: + - learned + 131: + tenant: Tenant_C + rd: 192.168.255.5:10131 + route_targets: + both: + - 10131:10131 + redistribute_routes: + - learned + 230: + tenant: Tenant_C + rd: 192.168.255.5:10230 + route_targets: + both: + - 10230:10230 + redistribute_routes: + - learned + 231: + tenant: Tenant_C + rd: 192.168.255.5:10231 + route_targets: + both: + - 10231:10231 + redistribute_routes: + - learned + 240: + tenant: Tenant_D + rd: 192.168.255.5:10240 + route_targets: + both: + - 10240:10240 + redistribute_routes: + - learned + 241: + tenant: Tenant_D + rd: 192.168.255.5:10241 + route_targets: + both: + - 10241:10241 + redistribute_routes: + - learned + 140: + tenant: Tenant_D + rd: 192.168.255.5:10140 + route_targets: + both: + - 10140:10140 + redistribute_routes: + - learned + 141: + tenant: Tenant_D + rd: 192.168.255.5:10141 + route_targets: + both: + - 10141:10141 + redistribute_routes: + - learned + 550: + tenant: Tenant_E + rd: 192.168.255.5:10550 + route_targets: + both: + - 10550:10550 + redistribute_routes: + - learned + 260: + tenant: Tenant_E + rd: 192.168.255.5:10260 + route_targets: + both: + - 10260:10260 + redistribute_routes: + - learned + 250: + tenant: Tenant_E + rd: 192.168.255.5:10250 + route_targets: + both: + - 10250:10250 + redistribute_routes: + - learned + 150: + tenant: Tenant_E + rd: 192.168.255.5:10150 + route_targets: + both: + - 10150:10150 + redistribute_routes: + - learned static_routes: - vrf: MGMT destination_address_prefix: 0.0.0.0/0 @@ -275,6 +504,28 @@ router_multicast: ipv4: routing: true software_forwarding: sfe + vrfs: + - name: TEN_C_L3_MULTICAST_ENABLED_130_131 + ipv4: + routing: true + - name: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ipv4: + routing: true + - name: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_TRANSIT + ipv4: + routing: true + - name: TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4: + routing: true vlan_internal_order: allocation: ascending range: @@ -307,6 +558,42 @@ vrfs: tenant: Tenant_B ip_routing: true description: MULTICAST_ENABLED_3_DISABLED_4 + TEN_C_L3_MULTICAST_DISABLED_330_331: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_DISABLED_330_331 + TEN_C_L3_MULTICAST_ENABLED_130_131: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_ENABLED_130_131 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_ENABLED_230_DISABLED_231 + TEN_D_L3_MULTICAST_DISABLED_240_241: + tenant: Tenant_D + ip_routing: true + description: L3_MULTICAST_DISABLED_240_241 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + tenant: Tenant_D + ip_routing: true + description: L3_MULTICAST_ENABLED_140_DISABLED_141 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_ENABLED_PEG_OVERRIDE + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_TRANSIT + TEN_E_L3_MULTICAST_TRANSIT: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_TRANSIT + TEN_E_PEG_L3_MULTICAST_ENABLED: + tenant: Tenant_E + ip_routing: true + description: PEG_L3_MULTICAST_ENABLED in Tenant E management_interfaces: Management1: description: oob_management @@ -344,6 +631,51 @@ loopback_interfaces: description: VTEP_VXLAN_Tunnel_Source shutdown: false ip_address: 192.168.254.5/32 + Loopback33: + description: TEN_C_L3_MULTICAST_DISABLED_330_331_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + ip_address: 10.255.3.5/32 + Loopback31: + description: TEN_C_L3_MULTICAST_ENABLED_130_131_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + ip_address: 10.255.1.5/32 + Loopback32: + description: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip_address: 10.255.2.5/32 + Loopback42: + description: TEN_D_L3_MULTICAST_DISABLED_240_241_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + ip_address: 10.255.42.5/32 + Loopback41: + description: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip_address: 10.255.41.5/32 + Loopback55: + description: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip_address: 10.255.55.5/32 + Loopback60: + description: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip_address: 10.255.60.5/32 + Loopback52: + description: TEN_E_L3_MULTICAST_TRANSIT_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_TRANSIT + ip_address: 10.255.52.5/32 + Loopback51: + description: TEN_E_PEG_L3_MULTICAST_ENABLED_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + ip_address: 10.255.51.5/32 prefix_lists: PL-LOOPBACKS-EVPN-OVERLAY: sequence_numbers: @@ -418,6 +750,48 @@ vlans: 9: tenant: Tenant_B name: MULTICAST_ENABLED_8 + 330: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_330 + 331: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_331 + 130: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_130 + 131: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_131 + 230: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_230 + 231: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_231 + 240: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_240 + 241: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_241 + 140: + tenant: Tenant_D + name: L3_MULTICAST_ENABLED_140 + 141: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_141 + 550: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_550 + 260: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_260 + 250: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_250 + 150: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_150 ip_igmp_snooping: globally_enabled: true vlans: @@ -564,6 +938,149 @@ vlan_interfaces: shutdown: false ip_address_virtual: 10.0.4.1/24 vrf: MULTICAST_ENABLED_3_DISABLED_4 + Vlan330: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_330 + shutdown: false + ip_address_virtual: 10.3.33.1/24 + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + Vlan331: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_331 + shutdown: false + ip_address_virtual: 10.3.34.1/24 + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + Vlan130: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_130 + shutdown: false + ip_address_virtual: 10.1.13.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback31 + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + Vlan131: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_131 + shutdown: false + ip_address: 10.1.14.4/24 + ip_virtual_router_addresses: + - 10.1.14.1 + ip_igmp: true + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + Vlan230: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_230 + shutdown: false + ip_address_virtual: 10.2.23.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback32 + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + Vlan231: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_231 + shutdown: false + ip_address_virtual: 10.2.24.1/24 + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + Vlan240: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_240 + shutdown: false + ip_address_virtual: 10.1.24.1/24 + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + Vlan241: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_241 + shutdown: false + ip_address_virtual: 10.1.25.1/24 + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + Vlan140: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_140 + shutdown: false + ip_address_virtual: 10.1.14.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback41 + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + Vlan141: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_141 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + Vlan550: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_550 + shutdown: false + ip_address_virtual: 10.1.56.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback55 + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + Vlan260: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_260 + shutdown: false + ip_address_virtual: 10.1.26.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback60 + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + Vlan250: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_250 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback52 + vrf: TEN_E_L3_MULTICAST_TRANSIT + Vlan150: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_150 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback51 + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED vxlan_interface: Vxlan1: description: EVPN-MULTICAST-L3LEAF2A_VTEP @@ -617,6 +1134,34 @@ vxlan_interface: 9: vni: 10009 multicast_group: 232.0.16.9 + 330: + vni: 10330 + 331: + vni: 10331 + 130: + vni: 10130 + 131: + vni: 10131 + 230: + vni: 10230 + 231: + vni: 10231 + 240: + vni: 10240 + 241: + vni: 10241 + 140: + vni: 10140 + 141: + vni: 10141 + 550: + vni: 10550 + 260: + vni: 10260 + 250: + vni: 10250 + 150: + vni: 10150 vrfs: MULTICAST_DISABLED_310_311: vni: 13 @@ -630,3 +1175,62 @@ vxlan_interface: vni: 21 MULTICAST_ENABLED_3_DISABLED_4: vni: 22 + TEN_C_L3_MULTICAST_DISABLED_330_331: + vni: 33 + TEN_C_L3_MULTICAST_ENABLED_130_131: + vni: 31 + multicast_group: 232.0.32.31 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + vni: 32 + multicast_group: 232.0.32.32 + TEN_D_L3_MULTICAST_DISABLED_240_241: + vni: 42 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + vni: 41 + multicast_group: 232.0.64.40 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + vni: 55 + multicast_group: 232.0.96.54 + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + vni: 60 + multicast_group: 232.0.96.59 + TEN_E_L3_MULTICAST_TRANSIT: + vni: 52 + multicast_group: 232.0.96.51 + TEN_E_PEG_L3_MULTICAST_ENABLED: + vni: 51 + multicast_group: 232.0.96.50 +virtual_source_nat_vrfs: + TEN_C_L3_MULTICAST_DISABLED_330_331: + ip_address: 10.255.3.5 + TEN_C_L3_MULTICAST_ENABLED_130_131: + ip_address: 10.255.1.5 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + ip_address: 10.255.2.5 + TEN_D_L3_MULTICAST_DISABLED_240_241: + ip_address: 10.255.42.5 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + ip_address: 10.255.41.5 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + ip_address: 10.255.55.5 + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + ip_address: 10.255.60.5 + TEN_E_L3_MULTICAST_TRANSIT: + ip_address: 10.255.52.5 + TEN_E_PEG_L3_MULTICAST_ENABLED: + ip_address: 10.255.51.5 +router_pim_sparse_mode: + vrfs: + - name: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4: + rp_addresses: + - address: 10.20.20.20 + groups: + - 232.0.0.0/21 + - address: 10.40.40.40 + - name: TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4: + rp_addresses: + - address: 10.1.50.100 + groups: + - 232.0.112.0/21 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF3A.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF3A.yml new file mode 100644 index 00000000000..02bfc839419 --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF3A.yml @@ -0,0 +1,1284 @@ +router_bgp: + as: '65104' + router_id: 192.168.255.6 + bgp_defaults: + - maximum-paths 4 ecmp 4 + peer_groups: + IPv4-UNDERLAY-PEERS: + type: ipv4 + maximum_routes: 12000 + send_community: all + EVPN-OVERLAY-PEERS: + type: evpn + update_source: Loopback0 + bfd: true + send_community: all + maximum_routes: 0 + ebgp_multihop: 3 + address_family_ipv4: + peer_groups: + IPv4-UNDERLAY-PEERS: + activate: true + EVPN-OVERLAY-PEERS: + activate: false + redistribute_routes: + connected: + route_map: RM-CONN-2-BGP + neighbors: + 172.31.255.6: + peer_group: IPv4-UNDERLAY-PEERS + remote_as: '65001' + description: EVPN-MULTICAST-SPINE1_Ethernet4 + 192.168.255.1: + peer_group: EVPN-OVERLAY-PEERS + description: EVPN-MULTICAST-SPINE1 + remote_as: '65001' + address_family_evpn: + peer_groups: + EVPN-OVERLAY-PEERS: + activate: true + vrfs: + MULTICAST_DISABLED_310_311: + router_id: 192.168.255.6 + rd: 192.168.255.6:13 + route_targets: + import: + evpn: + - '13:13' + export: + evpn: + - '13:13' + redistribute_routes: + - connected + MULTICAST_ENABLED_110_111: + router_id: 192.168.255.6 + rd: 192.168.255.6:11 + route_targets: + import: + evpn: + - '11:11' + export: + evpn: + - '11:11' + redistribute_routes: + - connected + MULTICAST_ENABLED_210_DISABLED_211: + router_id: 192.168.255.6 + rd: 192.168.255.6:12 + route_targets: + import: + evpn: + - '12:12' + export: + evpn: + - '12:12' + redistribute_routes: + - connected + MULTICAST_DISABLED_5_6: + router_id: 192.168.255.6 + rd: 192.168.255.6:22 + route_targets: + import: + evpn: + - '22:22' + export: + evpn: + - '22:22' + redistribute_routes: + - connected + MULTICAST_ENABLED_1_2: + router_id: 192.168.255.6 + rd: 192.168.255.6:21 + route_targets: + import: + evpn: + - '21:21' + export: + evpn: + - '21:21' + redistribute_routes: + - connected + MULTICAST_ENABLED_3_DISABLED_4: + router_id: 192.168.255.6 + rd: 192.168.255.6:22 + route_targets: + import: + evpn: + - '22:22' + export: + evpn: + - '22:22' + redistribute_routes: + - connected + TEN_C_L3_MULTICAST_DISABLED_330_331: + router_id: 192.168.255.6 + rd: 192.168.255.6:33 + route_targets: + import: + evpn: + - '33:33' + export: + evpn: + - '33:33' + redistribute_routes: + - connected + evpn_multicast: false + TEN_C_L3_MULTICAST_ENABLED_130_131: + router_id: 192.168.255.6 + rd: 192.168.255.6:31 + route_targets: + import: + evpn: + - '31:31' + export: + evpn: + - '31:31' + redistribute_routes: + - connected + evpn_multicast: true + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + router_id: 192.168.255.6 + rd: 192.168.255.6:32 + route_targets: + import: + evpn: + - '32:32' + export: + evpn: + - '32:32' + redistribute_routes: + - connected + evpn_multicast: true + TEN_D_L3_MULTICAST_DISABLED_240_241: + router_id: 192.168.255.6 + rd: 192.168.255.6:42 + route_targets: + import: + evpn: + - '42:42' + export: + evpn: + - '42:42' + redistribute_routes: + - connected + evpn_multicast: false + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + router_id: 192.168.255.6 + rd: 192.168.255.6:41 + route_targets: + import: + evpn: + - '41:41' + export: + evpn: + - '41:41' + redistribute_routes: + - connected + evpn_multicast: true + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + router_id: 192.168.255.6 + rd: 192.168.255.6:55 + route_targets: + import: + evpn: + - '55:55' + export: + evpn: + - '55:55' + redistribute_routes: + - connected + evpn_multicast: true + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + router_id: 192.168.255.6 + rd: 192.168.255.6:60 + route_targets: + import: + evpn: + - 60:60 + export: + evpn: + - 60:60 + redistribute_routes: + - connected + evpn_multicast: true + evpn_multicast_address_family: + ipv4: + transit: true + TEN_E_L3_MULTICAST_TRANSIT: + router_id: 192.168.255.6 + rd: 192.168.255.6:52 + route_targets: + import: + evpn: + - '52:52' + export: + evpn: + - '52:52' + redistribute_routes: + - connected + evpn_multicast: true + evpn_multicast_address_family: + ipv4: + transit: true + TEN_E_PEG_L3_MULTICAST_ENABLED: + router_id: 192.168.255.6 + rd: 192.168.255.6:51 + route_targets: + import: + evpn: + - '51:51' + export: + evpn: + - '51:51' + redistribute_routes: + - connected + evpn_multicast: true + vlans: + 310: + tenant: Tenant_A + rd: 192.168.255.6:10310 + route_targets: + both: + - 10310:10310 + redistribute_routes: + - learned + 311: + tenant: Tenant_A + rd: 192.168.255.6:10311 + route_targets: + both: + - 10311:10311 + redistribute_routes: + - learned + 110: + tenant: Tenant_A + rd: 192.168.255.6:10110 + route_targets: + both: + - 10110:10110 + redistribute_routes: + - learned + - igmp + 111: + tenant: Tenant_A + rd: 192.168.255.6:10111 + route_targets: + both: + - 10111:10111 + redistribute_routes: + - learned + - igmp + 210: + tenant: Tenant_A + rd: 192.168.255.6:10210 + route_targets: + both: + - 10210:10210 + redistribute_routes: + - learned + - igmp + 211: + tenant: Tenant_A + rd: 192.168.255.6:10211 + route_targets: + both: + - 10211:10211 + redistribute_routes: + - learned + 256: + tenant: Tenant_A + rd: 192.168.255.6:10256 + route_targets: + both: + - 10256:10256 + redistribute_routes: + - learned + 257: + tenant: Tenant_A + rd: 192.168.255.6:10257 + route_targets: + both: + - 10257:10257 + redistribute_routes: + - learned + - igmp + 4092: + tenant: Tenant_A + rd: 192.168.255.6:14092 + route_targets: + both: + - 14092:14092 + redistribute_routes: + - learned + - igmp + 5: + tenant: Tenant_B + rd: 192.168.255.6:10005 + route_targets: + both: + - 10005:10005 + redistribute_routes: + - learned + 6: + tenant: Tenant_B + rd: 192.168.255.6:10006 + route_targets: + both: + - 10006:10006 + redistribute_routes: + - learned + 1: + tenant: Tenant_B + rd: 192.168.255.6:10001 + route_targets: + both: + - 10001:10001 + redistribute_routes: + - learned + - igmp + 2: + tenant: Tenant_B + rd: 192.168.255.6:10002 + route_targets: + both: + - 10002:10002 + redistribute_routes: + - learned + - igmp + 3: + tenant: Tenant_B + rd: 192.168.255.6:10003 + route_targets: + both: + - 10003:10003 + redistribute_routes: + - learned + - igmp + 4: + tenant: Tenant_B + rd: 192.168.255.6:10004 + route_targets: + both: + - 10004:10004 + redistribute_routes: + - learned + 7: + tenant: Tenant_B + rd: 192.168.255.6:10007 + route_targets: + both: + - 10007:10007 + redistribute_routes: + - learned + 8: + tenant: Tenant_B + rd: 192.168.255.6:10008 + route_targets: + both: + - 10008:10008 + redistribute_routes: + - learned + - igmp + 9: + tenant: Tenant_B + rd: 192.168.255.6:10009 + route_targets: + both: + - 10009:10009 + redistribute_routes: + - learned + - igmp + 330: + tenant: Tenant_C + rd: 192.168.255.6:10330 + route_targets: + both: + - 10330:10330 + redistribute_routes: + - learned + 331: + tenant: Tenant_C + rd: 192.168.255.6:10331 + route_targets: + both: + - 10331:10331 + redistribute_routes: + - learned + 130: + tenant: Tenant_C + rd: 192.168.255.6:10130 + route_targets: + both: + - 10130:10130 + redistribute_routes: + - learned + 131: + tenant: Tenant_C + rd: 192.168.255.6:10131 + route_targets: + both: + - 10131:10131 + redistribute_routes: + - learned + 230: + tenant: Tenant_C + rd: 192.168.255.6:10230 + route_targets: + both: + - 10230:10230 + redistribute_routes: + - learned + 231: + tenant: Tenant_C + rd: 192.168.255.6:10231 + route_targets: + both: + - 10231:10231 + redistribute_routes: + - learned + 240: + tenant: Tenant_D + rd: 192.168.255.6:10240 + route_targets: + both: + - 10240:10240 + redistribute_routes: + - learned + 241: + tenant: Tenant_D + rd: 192.168.255.6:10241 + route_targets: + both: + - 10241:10241 + redistribute_routes: + - learned + 140: + tenant: Tenant_D + rd: 192.168.255.6:10140 + route_targets: + both: + - 10140:10140 + redistribute_routes: + - learned + 141: + tenant: Tenant_D + rd: 192.168.255.6:10141 + route_targets: + both: + - 10141:10141 + redistribute_routes: + - learned + 550: + tenant: Tenant_E + rd: 192.168.255.6:10550 + route_targets: + both: + - 10550:10550 + redistribute_routes: + - learned + 260: + tenant: Tenant_E + rd: 192.168.255.6:10260 + route_targets: + both: + - 10260:10260 + redistribute_routes: + - learned + 250: + tenant: Tenant_E + rd: 192.168.255.6:10250 + route_targets: + both: + - 10250:10250 + redistribute_routes: + - learned + 150: + tenant: Tenant_E + rd: 192.168.255.6:10150 + route_targets: + both: + - 10150:10150 + redistribute_routes: + - learned +static_routes: +- vrf: MGMT + destination_address_prefix: 0.0.0.0/0 + gateway: 192.168.200.1 +service_routing_protocols_model: multi-agent +ip_routing: true +router_multicast: + ipv4: + routing: true + software_forwarding: sfe + vrfs: + - name: TEN_C_L3_MULTICAST_ENABLED_130_131 + ipv4: + routing: true + - name: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ipv4: + routing: true + - name: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_TRANSIT + ipv4: + routing: true + - name: TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4: + routing: true +vlan_internal_order: + allocation: ascending + range: + beginning: 1006 + ending: 1199 +vrfs: + MGMT: + ip_routing: false + MULTICAST_DISABLED_310_311: + tenant: Tenant_A + ip_routing: true + description: MULTICAST_DISABLED_310_311 + MULTICAST_ENABLED_110_111: + tenant: Tenant_A + ip_routing: true + description: MULTICAST_ENABLED_110_111 + MULTICAST_ENABLED_210_DISABLED_211: + tenant: Tenant_A + ip_routing: true + description: MULTICAST_ENABLED_210_DISABLED_211 + MULTICAST_DISABLED_5_6: + tenant: Tenant_B + ip_routing: true + description: MULTICAST_DISABLED_5_6 + MULTICAST_ENABLED_1_2: + tenant: Tenant_B + ip_routing: true + description: MULTICAST_ENABLED_1_2 + MULTICAST_ENABLED_3_DISABLED_4: + tenant: Tenant_B + ip_routing: true + description: MULTICAST_ENABLED_3_DISABLED_4 + TEN_C_L3_MULTICAST_DISABLED_330_331: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_DISABLED_330_331 + TEN_C_L3_MULTICAST_ENABLED_130_131: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_ENABLED_130_131 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_ENABLED_230_DISABLED_231 + TEN_D_L3_MULTICAST_DISABLED_240_241: + tenant: Tenant_D + ip_routing: true + description: L3_MULTICAST_DISABLED_240_241 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + tenant: Tenant_D + ip_routing: true + description: L3_MULTICAST_ENABLED_140_DISABLED_141 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_ENABLED_PEG_OVERRIDE + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_TRANSIT + TEN_E_L3_MULTICAST_TRANSIT: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_TRANSIT + TEN_E_PEG_L3_MULTICAST_ENABLED: + tenant: Tenant_E + ip_routing: true + description: PEG_L3_MULTICAST_ENABLED in Tenant E +management_interfaces: + Management1: + description: oob_management + shutdown: false + vrf: MGMT + ip_address: 192.168.200.108/24 + gateway: 192.168.200.1 + type: oob +management_api_http: + enable_vrfs: + MGMT: {} + enable_https: true +ethernet_interfaces: + Ethernet1: + peer: EVPN-MULTICAST-SPINE1 + peer_interface: Ethernet4 + peer_type: spine + description: P2P_LINK_TO_EVPN-MULTICAST-SPINE1_Ethernet4 + shutdown: false + mtu: 9000 + type: routed + ip_address: 172.31.255.7/31 + pim: + ipv4: + sparse_mode: true + Ethernet9: + peer_type: l3_interface + ip_address: 10.2.52.0/31 + shutdown: false + type: routed + vrf: TEN_E_L3_MULTICAST_TRANSIT + pim: + ipv4: + sparse_mode: true + Ethernet7.10: + peer_type: l3_interface + ip_address: 10.1.51.4/31 + shutdown: false + type: l3dot1q + encapsulation_dot1q_vlan: 10 + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + Ethernet8: + peer_type: l3_interface + ip_address: 10.1.51.4/31 + shutdown: false + type: routed + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + pim: + ipv4: + sparse_mode: true + Ethernet7: + type: routed + peer_type: l3_interface + shutdown: false +loopback_interfaces: + Loopback0: + description: EVPN_Overlay_Peering + shutdown: false + ip_address: 192.168.255.6/32 + Loopback1: + description: VTEP_VXLAN_Tunnel_Source + shutdown: false + ip_address: 192.168.254.6/32 + Loopback33: + description: TEN_C_L3_MULTICAST_DISABLED_330_331_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + ip_address: 10.255.3.6/32 + Loopback31: + description: TEN_C_L3_MULTICAST_ENABLED_130_131_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + ip_address: 10.255.1.6/32 + Loopback32: + description: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip_address: 10.255.2.6/32 + Loopback42: + description: TEN_D_L3_MULTICAST_DISABLED_240_241_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + ip_address: 10.255.42.6/32 + Loopback41: + description: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip_address: 10.255.41.6/32 + Loopback55: + description: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip_address: 10.255.55.6/32 + Loopback60: + description: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip_address: 10.255.60.6/32 + Loopback52: + description: TEN_E_L3_MULTICAST_TRANSIT_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_TRANSIT + ip_address: 10.255.52.6/32 + Loopback51: + description: TEN_E_PEG_L3_MULTICAST_ENABLED_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + ip_address: 10.255.51.6/32 +prefix_lists: + PL-LOOPBACKS-EVPN-OVERLAY: + sequence_numbers: + 10: + action: permit 192.168.255.0/24 eq 32 + 20: + action: permit 192.168.254.0/24 eq 32 +route_maps: + RM-CONN-2-BGP: + sequence_numbers: + 10: + type: permit + match: + - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +router_bfd: + multihop: + interval: 300 + min_rx: 300 + multiplier: 3 +vlans: + 310: + tenant: Tenant_A + name: MULTICAST_DISABLED_310 + 311: + tenant: Tenant_A + name: MULTICAST_DISABLED_311 + 110: + tenant: Tenant_A + name: MULTICAST_ENABLED_110 + 111: + tenant: Tenant_A + name: MULTICAST_ENABLED_111 + 210: + tenant: Tenant_A + name: MULTICAST_ENABLED_210 + 211: + tenant: Tenant_A + name: MULTICAST_DISABLED_211 + 256: + tenant: Tenant_A + name: MULTICAST_DISABLED_256 + 257: + tenant: Tenant_A + name: MULTICAST_ENABLED_257 + 4092: + tenant: Tenant_A + name: MULTICAST_ENABLED_4092 + 5: + tenant: Tenant_B + name: MULTICAST_DISABLED_5 + 6: + tenant: Tenant_B + name: MULTICAST_DISABLED_6 + 1: + tenant: Tenant_B + name: MULTICAST_ENABLED_1 + 2: + tenant: Tenant_B + name: MULTICAST_ENABLED_2 + 3: + tenant: Tenant_B + name: MULTICAST_ENABLED_3 + 4: + tenant: Tenant_B + name: MULTICAST_DISABLED_4 + 7: + tenant: Tenant_B + name: MULTICAST_DISABLED_7 + 8: + tenant: Tenant_B + name: MULTICAST_ENABLED_8 + 9: + tenant: Tenant_B + name: MULTICAST_ENABLED_8 + 330: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_330 + 331: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_331 + 130: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_130 + 131: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_131 + 230: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_230 + 231: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_231 + 240: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_240 + 241: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_241 + 140: + tenant: Tenant_D + name: L3_MULTICAST_ENABLED_140 + 141: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_141 + 550: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_550 + 260: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_260 + 250: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_250 + 150: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_150 +ip_igmp_snooping: + globally_enabled: true + vlans: + 110: + querier: + enabled: true + address: 192.168.255.6 + 111: + querier: + enabled: true + address: 192.168.255.6 + 210: + querier: + enabled: true + address: 192.168.255.6 + 257: + querier: + enabled: true + address: 192.168.255.6 + 4092: + querier: + enabled: true + address: 192.168.255.6 + 1: + querier: + enabled: true + address: 1.1.1.1 + version: 3 + 2: + querier: + enabled: true + address: 1.1.1.1 + version: 3 + 3: + querier: + enabled: true + address: 2.2.2.2 + version: 1 + 8: + querier: + enabled: true + address: 1.1.1.1 + version: 3 + 9: + querier: + enabled: true + address: 2.2.2.2 + version: 1 +ip_virtual_router_mac_address: 00:dc:00:00:00:0a +vlan_interfaces: + Vlan310: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_DISABLED_310 + shutdown: false + ip_address_virtual: 10.3.10.1/24 + vrf: MULTICAST_DISABLED_310_311 + Vlan311: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_DISABLED_311 + shutdown: false + ip_address_virtual: 10.3.11.1/24 + vrf: MULTICAST_DISABLED_310_311 + Vlan110: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_ENABLED_110 + shutdown: false + ip_address_virtual: 10.1.10.1/24 + vrf: MULTICAST_ENABLED_110_111 + Vlan111: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_ENABLED_111 + shutdown: false + ip_address_virtual: 10.1.11.1/24 + vrf: MULTICAST_ENABLED_110_111 + Vlan210: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_ENABLED_210 + shutdown: false + ip_address_virtual: 10.2.10.1/24 + vrf: MULTICAST_ENABLED_210_DISABLED_211 + Vlan211: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_DISABLED_211 + shutdown: false + ip_address_virtual: 10.2.11.1/24 + vrf: MULTICAST_ENABLED_210_DISABLED_211 + Vlan5: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_DISABLED_5 + shutdown: false + ip_address_virtual: 10.0.5.1/24 + vrf: MULTICAST_DISABLED_5_6 + Vlan6: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_DISABLED_6 + shutdown: false + ip_address_virtual: 10.0.6.1/24 + vrf: MULTICAST_DISABLED_5_6 + Vlan1: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_ENABLED_1 + shutdown: false + ip_address_virtual: 10.0.1.1/24 + vrf: MULTICAST_ENABLED_1_2 + Vlan2: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_ENABLED_2 + shutdown: false + ip_address_virtual: 10.0.2.1/24 + vrf: MULTICAST_ENABLED_1_2 + Vlan3: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_ENABLED_3 + shutdown: false + ip_address_virtual: 10.0.3.1/24 + vrf: MULTICAST_ENABLED_3_DISABLED_4 + Vlan4: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_DISABLED_4 + shutdown: false + ip_address_virtual: 10.0.4.1/24 + vrf: MULTICAST_ENABLED_3_DISABLED_4 + Vlan330: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_330 + shutdown: false + ip_address_virtual: 10.3.33.1/24 + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + Vlan331: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_331 + shutdown: false + ip_address_virtual: 10.3.34.1/24 + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + Vlan130: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_130 + shutdown: false + ip_address_virtual: 10.1.13.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback31 + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + Vlan131: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_131 + shutdown: false + ip_address: 10.1.14.5/24 + ip_virtual_router_addresses: + - 10.1.14.1 + ip_igmp: true + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + Vlan230: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_230 + shutdown: false + ip_address_virtual: 10.2.23.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback32 + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + Vlan231: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_231 + shutdown: false + ip_address_virtual: 10.2.24.1/24 + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + Vlan240: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_240 + shutdown: false + ip_address_virtual: 10.1.24.1/24 + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + Vlan241: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_241 + shutdown: false + ip_address_virtual: 10.1.25.1/24 + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + Vlan140: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_140 + shutdown: false + ip_address_virtual: 10.1.14.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback41 + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + Vlan141: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_141 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + Vlan550: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_550 + shutdown: false + ip_address_virtual: 10.1.56.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback55 + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + Vlan260: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_260 + shutdown: false + ip_address_virtual: 10.1.26.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback60 + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + Vlan250: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_250 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback52 + vrf: TEN_E_L3_MULTICAST_TRANSIT + Vlan150: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_150 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback51 + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED +vxlan_interface: + Vxlan1: + description: EVPN-MULTICAST-L3LEAF3A_VTEP + vxlan: + udp_port: 4789 + source_interface: Loopback1 + vlans: + 310: + vni: 10310 + 311: + vni: 10311 + 110: + vni: 10110 + multicast_group: 232.0.0.109 + 111: + vni: 10111 + multicast_group: 232.0.0.110 + 210: + vni: 10210 + multicast_group: 232.0.0.209 + 211: + vni: 10211 + 256: + vni: 10256 + 257: + vni: 10257 + multicast_group: 232.0.1.0 + 4092: + vni: 14092 + multicast_group: 232.0.15.251 + 5: + vni: 10005 + 6: + vni: 10006 + 1: + vni: 10001 + multicast_group: 232.0.16.1 + 2: + vni: 10002 + multicast_group: 232.0.16.2 + 3: + vni: 10003 + multicast_group: 232.0.16.3 + 4: + vni: 10004 + 7: + vni: 10007 + 8: + vni: 10008 + multicast_group: 232.0.16.8 + 9: + vni: 10009 + multicast_group: 232.0.16.9 + 330: + vni: 10330 + 331: + vni: 10331 + 130: + vni: 10130 + 131: + vni: 10131 + 230: + vni: 10230 + 231: + vni: 10231 + 240: + vni: 10240 + 241: + vni: 10241 + 140: + vni: 10140 + 141: + vni: 10141 + 550: + vni: 10550 + 260: + vni: 10260 + 250: + vni: 10250 + 150: + vni: 10150 + vrfs: + MULTICAST_DISABLED_310_311: + vni: 13 + MULTICAST_ENABLED_110_111: + vni: 11 + MULTICAST_ENABLED_210_DISABLED_211: + vni: 12 + MULTICAST_DISABLED_5_6: + vni: 22 + MULTICAST_ENABLED_1_2: + vni: 21 + MULTICAST_ENABLED_3_DISABLED_4: + vni: 22 + TEN_C_L3_MULTICAST_DISABLED_330_331: + vni: 33 + TEN_C_L3_MULTICAST_ENABLED_130_131: + vni: 31 + multicast_group: 232.0.32.31 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + vni: 32 + multicast_group: 232.0.32.32 + TEN_D_L3_MULTICAST_DISABLED_240_241: + vni: 42 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + vni: 41 + multicast_group: 232.0.64.40 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + vni: 55 + multicast_group: 232.0.96.54 + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + vni: 60 + multicast_group: 232.0.96.59 + TEN_E_L3_MULTICAST_TRANSIT: + vni: 52 + multicast_group: 232.0.96.51 + TEN_E_PEG_L3_MULTICAST_ENABLED: + vni: 51 + multicast_group: 232.0.96.50 +virtual_source_nat_vrfs: + TEN_C_L3_MULTICAST_DISABLED_330_331: + ip_address: 10.255.3.6 + TEN_C_L3_MULTICAST_ENABLED_130_131: + ip_address: 10.255.1.6 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + ip_address: 10.255.2.6 + TEN_D_L3_MULTICAST_DISABLED_240_241: + ip_address: 10.255.42.6 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + ip_address: 10.255.41.6 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + ip_address: 10.255.55.6 + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + ip_address: 10.255.60.6 + TEN_E_L3_MULTICAST_TRANSIT: + ip_address: 10.255.52.6 + TEN_E_PEG_L3_MULTICAST_ENABLED: + ip_address: 10.255.51.6 +router_pim_sparse_mode: + vrfs: + - name: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4: + rp_addresses: + - address: 10.20.20.20 + groups: + - 232.0.0.0/21 + - address: 10.40.40.40 + - name: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4: + rp_addresses: + - address: 10.60.60.60 + - name: TEN_E_L3_MULTICAST_TRANSIT + ipv4: + rp_addresses: + - address: 10.60.60.60 + - name: TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4: + rp_addresses: + - address: 10.1.51.129 + groups: + - 232.0.104.0/21 + - 232.0.96.0/21 + - address: 10.1.52.129 + groups: + - 232.0.104.0/21 + - 232.0.96.0/21 + - address: 10.1.50.100 + groups: + - 232.0.112.0/21 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF3B.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF3B.yml new file mode 100644 index 00000000000..258c4772cbc --- /dev/null +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-L3LEAF3B.yml @@ -0,0 +1,1284 @@ +router_bgp: + as: '65105' + router_id: 192.168.255.7 + bgp_defaults: + - maximum-paths 4 ecmp 4 + peer_groups: + IPv4-UNDERLAY-PEERS: + type: ipv4 + maximum_routes: 12000 + send_community: all + EVPN-OVERLAY-PEERS: + type: evpn + update_source: Loopback0 + bfd: true + send_community: all + maximum_routes: 0 + ebgp_multihop: 3 + address_family_ipv4: + peer_groups: + IPv4-UNDERLAY-PEERS: + activate: true + EVPN-OVERLAY-PEERS: + activate: false + redistribute_routes: + connected: + route_map: RM-CONN-2-BGP + neighbors: + 172.31.255.8: + peer_group: IPv4-UNDERLAY-PEERS + remote_as: '65001' + description: EVPN-MULTICAST-SPINE1_Ethernet5 + 192.168.255.1: + peer_group: EVPN-OVERLAY-PEERS + description: EVPN-MULTICAST-SPINE1 + remote_as: '65001' + address_family_evpn: + peer_groups: + EVPN-OVERLAY-PEERS: + activate: true + vrfs: + MULTICAST_DISABLED_310_311: + router_id: 192.168.255.7 + rd: 192.168.255.7:13 + route_targets: + import: + evpn: + - '13:13' + export: + evpn: + - '13:13' + redistribute_routes: + - connected + MULTICAST_ENABLED_110_111: + router_id: 192.168.255.7 + rd: 192.168.255.7:11 + route_targets: + import: + evpn: + - '11:11' + export: + evpn: + - '11:11' + redistribute_routes: + - connected + MULTICAST_ENABLED_210_DISABLED_211: + router_id: 192.168.255.7 + rd: 192.168.255.7:12 + route_targets: + import: + evpn: + - '12:12' + export: + evpn: + - '12:12' + redistribute_routes: + - connected + MULTICAST_DISABLED_5_6: + router_id: 192.168.255.7 + rd: 192.168.255.7:22 + route_targets: + import: + evpn: + - '22:22' + export: + evpn: + - '22:22' + redistribute_routes: + - connected + MULTICAST_ENABLED_1_2: + router_id: 192.168.255.7 + rd: 192.168.255.7:21 + route_targets: + import: + evpn: + - '21:21' + export: + evpn: + - '21:21' + redistribute_routes: + - connected + MULTICAST_ENABLED_3_DISABLED_4: + router_id: 192.168.255.7 + rd: 192.168.255.7:22 + route_targets: + import: + evpn: + - '22:22' + export: + evpn: + - '22:22' + redistribute_routes: + - connected + TEN_C_L3_MULTICAST_DISABLED_330_331: + router_id: 192.168.255.7 + rd: 192.168.255.7:33 + route_targets: + import: + evpn: + - '33:33' + export: + evpn: + - '33:33' + redistribute_routes: + - connected + evpn_multicast: false + TEN_C_L3_MULTICAST_ENABLED_130_131: + router_id: 192.168.255.7 + rd: 192.168.255.7:31 + route_targets: + import: + evpn: + - '31:31' + export: + evpn: + - '31:31' + redistribute_routes: + - connected + evpn_multicast: true + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + router_id: 192.168.255.7 + rd: 192.168.255.7:32 + route_targets: + import: + evpn: + - '32:32' + export: + evpn: + - '32:32' + redistribute_routes: + - connected + evpn_multicast: true + TEN_D_L3_MULTICAST_DISABLED_240_241: + router_id: 192.168.255.7 + rd: 192.168.255.7:42 + route_targets: + import: + evpn: + - '42:42' + export: + evpn: + - '42:42' + redistribute_routes: + - connected + evpn_multicast: false + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + router_id: 192.168.255.7 + rd: 192.168.255.7:41 + route_targets: + import: + evpn: + - '41:41' + export: + evpn: + - '41:41' + redistribute_routes: + - connected + evpn_multicast: true + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + router_id: 192.168.255.7 + rd: 192.168.255.7:55 + route_targets: + import: + evpn: + - '55:55' + export: + evpn: + - '55:55' + redistribute_routes: + - connected + evpn_multicast: true + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + router_id: 192.168.255.7 + rd: 192.168.255.7:60 + route_targets: + import: + evpn: + - 60:60 + export: + evpn: + - 60:60 + redistribute_routes: + - connected + evpn_multicast: true + evpn_multicast_address_family: + ipv4: + transit: true + TEN_E_L3_MULTICAST_TRANSIT: + router_id: 192.168.255.7 + rd: 192.168.255.7:52 + route_targets: + import: + evpn: + - '52:52' + export: + evpn: + - '52:52' + redistribute_routes: + - connected + evpn_multicast: true + evpn_multicast_address_family: + ipv4: + transit: true + TEN_E_PEG_L3_MULTICAST_ENABLED: + router_id: 192.168.255.7 + rd: 192.168.255.7:51 + route_targets: + import: + evpn: + - '51:51' + export: + evpn: + - '51:51' + redistribute_routes: + - connected + evpn_multicast: true + vlans: + 310: + tenant: Tenant_A + rd: 192.168.255.7:10310 + route_targets: + both: + - 10310:10310 + redistribute_routes: + - learned + 311: + tenant: Tenant_A + rd: 192.168.255.7:10311 + route_targets: + both: + - 10311:10311 + redistribute_routes: + - learned + 110: + tenant: Tenant_A + rd: 192.168.255.7:10110 + route_targets: + both: + - 10110:10110 + redistribute_routes: + - learned + - igmp + 111: + tenant: Tenant_A + rd: 192.168.255.7:10111 + route_targets: + both: + - 10111:10111 + redistribute_routes: + - learned + - igmp + 210: + tenant: Tenant_A + rd: 192.168.255.7:10210 + route_targets: + both: + - 10210:10210 + redistribute_routes: + - learned + - igmp + 211: + tenant: Tenant_A + rd: 192.168.255.7:10211 + route_targets: + both: + - 10211:10211 + redistribute_routes: + - learned + 256: + tenant: Tenant_A + rd: 192.168.255.7:10256 + route_targets: + both: + - 10256:10256 + redistribute_routes: + - learned + 257: + tenant: Tenant_A + rd: 192.168.255.7:10257 + route_targets: + both: + - 10257:10257 + redistribute_routes: + - learned + - igmp + 4092: + tenant: Tenant_A + rd: 192.168.255.7:14092 + route_targets: + both: + - 14092:14092 + redistribute_routes: + - learned + - igmp + 5: + tenant: Tenant_B + rd: 192.168.255.7:10005 + route_targets: + both: + - 10005:10005 + redistribute_routes: + - learned + 6: + tenant: Tenant_B + rd: 192.168.255.7:10006 + route_targets: + both: + - 10006:10006 + redistribute_routes: + - learned + 1: + tenant: Tenant_B + rd: 192.168.255.7:10001 + route_targets: + both: + - 10001:10001 + redistribute_routes: + - learned + - igmp + 2: + tenant: Tenant_B + rd: 192.168.255.7:10002 + route_targets: + both: + - 10002:10002 + redistribute_routes: + - learned + - igmp + 3: + tenant: Tenant_B + rd: 192.168.255.7:10003 + route_targets: + both: + - 10003:10003 + redistribute_routes: + - learned + - igmp + 4: + tenant: Tenant_B + rd: 192.168.255.7:10004 + route_targets: + both: + - 10004:10004 + redistribute_routes: + - learned + 7: + tenant: Tenant_B + rd: 192.168.255.7:10007 + route_targets: + both: + - 10007:10007 + redistribute_routes: + - learned + 8: + tenant: Tenant_B + rd: 192.168.255.7:10008 + route_targets: + both: + - 10008:10008 + redistribute_routes: + - learned + - igmp + 9: + tenant: Tenant_B + rd: 192.168.255.7:10009 + route_targets: + both: + - 10009:10009 + redistribute_routes: + - learned + - igmp + 330: + tenant: Tenant_C + rd: 192.168.255.7:10330 + route_targets: + both: + - 10330:10330 + redistribute_routes: + - learned + 331: + tenant: Tenant_C + rd: 192.168.255.7:10331 + route_targets: + both: + - 10331:10331 + redistribute_routes: + - learned + 130: + tenant: Tenant_C + rd: 192.168.255.7:10130 + route_targets: + both: + - 10130:10130 + redistribute_routes: + - learned + 131: + tenant: Tenant_C + rd: 192.168.255.7:10131 + route_targets: + both: + - 10131:10131 + redistribute_routes: + - learned + 230: + tenant: Tenant_C + rd: 192.168.255.7:10230 + route_targets: + both: + - 10230:10230 + redistribute_routes: + - learned + 231: + tenant: Tenant_C + rd: 192.168.255.7:10231 + route_targets: + both: + - 10231:10231 + redistribute_routes: + - learned + 240: + tenant: Tenant_D + rd: 192.168.255.7:10240 + route_targets: + both: + - 10240:10240 + redistribute_routes: + - learned + 241: + tenant: Tenant_D + rd: 192.168.255.7:10241 + route_targets: + both: + - 10241:10241 + redistribute_routes: + - learned + 140: + tenant: Tenant_D + rd: 192.168.255.7:10140 + route_targets: + both: + - 10140:10140 + redistribute_routes: + - learned + 141: + tenant: Tenant_D + rd: 192.168.255.7:10141 + route_targets: + both: + - 10141:10141 + redistribute_routes: + - learned + 550: + tenant: Tenant_E + rd: 192.168.255.7:10550 + route_targets: + both: + - 10550:10550 + redistribute_routes: + - learned + 260: + tenant: Tenant_E + rd: 192.168.255.7:10260 + route_targets: + both: + - 10260:10260 + redistribute_routes: + - learned + 250: + tenant: Tenant_E + rd: 192.168.255.7:10250 + route_targets: + both: + - 10250:10250 + redistribute_routes: + - learned + 150: + tenant: Tenant_E + rd: 192.168.255.7:10150 + route_targets: + both: + - 10150:10150 + redistribute_routes: + - learned +static_routes: +- vrf: MGMT + destination_address_prefix: 0.0.0.0/0 + gateway: 192.168.200.1 +service_routing_protocols_model: multi-agent +ip_routing: true +router_multicast: + ipv4: + routing: true + software_forwarding: sfe + vrfs: + - name: TEN_C_L3_MULTICAST_ENABLED_130_131 + ipv4: + routing: true + - name: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ipv4: + routing: true + - name: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4: + routing: true + - name: TEN_E_L3_MULTICAST_TRANSIT + ipv4: + routing: true + - name: TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4: + routing: true +vlan_internal_order: + allocation: ascending + range: + beginning: 1006 + ending: 1199 +vrfs: + MGMT: + ip_routing: false + MULTICAST_DISABLED_310_311: + tenant: Tenant_A + ip_routing: true + description: MULTICAST_DISABLED_310_311 + MULTICAST_ENABLED_110_111: + tenant: Tenant_A + ip_routing: true + description: MULTICAST_ENABLED_110_111 + MULTICAST_ENABLED_210_DISABLED_211: + tenant: Tenant_A + ip_routing: true + description: MULTICAST_ENABLED_210_DISABLED_211 + MULTICAST_DISABLED_5_6: + tenant: Tenant_B + ip_routing: true + description: MULTICAST_DISABLED_5_6 + MULTICAST_ENABLED_1_2: + tenant: Tenant_B + ip_routing: true + description: MULTICAST_ENABLED_1_2 + MULTICAST_ENABLED_3_DISABLED_4: + tenant: Tenant_B + ip_routing: true + description: MULTICAST_ENABLED_3_DISABLED_4 + TEN_C_L3_MULTICAST_DISABLED_330_331: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_DISABLED_330_331 + TEN_C_L3_MULTICAST_ENABLED_130_131: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_ENABLED_130_131 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + tenant: Tenant_C + ip_routing: true + description: L3_MULTICAST_ENABLED_230_DISABLED_231 + TEN_D_L3_MULTICAST_DISABLED_240_241: + tenant: Tenant_D + ip_routing: true + description: L3_MULTICAST_DISABLED_240_241 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + tenant: Tenant_D + ip_routing: true + description: L3_MULTICAST_ENABLED_140_DISABLED_141 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_ENABLED_PEG_OVERRIDE + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_TRANSIT + TEN_E_L3_MULTICAST_TRANSIT: + tenant: Tenant_E + ip_routing: true + description: L3_MULTICAST_TRANSIT + TEN_E_PEG_L3_MULTICAST_ENABLED: + tenant: Tenant_E + ip_routing: true + description: PEG_L3_MULTICAST_ENABLED in Tenant E +management_interfaces: + Management1: + description: oob_management + shutdown: false + vrf: MGMT + ip_address: 192.168.200.109/24 + gateway: 192.168.200.1 + type: oob +management_api_http: + enable_vrfs: + MGMT: {} + enable_https: true +ethernet_interfaces: + Ethernet1: + peer: EVPN-MULTICAST-SPINE1 + peer_interface: Ethernet5 + peer_type: spine + description: P2P_LINK_TO_EVPN-MULTICAST-SPINE1_Ethernet5 + shutdown: false + mtu: 9000 + type: routed + ip_address: 172.31.255.9/31 + pim: + ipv4: + sparse_mode: true + Ethernet9: + peer_type: l3_interface + ip_address: 10.2.52.2/31 + shutdown: false + type: routed + vrf: TEN_E_L3_MULTICAST_TRANSIT + pim: + ipv4: + sparse_mode: true + Ethernet7.10: + peer_type: l3_interface + ip_address: 10.1.51.6/31 + shutdown: false + type: l3dot1q + encapsulation_dot1q_vlan: 10 + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + Ethernet8: + peer_type: l3_interface + ip_address: 10.1.51.6/31 + shutdown: false + type: routed + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + pim: + ipv4: + sparse_mode: true + Ethernet7: + type: routed + peer_type: l3_interface + shutdown: false +loopback_interfaces: + Loopback0: + description: EVPN_Overlay_Peering + shutdown: false + ip_address: 192.168.255.7/32 + Loopback1: + description: VTEP_VXLAN_Tunnel_Source + shutdown: false + ip_address: 192.168.254.7/32 + Loopback33: + description: TEN_C_L3_MULTICAST_DISABLED_330_331_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + ip_address: 10.255.3.7/32 + Loopback31: + description: TEN_C_L3_MULTICAST_ENABLED_130_131_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + ip_address: 10.255.1.7/32 + Loopback32: + description: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + ip_address: 10.255.2.7/32 + Loopback42: + description: TEN_D_L3_MULTICAST_DISABLED_240_241_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + ip_address: 10.255.42.7/32 + Loopback41: + description: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + ip_address: 10.255.41.7/32 + Loopback55: + description: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ip_address: 10.255.55.7/32 + Loopback60: + description: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ip_address: 10.255.60.7/32 + Loopback52: + description: TEN_E_L3_MULTICAST_TRANSIT_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_L3_MULTICAST_TRANSIT + ip_address: 10.255.52.7/32 + Loopback51: + description: TEN_E_PEG_L3_MULTICAST_ENABLED_VTEP_DIAGNOSTICS + shutdown: false + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED + ip_address: 10.255.51.7/32 +prefix_lists: + PL-LOOPBACKS-EVPN-OVERLAY: + sequence_numbers: + 10: + action: permit 192.168.255.0/24 eq 32 + 20: + action: permit 192.168.254.0/24 eq 32 +route_maps: + RM-CONN-2-BGP: + sequence_numbers: + 10: + type: permit + match: + - ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY +router_bfd: + multihop: + interval: 300 + min_rx: 300 + multiplier: 3 +vlans: + 310: + tenant: Tenant_A + name: MULTICAST_DISABLED_310 + 311: + tenant: Tenant_A + name: MULTICAST_DISABLED_311 + 110: + tenant: Tenant_A + name: MULTICAST_ENABLED_110 + 111: + tenant: Tenant_A + name: MULTICAST_ENABLED_111 + 210: + tenant: Tenant_A + name: MULTICAST_ENABLED_210 + 211: + tenant: Tenant_A + name: MULTICAST_DISABLED_211 + 256: + tenant: Tenant_A + name: MULTICAST_DISABLED_256 + 257: + tenant: Tenant_A + name: MULTICAST_ENABLED_257 + 4092: + tenant: Tenant_A + name: MULTICAST_ENABLED_4092 + 5: + tenant: Tenant_B + name: MULTICAST_DISABLED_5 + 6: + tenant: Tenant_B + name: MULTICAST_DISABLED_6 + 1: + tenant: Tenant_B + name: MULTICAST_ENABLED_1 + 2: + tenant: Tenant_B + name: MULTICAST_ENABLED_2 + 3: + tenant: Tenant_B + name: MULTICAST_ENABLED_3 + 4: + tenant: Tenant_B + name: MULTICAST_DISABLED_4 + 7: + tenant: Tenant_B + name: MULTICAST_DISABLED_7 + 8: + tenant: Tenant_B + name: MULTICAST_ENABLED_8 + 9: + tenant: Tenant_B + name: MULTICAST_ENABLED_8 + 330: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_330 + 331: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_331 + 130: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_130 + 131: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_131 + 230: + tenant: Tenant_C + name: L3_MULTICAST_ENABLED_230 + 231: + tenant: Tenant_C + name: L3_MULTICAST_DISABLED_231 + 240: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_240 + 241: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_241 + 140: + tenant: Tenant_D + name: L3_MULTICAST_ENABLED_140 + 141: + tenant: Tenant_D + name: L3_MULTICAST_DISABLED_141 + 550: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_550 + 260: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_260 + 250: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_250 + 150: + tenant: Tenant_E + name: L3_MULTICAST_ENABLED_150 +ip_igmp_snooping: + globally_enabled: true + vlans: + 110: + querier: + enabled: true + address: 192.168.255.7 + 111: + querier: + enabled: true + address: 192.168.255.7 + 210: + querier: + enabled: true + address: 192.168.255.7 + 257: + querier: + enabled: true + address: 192.168.255.7 + 4092: + querier: + enabled: true + address: 192.168.255.7 + 1: + querier: + enabled: true + address: 1.1.1.1 + version: 3 + 2: + querier: + enabled: true + address: 1.1.1.1 + version: 3 + 3: + querier: + enabled: true + address: 2.2.2.2 + version: 1 + 8: + querier: + enabled: true + address: 1.1.1.1 + version: 3 + 9: + querier: + enabled: true + address: 2.2.2.2 + version: 1 +ip_virtual_router_mac_address: 00:dc:00:00:00:0a +vlan_interfaces: + Vlan310: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_DISABLED_310 + shutdown: false + ip_address_virtual: 10.3.10.1/24 + vrf: MULTICAST_DISABLED_310_311 + Vlan311: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_DISABLED_311 + shutdown: false + ip_address_virtual: 10.3.11.1/24 + vrf: MULTICAST_DISABLED_310_311 + Vlan110: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_ENABLED_110 + shutdown: false + ip_address_virtual: 10.1.10.1/24 + vrf: MULTICAST_ENABLED_110_111 + Vlan111: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_ENABLED_111 + shutdown: false + ip_address_virtual: 10.1.11.1/24 + vrf: MULTICAST_ENABLED_110_111 + Vlan210: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_ENABLED_210 + shutdown: false + ip_address_virtual: 10.2.10.1/24 + vrf: MULTICAST_ENABLED_210_DISABLED_211 + Vlan211: + tenant: Tenant_A + tags: + - test_l3 + description: MULTICAST_DISABLED_211 + shutdown: false + ip_address_virtual: 10.2.11.1/24 + vrf: MULTICAST_ENABLED_210_DISABLED_211 + Vlan5: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_DISABLED_5 + shutdown: false + ip_address_virtual: 10.0.5.1/24 + vrf: MULTICAST_DISABLED_5_6 + Vlan6: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_DISABLED_6 + shutdown: false + ip_address_virtual: 10.0.6.1/24 + vrf: MULTICAST_DISABLED_5_6 + Vlan1: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_ENABLED_1 + shutdown: false + ip_address_virtual: 10.0.1.1/24 + vrf: MULTICAST_ENABLED_1_2 + Vlan2: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_ENABLED_2 + shutdown: false + ip_address_virtual: 10.0.2.1/24 + vrf: MULTICAST_ENABLED_1_2 + Vlan3: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_ENABLED_3 + shutdown: false + ip_address_virtual: 10.0.3.1/24 + vrf: MULTICAST_ENABLED_3_DISABLED_4 + Vlan4: + tenant: Tenant_B + tags: + - test_l3 + description: MULTICAST_DISABLED_4 + shutdown: false + ip_address_virtual: 10.0.4.1/24 + vrf: MULTICAST_ENABLED_3_DISABLED_4 + Vlan330: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_330 + shutdown: false + ip_address_virtual: 10.3.33.1/24 + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + Vlan331: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_331 + shutdown: false + ip_address_virtual: 10.3.34.1/24 + vrf: TEN_C_L3_MULTICAST_DISABLED_330_331 + Vlan130: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_130 + shutdown: false + ip_address_virtual: 10.1.13.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback31 + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + Vlan131: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_131 + shutdown: false + ip_address: 10.1.14.6/24 + ip_virtual_router_addresses: + - 10.1.14.1 + ip_igmp: true + vrf: TEN_C_L3_MULTICAST_ENABLED_130_131 + Vlan230: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_230 + shutdown: false + ip_address_virtual: 10.2.23.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback32 + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + Vlan231: + tenant: Tenant_C + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_231 + shutdown: false + ip_address_virtual: 10.2.24.1/24 + vrf: TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231 + Vlan240: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_240 + shutdown: false + ip_address_virtual: 10.1.24.1/24 + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + Vlan241: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_241 + shutdown: false + ip_address_virtual: 10.1.25.1/24 + vrf: TEN_D_L3_MULTICAST_DISABLED_240_241 + Vlan140: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_140 + shutdown: false + ip_address_virtual: 10.1.14.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback41 + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + Vlan141: + tenant: Tenant_D + tags: + - test_l3 + description: L3_MULTICAST_DISABLED_141 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + vrf: TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141 + Vlan550: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_550 + shutdown: false + ip_address_virtual: 10.1.56.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback55 + vrf: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + Vlan260: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_260 + shutdown: false + ip_address_virtual: 10.1.26.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback60 + vrf: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + Vlan250: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_250 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback52 + vrf: TEN_E_L3_MULTICAST_TRANSIT + Vlan150: + tenant: Tenant_E + tags: + - test_l3 + description: L3_MULTICAST_ENABLED_150 + shutdown: false + ip_address_virtual: 10.1.15.1/24 + ip_igmp: true + pim: + ipv4: + local_interface: Loopback51 + vrf: TEN_E_PEG_L3_MULTICAST_ENABLED +vxlan_interface: + Vxlan1: + description: EVPN-MULTICAST-L3LEAF3B_VTEP + vxlan: + udp_port: 4789 + source_interface: Loopback1 + vlans: + 310: + vni: 10310 + 311: + vni: 10311 + 110: + vni: 10110 + multicast_group: 232.0.0.109 + 111: + vni: 10111 + multicast_group: 232.0.0.110 + 210: + vni: 10210 + multicast_group: 232.0.0.209 + 211: + vni: 10211 + 256: + vni: 10256 + 257: + vni: 10257 + multicast_group: 232.0.1.0 + 4092: + vni: 14092 + multicast_group: 232.0.15.251 + 5: + vni: 10005 + 6: + vni: 10006 + 1: + vni: 10001 + multicast_group: 232.0.16.1 + 2: + vni: 10002 + multicast_group: 232.0.16.2 + 3: + vni: 10003 + multicast_group: 232.0.16.3 + 4: + vni: 10004 + 7: + vni: 10007 + 8: + vni: 10008 + multicast_group: 232.0.16.8 + 9: + vni: 10009 + multicast_group: 232.0.16.9 + 330: + vni: 10330 + 331: + vni: 10331 + 130: + vni: 10130 + 131: + vni: 10131 + 230: + vni: 10230 + 231: + vni: 10231 + 240: + vni: 10240 + 241: + vni: 10241 + 140: + vni: 10140 + 141: + vni: 10141 + 550: + vni: 10550 + 260: + vni: 10260 + 250: + vni: 10250 + 150: + vni: 10150 + vrfs: + MULTICAST_DISABLED_310_311: + vni: 13 + MULTICAST_ENABLED_110_111: + vni: 11 + MULTICAST_ENABLED_210_DISABLED_211: + vni: 12 + MULTICAST_DISABLED_5_6: + vni: 22 + MULTICAST_ENABLED_1_2: + vni: 21 + MULTICAST_ENABLED_3_DISABLED_4: + vni: 22 + TEN_C_L3_MULTICAST_DISABLED_330_331: + vni: 33 + TEN_C_L3_MULTICAST_ENABLED_130_131: + vni: 31 + multicast_group: 232.0.32.31 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + vni: 32 + multicast_group: 232.0.32.32 + TEN_D_L3_MULTICAST_DISABLED_240_241: + vni: 42 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + vni: 41 + multicast_group: 232.0.64.40 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + vni: 55 + multicast_group: 232.0.96.54 + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + vni: 60 + multicast_group: 232.0.96.59 + TEN_E_L3_MULTICAST_TRANSIT: + vni: 52 + multicast_group: 232.0.96.51 + TEN_E_PEG_L3_MULTICAST_ENABLED: + vni: 51 + multicast_group: 232.0.96.50 +virtual_source_nat_vrfs: + TEN_C_L3_MULTICAST_DISABLED_330_331: + ip_address: 10.255.3.7 + TEN_C_L3_MULTICAST_ENABLED_130_131: + ip_address: 10.255.1.7 + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + ip_address: 10.255.2.7 + TEN_D_L3_MULTICAST_DISABLED_240_241: + ip_address: 10.255.42.7 + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + ip_address: 10.255.41.7 + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + ip_address: 10.255.55.7 + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + ip_address: 10.255.60.7 + TEN_E_L3_MULTICAST_TRANSIT: + ip_address: 10.255.52.7 + TEN_E_PEG_L3_MULTICAST_ENABLED: + ip_address: 10.255.51.7 +router_pim_sparse_mode: + vrfs: + - name: TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE + ipv4: + rp_addresses: + - address: 10.20.20.20 + groups: + - 232.0.0.0/21 + - address: 10.40.40.40 + - name: TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES + ipv4: + rp_addresses: + - address: 10.60.60.60 + - name: TEN_E_L3_MULTICAST_TRANSIT + ipv4: + rp_addresses: + - address: 10.60.60.60 + - name: TEN_E_PEG_L3_MULTICAST_ENABLED + ipv4: + rp_addresses: + - address: 10.1.51.129 + groups: + - 232.0.104.0/21 + - 232.0.96.0/21 + - address: 10.1.52.129 + groups: + - 232.0.104.0/21 + - 232.0.96.0/21 + - address: 10.1.50.100 + groups: + - 232.0.112.0/21 diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-SPINE1.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-SPINE1.yml index acb08847288..a5267cf7ecd 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-SPINE1.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/intended/structured_configs/EVPN-MULTICAST-SPINE1.yml @@ -36,8 +36,16 @@ router_bgp: description: EVPN-MULTICAST-L3LEAF1B_Ethernet1 172.31.255.5: peer_group: IPv4-UNDERLAY-PEERS - remote_as: '65102' + remote_as: '65103' description: EVPN-MULTICAST-L3LEAF2A_Ethernet1 + 172.31.255.7: + peer_group: IPv4-UNDERLAY-PEERS + remote_as: '65104' + description: EVPN-MULTICAST-L3LEAF3A_Ethernet1 + 172.31.255.9: + peer_group: IPv4-UNDERLAY-PEERS + remote_as: '65105' + description: EVPN-MULTICAST-L3LEAF3B_Ethernet1 192.168.255.3: peer_group: EVPN-OVERLAY-PEERS description: EVPN-MULTICAST-L3LEAF1A @@ -49,7 +57,15 @@ router_bgp: 192.168.255.5: peer_group: EVPN-OVERLAY-PEERS description: EVPN-MULTICAST-L3LEAF2A - remote_as: '65102' + remote_as: '65103' + 192.168.255.6: + peer_group: EVPN-OVERLAY-PEERS + description: EVPN-MULTICAST-L3LEAF3A + remote_as: '65104' + 192.168.255.7: + peer_group: EVPN-OVERLAY-PEERS + description: EVPN-MULTICAST-L3LEAF3B + remote_as: '65105' address_family_evpn: peer_groups: EVPN-OVERLAY-PEERS: @@ -122,6 +138,30 @@ ethernet_interfaces: pim: ipv4: sparse_mode: true + Ethernet4: + peer: EVPN-MULTICAST-L3LEAF3A + peer_interface: Ethernet1 + peer_type: l3leaf + description: P2P_LINK_TO_EVPN-MULTICAST-L3LEAF3A_Ethernet1 + shutdown: false + mtu: 9000 + type: routed + ip_address: 172.31.255.6/31 + pim: + ipv4: + sparse_mode: true + Ethernet5: + peer: EVPN-MULTICAST-L3LEAF3B + peer_interface: Ethernet1 + peer_type: l3leaf + description: P2P_LINK_TO_EVPN-MULTICAST-L3LEAF3B_Ethernet1 + shutdown: false + mtu: 9000 + type: routed + ip_address: 172.31.255.8/31 + pim: + ipv4: + sparse_mode: true loopback_interfaces: Loopback0: description: EVPN_Overlay_Peering diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/EVPN_MULTICAST_TESTS.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/EVPN_MULTICAST_TESTS.yml index 7032040bc1f..fd419c9c5ef 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/EVPN_MULTICAST_TESTS.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/EVPN_MULTICAST_TESTS.yml @@ -215,3 +215,351 @@ tenants: igmp_snooping_querier: version: 1 source_address: 2.2.2.2 + + # EVPN Multicast L3/IRB/OISM + # Tenant_C is for testing of EVPN L3/OISM only + Tenant_C: + mac_vrf_vni_base: 10000 + evpn_l3_multicast: + # Enabled = + # - Enable multicast-routing on VRF + # - If node is a vtep and evpn enabled, enable EVPN multicast + enabled: true + evpn_underlay_l3_multicast_group_ipv4_pool: 232.0.32.0/20 + evpn_underlay_l3_multicast_group_ipv4_pool_offset: 1 + vrfs: + # Inherits from Tenant C + TEN_C_L3_MULTICAST_ENABLED_130_131: + description: "L3_MULTICAST_ENABLED_130_131" + vtep_diagnostic: + loopback: 31 + loopback_ip_range: 10.255.1.0/24 + vrf_vni: 31 + svis: + # Expected results: + # - VRF L3_MULTICAST_ENABLED_130_131 enabled for Multicast: + # - 'evpn multicast' configured on VRF + # - Multicast routing enabled in VRF + # - No PIM config + # - Underlay group configured for VRF on Vxlan1 interface + # - 232.0.32.31 + # - On SVI 130 on LEAF1A/B (MLAG): pim ipv4 sparse-mode & local-interface + # - On SVI 130 on LEAF2A/3A/3B (Standalone/A-A): ip igmp & pim local-interface + # - On SVI 131 on LEAF1A/B (MLAG): pim ipv4 sparse-mode + # - On SVI 131 on LEAF2A/3A/3B (Standalone/A-A): ip igmp + # - Lack of loopback triggers error + 130: + name: "L3_MULTICAST_ENABLED_130" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.1.13.1/24 + 131: + name: "L3_MULTICAST_ENABLED_131" + tags: ['test_l3'] + enabled: true + ip_virtual_router_addresses: + - 10.1.14.1 + nodes: + EVPN-MULTICAST-L3LEAF1A: + ip_address: 10.1.14.2/24 + EVPN-MULTICAST-L3LEAF1B: + ip_address: 10.1.14.3/24 + EVPN-MULTICAST-L3LEAF2A: + ip_address: 10.1.14.4/24 + EVPN-MULTICAST-L3LEAF3A: + ip_address: 10.1.14.5/24 + EVPN-MULTICAST-L3LEAF3B: + ip_address: 10.1.14.6/24 + + TEN_C_L3_MULTICAST_ENABLED_230_DISABLED_231: + description: "L3_MULTICAST_ENABLED_230_DISABLED_231" + vtep_diagnostic: + loopback: 32 + loopback_ip_range: 10.255.2.0/24 + vrf_vni: 32 + svis: + # Expected results: + # - VRF L3_MULTICAST_ENABLED_230_DISABLED_231 enabled for Multicast: + # - 'evpn multicast' configured on VRF + # - Multicast routing enabled in VRF + # - Underlay group configured for VRF on Vxlan1 interface + # - 232.0.32.32 + # - IGMP/PIM enabled on SVI 230 + # - IGMP/PIM NOT enabled on SVI 231 + 230: + name: "L3_MULTICAST_ENABLED_230" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.2.23.1/24 + 231: + name: "L3_MULTICAST_DISABLED_231" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.2.24.1/24 + evpn_l3_multicast: + enabled: false + + TEN_C_L3_MULTICAST_DISABLED_330_331: + description: "L3_MULTICAST_DISABLED_330_331" + evpn_l3_multicast: + enabled: false + vtep_diagnostic: + loopback: 33 + loopback_ip_range: 10.255.3.0/24 + vrf_vni: 33 + svis: + # Expected results: + # - EVPN Multicast disabled across entire VRF + 330: + name: "L3_MULTICAST_DISABLED_330" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.3.33.1/24 + 331: + name: "L3_MULTICAST_DISABLED_331" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.3.34.1/24 + + # EVPN Multicast L3/IRB/OISM + # Tenant_D is for testing of EVPN L3/OISM when disabled at the tenant level only + Tenant_D: + mac_vrf_vni_base: 10000 + evpn_l3_multicast: + enabled: false + evpn_underlay_l3_multicast_group_ipv4_pool: 232.0.64.0/20 + vrfs: + + TEN_D_L3_MULTICAST_ENABLED_140_DISABLED_141: + description: "L3_MULTICAST_ENABLED_140_DISABLED_141" + vtep_diagnostic: + loopback: 41 + loopback_ip_range: 10.255.41.0/24 + evpn_l3_multicast: + enabled: true + vrf_vni: 41 + svis: + # Expected results: + # - L3_MULTICAST_ENABLED_140_DISABLED_141 enabled for Multicast: + # - 'evpn multicast' configured on VRF + # - Multicast routing enabled in VRF + # - Underlay group configured for VRF on Vxlan1 interface + # - 232.0.64.41 + # - IGMP/PIM enabled on SVI 140. No Multicast on 141. + # - Lack of loopback triggers error + 140: + name: "L3_MULTICAST_ENABLED_140" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.1.14.1/24 + 141: + name: "L3_MULTICAST_DISABLED_141" + tags: ['test_l3'] + enabled: true + evpn_l3_multicast: + enabled: false + ip_address_virtual: 10.1.15.1/24 + + TEN_D_L3_MULTICAST_DISABLED_240_241: + description: "L3_MULTICAST_DISABLED_240_241" + vtep_diagnostic: + loopback: 42 + loopback_ip_range: 10.255.42.0/24 + vrf_vni: 42 + svis: + # Expected results: + # - EVPN Multicast disabled across entire VRF + 240: + name: "L3_MULTICAST_DISABLED_240" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.1.24.1/24 + 241: + name: "L3_MULTICAST_DISABLED_241" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.1.25.1/24 + + # EVPN Multicast L3/IRB/OISM + # Tenant_E is for testing of EVPN L3/OISM with PEG/Transit only + Tenant_E: + mac_vrf_vni_base: 10000 + evpn_l3_multicast: + # Enabled = + # - Enable multicast-routing on VRF + # - If node is a vtep and evpn enabled, enable EVPN multicast + enabled: true + evpn_underlay_l3_multicast_group_ipv4_pool: 232.0.96.0/20 + evpn_peg: + # Nodes should be in one node group only + # Nodes is optional, settings apply everywhere if not defined + - nodes: [EVPN-MULTICAST-L3LEAF3A, EVPN-MULTICAST-L3LEAF3B] + transit: false + + # If pim_rp_addresses is defined and evpn_l3_multicast is enabled above create router pim sparse-mode + pim_rp_addresses: + - nodes: [EVPN-MULTICAST-L3LEAF3A, EVPN-MULTICAST-L3LEAF3B] + rps: + - 10.1.51.129 + - 10.1.52.129 + groups: + - 232.0.104.0/21 + - 232.0.96.0/21 + - rps: + - 10.1.50.100 + groups: + - 232.0.112.0/21 + - nodes: [EVPN-MULTICAST-L3LEAF1A, EVPN-MULTICAST-L3LEAF1B] + rps: + - 10.1.51.130 + - 10.1.52.130 + + vrfs: + # This VRF inherits from Tenant + # RPs should be as defined in Tenant on LEAF1/3 A/B + # Should have a section in router multicast & router pim sparse-mode on those nodes + # Only router multicast on LEAF2 + # No transit + TEN_E_PEG_L3_MULTICAST_ENABLED: + description: "PEG_L3_MULTICAST_ENABLED in Tenant E" + vtep_diagnostic: + loopback: 51 + loopback_ip_range: 10.255.51.0/24 + vrf_vni: 51 + svis: + 150: + name: "L3_MULTICAST_ENABLED_150" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.1.15.1/24 + l3_interfaces: + - interfaces: [Ethernet7, Ethernet7] + ip_addresses: [10.1.51.0/31, 10.1.51.2/31] + nodes: [EVPN-MULTICAST-L3LEAF1A, EVPN-MULTICAST-L3LEAF1B] + enabled: true + pim: + enabled: true + - interfaces: [Ethernet7.10, Ethernet7.10] + ip_addresses: [10.1.51.4/31, 10.1.51.6/31] + nodes: [EVPN-MULTICAST-L3LEAF3A, EVPN-MULTICAST-L3LEAF3B] + enabled: true + # Implicit disable + # pim: + # enabled: false + - interfaces: [Ethernet8, Ethernet8] + ip_addresses: [10.1.51.4/31, 10.1.51.6/31] + nodes: [EVPN-MULTICAST-L3LEAF3A, EVPN-MULTICAST-L3LEAF3B] + enabled: true + pim: + enabled: true + + # This VRF overrides Tenant + # RPs should be as defined in VRF below + # Should have a section in router multicast & router pim sparse-mode + TEN_E_L3_MULTICAST_ENABLED_PEG_OVERRIDE: + description: "L3_MULTICAST_ENABLED_PEG_OVERRIDE" + vtep_diagnostic: + loopback: 55 + loopback_ip_range: 10.255.55.0/24 + + evpn_l3_multicast: + enabled: true + # Test no 'nodes' key in rp_addresses (applies to all devices) + pim_rp_addresses: + - rps: + - 10.20.20.20 + groups: + - 232.0.0.0/21 + - rps: + - 10.40.40.40 + vrf_vni: 55 + svis: + 550: + name: "L3_MULTICAST_ENABLED_550" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.1.56.1/24 + l3_interfaces: + - interfaces: [Ethernet8, Ethernet8] + ip_addresses: [10.1.55.0/31, 10.1.55.2/31] + nodes: [EVPN-MULTICAST-L3LEAF1A, EVPN-MULTICAST-L3LEAF1B] + enabled: true + pim: + enabled: true + + # This VRF overrides tenant, uses different RPs on different devices + # and enables transit mode + TEN_E_L3_MULTICAST_TRANSIT: + description: "L3_MULTICAST_TRANSIT" + vtep_diagnostic: + loopback: 52 + loopback_ip_range: 10.255.52.0/24 + evpn_l3_multicast: + enabled: true + # Test transit mode + evpn_peg: + - nodes: [EVPN-MULTICAST-L3LEAF1A, EVPN-MULTICAST-L3LEAF1B] + transit: true + - nodes: [EVPN-MULTICAST-L3LEAF3A, EVPN-MULTICAST-L3LEAF3B] + transit: true + pim_rp_addresses: + - nodes: [EVPN-MULTICAST-L3LEAF1A, EVPN-MULTICAST-L3LEAF1B] + rps: + - 10.30.30.30 + - nodes: [EVPN-MULTICAST-L3LEAF3A, EVPN-MULTICAST-L3LEAF3B] + rps: + - 10.60.60.60 + vrf_vni: 52 + svis: + 250: + name: "L3_MULTICAST_ENABLED_250" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.1.15.1/24 + l3_interfaces: + - interfaces: [Ethernet9, Ethernet9] + ip_addresses: [10.1.52.0/31, 10.1.52.2/31] + nodes: [EVPN-MULTICAST-L3LEAF1A, EVPN-MULTICAST-L3LEAF1B] + enabled: true + pim: + enabled: true + - interfaces: [Ethernet9, Ethernet9] + ip_addresses: [10.2.52.0/31, 10.2.52.2/31] + nodes: [EVPN-MULTICAST-L3LEAF3A, EVPN-MULTICAST-L3LEAF3B] + enabled: true + pim: + enabled: true + + # This VRF tests evpn_peg with no nodes defined + # Should apply transit setting on any node where an RP is defined + TEN_E_L3_MULTICAST_EVPN_PEG_RP_NODES: + description: "L3_MULTICAST_TRANSIT" + vtep_diagnostic: + loopback: 60 + loopback_ip_range: 10.255.60.0/24 + evpn_l3_multicast: + enabled: true + # Test transit mode + evpn_peg: + - transit: true + pim_rp_addresses: + - nodes: [EVPN-MULTICAST-L3LEAF1A, EVPN-MULTICAST-L3LEAF1B] + rps: + - 10.30.30.30 + - nodes: [EVPN-MULTICAST-L3LEAF3A, EVPN-MULTICAST-L3LEAF3B] + rps: + - 10.60.60.60 + vrf_vni: 60 + svis: + 260: + name: "L3_MULTICAST_ENABLED_260" + tags: ['test_l3'] + enabled: true + ip_address_virtual: 10.1.26.1/24 + l3_interfaces: + - interfaces: [Ethernet10, Ethernet10] + ip_addresses: [10.1.60.0/31, 10.1.60.2/31] + nodes: [EVPN-MULTICAST-L3LEAF1A, EVPN-MULTICAST-L3LEAF1B] + enabled: true + pim: + enabled: true diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/EVPN_MULTICAST_TESTS_L3LEAFS.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/EVPN_MULTICAST_TESTS_L3LEAFS.yml index fbfae0ee2cb..afccf64a6e7 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/EVPN_MULTICAST_TESTS_L3LEAFS.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/group_vars/EVPN_MULTICAST_TESTS_L3LEAFS.yml @@ -13,6 +13,7 @@ l3leaf: virtual_router_mac_address: 00:dc:00:00:00:0a mlag_peer_l3_ipv4_pool: 10.255.251.0/24 mlag_peer_ipv4_pool: 10.255.252.0/24 + bgp_as: 65101-65105 node_groups: # Tests: # - MLAG pair @@ -23,7 +24,6 @@ l3leaf: # - Multi vtep configuration # - proper configuration of vlan-aware bundles (igmp redistribution) EVPN_MULTICAST_L3LEAF1: - bgp_as: 65101 nodes: EVPN-MULTICAST-L3LEAF1A: id: 1 @@ -43,10 +43,20 @@ l3leaf: # - proper configuration of bgp vlans (igmp redistribution) # - platform trident * configuration EVPN-MULTICAST-L3LEAF2: - bgp_as: 65102 platform: "7050X3" nodes: EVPN-MULTICAST-L3LEAF2A: id: 3 mgmt_ip: 192.168.200.107/24 uplink_switch_interfaces: [ Ethernet3 ] + EVPN_MULTICAST_L3LEAF3: + mlag: false + nodes: + EVPN-MULTICAST-L3LEAF3A: + id: 4 + mgmt_ip: 192.168.200.108/24 + uplink_switch_interfaces: [ Ethernet4 ] + EVPN-MULTICAST-L3LEAF3B: + id: 5 + mgmt_ip: 192.168.200.109/24 + uplink_switch_interfaces: [ Ethernet5 ] diff --git a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml index e2bc1ed22ca..fb4b0ccf58f 100644 --- a/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml +++ b/ansible_collections/arista/avd/molecule/eos_designs_unit_tests/inventory/hosts.yml @@ -88,6 +88,10 @@ all: EVPN_MULTICAST_L3LEAF2: hosts: EVPN-MULTICAST-L3LEAF2A: + EVPN_MULTICAST_L3LEAF3: + hosts: + EVPN-MULTICAST-L3LEAF3A: + EVPN-MULTICAST-L3LEAF3B: EVPN_MULTICAST_TESTS_L2LEAFS: hosts: EVPN-MULTICAST-L2LEAF1A: diff --git a/ansible_collections/arista/avd/plugins/plugin_utils/eos_designs_facts.py b/ansible_collections/arista/avd/plugins/plugin_utils/eos_designs_facts.py index 4090ddaf16c..436b8deed15 100644 --- a/ansible_collections/arista/avd/plugins/plugin_utils/eos_designs_facts.py +++ b/ansible_collections/arista/avd/plugins/plugin_utils/eos_designs_facts.py @@ -1739,7 +1739,7 @@ def overlay_routing_protocol_address_family(self): if overlay_routing_protocol_address_family == "ipv6": if not (get(self._hostvars, "underlay_ipv6") is True and get(self._hostvars, "underlay_rfc5549") is True): raise AristaAvdError( - "'overlay_routing_protocol_address_family: ipv6' is only supported incombination with 'underlay_ipv6: True' and 'underlay_rfc5549: True'" + "'overlay_routing_protocol_address_family: ipv6' is only supported in combination with 'underlay_ipv6: True' and 'underlay_rfc5549: True'" ) return overlay_routing_protocol_address_family diff --git a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-variables.md b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-variables.md index 354df35fd95..e5f261c3434 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-variables.md +++ b/ansible_collections/arista/avd/roles/eos_designs/doc/fabric-variables.md @@ -236,7 +236,7 @@ uplink_ptp: underlay_multicast: < boolean | default -> false > # Enable Fabric to support EVPN Multicast -# General Configuration required for EVPN Multicast. "evpn_l2_multicast" must also be configured under the Network Services (tenants). +# General Configuration required for EVPN Multicast. "evpn_l2_multicast" or "evpn_l3_multicast" must also be configured under the Network Services (tenants). # Requires "underlay_multicast: true" and IGMP snooping enabled globally (default). # For MLAG devices Route Distinguisher must be unique since this feature will create multi-vtep configuration. # Warning !!! For Trident3 based platforms i.e 7050X3, 7300X3, 720XP and 722XP diff --git a/ansible_collections/arista/avd/roles/eos_designs/doc/network-services.md b/ansible_collections/arista/avd/roles/eos_designs/doc/network-services.md index 25baf9059d1..2e27da6dde6 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/doc/network-services.md +++ b/ansible_collections/arista/avd/roles/eos_designs/doc/network-services.md @@ -132,7 +132,7 @@ mac_address_table: # Enable EVPN L2 Multicast for all SVIs and l2vlans within Tenant | Optional # - Multicast group binding is created only for Multicast traffic. BULL traffic will use ingress-replication - # - Configures binding between VXLAN, VLAN, and multicast group ipv4 address using the following formula: + # - Configures binding between VXLAN, VLAN, and multicast group IPv4 address using the following formula: # < evpn_l2_multicast.underlay_l2_multicast_group_ipv4_pool > + < vlan_id - 1 > + < evpn_l2_multicast.underlay_l2_multicast_group_ipv4_pool_offset >. # - The recommendation is to assign a /20 block within the 232.0.0.0/8 Source-Specific Multicast range. # - Enables `redistribute igmp` on the router bgp MAC VRF. @@ -142,11 +142,38 @@ mac_address_table: underlay_l2_multicast_group_ipv4_pool: < IPv4_address/Mask > underlay_l2_multicast_group_ipv4_pool_offset: < int > - # Enable igmp snooping querier for each SVI/l2vlan within tenant, by default using IP address of Loopback 0. - # When enabled, igmp snooping querier will only be configured on l3 devices, i.e., uplink_type: p2p. + # Enable L3 Multicast for all SVIs and l3vlans within Tenant | Optional + # - In the evpn-l3ls design type, this enables L3 EVPN Multicast (aka OISM) + # - Multicast group binding for VRF is created only for Multicast traffic. BULL traffic will use ingress-replication + # - Configures binding between VXLAN, VLAN, and multicast group IPv4 address using the following formula: + # < l3_multicast.evpn_underlay_l3_multicast_group_ipv4_pool > + < vrf_vni - 1 > + < l3_multicast.evpn_underlay_l3_multicast_group_ipv4_pool_offset >. + # - The recommendation is to assign a /20 block within the 232.0.0.0/8 Source-Specific Multicast range. + # - If enabled on an SVI using the anycast default gateway feature, a diagnostic loopback (see below) MUST be configured to source IGMP traffic. + # - Enables `evpn multicast` on the router bgp VRF. + # - When enabled on an SVI: + # - If switch is part of an MLAG pair, enables "pim ipv4 sparse-mode" on the SVI. + # - If switch is standalone or A-A MH, enables "ip igmp" on the SVI. + # - If "ip address virtual" is configured, enables "pim ipv4 local-interface" and uses the diagnostic Loopback defined in the VRF + evpn_l3_multicast: + enabled: < true | false > + evpn_underlay_l3_multicast_group_ipv4_pool: < IPv4_address/Mask > # Required + evpn_underlay_l3_multicast_group_ipv4_pool_offset: < int > # Optional + evpn_peg: + # For each group of nodes, allow configuration of EVPN PEG options | Optional + # The first group of settings where the device's hostname is present in the 'nodes' list will be used. + - nodes: [ < node_1 >, < node_2 >, < node_N > ] # Optional - will apply to all nodes with RP addresses configured if not set. + transit: < true | false > # Enable EVPN PEG transit mode + pim_rp_addresses: + # For each group of nodes, allow configuration of RP Addresses & associated groups + - rps: [ < rp_address_1 >, < rp_address_2 > ] # A minimum of one RP must be specified + nodes: [ < node_1 >, < node_2 >, < node_N > ] # Optional - will apply to all nodes if not set. + groups: [ < group_prefix_1/mask >, < group_prefix_1/mask > ] # Optional + + # Enable IGMP snooping querier for each SVI/l2vlan within tenant, by default using IP address of Loopback 0. + # When enabled, IGMP snooping querier will only be configured on L3 devices, i.e., uplink_type: p2p. igmp_snooping_querier: # Will be enabled automatically if "evpn_l2_multicast" is enabled. - enabled: < true | false | default false > + enabled: < true | false > source_address: < ipv4_address -> default ip address of Loopback0 > version: < 1, 2, 3 -> default 2 (EOS) > @@ -198,7 +225,7 @@ mac_address_table: # This will create a loopback with virtual source-nat enable to perform diagnostics from the switch. vtep_diagnostic: - # Loopback interface number | Required (when vtep_diagnotics defined) + # Loopback interface number | Required (when vtep_diagnostic defined) loopback: < 2-2100 > # Loopback ip range, a unique ip is derived from this ranged and assigned @@ -228,6 +255,19 @@ mac_address_table: - < hostname1 > - < hostname2 > + # Explicitly enable or disable evpn_l3_multicast to override setting of tenants..evpn_l3_multicast.enabled. + # Allow override of tenants..evpn_l3_multicast.node_settings + evpn_l3_multicast: + enabled: < true | false > + evpn_peg: + # For each group of nodes, allow configuration of EVPN PEG features | Optional + - nodes: [ < node_1 >, < node_2 >, < node_N > ] # Optional - will apply to all nodes with RP addresses configured if not set. + transit: < true | false | default false > # Enable EVPN PEG transit mode + pim_rp_addresses: # For each group of nodes, allow configuration of RP Addresses & associated groups + - rps: [ < rp_address_1 >, < rp_address_2 > ] # A minimum of one RP must be specified + nodes: [ < node_1 >, < node_2 >, < node_N > ] # Optional - will apply to all nodes if not set. + groups: [ < group_prefix_1/mask >, < group_prefix_1/mask > ] # Optional + # Non-selectively enabling or disabling redistribute ospf inside the VRF | Optional. redistribute_ospf: < true | false, Default -> true > @@ -275,6 +315,11 @@ mac_address_table: evpn_l2_multicast: enabled: < true | false > + # Explicitly enable or disable evpn_l3_multicast to override setting of tenants .evpn_l3_multicast.enabled and + # tenants..vrfs..evpn_l3_multicast.enabled + evpn_l3_multicast: + enabled: < true | false > + # Enable IGMP Snooping igmp_snooping_enabled: < true | false | default true (EOS) > @@ -415,6 +460,12 @@ mac_address_table: hash_algorithm: < md5 | sha1 | sha256 | sha384 | sha512, Default -> sha512 > key: < key password > + # Enable PIM sparse-mode on the interface; requires "evpn_l3_multicast" to be enabled on the VRF/Tenant + # Enabling this implicitly makes the device a PIM External Gateway (PEG) in EVPN designs only. + # At least one RP address must be configured for EVPN PEG to be configured. + pim: + enabled: true + # For sub-interfaces the dot1q vlan is derived from the interface name by default, but can also be specified. - interfaces: [ , ] encapsulation_dot1q_vlan: [ , ] diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/avdstructuredconfig.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/avdstructuredconfig.py index c5a9ef31d0b..b9d864e28c9 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/avdstructuredconfig.py +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/avdstructuredconfig.py @@ -14,7 +14,9 @@ from .route_maps import RouteMapsMixin from .router_bgp import RouterBgpMixin from .router_isis import RouterIsisMixin +from .router_multicast import RouterMulticastMixin from .router_ospf import RouterOspfMixin +from .router_pim_sparse_mode import RouterPimSparseModeMixin from .static_routes import StaticRoutesMixin from .struct_cfg import StructCfgMixin from .virtual_source_nat_vrfs import VirtualSourceNatVrfsMixin @@ -46,6 +48,8 @@ class AvdStructuredConfig( VxlanInterfaceMixin, VirtualSourceNatVrfsMixin, RouterIsisMixin, + RouterMulticastMixin, + RouterPimSparseModeMixin, ): """ The AvdStructuredConfig Class is imported by "yaml_templates_to_facts" to render parts of the structured config. diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/ethernet_interfaces.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/ethernet_interfaces.py index 2891366f44c..12d00dcb172 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/ethernet_interfaces.py +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/ethernet_interfaces.py @@ -112,6 +112,21 @@ def ethernet_interfaces(self) -> dict | None: interface["ospf_authentication"] = ospf_authentication interface["ospf_message_digest_keys"] = ospf_keys + if get(l3_interface, "pim.enabled"): + if not vrf.get("_evpn_l3_multicast_enabled"): + raise AristaAvdError( + f"'pim: enabled' set on l3_interface {interface_name} on {self._hostname} requires evpn_l3_multicast: enabled: true" + f" under VRF '{vrf.name}' or Tenant '{tenant.name}'" + ) + + if not vrf.get("_pim_rp_addresses"): + raise AristaAvdError( + f"'pim: enabled' set on l3_interface {interface_name} on {self._hostname} requires at least one RP defined in" + f" pim_rp_addresses under VRF '{vrf.name}' or Tenant '{tenant.name}'" + ) + + interface["pim"] = {"ipv4": {"sparse_mode": True}} + # Strip None values from vlan before adding to list interface = {key: value for key, value in interface.items() if value is not None} diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_bgp.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_bgp.py index 8c1aa74cf52..91865f0c8dd 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_bgp.py +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_bgp.py @@ -24,7 +24,7 @@ def router_bgp(self) -> dict | None: """ Return the structured config for router_bgp - Changin legacy behavior is to only render this on vtep or mpls_ler + Changing legacy behavior is to only render this on vtep or mpls_ler by instead skipping vlans/bundles if not vtep or mpls_ler TODO: Fix so this also works for L2LS with VRFs """ @@ -161,6 +161,7 @@ def _router_bgp_vrfs(self) -> dict | None: "redistribute_routes": ["connected"], "eos_cli": get(vrf, "bgp.raw_eos_cli"), "struct_cfg": get(vrf, "bgp.structured_config"), + "evpn_multicast": get(vrf, "_evpn_l3_multicast_enabled"), } # MLAG IBGP Peering VLANs per VRF if (vlan_id := self._mlag_ibgp_peering_vlan_vrf(vrf, tenant)) is not None: @@ -214,6 +215,9 @@ def _router_bgp_vrfs(self) -> dict | None: if address_families: bgp_vrf["address_families"] = address_families + if (evpn_multicast_transit_mode := get(vrf, "_evpn_l3_multicast_evpn_peg_transit")) is True: + bgp_vrf["evpn_multicast_address_family"] = {"ipv4": {"transit": evpn_multicast_transit_mode}} + # Strip None values from vlan before returning bgp_vrf = {key: value for key, value in bgp_vrf.items() if value is not None} vrfs[vrf_name] = bgp_vrf diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_multicast.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_multicast.py new file mode 100644 index 00000000000..d31f0ea5771 --- /dev/null +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_multicast.py @@ -0,0 +1,35 @@ +from __future__ import annotations + +from functools import cached_property + +from ansible_collections.arista.avd.plugins.plugin_utils.utils import get +from ansible_collections.arista.avd.roles.eos_designs.python_modules.network_services.utils import UtilsMixin + + +class RouterMulticastMixin(UtilsMixin): + """ + Mixin Class used to generate structured config for one key. + Class should only be used as Mixin to a AvdStructuredConfig class + """ + + @cached_property + def router_multicast(self) -> dict | None: + """ + return structured config for router_multicast + + Used to enable multicast routing on the VRF. + """ + + if not self._network_services_l3: + return None + + vrfs = [] + for tenant in self._filtered_tenants: + for vrf in tenant["vrfs"]: + if get(vrf, "_evpn_l3_multicast_enabled"): + vrfs.append({"name": vrf["name"], "ipv4": {"routing": True}}) + + if vrfs: + return {"vrfs": vrfs} + + return None diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_pim_sparse_mode.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_pim_sparse_mode.py new file mode 100644 index 00000000000..dbc49448025 --- /dev/null +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_pim_sparse_mode.py @@ -0,0 +1,42 @@ +from __future__ import annotations + +from functools import cached_property + +from ansible_collections.arista.avd.plugins.plugin_utils.utils import get +from ansible_collections.arista.avd.roles.eos_designs.python_modules.network_services.utils import UtilsMixin + + +class RouterPimSparseModeMixin(UtilsMixin): + """ + Mixin Class used to generate structured config for one key. + Class should only be used as Mixin to a AvdStructuredConfig class + """ + + @cached_property + def router_pim_sparse_mode(self) -> dict | None: + """ + return structured config for router_pim + + Used for to configure RPs on the VRF + """ + + if not self._network_services_l3: + return None + + vrfs = [] + for tenant in self._filtered_tenants: + for vrf in tenant["vrfs"]: + if vrf_rps := get(vrf, "_pim_rp_addresses"): + vrfs.append( + { + "name": vrf["name"], + "ipv4": { + "rp_addresses": vrf_rps, + }, + } + ) + + if vrfs: + return {"vrfs": vrfs} + + return None diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/utils.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/utils.py index eee7bcae535..655e9cfd94c 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/utils.py +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/utils.py @@ -321,3 +321,7 @@ def _configure_bgp_mlag_peer_group(self) -> bool: return True return False + + @cached_property + def _evpn_multicast(self) -> bool: + return get(self._hostvars, "switch.evpn_multicast") is True diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/utils_filtered_tenants.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/utils_filtered_tenants.py index e03ab9715eb..cda93978aa2 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/utils_filtered_tenants.py +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/utils_filtered_tenants.py @@ -126,6 +126,31 @@ def _filtered_vrfs(self, tenant: dict) -> list[dict]: and l3_interface.get("interfaces") is not None ) ] + + if self._evpn_multicast: + vrf["_evpn_l3_multicast_enabled"] = default(get(vrf, "evpn_l3_multicast.enabled"), get(tenant, "evpn_l3_multicast.enabled")) + + rps = [] + for rp_address in default(get(vrf, "pim_rp_addresses"), get(tenant, "pim_rp_addresses"), []): + if self._hostname in get(rp_address, "nodes", default=[self._hostname]): + for rp_ip in get( + rp_address, + "rps", + required=True, + org_key=f"pim_rp_addresses.rps under VRF '{vrf['name']}' in Tenant '{tenant['name']}'", + ): + if rp_groups := get(rp_address, "groups"): + rps.append({"address": rp_ip, "groups": rp_groups}) + else: + rps.append({"address": rp_ip}) + if rps: + vrf["_pim_rp_addresses"] = rps + + for evpn_peg in default(get(vrf, "evpn_l3_multicast.evpn_peg"), get(tenant, "evpn_l3_multicast.evpn_peg"), []): + if self._hostname in evpn_peg.get("nodes", [self._hostname]) and rps: + vrf["_evpn_l3_multicast_evpn_peg_transit"] = evpn_peg.get("transit") + break + if vrf["svis"] or vrf["l3_interfaces"] or "all" in always_include_vrfs_in_tenants or tenant["name"] in always_include_vrfs_in_tenants: filtered_vrfs.append(vrf) diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vlan_interfaces.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vlan_interfaces.py index c98fe341da7..75b94c548a0 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vlan_interfaces.py +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vlan_interfaces.py @@ -3,6 +3,7 @@ from functools import cached_property from ansible_collections.arista.avd.plugins.filter.convert_dicts import convert_dicts +from ansible_collections.arista.avd.plugins.plugin_utils.errors import AristaAvdMissingVariableError from ansible_collections.arista.avd.plugins.plugin_utils.utils import default, get from .utils import UtilsMixin @@ -65,6 +66,24 @@ def _get_vlan_interface_config_for_svi(self, svi, vrf, tenant) -> dict: vlan_interface_config["ip_address_virtual"] = svi.get("ip_address_virtual") vlan_interface_config["ip_address_virtual_secondaries"] = svi.get("ip_address_virtual_secondaries") + pim_config_ipv4 = {} + if default(get(svi, "evpn_l3_multicast.enabled"), get(vrf, "_evpn_l3_multicast_enabled")) is True: + if self._mlag: + pim_config_ipv4["sparse_mode"] = True + else: + vlan_interface_config["ip_igmp"] = True + + if "ip_address_virtual" in vlan_interface_config: + if (vrf_diagnostic_loopback := get(vrf, "vtep_diagnostic.loopback")) is None: + raise AristaAvdMissingVariableError( + f"No vtep_diagnostic loopback defined on VRF '{vrf['name']}' in Tenant '{tenant['name']}'." + "This is required when 'l3_multicast' is enabled on the VRF and ip_address_virtual is used on an SVI in that VRF." + ) + pim_config_ipv4["local_interface"] = f"Loopback{vrf_diagnostic_loopback}" + + if pim_config_ipv4: + vlan_interface_config["pim"] = {"ipv4": pim_config_ipv4} + if vlan_interface_config["ipv6_address"] is not None: # Only set VARPv6 if ipv6_address is set vlan_interface_config["ipv6_virtual_router_addresses"] = svi.get("ipv6_virtual_router_addresses") diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vxlan_interface.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vxlan_interface.py index a4639fef558..5ec66dda380 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vxlan_interface.py +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vxlan_interface.py @@ -67,6 +67,19 @@ def vxlan_interface(self) -> dict | None: # This is legacy behavior so we will leave stricter enforcement to the schema vrfs[key] = {"vni": vni} + if get(vrf, "_evpn_l3_multicast_enabled"): + underlay_l3_multicast_group_ipv4_pool = get( + tenant, + "evpn_l3_multicast.evpn_underlay_l3_multicast_group_ipv4_pool", + required=True, + org_key=f"'evpn_l3_multicast.evpn_underlay_l3_multicast_group_ipv4_pool' for Tenant: {tenant['name']}", + ) + underlay_l3_mcast_group_ipv4_pool_offset = get( + tenant, "evpn_l3_multicast.evpn_underlay_l3_multicast_group_ipv4_pool_offset", default=0 + ) + offset = vni - 1 + underlay_l3_mcast_group_ipv4_pool_offset + vrfs[key]["multicast_group"] = self._avd_ip_addressing._ip(underlay_l3_multicast_group_ipv4_pool, 32, offset, 0) + for l2vlan in tenant["l2vlans"]: if vlan := self._get_vxlan_interface_config_for_vlan(l2vlan, tenant): vlan_id = int(l2vlan["id"])