In this lab, we will use Arista Validated Design (AVD) to generate POD1
underlay and overlay configuration and CloudVision to deploy it.
This is meant to be a first contact with AVD, no eos_designs
variables or eos_cli_config_gen
variables to create.
At the end of this lab, POD1
will be a single EVPN domain.
This lab is refering to the AVD project versioned here
- Go to the folder
/home/coder/project/persist/avd-toi
. - Open
inventory.yml
and replace theFILL ME
placeholders with your Arista Test Drive password. - Observe the inventory and how the Ansible groups are defiined:
- The
type
variables areeos_designs
variables documented here - Pay attention to the
NETWORK_SERVICES
andCONNECTED_ENDPOINTS
groups: you could create the filegroup_vars/NETWORK_SERVICES.yml
and defined variables for all the children.
- The
- Open
group_vars/FABRIC.yml
. This file defines the global variables (for all pods) of the default AVD design type L3LS EVPN. This defines global design rules like default uplinks and downlinks that could be customized on specific pods, platforms settings... - Open
group_vars/POD1.yml
. This file defines the specificeos_designs
variables forPOD1
. ThePOD1
devices are defined by thePOD1
Ansible group and required variables must be defined here. BGP AS Numbers, IP Pools, Device IDs and MLAG specific configuration are defined here. - Open, read and run the playbook
build.yml
with the commandansible-playbook build.yml
. - The folders
intended
anddocumentation
have been created. Open thedocumentation
folder and explore what has been generated. - The
intended/structured_configs
folder is the output of theeos_designs
role. It takes high-level abstractedeos_designs
variable and derives theeos_cli_config_gen
structured configuration. Theeos_cli_config_gen
role then takes theintended/structured_configs
folder as input and generate the folderintended/configs
which will be used to create individual configlets for all devices in CloudVision. - Open, read and run the playbook
deploy.yml
with the commandansible-playbook deploy.yml
. - Go to the CloudVision instance or your Arista Test Drive lab and open the
Provisioning
menu. - Go to the
Tasks
tab, select the tasks that have been created by the playbook and create a change control. At this point, you can select the Parallel arrangement to have the tasks executed in parallel within the change control. - You will be taken to the
Change Control
tab in the newly created change control. You can rename theChange Control
to give it a meaningful name. Review, Approve and Execute the change control. - When the change control is completed, underlay and overlay of
POD1
will be configured. You can eventually access the devices via SSH and run theshow running-config
command to verify the configuration. - Connect to a spine and check the underlay and EVPN BGP sessions:
s1-spine1#show ip bgp summary
BGP summary information for VRF default
Router identifier 172.16.1.1, local AS number 65100
Neighbor Status Codes: m - Under maintenance
Description Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc
s1-leaf1_Ethernet2 10.0.0.1 4 65101 10 11 0 0 00:01:25 Estab 3 3
s1-leaf2_Ethernet2 10.0.0.5 4 65101 13 11 0 0 00:01:25 Estab 3 3
s1-leaf3_Ethernet2 10.0.0.9 4 65102 9 12 0 0 00:01:25 Estab 3 3
s1-leaf4_Ethernet2 10.0.0.13 4 65102 10 11 0 0 00:01:24 Estab 3 3
s1-brdr1_Ethernet2 10.0.0.17 4 65103 10 11 0 0 00:01:24 Estab 3 3
s1-brdr2_Ethernet2 10.0.0.21 4 65103 10 11 0 0 00:01:24 Estab 3 3
s1-spine1#show bgp evpn summary
BGP summary information for VRF default
Router identifier 172.16.1.1, local AS number 65100
Neighbor Status Codes: m - Under maintenance
Description Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc
s1-leaf1 172.16.1.1 4 65101 5 5 0 0 00:01:29 Estab 0 0
s1-leaf2 172.16.1.2 4 65101 5 5 0 0 00:01:29 Estab 0 0
s1-leaf3 172.16.1.3 4 65102 5 5 0 0 00:01:30 Estab 0 0
s1-leaf4 172.16.1.4 4 65102 5 5 0 0 00:01:25 Estab 0 0
s1-brdr1 172.16.1.5 4 65103 5 5 0 0 00:01:29 Estab 0 0
s1-brdr2 172.16.1.6 4 65103 5 5 0 0 00:01:29 Estab 0 0
s1-spine1#