Giter Site home page Giter Site logo

sdn-fog's Introduction

Fog-to-Fog Offloading in SDN-based FC Systems

This is simulation scripts for my paper (Fog-to-Fog Offloading in SDN-based Fog Computing Systems). The paper is under review (2020-11-18).

Topology

Topology

Environment

  • Ubuntu 18.04
  • Python 2

Installation

Use the package manager pip to install simulation tools.

sudo pip install ryu
# The lastest ryu version can only run with tinyrpc <=0.9.4
sudo pip install tinyrpc==0.9.4


# Install mininet from source
git clone git://github.com/mininet/mininet
cd mininet
git tag  # list available versions
git checkout -b 2.2.1 2.2.1  # or whatever version you wish to install
cd .
mininet/util/install.sh

sudo pip install flask
sudo pip install flask_restful

Usage

Run the make_config.py to init the setting of each running

python make_config.py

You need two Terminal to run the simulation

# Terminal 1 for Controller 
sudo ryu-manager --observe ryu_network_monitor.py

# For 8 nodes topology
sudo ryu-manager --observe ryu_network_monitor8.py


# Terminal 2 for mininet
sudo ./run_sim.sh

# For 8 nodes topology
sudo ./run_sim8.sh

Contact

If you have any problem in running the scripts, please email me at linhan90 [at] gmail [.] com

sdn-fog's People

Contributors

linhanphan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.