Re: [Ryu-devel] [PATCH] ofctl_v1_2/3: IP arbitrary bitmask support

2014-03-05 Thread Wei-Li Tang
2014-03-05 23:30 GMT+08:00 FUJITA Tomonori : > On Sat, 1 Mar 2014 17:17:16 +0800 > Wei-Li Tang wrote: > > > Openflow 1.1 and later versions allow the use of IP address with > > arbitrary bitmask in match fields. This adds arbitrary bitmask > > support to related functions. > > > > For match_ip*_

Re: [Ryu-devel] [PATCH v2 00/18] of1.4: Increased message coverage

2014-03-05 Thread Simon Horman
On Thu, Mar 06, 2014 at 09:51:28AM +0900, Simon Horman wrote: > Hi, > > The aim of this series is to add an implementation of and > tests for the following messages: > > * Flow monitor request > + Now present in the v5 branch of of_protocol > + Was pull request 67 > https://github.com/Flo

[Ryu-devel] [PATCH v2 15/18] [RFC] of14: Add bundle add message unit test

2014-03-05 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * Update JSON using normalize_json.py --- .../of14/5-69-ofp_bundle_add_msg.packet| Bin 0 -> 80 bytes ryu/tests/packet_data_generator/src/x5.erl | 22 ++ .../json/of14/5-69-ofp_bundle_add_msg.packet.json | 45 +

[Ryu-devel] [PATCH v2 10/18] of1.4: Add table status unit test

2014-03-05 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * First post --- .../packet_data/of14/5-68-ofp_table_status.packet | Bin 0 -> 96 bytes ryu/tests/packet_data_generator/src/x5.erl | 26 +- .../json/of14/5-68-ofp_table_status.packet.json| 57 + ryu/tests/unit/ofproto/

[Ryu-devel] [PATCH v2 12/18] of14: Add bundle control message unit test

2014-03-05 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * Rebase - Rename files: 5-69-* -> 5-68-* - Use bytes instead of an array of words for data fields * Update JSON using normalize_json.py --- .../of14/5-69-ofp_bundle_ctrl_msg.packet | Bin 0 -> 72 bytes ryu/tests/packet_data_generator/src/x5.erl

[Ryu-devel] [PATCH v2 16/18] [RFC] Add request forward message support

2014-03-05 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * First post --- ryu/ofproto/ofproto_v1_4_parser.py | 48 ++ 1 file changed, 48 insertions(+) diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py index 1b7a61c..434daf9 100644 --- a/ryu/ofpr

[Ryu-devel] [PATCH v2 17/18] [RFC] packet_data_generator: Update protocol dependency for v5 request forward

2014-03-05 Thread Simon Horman
Update ofproto dependency to include pull request 70, an implementation of request forward Signed-off-by: Simon Horman --- v2 * First post --- ryu/tests/packet_data_generator/rebar.config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ryu/tests/packet_data_generator/re

[Ryu-devel] [PATCH v2 06/18] packet_data_generator: Update ofproto dependency for v5 fix

2014-03-05 Thread Simon Horman
Update ofproto dependency to include a pull request 68, a fix for flow monitor reply messages. Signed-off-by: Simon Horman --- v2 * Update changelog text to refer to pull request 68 --- ryu/tests/packet_data_generator/rebar.config | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) d

[Ryu-devel] [PATCH v2 18/18] [RFC] Add request forward message unit test

2014-03-05 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * First post --- .../of14/5-70-ofp_requestforward.packet| Bin 0 -> 56 bytes ryu/tests/packet_data_generator/src/x5.erl | 22 ++- .../json/of14/5-70-ofp_requestforward.packet.json | 31 + ryu/tests/unit/ofp

[Ryu-devel] [PATCH v2 09/18] packet_data_generator: Update protocol dependency for v5 table stats

2014-03-05 Thread Simon Horman
Update ofproto dependency to include pull request 69, an implementation of table status Signed-off-by: Simon Horman --- v2 * First post --- ryu/tests/packet_data_generator/rebar.config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ryu/tests/packet_data_generator/rebar

[Ryu-devel] [PATCH v2 05/18] of14: Add flow monitor request unit test

2014-03-05 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * Updated JSON using normalize_json.py --- .../of14/5-66-ofp_flow_monitor_request.packet | Bin 0 -> 48 bytes ryu/tests/packet_data_generator/src/x5.erl | 18 +- .../of14/5-66-ofp_flow_monitor_request.packet.json | 27

[Ryu-devel] [PATCH v2 08/18] of1.4: Add table status support

2014-03-05 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * First post --- ryu/ofproto/ofproto_v1_4.py| 6 - ryu/ofproto/ofproto_v1_4_parser.py | 55 ++ 2 files changed, 60 insertions(+), 1 deletion(-) diff --git a/ryu/ofproto/ofproto_v1_4.py b/ryu/ofproto/ofproto_v1_4

[Ryu-devel] [PATCH v2 00/18] of1.4: Increased message coverage

2014-03-05 Thread Simon Horman
Hi, The aim of this series is to add an implementation of and tests for the following messages: * Flow monitor request + Now present in the v5 branch of of_protocol + Was pull request 67 https://github.com/FlowForwarding/of_protocol/pull/67 * Flow reply + Now present in the v5 branch of

[Ryu-devel] [PATCH v2 14/18] [RFC] Allow messages inside messages

