[Ryu-devel] [PATCH v2 3/3] lib: lacplib: correct comments

2013-09-08 Thread Yuichi Ito
Signed-off-by: itoyuichi --- ryu/lib/lacplib.py |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ryu/lib/lacplib.py b/ryu/lib/lacplib.py index 4ef971b..ae7cc3d 100644 --- a/ryu/lib/lacplib.py +++ b/ryu/lib/lacplib.py @@ -78,7 +78,7 @@ class LacpLib(app_manager.RyuApp

[Ryu-devel] [PATCH v2 1/3] lib: lacplib: support OpenFlow1.2/1.3

2013-09-08 Thread Yuichi Ito
Signed-off-by: itoyuichi --- ryu/lib/lacplib.py | 63 +++- 1 file changed, 47 insertions(+), 16 deletions(-) diff --git a/ryu/lib/lacplib.py b/ryu/lib/lacplib.py index e89e684..b71e80f 100644 --- a/ryu/lib/lacplib.py +++ b/ryu/lib/lacplib.py @@ -

[Ryu-devel] [PATCH v2 2/3] lib: lacplib: add underscore to a protected member

2013-09-08 Thread Yuichi Ito
Signed-off-by: itoyuichi --- ryu/lib/lacplib.py |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ryu/lib/lacplib.py b/ryu/lib/lacplib.py index b71e80f..4ef971b 100644 --- a/ryu/lib/lacplib.py +++ b/ryu/lib/lacplib.py @@ -63,7 +63,7 @@ class LacpLib(app_manager.RyuApp):

[Ryu-devel] [PATCH v2 0/3] lib: lacplib: support OpenFlow1.2/1.3 and so on

2013-09-08 Thread Yuichi Ito
Changes v1 -> v2: - change an argument of _add_flow_vx_x from msg to datapath itoyuichi (3): lib: lacplib: support OpenFlow1.2/1.3 lib: lacplib: add underscore to a protected member lib: lacplib: correct comments ryu/lib/lacplib.py | 77 -

Re: [Ryu-devel] Proposal: Advanced WSGI API

2013-09-08 Thread Satoshi Kobayashi
Hi, (I retransmit it because the transmission did not reach well) Currently, HTTP routing and implementation are separated. Example: -- class SampleApiApp(app_manager.RyuApp): …. def __init__(self, *args, **kwargs): …. wsgi = kwargs['wsgi']

Re: [Ryu-devel] [PATCH 1/3] lib: lacplib: support OpenFlow1.2/1.3

2013-09-08 Thread Yuichi Ito
On Mon, 9 Sep 2013 15:03:19 +0900 (JST) YAMAMOTO Takashi wrote: >> @@ -163,8 +180,9 @@ class LacpLib(app_manager.RyuApp): >> "SW=%s PORT=%d the timeout time has changed.", >> dpid_to_str(dpid), port) >> self._set_slave_timeout(dpid, port, idle_ti

Re: [Ryu-devel] [PATCH 1/3] lib: lacplib: support OpenFlow1.2/1.3

2013-09-08 Thread YAMAMOTO Takashi
> @@ -163,8 +180,9 @@ class LacpLib(app_manager.RyuApp): > "SW=%s PORT=%d the timeout time has changed.", > dpid_to_str(dpid), port) > self._set_slave_timeout(dpid, port, idle_timeout) > -self._set_flow_entry_packet_in(src, port, idle_timeo

[Ryu-devel] [PATCH] add IGMP snooping application

2013-09-08 Thread Yuichi Ito
this application provides the simple example of IGMP snooping. the module "igmplib" mainly offers 2 functions: - listening on in the IGMP conversation between multicast routers and hosts - emulating of the querier function of multicast servers the former operates a switch as a snooping switch and

Re: [Ryu-devel] [PATCH] Simpler API to assemble a packet

2013-09-08 Thread Satoshi Kobayashi
2013/9/9 YAMAMOTO Takashi > > For example: > > > > (Current) > > e = ethernet.ethernet(…) > > i = ipv4.ipv4(…) > > u = udp.udp(…) > > pkt = packet.Packet() > > pkt.add_protocols(e) > > pkt.add_protocols(i) > > pkt.add_protocols(u) > > > > (New) > > e = ethernet.ethernet(…) > > i = ipv4.ipv4(…) >

Re: [Ryu-devel] SNORT alert_monitor and ryu 3.0

2013-09-08 Thread YAMAMOTO Takashi
> Hi, > > I'd like to use the snort-lib from > https://github.com/ohmk/ryu/tree/snort-devel/ryu/lib in the code seems to use gevent. at least it needs to be changed as ryu has moved from gevent to eventlet. YAMAMOTO Takashi > the current version of ryu. But i don't get any > Alert-Message. W

Re: [Ryu-devel] Ryu's Packet Library Performance.

2013-09-08 Thread YAMAMOTO Takashi
hi, > Hello Ryu's Team, > > I am considering using Ryu's packet library as a substitute for dpkt. > Unfortunately, I got some very odd results about the performance of the > packet library, specifically I noticed that Ryu's packet library is 5~7x > slower than dpkt in packing and unpacking raw pa

Re: [Ryu-devel] [PATCH] Simpler API to assemble a packet

2013-09-08 Thread YAMAMOTO Takashi
> For example: > > (Current) > e = ethernet.ethernet(…) > i = ipv4.ipv4(…) > u = udp.udp(…) > pkt = packet.Packet() > pkt.add_protocols(e) > pkt.add_protocols(i) > pkt.add_protocols(u) > > (New) > e = ethernet.ethernet(…) > i = ipv4.ipv4(…) > u = udp.udp(…) > pkt = e/i/u is the use of the div op

Re: [Ryu-devel] [PATCH] use run_tests.sh -N for Travis CI

2013-09-08 Thread FUJITA Tomonori
On Tue, 3 Sep 2013 21:47:36 +0900 (JST) [email protected] (YAMAMOTO Takashi) wrote: > > On Tue, 3 Sep 2013 16:53:35 +0900 > > YAMAMOTO Takashi wrote: > > > >> this avoids interfering Travis CI's use of virtualenv. > >> > >> Signed-off-by: YAMAMOTO Takashi > >> --- > >> .travis.yml | 4

[Ryu-devel] Ryu's Packet Library Performance.

2013-09-08 Thread Omid Alipourfard
Hello Ryu's Team, I am considering using Ryu's packet library as a substitute for dpkt. Unfortunately, I got some very odd results about the performance of the packet library, specifically I noticed that Ryu's packet library is 5~7x slower than dpkt in packing and unpacking raw packets. I got som