[nox-dev] Disable line display - 00044|openflow-event|DBG:received packet-in event from 000000000001

2010-11-28 Thread K Singh
Is there a way to disable the display of lines in pyswitch.py like below: 00044|openflow-event|DBG:received packet-in event from 0001 00039|openflow-event|DBG:received flow expired event from 0001 I searched in core.py also but couldn't where i can comment this line. --

Re: [nox-dev] Disable line display - 00044|openflow-event|DBG:received packet-in event from 000000000001

2010-11-28 Thread kk yap
This is done in a C/C++ file. Anyway, what about running NOX in non-verbose mode. For the component you want verbosity, try ./nox_core --verbose=x:ANY:DBG --verbose=y:ANY:DBG x y This will put only x and y in verbose mode. Regards KK On 28 November 2010 00:11, K Singh kavites...@gmail.com

Re: [nox-dev] Restricting packet flow on particular ports.

2010-11-28 Thread kk yap
Hi Kavitesh, You might want to get familiar with the idea of slicing in OpenFlow. http://www.openflowswitch.org/wk/index.php/Slicing Regards KK PS Please do not drop the mailing list unless you do deem the email to be private. On 27 November 2010 23:42, K Singh kavites...@gmail.com wrote: Hi

Re: [nox-dev] Disable line display - 00044|openflow-event|DBG:received packet-in event from 000000000001

2010-11-28 Thread Murphy McCauley
It's in openflow-event.cc, but you should also be able to just disable openflow-event module debug messages with something like the following: ./nox_core -v -v openflow-event:ANY:WARN The first -v turns on verbose mode in general (something much like -v ANY:console:DEBUG), the second -v

Re: [nox-dev] Disable line display - 00044|openflow-event|DBG:received packet-in event from 000000000001

2010-11-28 Thread K Singh
I have the normal command line for running my project as ./nox_core -v -i ptcp: pyopenflowprj so i modified the line as ./nox_core -v -v openflow-event:ANY:WARN -i ptcp: pyopenflowprj It doesnt work and give me error message 00017|nox|ERR:Application 'openflow-event:ANY:WARN' description not

[nox-dev] Query regarding routing protocol

2010-11-28 Thread Ramya Subramanian
Hi, I am trying to modify that routing protocol implemented in the NOX controller to obtain the second shortest path. Is it feasible to obtain the second shortest path, such that, the flow corresponding to the shortest path can me removed and the new flow be installed? Regards, Ramya

[nox-dev] Handling ARP packets in pyswitch.py

2010-11-28 Thread K Singh
Hi, I modified the code below for function def forward_l2_packet(...) in pyswitch.py. def forward_l2_packet(dpid, inport, packet, buf, bufid): dstaddr = packet.dst.tostring() if not ord(dstaddr[0]) 1 and inst.st[dpid].has_key(dstaddr): prt = inst.st[dpid][dstaddr] if