Code Monkey home page Code Monkey logo

rose-srv6-tutorial's Introduction

SRv6 tutorial

Mininet topologies for SRv6

Python Linter Shell Linter Python package GitHub

Table of Contents

Overview

This project contains several Mininet topologies:

.
├── nets
|   ├── 8routers-isis-ipv6
|   └── 8r-1c-in-band-isis
├── nets-in-progress
|   └── 8r-1c-srv6-pm
├── nets-unmantained
|   ├── 3routers
|   ├── 8routers
|   └── 8r-1c-out-band-isis
└── README.md

In the nets folder there are different projects:

- 3routers
small IPv4 topology with OSPF / FRR

- 8routers
reference IPv6 topology with OSPFv3 / FRR

- 8routers-isis-ipv6
reference IPv6 topology with IS-IS / FRR

- 8r-1c-out-band-isis
reference IPv6 topology with IS-IS / FRR and out-of-band controller

- 8r-1c-in-band-isis
reference IPv6 topology with IS-IS / FRR and in-band controller

- 8r-1c-srv6-pm
reference IPv6 topology with IS-IS / FRR and out-of-band controller, used for SRv6 Performance Measurement experiments

Installation

This project depends on:

  • Mininet
  • FRRouting suite
  • Other Python packages listed in requirements.txt

Installation of Mininet

Check if Mininet is installed by running:

$ /usr/bin/mn --version

If Mininet is not installed, run the install command (for Ubuntu/Debian):

$ sudo apt-get install mininet

Installation of FRRouting suite (FRR)

You need to have FRR installed in order to run the mininet labs. Check if FRR is installed by running:

  
  /usr/lib/frr/zebra -v

If FRR is not installed, follow these instructions (for Ubuntu/Debian):

  1. wget https://deb.frrouting.org/frr/keys.asc

  2. sudo apt-key add keys.asc

  3. rm keys.asc

  4. run lsb_release -s -c

  5. Edit the sources.list file in the /etc/apt folder, adding the following line at the end:


deb https://deb.frrouting.org/frr <release> frr-stable	

replacing with the output of lsb_release -s -c

  1. sudo apt update

  2. sudo apt -y install frr frr-pythontools

Installation of Python dependencies

The Python packages required to run the Mininet labs are listed in requirements.txt. You can install them with the following command:

$ pip install -r requirements.txt

Starting a topology

In order to start a Mininet topology cd to the topology folder and run the Python script.

For instance,

$ cd nets/8routers-isis-ipv6/
$ python isis8d.py

For more information, check the documentation contained in the topology folders.

Requirements

Python >= 3.6

Links

Issues

You are welcome to open github issues for bug reports and feature requests, in this repository or in the ROSE repository.

Contributing

If you want to contribute to the ecosystem, provide feedback or get in touch with us, see our contact page: https://netgroup.github.io/rose/rose-contacts.html.

License

This project is licensed under the Apache License, Version 2.0.

rose-srv6-tutorial's People

Contributors

cscarpitta avatar stefanosalsano avatar zvfvrv avatar plungaroni avatar giulio-sido avatar s17c15 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.