Hi Trinh, You may want to check out http://noxrepo.org/noxwiki/index.php/Developing_in_NOX
""The following steps should be all that is needed to build a bare-bones python component for NOX. Add your .py file to *src/nox/coreapps/examples/* Copy code from * src/nox/coreapps/examples/pyloop.py* (you need to mirror everything except for the code under the install method) Add your Python file(s) to NOX_RUNTIMEFILES in *src/nox/apps/examples/Makefile.am* Update * src/nox/apps/examples/meta.json* to include your new app. Make sure that “python” is a dependency (copying is the best approach). After you're done, recompile following the same 3 steps<http://noxrepo.org/noxwiki/index.php/NOX_Installation#Installation>(the build/ directory is already there now)"" Cheers, Aaron On Sun, Oct 2, 2011 at 12:29 AM, Trinh Minh Tri <tmtr...@gmail.com> wrote: > Hi NOX dev! > > I'm new in Nox but feel it's very interesting for network researching. > > I follow some introductions from nox website and can make the nox run with > default application such as: > > ./nox_core -v -i ptcp:6633 pyswitch > > Now I'm trying to write an application for nox, for example: pyswitchv1.py, > or more general my application contain many file located in 1 folder: > pyswitchv1folder > > I run the command: > > ./nox_core -v -i ptcp:6633 pyswitchv1 > > but the nox_core reply that it cannot file the file pyswitchv1 to run. I > follow the other file to put the symbolic link to the folder nox/build/src > but it also doesn't work. > > I also try to run it with the folder: > > ./nox_core -v -i ptcp:6633 pyswitchv1folder > > and it also doesn't work. > > Would you instruct me how to make my program writted in python to work with > nox? > > Thank you very much > Trinh Minh Tri > > _______________________________________________ > nox-dev mailing list > nox-dev@noxrepo.org > http://noxrepo.org/mailman/listinfo/nox-dev > > -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev