Giter Site home page Giter Site logo

anubisg1 / cisco-vxlan-evpn-ansible Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 696 KB

Ansible automation for deployment and management of VXLAN-EVPN Fabric on Cat9k or Nexus9k using validated design and an high degreed of abstraction

Home Page: https://cisco-vxlan-evpn-ansible.readthedocs.io/en/latest/

License: BSD 3-Clause "New" or "Revised" License

Python 49.38% Jinja 50.62%
ansible ansible-playbook catalyst cisco cisco-ios cisco-nxos evpn evpn-vxlan nexus vxlan

cisco-vxlan-evpn-ansible's Introduction

Cisco VXLAN-EVPN Ansible Playbooks

Disclaimer

This project is based on https://github.com/Cat9kEVPN/cat9k-evpn-ansible but with the goal to provide a much simpler abstraction for the end user

Prerequisites

To run those ansibles playbook, you will require:

Hardware:

  • A linux server (Fedora, Ubuntu, RedHat, etc)
  • Supported hardware:
    • Catalayst 9000 (Tested with 9300 and 9500 series)
      • network-advantage license
      • IOS-XE version >= 17.03 for leafs or >= 17.11 for the spines ( required by the dynamic peering configuration )

Network-Expertise:

  • Basic network knowledge (network design, bring up of cat9k switches)
  • Basic understanding of YAML
  • Basic understanding of Python
  • Basic linux command line use

General description

ansible

Installation

It is recommended to run the project in the virtual environment.

Below you can find installation steps for Linux (ubuntu) server

  • Install python3
    sudo apt install python3 python3.10-venv
  • Create the python virtual environment. In this example the virtual environment will be created in the folder virtual-env/ansible
    python3 -m venv ansible

More details could be found here

  • Activate virtual environment.
    source ansible/bin/activate
  • Clone the repository
    git clone https://github.com/anubisg1/cisco-vxlan-evpn-ansible.git
  • Go to project directory
    cd cisco-vxlan-evpn-ansible
  • Install pip if it is not already installed
    sudo apt install pip
  • Install all necessary packages
    pip install -r requirements.txt
  • Next step ...
    cd cat9k-playbooks
    ansible-playbook -i ../inventory playbook_xxx.yaml
    ansible-playbook -i ../inventory -e ansible_ssh_pass=xxx playbook_xxx.yaml

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.