Changes between Version 8 and Version 9 of Internal/OpenFlow/Controllers/Nox


Ignore:
Timestamp:
Mar 9, 2011, 7:39:53 PM (14 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/Controllers/Nox

    v8 v9  
    55Note: in this documentation, ${NOXPATH} is the arbitrary path to your working nox directory. No such variable actually exists.   
    66
    7 == 1 installation ==
     7== 1 installation (OLD METHOD) ==
     8'''for updated install instructions, go [#new here]'''
     9
    8101. Install git, build-essential, doxygen (for up-to-date NOX docs)
    911{{{
     
    3335make html
    3436}}}
     37
     38== 1.1 Installation, new version == #new
     39The installation procedures have been significantly streamlined (e.g. to use apt). It is described in the [http://noxrepo.org/noxwiki/index.php/NOX_Installation NOX wiki], but it will be repeated here for completeness.
     40
     41=== Base system ===
     42NOX was built on an Ubuntu 10.10 server install with the following additions:
     43 * packages: openssh-server ckermit git chromium-browser xinit icewm
     44 * additional Ethernet interface (for !OpenFlow channel)
     45 * no LVM
     46
     47The switch is a NEC IP880/S3640 with !OpenFlow v 1.0 enabled firmware. 
     48
     49=== The process ===
     501. as root:
     51{{{
     52cd /etc/apt/sources.list.d
     53sudo wget http://openflowswitch.org/downloads/debian/nox.list
     54sudo apt-get update
     55sudo apt-get install nox-dependencies
     56}}}
     57
     582. add the following to the end of `/usr/lib/python2.6/dist-packages/twisted/internet/base.py`, before `__all__ = []` :
     59{{{
     60    def _handleSigchld(self, signum, frame,_threadSupport=platform.supportsThreads()):
     61        from twisted.internet.process import reapAllProcesses
     62        if _threadSupport:
     63            self.callFromThread(reapAllProcesses)
     64        else:
     65            self.callLater(0, reapAllProcesses)
     66}}}
     67This is to make pyoxidereactor.py happy - it assumes that Python takes care of signal handling, which, in the newer versions, does not. The tabs should match with the rest of the file since Python is quite picky.
     68[[BR]][[BR]]
     69ref: http://www.mail-archive.com/nox-dev@noxrepo.org/msg01448.html
     70
     713. download and build:
     72{{{
     73git clone git://noxrepo.org/nox
     74cd nox
     75./boot.sh
     76mkdir build/
     77cd build/
     78../configure
     79make -j 5
     80}}}
     81The install was done in /opt in this case.
    3582
    3683= 2. using NOX =