[Ryu-devel] [PATCH] simple_switch: Separate simple_switch for beginners

2016-02-11 Thread IWASE Yusuke
simple_switch_* apps have conflicting two faces of its purpose. One is the example apps for beginners, the other is the utility apps for the L2 switching in the user environments. These are difficult to be compatible. This patch adds an example app for begginers and separates from simple_switch_*

[Ryu-devel] [PATCH] Separate simple_switch apps for beginners

2016-02-11 Thread IWASE Yusuke
simple_switch_* apps have conflicting two faces of its purpose. One is the example apps for beginners, the other is the utility apps for the L2 switching in the user environments. These are difficult to be compatible. This patch adds example_switch_13.py for begginers and separates from simple_swi

Re: [Ryu-devel] run multiple components with ryu

2016-02-11 Thread Yusuke Iwase
Hi, On 2016年02月11日 08:59, Anees Mohsin Hadi Al-Najjar wrote: > > > Dear Friends, > > > > I wonder if I could build two components and run both of them simultaneously. > If I could, how the variables between them could be shared. > > > > For example, to run the components like that if

Re: [Ryu-devel] Constructing an Experimenter Match field.

2016-02-11 Thread Yusuke Iwase
Hi, On 2016年02月12日 09:22, Alan Deikman wrote: > I am working with Broadcom’s OFDPA, and it makes use of Experimenter messages > and match fields. I cannot find any Ryu documentation or examples of how to > do this. I suspect that the OFPExperimenterOxmId class is used but again I > can’t fi

Re: [Ryu-devel] Modifying an entry by adding one action

2016-02-11 Thread Yusuke Iwase
Hi, On 2016年02月08日 20:55, David Gabriel wrote: > Thanks Iwase > I am thinking to get this entry with its information (the actions) then I > delete it and add new one. > So I am wondering how to get an entry basing a match using the destination > address. > Then I want to know if it is possible

[Ryu-devel] Constructing an Experimenter Match field.

2016-02-11 Thread Alan Deikman
I am working with Broadcom’s OFDPA, and it makes use of Experimenter messages and match fields. I cannot find any Ryu documentation or examples of how to do this. I suspect that the OFPExperimenterOxmId class is used but again I can’t find an example. The Ryu source code doesn’t make it clea

Re: [Ryu-devel] Utility to convert to JSON?

2016-02-11 Thread Alan Deikman
> On Feb 8, 2016, at 11:39 PM, Minoru TAKAHASHI > wrote: > > The example is as follows: Thank you that is exactly what I needed. This should probably be added to the Ryu Book. Alan Deikman ZNYX Networks, Inc.

[Ryu-devel] error: cannot convert argument to integer

2016-02-11 Thread David Gabriel
Dears I am getting this error when I set the writeMatadata instruction. This is my code and below is the error I am getting. inst = [parser.OFPInstructionWriteMetadata(metadata, 0x), parser.OFPInstructionGotoTable(3), ] mod = parser.OFPFlowMod(d

[Ryu-devel] [PATCH] Stability improvements to the core of Ryu, without requiring user application changes

2016-02-11 Thread Victor Orlikowski
Address PEP8 violations, reported here: https://travis-ci.org/fujita/ryu/jobs/108267416 Signed-off-by: Victor J. Orlikowski diff --git a/ryu/base/app_manager.py b/ryu/base/app_manager.py index 3d5d895..b08c6c5 100644 --- a/ryu/base/app_manager.py +++ b/ryu/base/app_manager.py @@ -37,6 +37,7 @@ f