2014-03-05 Thread Simon Horman
Bundle Add Message and Request Forward Message, which is part of OpenFlow 1.4, encapsulates an OpenFlow message in side an OpenFlow message. This patch prepares for this by crudely allowing MsgBase subclasses to be used anywhere when parsing classes from JSON: previously they were only allowed at

[Ryu-devel] [PATCH v2 11/18] of14: Add bundle control message support

2014-03-05 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * First post --- ryu/ofproto/ofproto_v1_4_parser.py | 64 ++ 1 file changed, 64 insertions(+) diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py index 1308852..2d4581a 100644 --- a/ryu/ofpro

[Ryu-devel] [PATCH v2 13/18] [RFC] of14: Add bundle add message support

2014-03-05 Thread Simon Horman
--- ryu/ofproto/ofproto_v1_4.py| 5 +++- ryu/ofproto/ofproto_v1_4_parser.py | 60 ++ 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/ryu/ofproto/ofproto_v1_4.py b/ryu/ofproto/ofproto_v1_4.py index 200e9b0..838521f 100644 --- a/ryu/ofproto

[Ryu-devel] [PATCH v2 04/18] packet_data_generator: New ofproto dependency for v5 updates

2014-03-05 Thread Simon Horman
Update ofproto dependency to include a merge of the mainline v5 branch which includes: * Bundle messages * Flow monitor messages Signed-off-by: Simon Horman --- v2 * No change --- ryu/tests/packet_data_generator/rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu

[Ryu-devel] [PATCH v2 02/18] of14: Add flow monitor request support

2014-03-05 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * No change --- ryu/ofproto/ofproto_v1_4.py| 7 +++- ryu/ofproto/ofproto_v1_4_parser.py | 82 ++ 2 files changed, 88 insertions(+), 1 deletion(-) diff --git a/ryu/ofproto/ofproto_v1_4.py b/ryu/ofproto/ofproto_v1_4.p

[Ryu-devel] [PATCH v2 07/18] of14: Add flow monitor reply message unit test

2014-03-05 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * Updated JSON using normalize_json.py --- .../of14/5-67-ofp_flow_monitor_reply.packet| Bin 0 -> 96 bytes ryu/tests/packet_data_generator/src/x5.erl | 30 +- .../of14/5-67-ofp_flow_monitor_reply.packet.json | 66

[Ryu-devel] [PATCH v2 03/18] of14: Add flow monitor reply support

2014-03-05 Thread Simon Horman
Signed-off-by: Simon Horman --- v2 * No change --- ryu/ofproto/ofproto_v1_4_parser.py | 50 ++ 1 file changed, 50 insertions(+) diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py index c701cfe..109a0cf 100644 --- a/ryu/ofpro

[Ryu-devel] [PATCH v2 01/18] of14: Add OFPFlowUpdate

2014-03-05 Thread Simon Horman
This will be used by flow monitor reply messages Signed-off-by: Simon Horman --- v2 * No change --- ryu/ofproto/ofproto_v1_4.py| 6 +- ryu/ofproto/ofproto_v1_4_parser.py | 116 + 2 files changed, 121 insertions(+), 1 deletion(-) diff --git a/ryu/of

[Ryu-devel] Problem with manually building a packet

2014-03-05 Thread Sebastian Gebhard
Hey there, I am just getting started using RYU and try to manually craft some packets to send out. But I am running into some problems with that. I hope you can point me into the right direction. I have used the example from the docs https://github.com/osrg/ryu/blob/master/doc/source/library_pack

Re: [Ryu-devel] [PATCH] Add ethertype test for OXM_OF_PBB_ISID pre-requisite

2014-03-05 Thread FUJITA Tomonori
Sorry about the delay, On Fri, 21 Feb 2014 18:32:42 +0900 Hiroaki KAWAI wrote: > OXM_OF_PBB_ISID has a pre-requisite of ETH_TYPE=0x88E7, > by openflow 1.3.3 specification. Thanks for the effort to add more tests. We'd like to do such! However, our intention to keep the current 'match' and 'act

Re: [Ryu-devel] [PATCH] ofctl_v1_2/3: IP arbitrary bitmask support

2014-03-05 Thread FUJITA Tomonori
On Sat, 1 Mar 2014 17:17:16 +0800 Wei-Li Tang wrote: > Openflow 1.1 and later versions allow the use of IP address with > arbitrary bitmask in match fields. This adds arbitrary bitmask > support to related functions. > > For match_ip*_to_str functions, it outputs full mask address only > if the

[Ryu-devel] Ryu 3.7 released

2014-03-05 Thread FUJITA Tomonori
Hi, Here is a new release, including OpenFlow 1.4 improvement, bug fixes, etc. Another great news is that new Ryu OpenStack driver was merged and will be included in the next OpenStack release (IceHouse): https://review.openstack.org/#/c/71791/ The driver is called 'OpenFlow Agent mechanism dri

Re: [Ryu-devel] [PATCH 1/3] Apply normalize_json.py

2014-03-05 Thread FUJITA Tomonori
On Wed, 5 Mar 2014 16:56:40 +0900 YAMAMOTO Takashi wrote: > Signed-off-by: YAMAMOTO Takashi > --- > .../json/of13/4-46-ofp_flow_mod.packet.json| 6 +- > .../4-55-ofp_table_features_request.packet.json| 37 +++--- > .../of13/4-56-ofp_table_features_reply.packet.json | 37 +++---