I'm butting in here, but the reason that you can't find nox-new-py-app.py is undoubtedly because you're using the zaku branch. Please use the destiny branch instead. For recent versions of git, just do "git checkout destiny" in the top directory after cloning.
-- Murphy On Oct 2, 2011, at 3:58 AM, Trinh Minh Tri wrote: > Thank you very much Mr Aaron and Mr Fernando! > > I try to follow your suggestion but I still cannot make it work. > > Mr Aaron! > > Infact I don't understand what does it mean? > - 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 > - Updatesrc/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 (the build/ > directory is already there now)"" > I can follow only your first step: > - Add your .py file to src/nox/coreapps/examples/ > > Could you give me some more specific instruction about it? > > Mr Fernando! > > I cannot find the nox-new-py-app.py file in my nox/src/scripts. There is only > nox-new-c-app.py. And Could you help to give me some more detailed > suggestions to use nox-new-py-app.py to make my python script to work with > NOX controller. > > > Thank you very much > Trinh Minh Tri > On Sun, Oct 2, 2011 at 3:44 PM, fernando farias <fer...@yahoo.com.br> wrote: > Hi, > > I think that may be to use the scripts nox-new-c-app.py and nox-new-py-app.py > can be a way more fast and easy to the deployment of new application in NOX. > The location of the scripts is "src/scripts" > > great regards, > > Fernando N. N. Farias > > Electrical Engineer PhD. Student > Member of the Research Group on Computer Networks and Multimedia > Communications - GERCOM/UFPA > Optical Research Team - GERCOM > Federal University of Pará > > > > > "Primeiro eles o ignoram. > Depois, riem de você. > Chega um ponto em que lutam contra voce. > Ate o dia em que você vence." Gandhi > De: Trinh Minh Tri <tmtr...@gmail.com> > Para: nox-dev@noxrepo.org > Enviadas: Domingo, 2 de Outubro de 2011 1:29 > Assunto: [nox-dev] Asking to run app with nox > > 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 > > > > _______________________________________________ > nox-dev mailing list > nox-dev@noxrepo.org > http://noxrepo.org/mailman/listinfo/nox-dev
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev