You should run nox_core and include the name of the components you want to run (excluding the .i or .py extension). Using the meta data associated with the components, NOX knows which code to use. For example ./nox_core -v -i ptcp:2525 pyswitch will run the pyswitch component, listening for connections from OpenFlow switches on port 2525. You can specify as many components as you want. See http://noxrepo.org/manual/using.html for more guidance.
If you want to look at the source code, pyswitch.py is the code for the pyswitch component and routing.cc is the source code for the routing component. The file routing.i is a python wrapper for the routing component which is required by some other components. Aaron On Mon, Jan 25, 2010 at 9:29 PM, Noah <[email protected]> wrote: > Hi guyz~ :) > > I have a question about routing application. > > In the case 'pyswitch' application, I think nox execute 'pyswitch.py' > > but in the case 'routing' application, there's no python file. > > there's just 'routing.i' and I just think it would be executed. > > Is that right? or there's some other file (like nox.cc have > ~~main~~)to execute 'routing' application? > > _______________________________________________ > nox-dev mailing list > [email protected] > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org >
_______________________________________________ nox-dev mailing list [email protected] http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
