Giter Site home page Giter Site logo

emomeni / cat9k-evpn-ansible Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cat9kevpn/cat9k-evpn-ansible

1.0 0.0 0.0 3.83 MB

Ansible automation for deploying and management EVPN Fabric on Cat9k in Campus

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

Python 67.40% Jinja 32.60%

cat9k-evpn-ansible's Introduction

About

The main goal of this project is the automation of Campus EVPN Deployment based on Catalyst 9000.

Custom Jinja templates and Python modules are used to build an initial config and modify the network configuration.

Project has a modular structure which gives an ability to introduce new features/services gradually step-by-step.

Prerequisites

To run Cisco cat9k EVPN ansible playbook, you will require:

Hardware:

  • A linux server (Fedroa, Ubuntu, RedHat, etc)
  • Cat9k Switches supporting EVPN (from x release)

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
  • Create the python virtual environment. In this example the virtual environment will be created in the folder virtual-env/ansible
    python3 -m venv virtual-env/ansible

More details could be found here

  • Activate virtual environment.
    source virtual-env/ansible/bin/activate
  • Clone the repository
    git clone https://github.com/Cat9kEVPN/cat9k-evpn-ansible.git
  • Go to project directory
    cd cat9k-evpn-ansible/
  • Install pip if it is not already installed
    sudo apt install pip
  • Install all necessary packages
    pip install -r requirements.txt
  • Or you can do it manually
    pip install ansible
    pip install ansible-pylibssh
    pip install paramiko
    pip install pyats
    pip install genie

Documentation

Detailed documentation could be found here

Ask a question

If you have any questions, please leverage the GitHub discussions board

Release notes

2.1.0

  • L2VNI added
  • L3VNI added

2.0.0

  • Precheck of configuration file is added
  • Access interface configuration is added
  • Incremental changes configuration is automated and simplified
  • Moving L2VPN EVPN relatead information from group_vars/all.yml to group_vars/overlay_db.yml
  • Documentation update

1.0.0

  • The release is depricated
  • The code is still avaliable in the branch releases/v1.x.x

cat9k-evpn-ansible's People

Contributors

dvishchu avatar cat9k-evpn-ansible avatar

Stargazers

Stefan de Kooter avatar

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.