Changes between Version 2 and Version 3 of Internal/OpenFlow/Controllers/Nox


Ignore:
Timestamp:
Oct 26, 2010, 4:28:57 PM (14 years ago)
Author:
akoshibe
Comment:

Legend:

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

    v2 v3  
    3838Will load the "learning switch" script. It will show up as "lt-nox_core" under `ps -ef`.
    3939
     40== 2.2. creating a component (in C++) ==
     41The information on how to do this can be found in /html/Howto.html under the doxygen generated docs for nox. As the steps require file creation, compilation, ect, you may need root privelages on the machine. The rough steps are as follows:
     42
     431. Run nox-new-c-app.py from coreapps, netapps, or webapps (all three directories are found in ${NOXPATH}/nox/src/nox).
     44{{{
     45 /home/openflow/nox/src/scripts/nox-new-c-app.py -v cnf-test
     46}}}
     47
     48 nox-new-c-app.py basically creates a directory containing the framework for your application (Makefile, meta.json, ect), basing it on coreapps/simple_c_app. Your app gets created in whichever directory you run nox-new-c-app.py from; in this case we created a new app "cnf-test" in directory netapps.
     49
     502. run `boot.sh` and `configure` so nox can find and load the app when it starts up:
     51{{{
     52sh /home/openflow/nox/boot.sh
     53/home/openflow/nox/configure
     54}}} 
     55
     56