[Ryu-devel] [PATCH 3/7] ofproto/ofproto_v1_0: Delete some NX actions

2016-06-05 Thread Shinpei Muraoka
This patch deletes some NX Actions in ofproto_v1_0_parser and fixes to use actions in nx_actions.py. Together, delete Obsolete action in OVS. Signed-off-by: Shinpei Muraoka --- ryu/ofproto/nx_actions.py | 2 +- ryu/ofproto/ofproto_v1_0.py | 2 + ryu/ofproto/ofpr

[Ryu-devel] [PATCH 4/7] ofproto/nx_actions: Update arguments to be compatible with ovs-ofctl

2016-06-05 Thread Shinpei Muraoka
This patch, update the methods that are to be specified in the NXM or OXM. Update the value specified in the bit format to the start and end formats. Update the following NXAction. - NXActionRegLoad - NXActionOutputReg - NXActionMultipath - NXActionBundle - NXActionBundleLoad - NXActionCT S

[Ryu-devel] [PATCH 1/7] ofproto/nx_actions: Update serialize and parse

2016-06-05 Thread Shinpei Muraoka
The serialize within each class has been changed to serialize_body. And serialize_body is executed by the serialize of NXAction. Also update the data format designated method in serialize_body and perse. Signed-off-by: Shinpei Muraoka --- ryu/ofproto/nx_actions.py | 133 ++---

[Ryu-devel] [PATCH 5/7] tests/test_parser_v10: Update test parameter

2016-06-05 Thread Shinpei Muraoka
Signed-off-by: Shinpei Muraoka --- ryu/tests/unit/ofproto/test_parser_v10.py | 146 +- 1 file changed, 61 insertions(+), 85 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v10.py b/ryu/tests/unit/ofproto/test_parser_v10.py index 5143e11..29bc315 100644 -

[Ryu-devel] [PATCH 2/7] ofproto/nx_actions: Porting the NX Action definition of ofproto_v1_0_parser

2016-06-05 Thread Shinpei Muraoka
Signed-off-by: Shinpei Muraoka --- ryu/ofproto/nicira_ext.py | 2 + ryu/ofproto/nx_actions.py | 419 -- ryu/tests/unit/ofproto/test_parser_v10.py | 1 + 3 files changed, 398 insertions(+), 24 deletions(-) diff --git a/ryu/ofproto/ni

[Ryu-devel] [PATCH 6/7] ofproto/nicira_ext: Move the variable and method for Nicira Extension

2016-06-05 Thread Shinpei Muraoka
Move variable and method that exist in the ofproto_v1_0.py to the nicira_ext.py. Move the oxm_types that exists in the nx_match.py to the nicira_ext.py. Signed-off-by: Shinpei Muraoka --- doc/source/nicira_ext_ref.rst | 2 +- ryu/ofproto/nicira_ext.py | 207

[Ryu-devel] [PATCH 7/7] packet_data_generator3/gen: Add some NXAction packets

2016-06-05 Thread Shinpei Muraoka
This patch adds the following test packet. - NXActionController - NXActionFinTimeout - NXActionNote Signed-off-by: Shinpei Muraoka --- .../of13/ovs-ofctl-of13-action_controller.packet | Bin 0 -> 80 bytes .../of13/ovs-ofctl-of13-action_fintimeout.packet | Bin 0 -> 88 bytes .../of13/ovs-o

[Ryu-devel] [PATCH 0/7] Organization of definition files of NXAction

2016-06-05 Thread Shinpei Muraoka
Currently, there is NXAction that is declared in the ofproto_v1_0_parser.py. Move the definition file of NXAction from ofproto_v1_0_parser.py to nx_action.py. Also, change some of the parameters and add a test pattern that was insufficient. Shinpei Muraoka (7): ofproto/nx_actions: Update seria

[Ryu-devel] Ryu cbench

2016-06-05 Thread Randa Alani
Dear all How exactly can I use cbench to test ryu controller in SDN HUB image. Kind regards, Randa Alani -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level.