wiki:Internal/OpenFlow/Controllers/Nox

Version 2 (modified by akoshibe, 14 years ago) ( diff )

NOX - Network OS

NOX is an OpenFlow controller/ controller development platform. Here we'll use the "destiny" (v0.8) branch of NOX from the Git repository. As of now, a copy of the docs for v0.6 can be found under ./html in my home directory on external2. I shall move this to another, more appropriate place.

1. installation

  1. Install git, build-essential, doxygen (for up-to-date NOX docs)
    apt-get install git-core build-essential doxygen
    
  2. Pull NOX from git repo
    git clone git://noxrepo.org/nox
    
  3. Install dependencies
    sudo apt-get install autoconf automake g++ libtool python python-twisted swig libboost-dev libxerces-c2-dev libssl-dev make libboost-filesystem-dev libboost-test-dev python-dev
    
  4. Switch to the proper branch and build
    git checkout -b destiny origin/destiny
    ./boot.sh
    mkdir build
    cd build
    ../configure
    make
    
  5. generate documentation
    cd doc/doxygen            <<--from build directory, not ~/nox
    make html
    

2. using NOX

2.1. starting up NOX

nox_core is used to start the controller and to load any scripts. It is located under ~/nox/build/src . For example

./nox_core -v -i ptcp:6633 switch packetdump

Will load the "learning switch" script. It will show up as "lt-nox_core" under ps -ef.

Note: See TracWiki for help on using the wiki.