Re: [Ryu-devel] Spliting flows through two ports

2018-04-04 Thread Jose Carlos Ferreira de Melo Junior
You mean; - With OFPGT_ALL, group action works as expected - But with OFPGT_SELECT, group action does not work right? *Yes that's exactly what is happening.* I will check the specification of Open V Switch and I will let you know any thing. Thanks 2018-04-03 2:09 GMT-03:00 Iwase Yusuke : > H

Re: [Ryu-devel] Spliting flows through two ports

2018-04-02 Thread Iwase Yusuke
Hi Carlos, You mean; - With OFPGT_ALL, group action works as expected - But with OFPGT_SELECT, group action does not work right? If group and flow entries are installed as expected, it means this problem is not on Ryu (Controller) side, but I guess it is on your switch spec. Please confirm your

Re: [Ryu-devel] Spliting flows through two ports

2018-04-02 Thread Jose Carlos Ferreira de Melo Junior
Hey Iwase, Good news it's working although I couldn't really divide the flow. Here's what happened. The flow went to two ports of the switch but the flow is replicated on the port 2 and 3. in that case making the same bandwidth go on the port 2 and 3. I used both *weight* variable as *0* an

Re: [Ryu-devel] Spliting flows through two ports

2018-04-01 Thread Iwase Yusuke
Hi Carlos, > *match = _parser_.OFPMatch(ipv4_src="192.168.2.2", ipv4_dst="192.168.1.1")* This rule does not follow "7.2.3.6 Flow Match Field Prerequisite" in the OpenFlow Spec 1.3.5, I guess. See the OpenFlow Spec for more details. Then, please confirm your flow entries are installed on your swi

Re: [Ryu-devel] Spliting flows through two ports

2018-04-01 Thread Jose Carlos Ferreira de Melo Junior
Hey Iwase, Right now my code looks like this OFPActionGroup is in Red *port_1 = 3* *queue_1 = _parser_.OFPActionSetQueue(0)* *actions_1 = [queue_1, _parser_.OFPActionOutput(4)]* *port_2 = 2* *queue_2 = _parser_.OFPActionSetQueue(0)* *actions_2 = [

Re: [Ryu-devel] Spliting flows through two ports

2018-04-01 Thread Iwase Yusuke
Hi Carlos, H... have you installed any "flow" entry which contained OFPActionGroup? Also, in your code, you uses "group_id = 50" in OFPGroupMod message. Is OFPActionGroup using the same "group_id = 50"? Thanks, Iwase On 2018年04月02日 09:36, Jose Carlos Ferreira de Melo Junior wrote: Hi Iwas

Re: [Ryu-devel] Spliting flows through two ports

2018-04-01 Thread Jose Carlos Ferreira de Melo Junior
Hi Iwase, Sorry for the late answer well... I checked the group stats as you said and it's not being looked up *ovs-ofctl dump-group-stats -O OpenFlow s2* *OFPST_GROUP reply (OF1.3) (xid=0x2):* *group_id=1,duration=12.837s,ref_count=0,packet_count=0,byte_count=0,bucket0:packet_count=0,byte_count

Re: [Ryu-devel] Spliting flows through two ports

2018-03-28 Thread Iwase Yusuke
Hi Carlos, The group entries are looked up (or specified) by OFPActionGroup in flow entries. If looked up, ref_count, packet_count and byte_count should be incremented. mininet> sh ovs-ofctl dump-group-stats s1 -O OpenFlow13 OFPST_GROUP reply (OF1.3) (xid=0x4): group_id=1,duration=45.105s,ref_c

Re: [Ryu-devel] Spliting flows through two ports

2018-03-27 Thread Jose Carlos Ferreira de Melo Junior
Hi Iwase, The group entry is added... but I don't understand how can be looked up. I don't know how to do this Is there any other thing that I am missing thanks in advanced 2018-03-26 20:28 GMT-03:00 Iwase Yusuke : > Hi Carlos, > > > "*/using the group table with o

Re: [Ryu-devel] Spliting flows through two ports

2018-03-26 Thread Iwase Yusuke
Hi Carlos, > "*/using the group table with openflow 1.3 with no sucess/*" means that I am > using the group table as i said before and it is not working, means that I am > using the group specification and it doens't work. "Does not work" means - no group entry added - group entry exists, but

Re: [Ryu-devel] Spliting flows through two ports

2018-03-26 Thread Jose Carlos Ferreira de Melo Junior
Hey Iwase, "*using the group table with openflow 1.3 with no sucess*" means that I am using the group table as i said before and it is not working, means that I am using the group specification and it doens't work. and about your topology: It has only 2 switches or 4??? i don't know if my code

Re: [Ryu-devel] Spliting flows through two ports

2018-03-25 Thread Iwase Yusuke
Hi Carlos, For such purpose, OFPGT_SELECT is appropriate, I guess. With the topology; ++ ++ | s1 | | s2 | ++| (port 2)---(port 2) |++ | h1 |---(port 1) | | (port 1

Re: [Ryu-devel] Spliting flows through two ports

2018-03-23 Thread Jose Carlos Ferreira de Melo Junior
Hey Iwase, Split means really divide the flow I dont know if would be like a load balancing (I think it is) For example the image below But I dont know if this would be possible using the group table. 2018-03-23 4:04 GMT-03:00 Iwase Yusuke : > Hi Carlos, > > What does "split flows" exactly

Re: [Ryu-devel] Spliting flows through two ports

2018-03-23 Thread Iwase Yusuke
Hi Carlos, What does "split flows" exactly mean? > req = parser.OFPGroupMod(datapath, ofp.OFPFC_ADD, ofp.OFPGT_SELECT, > group_id, buckets) If you specify OFPGT_SELECT, switch will execute "one" bucket in the group and not copied like the port mirroring. If you intend t

[Ryu-devel] Spliting flows through two ports

2018-03-20 Thread Jose Carlos Ferreira de Melo Junior
Hi there, I know this topic was discussed before but I would like just a simple explanation about it. Because I am using the group table with openflow 1.3 with no sucess. My purpose is to split one flow in two flows and forward on port 3 and 4 using the group table. My code is as follows: *