NOX OpenFlow Controller Install on Ubuntu 12.04

NOX OpenFlow Controller Install on Ubuntu 12.04


Screencast w/o audio. I think it’s quick and self explanatory.

This is an install for the newer NOX release on Ubuntu 12.04. I believe the branch name is ‘verity’. It was just upped a couple weeks ago to Github with the new repo linked from noxrepo.org. It isn’t fully released but the site said Q1 2012, at the least, it will be a base to work from on 12.04. Classic doesn’t seem to build without downgrading everything on Precise. The Nox “classic” build seems to have been dormant or not maintained for a while from what I can tell. It is important to have readily available Nox controllers since most of the projects are built on that controller. That said I like Floodlight a lot and the community is active with BidSwitch behind it. Nox has an amazing backing from Nicira so that is critical also.

RouteFlow has support for Nox now which is a project I am going to be in the lab on pretty heavy over the next few days to try and nail down a good native IGP -> SDN FIB exchange. It feels like a route server approach on QUAGGA which is pretty neat. I am assuming it is similar to what I expect Google did in their deployment. There is a NANOG presentation that Scott Whyte described his MPLS LSR which was QUAGGA w/LDP support. http://goo.gl/hdKC8

If we think about it, the OpenFlow classification of a stitched route through and OF network is not far off from a LSP FEC stitching through a label swapped domain. Instead of swapping labels it is injecting JSON mappings through a REST API and orchestrated from the ingress controller just like an LSR would define the FEC on entry. Ok rambling, but fascinating stuff.

Setup Nox repo for ‘nox-dependencies’ package
$ cd /etc/apt/sources.list.d/
$ wget http://openflowswitch.org/downloads/debian/nox.list
$ apt-get update
$ apt-get install nox-dependencies

Install dependencies:
$ apt-get install nox-dependencies
$ apt-get install libtbb-dev
$ apt-get install libboost-serialization-dev libboost-all-dev
$ git clone git://github.com/noxrepo/nox

$ ./boot.sh
$cd nox
$ mkdir build
$ cd build

Configure, make && make install
$ ../configure
$ make
$ make install

Verify install:
$ cd src
$ pwd
/home/brent/nox/build/src (Path)
$ make check
$ ./nox_core -v
$ ./nox_core -h
$ ./nox_core -i ptcp:6633
./nox_core -i ptcp:6633 routing or add a routing module

Guest
cbvora
1 year 9 months ago


I am installing nox on ubuntu 12.04.
After firing this command “$ wget http://openflowswitch.org/downloads/debian/nox.list” ,
Outcome is ” Connecting to openflowswitch.org (openflowswitch.org)|171.64.74.58|:80… failed: Connection timed out.
Retrying. ”

What is d sol?

Guest
Wali Usmani
1 year 9 months ago


Hey I ran into the exact same problem Kevser had. Can anyone help me please! I dont know what I should be doing! It just keeps disconnecting. The controller also seems to be running fine!

Admin
2 years 21 days ago


Cool, thanks for posting Vijay.

Cheers,
-Brent

Guest
Vijay
2 years 21 days ago


Here is the solution to the build problem…

https://svn.boost.org/trac/boost/ticket/6785

Guest
luoweichao
2 years 5 months ago


after I installing Ubuntu 12.05LTS with VM workstation….
i begin to do —>
———————————-
luoweichao@ubuntu:~$ sudo passwd root
Enter new UNIX

password:
Retype new UNIX password:
passwd: password

updated successfully
luoweichao@ubuntu:~$ su root
Password:

root@ubuntu:/home/luoweichao# (running good)

===================================
root ubuntu system….

root@ubuntu:/home/luoweichao# apt-get install openswitch-datapath-source
after that :in the root mode…we do…..

1, check ssh service , $sudo apt-get -y install ssh

2, install from Stanford Git repository:
sudo apt-get install git-core

automake m4 pkg-config libtool
git clone

git://openflow.org/openflow.git
cd openflow./boot.sh

(running good)

====================================
fix BUG—> /var/lib/dpkg/lock problem

sudo rm /var/cache/apt/archives/lock

sudo rm /var/lib/dpkg/lock
(running good)

====================================
Nox openflow controller

installation
$cd /etc/apt/sources.list.d
$sudo wget

http://openflowswitch.org/downloads/debian/nox.list

(falllllll)
so …at here i got fall it said “N: Ignoring file ‘nox.list.1′ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?”

Guest
Luo weichao
2 years 5 months ago


hi ,i am a new fresh man in the Nox openflow, so i have some questions…. 1, what is the relation between openflow and Nox openflow??? 2, i want to install Nox openflow in Ubuntu 12.04LTS but it is fall…and many kinds of errors happened in my terminal…..i am keep on looking at your blog..

Admin
2 years 7 months ago


Hi Sunayana, I was installing OMNI, well or at least attempting to to get a better understanding of the GENI aggregate manager interacts with OpenFlow since there is zero architectural documentation. I probably have to revisit it this week for work, if I do I will certainly post the finding.

Respect,
-Brent

Guest
sunayana
2 years 7 months ago


Hi brent..
u were installing nox-gta (OMNI) project it seems…any success
I am also facing the same issue, if you have solved please let me know..