It sounds like at least part of the problem is that you haven't edited
the meta.json file, which is what actually defines NOX components -- not
just the fact that there exists a shared library somewhere.

There's some information on this in the nox-dev archive, and there's at
least a little on the wiki as well (though in several places it still
refers to meta.xml -- it's the same thing, but we switched to JSON):
https://github.com/noxrepo/nox-classic/wiki/Developing-in-NOX

Hope that helps.

-- Murphy

On Fri, 2012-07-27 at 13:53 -0700, CHEN Fuyu wrote:
> Hi, All
> 
> Thank you very much for your reply. I still have one issue.
> 
> what is the nox application searching path to look up the switch or
> router application?
> 
> Suppose I want to create a new application. called router.
> 
> basically, I just copy the switch folder to router, then change
> switch.cc to router.cc in the folder router, I also change the
> corresponding makefile.am replacing the string switch to router.
> 
> then I build nox from scratch. e.g. ./boot.sh, mkdir build, cd
> build ../configure, make. Now I have a folder "router" in coreapps,
> where only a Makefile in this folder. Then I run make inside the
> folder router, to have the file router.la, router_la.router.lo, and
> the corresponding folder .libs as well.
> 
> Seems everything is ready, then I run 
> 
> ./nox_core -v -i ptcp: router
> 
> then I got error 
> 
> 00006|nox|ERR:Application 'router' description not found.
> 
> what is the nox application searching path to look up the switch or
> router application?
> 
> what should I put in to nox_core command to start the router
> application?
> 
> Thank you so much.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> Best regards,
> 
> Fuyu Chen


Reply via email to