Git Product home page Git Product logo

atd-avd's Introduction

AVD Arista Validated Design for Arista Test Drive

Arista CloudVision Automation Arista EOS Automation

About

This repository is configured to run arista.cvp & arista.avd Ansible collections against the Arista Test Drive (ATD) single data center topology.

Arista CloudVision and Ansible

To access an ATD topology, please get in touch with your Arista representative.

Lab topology

The diagram below shows that the ATD lab topology has two data centers. We will only leverage DC1 in this example.

ATD Lab Topology

ATD topology device list

Device IP Address
s1-spine1 192.168.0.10
s1-spine2 192.168.0.11
s1-leaf1 192.168.0.12
s1-leaf2 192.168.0.13
s1-leaf3 192.168.0.14
s1-leaf4 192.168.0.15
s1-host1 192.168.0.16
s1-host2 192.168.0.17

Current repository is built with cEOS management interface (Management0). If you run a vEOS topology, please update mgmt_interface field to Management1 in the ATD_LAB group_vars.

Getting Started

Connect to your ATD lab environment

  • Don't hesitate to contact your local account team if you need an ATD Lab instance.
  • Once connected to the ATD lab instance, select the Programmability IDE.
  • This container is built with all the requirements and Python modules to run AVD playbooks.
  1. Next (optional), set up a Git user and email for the ATD lab environment

    • Open a terminal window in VS Code View -> Terminal from the menu, and run the following commands:
    # Setup your git global config (optional)
    git config --global user.email "[email protected]"
    git config --global user.name "Your Name"
  2. Set credentials and install any required tools

    โš ๏ธ Warning: Specific for the ATD environment. the pip config lines disable PIP safety checks and should not be used outside of ATD without understanding them.

    cd /home/coder/project/labfiles
    export LABPASSPHRASE=`cat /home/coder/.config/code-server/config.yaml| grep "password:" | awk '{print $2}'`
    ansible-galaxy collection install arista.avd:==4.10.0
    pip3 config set global.break-system-packages true
    pip3 config set global.disable-pip-version-check true
    pip install "pyavd[ansible]==4.10.0"
    git clone https://github.com/arista-netdevops-community/atd-avd.git
    cd atd-avd
  3. Run the playbook to prepare CloudVision for AVD

    • Execute the following command:

      ansible-playbook playbooks/atd-prepare-lab.yml
    • Check that tasks in CloudVision have been automatically completed

  4. Run playbook to deploy AVD setup

    • Run the following commands:

      ansible-playbook playbooks/atd-fabric-build.yml
      ansible-playbook playbooks/atd-fabric-provision.yml
    • Run pending tasks in CloudVision Portal manually.

  5. Run validation and snapshot playbooks

    • Run the following commands:

      # Run audit playbook to validate the fabric state
      ansible-playbook playbooks/atd-validate-states.yml
      
      # Run the atd-snapshot playbook to collect show commands
      ansible-playbook playbooks/atd-snapshot.yml
    • Review generated output.

Step-by-step walkthrough

A complete step-by-step guide is available.

Resources

License

This Project is published under Apache License.

atd-avd's People

Contributors

ankudinov avatar carlbuchmann avatar gmuloc avatar igorparsadanov avatar juliopdx avatar ksator avatar mthiel117 avatar pmprado avatar titom73 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atd-avd's Issues

With new ATD, setup is broken due to Radius

With the new ATD setup a radius server has been configured in the top container meaning that when AVD configures management in a VRF, authentication is broken.

aaa group server radius <rad-name>
   server 192.x.x.x

Reported by @mpergament

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.