GithubHelp home page GithubHelp logo

sdn's Introduction

         It seems the repo is getting some popularity please let me know if you have any questions. 
         You can contact me via email at [email protected]

Setting up a very simple controller using pox.

Requirements and Environment

You need python. I have tested my code on Ubuntu 14.

Setup

  1. You first need to clone pox repository: git clone https://github.com/noxrepo/pox.git
  2. Then switch into /pox/ directory and clone this repository:
cd pox
git clone https://github.com/Ehsan70/SDN.git
  1. The repo is cloned into the folder SDN. But you need to copy of the files in the /SDN/ into /ext/. Or you can simply delete /ext/ and rename /SDN/ to ext. It depends if you are already working on anything or not. I assume you are new, do the following:
# in the pox directory
rm -r ext/
mv SDN/ ext/
  1. So now you have the files setup. Make sure you have the files from this repo in ext directory. The reason for that is the fact that pox assumes external files are places in that directory. You can run a MyTest controller by exceuting:
# Move back to pox dir
cd ..
sudo ./pox.py MyTest

pox.py looks at ext directory and tries to find MyTest.py. Note that you should not put the .py in the command. You just need the command name.

Note

At directory pox/ext you can make your own controler. This directory is not under version control for pox, so it makes a good place to put your own projects. Files of this repo should be placed in that dir.

sdn's People

Contributors

ehsan70 avatar

Watchers

James Cloos 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.