Basically i am running NOX on top of openvswitch on a virtual machine and i have created another machine from which i am replaying traffic on the interface on which openvswitch is attached. I have compiled my app in the netapps src folder and added it in the configure.ac.in before recompiling the nox. But when i run my app with the following arguments no print statement appears in the nox console.Which i have added in packet in event handler. Following is the output at my nox console ./nox_core -i ptcp:myapp
NOX 0.9.0(zaku)~full~beta (nox_core), compiled Sep 28 2011 21:28:49 Compiled with OpenFlow 0x01 But when i run it with following arguments ./nox_core -v -i ptcp:myapp 00037|nox|DBG:Application installation report: 00038|nox|DBG:built-in event dispatcher: Current state: INSTALLED Required state: INSTALLED Dependencies: 00039|nox|DBG:built-in DSO deployer: Current state: INSTALLED Required state: INSTALLED Dependencies: 00040|nox|DBG:python: Current state: INSTALLED Required state: INSTALLED Dependencies: 00041|openflow|DBG:Passive tcp interface bound to port 6633 00042|nox|INFO:nox bootstrap complete 00043|openflow|DBG:Passive tcp interface received connection 00044|openflow|DBG:stream: negotiated OpenFlow version 0x01 (we support versions 0x01 to 0x01 inclusive, peer no later than version 0x01) 00045|nox|DBG:Success sending in 'sending switch config' 00046|nox|DBG:Success sending in 'receiving features reply' 00047|nox|DBG:Success receiving in 'receiving features reply' 00048|nox|DBG:Success sending in 'receiving ofmp capability reply' 00049|nox|DBG:Success receiving in 'receiving ofmp capability reply' 00050|nox|DBG:Datapath 004e46324304 sent error in response to capability reply, assuming no management support 00051|nox|DBG:No switch auth module registered, auto-approving switch 00052|nox|DBG:Registering switch with DPID = 4e46324304 00053|openflow-event|DBG:received packet-in event from 004e46324304 (len:128) 00054|openflow-event|DBG:received packet-in event from 004e46324304 (len:128) 00055|openflow-event|DBG:received packet-in event from 004e46324304 (len:128) My Query is that whether my handler for packet-in event is not getting any packet but nox is receiving them or their is error in my code but so why my code is compiled then Subject: Re: [nox-dev] (no subject) From: jam...@nau.edu Date: Sat, 15 Oct 2011 09:57:07 -0700 CC: nox-dev@noxrepo.org To: aliahmad...@hotmail.com It's hard to say, given the information that you've provided. Where did you put the print statements? If you put them in a component (for example, pyswitch), did you then make sure to load that component by specifying it on the commandlne, like below?./nox_core -i ptcp: pyswitch -- Murphy On Oct 15, 2011, at 6:54 AM, ali ahmad wrote:Hy ! I have a problem that though my source code gets complied and packet in events also appears on NOX console but my print statements which i have written in my source code does not appear on NOX console. Please guide me ._______________________________________________ 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