Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(eos_designs): Add keys to set loopback0 and vtep_loopback directly #4168

Merged
merged 12 commits into from
Jul 26, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ interface Ethernet30
interface Loopback0
description EVPN_Overlay_Peering
no shutdown
ip address 192.168.255.9/32
ip address 192.168.42.42/32
!
interface Loopback1
description VTEP_VXLAN_Tunnel_Source
no shutdown
ip address 192.168.254.9/32
ip address 192.168.43.43/32
!
interface Loopback100
description Tenant_A_OP_Zone_VTEP_DIAGNOSTICS
Expand Down Expand Up @@ -282,7 +282,7 @@ router bfd
multihop interval 1200 min-rx 1200 multiplier 3
!
router bgp 65101
router-id 192.168.255.9
router-id 192.168.42.42
graceful-restart restart-time 500
graceful-restart
maximum-paths 4 ecmp 4
Expand Down Expand Up @@ -361,33 +361,33 @@ router bgp 65101
rd 1.1.1.1:41
route-target import evpn 1234:41
route-target export evpn 1234:41
router-id 192.168.255.9
router-id 192.168.42.42
redistribute connected
!
vrf Tenant_A_APP_Zone
rd 1.1.1.1:12
route-target import evpn 1234:12
route-target export evpn 1234:12
router-id 192.168.255.9
router-id 192.168.42.42
redistribute connected
!
vrf Tenant_A_OP_Zone
rd 1.1.1.1:9
route-target import evpn 1234:9
route-target export evpn 1234:9
router-id 192.168.255.9
router-id 192.168.42.42
redistribute connected
redistribute ospf
!
vrf Tenant_A_WEB_Zone
rd 1.1.1.1:11
route-target import evpn 1234:11
route-target export evpn 1234:11
router-id 192.168.255.9
router-id 192.168.42.42
redistribute connected
!
router ospf 9 vrf Tenant_A_OP_Zone
router-id 192.168.255.9
router-id 192.168.42.42
passive-interface default
no passive-interface Vlan113
redistribute bgp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ router bgp 65001
neighbor 172.31.255.161 remote-as 65111
neighbor 172.31.255.161 shutdown
neighbor 172.31.255.161 description DC1_UNDEPLOYED_LEAF1B_Ethernet49/1
neighbor 192.168.255.9 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.255.9 remote-as 65101
neighbor 192.168.255.9 description DC1-LEAF1A
neighbor 192.168.42.42 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.42.42 remote-as 65101
neighbor 192.168.42.42 description DC1-LEAF1A
neighbor 192.168.255.10 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.255.10 remote-as 65102
neighbor 192.168.255.10 description DC1-LEAF2A
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ router bgp 65001
neighbor 172.31.255.163 remote-as 65111
neighbor 172.31.255.163 shutdown
neighbor 172.31.255.163 description DC1_UNDEPLOYED_LEAF1B_Ethernet50/1
neighbor 192.168.255.9 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.255.9 remote-as 65101
neighbor 192.168.255.9 description DC1-LEAF1A
neighbor 192.168.42.42 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.42.42 remote-as 65101
neighbor 192.168.42.42 description DC1-LEAF1A
neighbor 192.168.255.10 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.255.10 remote-as 65102
neighbor 192.168.255.10 description DC1-LEAF2A
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ router bgp 65001
neighbor 172.31.255.165 remote-as 65111
neighbor 172.31.255.165 shutdown
neighbor 172.31.255.165 description DC1_UNDEPLOYED_LEAF1B_Ethernet51/1
neighbor 192.168.255.9 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.255.9 remote-as 65101
neighbor 192.168.255.9 description DC1-LEAF1A
neighbor 192.168.42.42 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.42.42 remote-as 65101
neighbor 192.168.42.42 description DC1-LEAF1A
neighbor 192.168.255.10 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.255.10 remote-as 65102
neighbor 192.168.255.10 description DC1-LEAF2A
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ router bgp 65001
neighbor 172.31.255.167 remote-as 65111
neighbor 172.31.255.167 shutdown
neighbor 172.31.255.167 description DC1_UNDEPLOYED_LEAF1B_Ethernet52/1
neighbor 192.168.255.9 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.255.9 remote-as 65101
neighbor 192.168.255.9 description DC1-LEAF1A
neighbor 192.168.42.42 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.42.42 remote-as 65101
neighbor 192.168.42.42 description DC1-LEAF1A
neighbor 192.168.255.10 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.255.10 remote-as 65102
neighbor 192.168.255.10 description DC1-LEAF2A
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ hostname: DC1-LEAF1A
is_deployed: true
router_bgp:
as: '65101'
router_id: 192.168.255.9
router_id: 192.168.42.42
bgp_defaults:
- distance bgp 20 200 200
bgp:
Expand Down Expand Up @@ -89,7 +89,7 @@ router_bgp:
expiry_timeout: 10
vrfs:
- name: Tenant_A_APP_Zone
router_id: 192.168.255.9
router_id: 192.168.42.42
rd: 1.1.1.1:12
route_targets:
import:
Expand All @@ -103,7 +103,7 @@ router_bgp:
redistribute_routes:
- source_protocol: connected
- name: Tenant_A_OP_Zone
router_id: 192.168.255.9
router_id: 192.168.42.42
rd: 1.1.1.1:9
route_targets:
import:
Expand All @@ -118,7 +118,7 @@ router_bgp:
- source_protocol: connected
- source_protocol: ospf
- name: Tenant_A_WEB_Zone
router_id: 192.168.255.9
router_id: 192.168.42.42
rd: 1.1.1.1:11
route_targets:
import:
Expand All @@ -132,7 +132,7 @@ router_bgp:
redistribute_routes:
- source_protocol: connected
- name: '12345678'
router_id: 192.168.255.9
router_id: 192.168.42.42
rd: 1.1.1.1:41
route_targets:
import:
Expand Down Expand Up @@ -373,11 +373,11 @@ loopback_interfaces:
- name: Loopback0
description: EVPN_Overlay_Peering
shutdown: false
ip_address: 192.168.255.9/32
ip_address: 192.168.42.42/32
- name: Loopback1
description: VTEP_VXLAN_Tunnel_Source
shutdown: false
ip_address: 192.168.254.9/32
ip_address: 192.168.43.43/32
- name: Loopback100
description: Tenant_A_OP_Zone_VTEP_DIAGNOSTICS
shutdown: false
Expand Down Expand Up @@ -546,7 +546,7 @@ router_ospf:
- id: 9
vrf: Tenant_A_OP_Zone
passive_interface_default: true
router_id: 192.168.255.9
router_id: 192.168.42.42
no_passive_interfaces:
- Vlan113
redistribute:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ router_bgp:
peer: DC1-CL1B
description: DC1-CL1B
remote_as: '65109'
- ip_address: 192.168.255.9
- ip_address: 192.168.42.42
peer_group: EVPN-OVERLAY-PEERS
peer: DC1-LEAF1A
description: DC1-LEAF1A
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ router_bgp:
peer: DC1-CL1B
description: DC1-CL1B
remote_as: '65109'
- ip_address: 192.168.255.9
- ip_address: 192.168.42.42
peer_group: EVPN-OVERLAY-PEERS
peer: DC1-LEAF1A
description: DC1-LEAF1A
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ router_bgp:
peer: DC1-CL1B
description: DC1-CL1B
remote_as: '65109'
- ip_address: 192.168.255.9
- ip_address: 192.168.42.42
peer_group: EVPN-OVERLAY-PEERS
peer: DC1-LEAF1A
description: DC1-LEAF1A
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ router_bgp:
peer: DC1-CL1B
description: DC1-CL1B
remote_as: '65109'
- ip_address: 192.168.255.9
- ip_address: 192.168.42.42
peer_group: EVPN-OVERLAY-PEERS
peer: DC1-LEAF1A
description: DC1-LEAF1A
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ l3leaf:
mac_address: '0c:1d:c0:1d:62:01'
# Commented out for automatic downlink allocation on spine
# uplink_switch_interfaces: [ Ethernet1, Ethernet1, Ethernet1, Ethernet1 ]
# Test setting loopback0 and the VTEP loopback manually
loopback_ipv4_address: 192.168.42.42
ClausHolbechArista marked this conversation as resolved.
Show resolved Hide resolved
vtep_loopback_ipv4_address: 192.168.43.43
- group: DC1_LEAF2
bgp_as: 65102
rack: "rackD"
Expand Down
Loading
Loading