Re: [Ryu-devel] How to contribute

2014-04-25 Thread FUJITA Tomonori
On Thu, 24 Apr 2014 23:34:09 +0200 Lorenzo Mainardi wrote: > I already know this article and I think it's very interesting. > It could be a good point to start to play with. There is some code to > start reading? You are looking for OF related code (e.g., adding a flow chaning source IP)? About

Re: [Ryu-devel] wild card mask

2014-04-25 Thread Wei-Li Tang
Hello Windhya, How about this: "match":{"dl_type": 2048, "nw_src": "10.0.0.1/16", "ip_dscp": 4} Currently the mask value should be combined with IP address in a field. nw_tos is available for ofctl_v1_0 but not for v1_2 & v1_3 so I guess you're connecting to an OF1.2+ datapath, maybe you can use

[Ryu-devel] wild card mask

2014-04-25 Thread Windhya Rankothge
Hi all, I am trying to write a flow rule with REST API to match source IP address, the wild card mask and TOS src = '10.0.0.1' mask = '16' tos = '4' '"match":{"dl_type":"2048",' + '"nw_src":' + '"' + src + '",' + '"nw_src_mask":' + '"' + mask + '",' + '"nw_tos":' + '"' + tos + '",'} Rule get in

Re: [Ryu-devel] [PATCH 0/9] tests/integrated: Update OF1.2 action tests

2014-04-25 Thread FUJITA Tomonori
On Fri, 25 Apr 2014 10:20:05 +0900 Simon Horman wrote: > Hi, > > while testing the "make check-ryu" target provided by Open vSwitch > I observed that some action tests seem to fail because of enforcement > of portions of the OpenFlow1.2 specification by Open vSwitch. > > I also noticed that sev

Re: [Ryu-devel] [PATCH 0/2] sw test tool: Fix test files

2014-04-25 Thread FUJITA Tomonori
On Fri, 25 Apr 2014 18:43:32 +0900 Yuichi Ito wrote: > The commit d1b9e371dbfd130cf6685046de287bfd79d8a164 includes unnecessary > changes and wrong changes. > > - Wireshark does not misunderstand a MAC frame including VLAN, MPLS, and PBB. > - A MAC frame (including ARP) after POP_VLAN, POP_MP

Re: [Ryu-devel] [PATCH] tests/integrated: Do not verify buffer_id of packet_in resulting from packet_out

2014-04-25 Thread FUJITA Tomonori
On Fri, 25 Apr 2014 08:43:58 +0900 Simon Horman wrote: > When a packet_in message results from a packet_out message > there is no particular relationship between the buffer_ids of > the two messages. > > I noticed this when using Open vSwitch's "make ryu-check". > > YAMAMOTO Takashi > Signed-o

Re: [Ryu-devel] set nw_tos field and use it for flow rules

2014-04-25 Thread Windhya Rankothge
I figured it out that I can use following "actions":[{' + '"type":"SET_NW_TOS","nw_tos":' + '" 32 '"},' + '{"type":"SET_VLAN_VID","vlan_vid":' + '" 4 "}] The rule excute without any error, but when I look at the flow table it has only following.. {"1": [{"actions": ["SET_VLAN_VID:4"] Highly appr

[Ryu-devel] [PATCH 0/2] sw test tool: Fix test files

2014-04-25 Thread Yuichi Ito
The commit d1b9e371dbfd130cf6685046de287bfd79d8a164 includes unnecessary changes and wrong changes. - Wireshark does not misunderstand a MAC frame including VLAN, MPLS, and PBB. - A MAC frame (including ARP) after POP_VLAN, POP_MPLS, or POP_PBB may be misunderstood as a frame with FCS. This s