Skip to content

Commit a124949

Browse files
data-model-update (#7)
1 parent c40b142 commit a124949

File tree

33 files changed

+258
-253
lines changed

33 files changed

+258
-253
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This repository contains ansible playbooks which allow the user to quickly:
2424
1. Deploy cEOS-Lab Leaf Spine topology using [containerlab](https://containerlab.srlinux.dev/).
2525
2. Configure the Leaf Spine Fabric using Arista Ansible [AVD](https://avd.sh/en/latest/index.html)
2626

27-
The same AVD templates can also be used with vEOS-Lab and physical Lab switches with slight changes to management IP and VRF.
27+
The same AVD templates can also be used with vEOS-Lab and physical Lab switches with slight changes to lab files.
2828

2929
## Installation
3030

@@ -33,12 +33,12 @@ Clone the repository and ensure to have the required libraries and software inst
3333
### Requirements
3434

3535
- Python 3.6.8 or above
36-
- ansible 2.10.0 or above
37-
- arista.avd ansible collection
38-
- containerlab
36+
- ansible-core from 2.11.3 to 2.12.x
37+
- arista.avd ansible collection (3.0.0 or above)
38+
- containerlab (0.15 or above)
3939
- arista.avd requirements
4040
- docker
41-
- Arista cEOS-Lab image
41+
- Arista cEOS-Lab image (4.21.8M or above)
4242
- Alpine-host image
4343

4444
For arista.avd installation please refer to the [official](https://avd.sh/en/latest/docs/installation/requirements.html) documenation.
@@ -47,7 +47,11 @@ For containerlab installation please refer to the [official](https://containerla
4747

4848
For Python3, docker and ansible installation please refer to the installation guides based on the host OS.
4949

50-
**NOTE** :warning: Containerlab topology definitions have changed starting v0.15 - [`Release Notes`](https://containerlab.srlinux.dev/rn/0.15/). Latest [`release`](https://github.com/arista-netdevops-community/avd-cEOS-Lab/releases) of this repository is containerlab v0.15 (and above) compatible. For older containerlab compatible syntax download [`v1.1.2`](https://github.com/arista-netdevops-community/avd-cEOS-Lab/releases)
50+
**NOTE** :warning:
51+
52+
- Containerlab topology definitions have changed starting v0.15 - [`Release Notes`](https://containerlab.srlinux.dev/rn/0.15/). Latest [`release`](https://github.com/arista-netdevops-community/avd-cEOS-Lab/releases) of this repository is containerlab v0.15 (and above) compatible. For older containerlab compatible syntax download [`v1.1.2`](https://github.com/arista-netdevops-community/avd-cEOS-Lab/releases)
53+
54+
- arista.avd v3.0.0 contains breaking changes to data models [`Release Notes`](https://avd.sh/en/latest/docs/release-notes/3.x.x.html). Latest release of this repository is arista.avd v3.0.0 and above compatible. For older avd compatible syntax download older release. [`Releases`](https://github.com/arista-netdevops-community/avd-cEOS-Lab/releases)
5155

5256
### Installing Arista cEOS-Lab image
5357

labs/evpn/avd_asym_irb/group_vars/AVD_LAB.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ name_servers:
99
- 1.1.1.1
1010
- 8.8.8.8
1111

12-
ntp_servers:
13-
- time.google.com
12+
ntp:
13+
servers:
14+
- name: time.google.com
15+
preferred: true
16+
vrf: MGMT
1417

1518
service_routing_protocols_model: multi-agent
1619

labs/evpn/avd_asym_irb/group_vars/DC1_FABRIC.yaml

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@ underlay_routing_protocol: EBGP
55

66
overlay_routing_protocol: EBGP
77

8-
underlay_p2p_network_summary: 172.31.255.0/24
9-
10-
overlay_loopback_network_summary: 192.168.255.0/24
11-
12-
vtep_loopback_network_summary: 192.168.254.0/24
13-
14-
mlag_ips:
15-
leaf_peer_l3: 10.255.251.0/24
16-
mlag_peer: 10.255.252.0/24
17-
188
vxlan_vlan_aware_bundles: false
199

2010
# bgp peer groups passwords
@@ -27,8 +17,17 @@ bgp_peer_groups:
2717
password: "vnEaG8gMeQf3d3cN6PktXQ=="
2818

2919
spine:
30-
platform: cEOS-LAB
31-
bgp_as: 65001
20+
defaults:
21+
platform: cEOS-LAB
22+
bgp_as: 65001
23+
loopback_ipv4_pool: 192.168.255.0/24
24+
bgp_defaults:
25+
#- update wait-for-convergence
26+
#- update wait-install
27+
- no bgp default ipv4-unicast
28+
- distance bgp 20 200 200
29+
#- graceful-restart restart-time 300
30+
#- graceful-restart
3231
leaf_as_range: 65101-65132
3332
nodes:
3433
DC1_SPINE1:
@@ -42,49 +41,46 @@ l3leaf:
4241
defaults:
4342
platform: cEOS-LAB
4443
bgp_as: 65100
45-
spines: [DC1_SPINE1, DC1_SPINE2]
46-
uplink_to_spine_interfaces: [Ethernet1, Ethernet2]
44+
uplink_switches: [DC1_SPINE1, DC1_SPINE2]
45+
uplink_interfaces: [Ethernet1, Ethernet2]
4746
mlag_interfaces: [Ethernet3, Ethernet4]
4847
spanning_tree_mode: mstp
4948
spanning_tree_priority: 4096
5049
evpn_services_l2_only: true
50+
loopback_ipv4_pool: 192.168.255.0/24
51+
uplink_ipv4_pool: 172.31.255.0/24
52+
loopback_ipv4_offset: 2
53+
vtep_loopback_ipv4_pool: 192.168.254.0/24
54+
mlag_peer_ipv4_pool: 10.255.252.0/24
55+
mlag_peer_l3_ipv4_pool: 10.255.251.0/24
56+
virtual_router_mac_address: 00:00:00:00:00:01
57+
bgp_defaults:
58+
#- update wait-install
59+
- no bgp default ipv4-unicast
60+
- distance bgp 20 200 200
61+
#- graceful-restart restart-time 300
62+
#- graceful-restart
5163
node_groups:
5264
DC1_LEAF1:
5365
bgp_as: 65101
5466
nodes:
5567
DC1_LEAF1A:
5668
id: 1
5769
mgmt_ip: 172.100.100.4/24
58-
spine_interfaces: [Ethernet1, Ethernet1]
70+
uplink_switch_interfaces: [Ethernet1, Ethernet1]
5971
DC1_LEAF1B:
6072
id: 2
6173
mgmt_ip: 172.100.100.5/24
62-
spine_interfaces: [Ethernet2, Ethernet2]
74+
uplink_switch_interfaces: [Ethernet2, Ethernet2]
6375
DC1_LEAF2:
6476
bgp_as: 65102
6577
nodes:
6678
DC1_LEAF2A:
6779
id: 3
6880
mgmt_ip: 172.100.100.6/24
69-
spine_interfaces: [Ethernet3, Ethernet3]
81+
uplink_switch_interfaces: [Ethernet3, Ethernet3]
7082
DC1_LEAF2B:
7183
id: 4
7284
mgmt_ip: 172.100.100.7/24
73-
spine_interfaces: [Ethernet4, Ethernet4]
74-
75-
# Spine BGP Tuning | Optional.
76-
spine_bgp_defaults:
77-
#- update wait-for-convergence
78-
#- update wait-install
79-
- no bgp default ipv4-unicast
80-
- distance bgp 20 200 200
81-
#- graceful-restart restart-time 300
82-
#- graceful-restart
85+
uplink_switch_interfaces: [Ethernet4, Ethernet4]
8386

84-
# Leaf BGP Tuning | Optional.
85-
leaf_bgp_defaults:
86-
#- update wait-install
87-
- no bgp default ipv4-unicast
88-
- distance bgp 20 200 200
89-
#- graceful-restart restart-time 300
90-
#- graceful-restart

labs/evpn/avd_asym_irb/group_vars/DC1_LEAFS.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@ custom_structured_configuration_vlan_interfaces:
88
Vlan111:
99
description: Tenant_A_OP_Zone_2
1010
shutdown: false
11-
ip_address_virtual: 10.1.11.1/24
12-
13-
custom_structured_configuration_ip_virtual_router_mac_address: 00:00:00:00:00:01
11+
ip_address_virtual: 10.1.11.1/24

labs/evpn/avd_asym_irb/topology.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ topology:
44
kinds:
55
ceos:
66
startup-config: ../../../ceos_lab_template/ceos.cfg.tpl
7-
image: ceosimage:4.26.1F
7+
image: ceosimage:4.27.0F
88
linux:
99
image: alpine-host
1010
nodes:

labs/evpn/avd_asym_multihoming/group_vars/AVD_LAB.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ name_servers:
99
- 1.1.1.1
1010
- 8.8.8.8
1111

12-
ntp_servers:
13-
- time.google.com
12+
ntp:
13+
servers:
14+
- name: time.google.com
15+
preferred: true
16+
vrf: MGMT
1417

1518
service_routing_protocols_model: multi-agent
1619

labs/evpn/avd_asym_multihoming/group_vars/DC1_FABRIC.yaml

Lines changed: 28 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ underlay_routing_protocol: EBGP
55

66
overlay_routing_protocol: EBGP
77

8-
underlay_p2p_network_summary: 172.31.255.0/24
9-
10-
overlay_loopback_network_summary: 192.168.255.0/24
11-
12-
vtep_loopback_network_summary: 192.168.254.0/24
13-
148
vxlan_vlan_aware_bundles: false
159

1610
# bgp peer groups passwords
@@ -21,8 +15,17 @@ bgp_peer_groups:
2115
password: "q+VNViP5i4rVjW1cxFv2wA=="
2216

2317
spine:
24-
platform: cEOS-LAB
25-
bgp_as: 65001
18+
defaults:
19+
platform: cEOS-LAB
20+
bgp_as: 65001
21+
loopback_ipv4_pool: 192.168.255.0/24
22+
bgp_defaults:
23+
#- update wait-for-convergence
24+
#- update wait-install
25+
- no bgp default ipv4-unicast
26+
- distance bgp 20 200 200
27+
#- graceful-restart restart-time 300
28+
#- graceful-restart
2629
leaf_as_range: 65101-65132
2730
nodes:
2831
DC1_SPINE1:
@@ -35,11 +38,22 @@ spine:
3538
l3leaf:
3639
defaults:
3740
platform: cEOS-LAB
38-
spines: [DC1_SPINE1, DC1_SPINE2]
39-
uplink_to_spine_interfaces: [Ethernet1, Ethernet2]
41+
uplink_switches: [DC1_SPINE1, DC1_SPINE2]
42+
uplink_interfaces: [Ethernet1, Ethernet2]
4043
spanning_tree_mode: mstp
4144
spanning_tree_priority: 4096
4245
evpn_services_l2_only: true
46+
loopback_ipv4_pool: 192.168.255.0/24
47+
loopback_ipv4_offset: 2
48+
vtep_loopback_ipv4_pool: 192.168.254.0/24
49+
uplink_ipv4_pool: 172.31.255.0/24
50+
virtual_router_mac_address: 00:00:00:00:00:01
51+
bgp_defaults:
52+
#- update wait-install
53+
- no bgp default ipv4-unicast
54+
- distance bgp 20 200 200
55+
#- graceful-restart restart-time 300
56+
#- graceful-restart
4357
node_groups:
4458
POD_1:
4559
mlag: false
@@ -48,42 +62,25 @@ l3leaf:
4862
id: 1
4963
bgp_as: 65101
5064
mgmt_ip: 172.100.100.4/24
51-
spine_interfaces: [Ethernet1, Ethernet1]
65+
uplink_switch_interfaces: [Ethernet1, Ethernet1]
5266
DC1_PE12:
5367
id: 2
5468
bgp_as: 65102
5569
mgmt_ip: 172.100.100.5/24
56-
spine_interfaces: [Ethernet2, Ethernet2]
70+
uplink_switch_interfaces: [Ethernet2, Ethernet2]
5771
POD_2:
5872
mlag: false
5973
nodes:
6074
DC1_PE21:
6175
id: 3
6276
bgp_as: 65103
6377
mgmt_ip: 172.100.100.6/24
64-
spine_interfaces: [Ethernet3, Ethernet3]
78+
uplink_switch_interfaces: [Ethernet3, Ethernet3]
6579
DC1_PE22:
6680
id: 4
6781
bgp_as: 65104
6882
mgmt_ip: 172.100.100.7/24
69-
spine_interfaces: [Ethernet4, Ethernet4]
70-
71-
# Spine BGP Tuning | Optional.
72-
spine_bgp_defaults:
73-
#- update wait-for-convergence
74-
#- update wait-install
75-
- no bgp default ipv4-unicast
76-
- distance bgp 20 200 200
77-
#- graceful-restart restart-time 300
78-
#- graceful-restart
79-
80-
# Leaf BGP Tuning | Optional.
81-
leaf_bgp_defaults:
82-
#- update wait-install
83-
- no bgp default ipv4-unicast
84-
- distance bgp 20 200 200
85-
#- graceful-restart restart-time 300
86-
#- graceful-restart
83+
uplink_switch_interfaces: [Ethernet4, Ethernet4]
8784

8885
# Enable Route Target Membership Constraint Address Family on EVPN overlay BGP peerings
8986
evpn_overlay_bgp_rtc: true

labs/evpn/avd_asym_multihoming/group_vars/DC1_PES.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ custom_structured_configuration_vlan_interfaces:
1010
shutdown: false
1111
ip_address_virtual: 10.1.11.1/24
1212

13-
custom_structured_configuration_ip_virtual_router_mac_address: 00:00:00:00:00:01
14-

labs/evpn/avd_asym_multihoming/topology.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ topology:
44
kinds:
55
ceos:
66
startup-config: ../../../ceos_lab_template/ceos.cfg.tpl
7-
image: ceosimage:4.26.2F
7+
image: ceosimage:4.27.0F
88
linux:
99
image: alpine-host
1010
nodes:

labs/evpn/avd_central_any_gw/group_vars/AVD_LAB.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ name_servers:
99
- 1.1.1.1
1010
- 8.8.8.8
1111

12-
ntp_servers:
13-
- time.google.com
12+
ntp:
13+
servers:
14+
- name: time.google.com
15+
preferred: true
16+
vrf: MGMT
1417

1518
service_routing_protocols_model: multi-agent
1619

0 commit comments

Comments
 (0)