Skip to content

THU-DBLAB/network_slice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

下世代Network Slicing模組設計課程

This note is for the 🔗page


👉 Environment requirement

  • ubuntu    20.04

    • disk     20 GB
  • mininet   2.3.0

  • ryu          v4.34



Installation Guide

  • Initialize ubuntu

# update and upgrade
$ sudo apt-get update && sudo apt-get upgrade

# reboot
$ sudo reboot
  • Install openvswitch

# install openvswitch
$ sudo apt install openvswitch-switch
  • Check the openvswitch version

$ sudo ovs-vsctl -V
  • Install mininet

# install git
$ sudo apt-get install -y git

# clone mininet
$ cd ~
$ git clone https://github.com/mininet/mininet

# install mininet and set as OpenFlow1.3
$ sudo ./mininet/util/install.sh -n3
  • Check the mininet

# open mininet
$ sudo mn 

# leave mininet
$ exit
  • Ryu Pre-install

# install ryu require packages
$ sudo apt-get install -y libxml2-dev libxslt1-dev libffi-dev libssl-dev zlib1g-dev python3-pip python3-eventlet python3-routes python3-webob python3-paramiko gcc python3-dev 
$ sudo pip3 install msgpack-python eventlet==0.15.2
$ sudo pip3 install six --upgrade
$ sudo pip3 install oslo.config q --upgrade
  • Install ryu

# install ryu controller
$ cd ~
$ git clone https://github.com/faucetsdn/ryu
$ cd ryu
$ sudo pip3 install .
$ cd ~
  • Install Google-Chrome

$ cd Downloads/
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
$ sudo apt-get install -f
$ cd ~
  • Install Postman on Google-Chrome

🔗 Tabbed Postman - REST Client

  • Clone this Github page

$ cd ~
$ git clone https://github.com/THU-DBLAB/network_slice
  • Optional

# remove openvswitch
$ sudo apt-get remove openvswitch-common openvswitch-switch openvswitch-pki openvswitch-testcontroller -y

# if ovs doesn't work, you can try this to start ovs
$ sudo /usr/share/openvswitch/scripts/ovs-ctl start
# or
$ sudo service openvswitch-switch restart

Resources

About

A instruction for 下世代Network Slicing模組設計課程

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 58.5%
  • Python 41.5%