[Ryu-devel] Re: Flow Matching in HP 3500 yl with OF 1.3

2015-04-08 Thread Finze, Robert
Hi Chandra, I also had trouble getting the 3500yl working. First thing I would try is to enter the flows not in table 200 but in table 100. Table 200 is Software only, which means it is fairly slow and can only handle 1k pps efficiently (10k pps when pushing it). For me I to hit flows in table

[Ryu-devel] [PATCH] packet_data_generator2: Fix message length field

2015-04-08 Thread YAMAMOTO Takashi
Some of ofputil_encode_xxx functions does not fill in the correct value for the length field in the ofp header. Fix it up before writing out the message to a file. NOTE: For Open vSwitch, ofconn_send() fixes it up before sending out the message to the peer. Signed-off-by: YAMAMOTO Takashi --- r

Re: [Ryu-devel] How to add/modify/delete flow without getting the datapath from an event

2015-04-08 Thread Minoru TAKAHASHI
Hi, On 2015年04月08日 21:41, Clément Rault wrote: > Hi, > > I am wondering if there is a way to add/modify/delete a flow with a > python method without getting the datapath from an event (from a > packet in for ex). ofctl_rest app gets the datapath by using the Dpset. https://github.com/osrg/ryu/bl

Re: [Ryu-devel] sdn

2015-04-08 Thread Minoru TAKAHASHI
Hi, On 2015年04月08日 23:38, 水墨画 wrote: > > Hi, > I run the simple_switch_rest_13.py in the ryu sdn book,but the error turn out > below, and I do not know what is wrong. > would you help me with this? > Thank you very much! > Looking Forward to your reply! Please specify DatapathID with 16 digits

[Ryu-devel] Random MAC Address seen in the packet received

2015-04-08 Thread Ruchika Luthra
Hello, I have tried to create a custom topology, 2 switches s1 and s2. two hosts per switch h1,h2 for s1 and h3,h4 for s2. I have assigned the MAC and ip address to them for easy understanding of what is happening which are given below. h1 10.0.0.1 00:00:00:00:00:01 h2 10.0.0.2 00:00:00:00:00:02

[Ryu-devel] Flow Matching in HP 3500 yl with OF 1.3

2015-04-08 Thread Chandra Satriana
Hello, I am configuring flows in HP switch with OF 1.3. As I understand, that I can only insert flows in table 100, 200,200+. The network is like this: h1-(port 3)s1(port 15) - (port 15)s2(port 4)-h2 Below is the flow which I have inserted with ofctl rest previously: bash-4.1$ ovs-ofctl -O Ope

[Ryu-devel] Increasing timeouts

2015-04-08 Thread Govind prasad
Hi experts, I am working on an application which works as follows: 1. The switch gets the first TCP packet 2. It sends the packet to the controller 3. The controller invokes an application which was looking for TCP packets. 4. The application sets a extended idle timeout (fore ample 1 hour) an

[Ryu-devel] sdn

2015-04-08 Thread ??????
Hi, I run the simple_switch_rest_13.py in the ryu sdn book,but the error turn out below, and I do not know what is wrong. would you help me with this? Thank you very much! Looking Forward to your reply! quting NUDT E32B3491@E5103502.793D2555.png Description: Binary data J6~K@KEB)`6ZT_SGD

Re: [Ryu-devel] The question

2015-04-08 Thread Николай Жупиков
(http://manpages.ubuntu.com/manpages/utopic/man8/ovs-ofctl.8.html) It is ovs-ofctl - administer OpenFlow switches. One method which is the field tcp_flags. Is there something in the library ryu, allows the use of ovs-ofctl? -

[Ryu-devel] How to add/modify/delete flow without getting the datapath from an event

2015-04-08 Thread Clément Rault
Hi, I am wondering if there is a way to add/modify/delete a flow with a python method without getting the datapath from an event (from a packet in for ex). Actually what I would like to do is exactly what I'm doing below with curl but directly in python: curl -X POST -d '{ "dpid": 1, "co

[Ryu-devel] [PATCH] Fix req hang after openflow reconnect

2015-04-08 Thread Zang MingJie
* Reply dead exceptions to all pending requests when dp disconnects * Rufuse handling msg of dead dp Signed-off-by: Zang MingJie --- ryu/app/ofctl/exception.py |9 + ryu/app/ofctl/service.py | 37 ++--- 2 files changed, 35 insertions(+), 11 deletio

Re: [Ryu-devel] [PATCH] Syntax level compatibility with Python 3

2015-04-08 Thread FUJITA Tomonori
On Mon, 6 Apr 2015 20:26:37 +0900 Satoshi Kobayashi wrote: > We use syntaxes which can be used only in Python2 at many locations. But we > should reduce the use of the syntaxes. This patch serves syntax level > compatibility with Python3. However, for full compatibility is required still > a

Re: [Ryu-devel] [PATCH 01/12] packet_data_generator2: README

2015-04-08 Thread FUJITA Tomonori
On Tue, 7 Apr 2015 15:44:32 +0900 YAMAMOTO Takashi wrote: > Signed-off-by: YAMAMOTO Takashi > --- > ryu/tests/packet_data_generator2/README | 15 +++ > 1 file changed, 15 insertions(+) > create mode 100644 ryu/tests/packet_data_generator2/README Applied the all. Thanks a lot! --

Re: [Ryu-devel] [PATCH] Show warning when Datapath#ports is read

2015-04-08 Thread FUJITA Tomonori
On Mon, 6 Apr 2015 14:14:17 +0900 Satoshi Kobayashi wrote: > Datapath#ports is kept for compatibility with the previous openflow versions > (< 1.3). Datapath#ports is not updated when received EventOFPPortStatus. This > behavior may confuse users. Wherefore, showing warning message when the us

Re: [Ryu-devel] Adding/deleting flow without packet_in_handler

2015-04-08 Thread MD.Badruzzaman Shakib
Hi Iwase, I am already using topology.api and event, switches from ryu.topology. So this code seems really simplified and organized to me. I will try this one and let you know about what I found. Thanking you Sakib On Wednesday, 8 April 2015, 4:53, Yusuke Iwase wrote: Hi Saki