Skip to content

zpc2024/rose-srv6-tutorial

 
 

Repository files navigation

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.

About

SRv6 on a mininet topology with IS-IS routing and a controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 50.1%
  • Python 49.9%