Re: [Ryu-devel] Error while running a file

2017-08-21 Thread Fujimoto Satoshi
Hi, Sorry, please attach your code to the mail next time, instead of pasting it. Indentations in the code are broken in my mail client. Umm, I could not reproduce your situation... I sent a packet from h1(10.0.0.1/00.00.00.00.00.01) to h2(10.0.0.2/00.00.00.00.00.02). Before sending, I confir

Re: [Ryu-devel] Error while running a file

2017-08-20 Thread Attitude Killer
Hi Fujimoto I am generating proto==150 using Scapy tool(packet generator). So every time I send a packet from sender_host to receiver_host with (proto = 150 and length < 2000), it should be sent to the controller as packet_in and store in a buffer(list) for 5 seconds according to my changes in the

Re: [Ryu-devel] Error while running a file

2017-08-20 Thread Fujimoto Satoshi
Hi, Sorry, Please confirm me. Your problem is that, Packet-in comes for every packet which matches some condition(proto == 150 and total_len <= 2000), even though flow entry is added in OVS switch, right? I could not make your app work (I don't know how to send packets whose proto is 150), b

Re: [Ryu-devel] Error while running a file

2017-08-20 Thread Attitude Killer
Hi Thanks Fujimoto for your response. I corrected that and it is running now. I am stuck with another problem. Here is the code I am running. Everything is going good but I don't understand why there is a flow entry added in ovs switch. As, when a packet arrives it matches the if condition if pr

Re: [Ryu-devel] Error while running a file

2017-08-17 Thread Fujimoto Satoshi
Hi, from ryu.ryu.app import simple_switch_13.py The above line should be removed. It causes a SyntaxError and Ryu fails to load your app. Furthermore, other errors seem to exist in your code, such like "global name 'time' is not defined". Please make sure. Thanks, Fujimoto On 2017年08月18日

[Ryu-devel] Error while running a file

2017-08-17 Thread Attitude Killer
Hi I am trying to run a modified application of simple_switch_13.py. I am getting this error: loading app simple_switch_13.py Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 9, in load_entry_point('ryu==4.16', 'console_scripts', 'ryu-manager')() File "/home/se