Re: [Ryu-devel] [PATCH] topology: support OF1.2 and 1.4

2014-02-12 Thread FUJITA Tomonori
On Thu, 13 Feb 2014 13:45:41 +0900 FUJITA Tomonori wrote: > Signed-off-by: FUJITA Tomonori > --- > ryu/topology/switches.py | 14 -- > 1 file changed, 8 insertions(+), 6 deletions(-) Applied. -- Android ap

Re: [Ryu-devel] [PATCH] topology: support OF1.2 and 1.4

2014-02-12 Thread YAMAMOTO Takashi
looks good to me. YAMAMOTO Takashi -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in

[Ryu-devel] [PATCH] topology: support OF1.2 and 1.4

2014-02-12 Thread FUJITA Tomonori
Signed-off-by: FUJITA Tomonori --- ryu/topology/switches.py | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/ryu/topology/switches.py b/ryu/topology/switches.py index 7a2da6d..e53a229 100644 --- a/ryu/topology/switches.py +++ b/ryu/topology/switches.py @@ -35,6 +

Re: [Ryu-devel] Switch Connection Up Event

2014-02-12 Thread FUJITA Tomonori
On Wed, 12 Feb 2014 20:06:16 -0800 vinay pai wrote: > I have another small query. When I pass the flow onto my switch I see the > error on my switch as follows: > > Debug: |1|00705|connmgr|INFO|sw1<->tcp:172.28.243.51:6633%management: > sending OFPBRC_EPERM error reply to OFPT_FLOW_MOD message >

Re: [Ryu-devel] Switch Connection Up Event

2014-02-12 Thread vinay pai
Hi Fujita, Thank you so much for your response! It worked perfectly with that change! I have another small query. When I pass the flow onto my switch I see the error on my switch as follows: Debug: |1|00705|connmgr|INFO|sw1<->tcp:172.28.243.51:6633%management: sending OFPBRC_EPERM error reply to

Re: [Ryu-devel] Proposal: High layer RPC API

2014-02-12 Thread Satoshi Kobayashi
2014-02-13 8:23 GMT+09:00 FUJITA Tomonori : > Hi, > > On Wed, 12 Feb 2014 12:52:36 +0900 > Satoshi Kobayashi wrote: > > > If Raw TCP is changed to WebSocket only, It do not have many merits. But > > when messaging is also changed to non-binary (JSON?), it seems to be easy > > to use. Many develop

Re: [Ryu-devel] Can Ryu generate traffic ?

2014-02-12 Thread Mounir Azizi
Yes this is exactly what I was looking for. Thanks a lot for your help. Kind regards, Mounir On Wed, Feb 12, 2014 at 11:10 PM, FUJITA Tomonori < [email protected]> wrote: > On Wed, 12 Feb 2014 10:12:03 + > Mounir Azizi wrote: > > > I already use mininet with scapy tool for this

Re: [Ryu-devel] How to run a function independent of an event?

2014-02-12 Thread FUJITA Tomonori
On Wed, 12 Feb 2014 11:14:47 -0200 Eros Spalla wrote: > Would like to run a function that was not tied to any event. Is there any way > to do that? In my tests, I need to perform a function so that the Can you tell me what exactly you want to do? I'm not sure. How Ryu can know when such functio

Re: [Ryu-devel] Proposal: High layer RPC API

2014-02-12 Thread FUJITA Tomonori
Hi, On Wed, 12 Feb 2014 12:52:36 +0900 Satoshi Kobayashi wrote: > If Raw TCP is changed to WebSocket only, It do not have many merits. But > when messaging is also changed to non-binary (JSON?), it seems to be easy > to use. Many development tools exist. As I wrote in another mail, I talked abo

Re: [Ryu-devel] Can Ryu generate traffic ?

2014-02-12 Thread FUJITA Tomonori
On Wed, 12 Feb 2014 10:12:03 + Mounir Azizi wrote: > I already use mininet with scapy tool for this kind of scenario. > > what I would like to do is to generate some kind of OAM directly from Ryu. You mean that you want to generate packets and send them via an OpenFlow switch? IOW, an OpenF

Re: [Ryu-devel] Proposal: High layer RPC API

2014-02-12 Thread FUJITA Tomonori
On Wed, 12 Feb 2014 12:22:09 +0900 (JST) [email protected] (YAMAMOTO Takashi) wrote: >> On Wed, 12 Feb 2014 10:28:50 +0900 >> Satoshi Kobayashi wrote: >> >>> I tried RPC API on Ryu3.6. The sample of VRRP was very helpful for me. >>> Thanks a lot! And I would like to feedback the noticed poi

Re: [Ryu-devel] Switch Connection Up Event

2014-02-12 Thread FUJITA Tomonori
On Wed, 12 Feb 2014 14:49:02 -0800 vinay pai wrote: > class SwitchEventApp(app_manager.RyuApp): > _CONTEXTS = { > 'switches': switches.Switches, > } > > @set_ev_cls(EventSwitchEnter) > def _ev_switch_enter_handler(self, ev): > print('enter: %s' % ev) > datapath = ev.msg.datap

Re: [Ryu-devel] Switch Connection Up Event

2014-02-12 Thread vinay pai
Hi Satoshi, Thank you so much for the response. My end goal is to pass a flow to the switch as soon as its up using OFv1.3. I have written the following snippet of code but Im not sure where I am going wrong. I would be obliged if you could help me out in this regard. from ryu.base import app_ma

[Ryu-devel] How to run a function independent of an event?

2014-02-12 Thread Eros Spalla
Hi all, Im have recently started working with the ryu controller, and I got a doubt. Would like to run a function that was not tied to any event. Is there any way to do that? In my tests, I need to perform a function so that the controller startup (after the __init__ method). I read in the documen

Re: [Ryu-devel] Can Ryu generate traffic ?

2014-02-12 Thread Mounir Azizi
Thanks Ahmed, I already use mininet with scapy tool for this kind of scenario. what I would like to do is to generate some kind of OAM directly from Ryu. any idea ? On Wed, Feb 12, 2014 at 10:07 AM, AhmedMazar Ahmedaziz < [email protected]> wrote: > try to use Python API in Mininet +

[Ryu-devel] Can Ryu generate traffic ?

2014-02-12 Thread Mounir Azizi
Dear ML, I know this not the purpose of the Openflow controller, but I'm interesting on generating some kind of traffic from the Ryu controller. Can someone please point me on which API I should use ? Kind Regards, Mounir AZIZI ---