Skip to content

arista-netdevops-community/ansible-avd-cloudvision-demo

Repository files navigation

Ansible Code Execution GitHub

Arista Validated Design with CloudVision deployment

About

This example implement a basic EVPN/VXLAN Fabric based on Arista Validated Design roles with one layer of 2 spines and one layer of leafs (4 devices) using MLAG. Configuration deployment is not managed by eos EAPI, but through Arista CloudVision based on arista.cvp collection

It helps to demonstrate how to bring up an Arista EVPN/VXLAN Fabric from the first boot.

Lab Topology

Lab is based on EVE-NG topology and a CloudVision server running on a VMware instance. A complete guide to setup Arista EOS devices on EVE is available on AVD website

Getting Started

For detailed setup and demo, please refer to resources below.

It is recommended to use docker image with all arista.cvp and arista.avd requirements. It is done with make shell command.

# Clone repository
$ git clone https://github.com/arista-netdevops-community/ansible-avd-cloudvision-demo.git

# Move to folder
$ cd ansible-avd-cloudvision-demo

# Run demo shell using docker (optional)
$ make shell

# Install required ansible collections
$ ansible-galaxy collection install arista.avd:==2.0.0
$ ansible-galaxy collection install arista.cvp:==2.1.2

# Edit Inventory information & Authentication information
$ vim inventory/inventory.yml

# Edit ZTP information
$ vim inventory/group_vars/CVP.yml

# Provision Zero Touch Provisioning server
$ ansible-playbook playbooks/dc1-ztp-configuration.yml

# Power Up devices
# Wait for devices to be available in CVP

# Run Ansible playbook
$ ansible-playbook playbooks/dc1-fabric-deploy-cvp.yml

Getting started does not include management IP configuration. For complete installation, please refer to installation guide to configure correct environment.

Resources

License

Project is published under Apache License.