SRv6 Mininet extensions

 IPMininet Documentation, R

kamuee srv6 github

https://speakerdeck.com/slankdev/kamuee-srv6dui-ying-falseshe-ji-toshi-zhuang-niguan-site?slide=25

https://readthedocs.org/projects/ipmininet/downloads/pdf/latest/

1.1 Virtual Machine
We maintain a vagrant box packaged with all the daemons. To use it, first install Vagrant and Virtualbox and then,
execute the following commands:
$ vagrant init ipmininet/ubuntu-18.04
$ vagrant up
This will create the VM. To access the VM with SSH, just issue the following command in the same directory as the
two previous one:
$ vagrant ssh
1.2 Manual installation
You can download and install IPMininet. You can change the installed version by replacing “v0.8in the following
commands. If you have pip above 18.1, execute:
3
IPMininet Documentation, Release v0.6
$ sudo pip install --upgrade git+https://github.com/cnp3/ipmininet.git@v0.8
If you have an older version of pip, use:
$ sudo pip install --process-dependency-links --upgrade git+https://github.com/cnp3/
˓→ipmininet.git@v0.8
Then, you can install all the daemons:
$ sudo python -m ipmininet.install -af
You can choose to install only a subset of the daemons by changing the options on the installation script. For the
option documentations, use the -h option.

Prerequisite

This project depends on Dreamer Topology Parser and Validator

> git clone https://github.com/netgroup/Dreamer-Topology-Parser
> sudo python setup.py install

This project depends on SRv6 Properties Generators

> git clone https://github.com/netgroup/srv6-properties-generators
> sudo python setup.py install
./srv6_mininet_extensions.py --topology topo/example_srv6_topology.json
root@ubuntu:/data1/srv6/srv6-mininet-extensions# ./srv6_mininet_extension.py --topology topo/example_srv6_topology.json
*** Calculating Available Loopback Addresses
*** Calculating Available Router Ids
 
原文地址:https://www.cnblogs.com/dream397/p/13453547.html