Re: [Ryu-devel] [PATCH RFC] packet lib: add LLDP support.

2013-02-04 Thread YAMADA Hideki
(2013/02/05 16:17), FUJITA Tomonori wrote: > On Mon, 4 Feb 2013 21:33:40 +0900 > YAMADA Hideki wrote: > >> +import logging >> +import struct >> +from ryu.lib.packet import packet_base >> + >> + >> +LOG = logging.getLogger(__name__) > > Thanks, I applied this with the above dropped since > > - loo

Re: [Ryu-devel] [PATCH RFC] packet lib: add LLDP support.

2013-02-04 Thread FUJITA Tomonori
On Mon, 4 Feb 2013 21:33:40 +0900 YAMADA Hideki wrote: > See "ryu/tests/unit/packet/test_lldp.py" to use this library. > > This patch is based on Yamahata's topology discovery patch series. > http://thread.gmane.org/gmane.network.ryu.devel/467 > > Signed-off-by: YAMADA Hideki > --- > ryu/lib

Re: [Ryu-devel] [PATCH V2 2/2] ryu/app: add netflow_dump apllication

2013-02-04 Thread OHMURA Kei
2013/2/5 FUJITA Tomonori : > On Thu, 31 Jan 2013 10:35:28 +0900 > OHMURA Kei wrote: > >> This app shows how to handle netflow packets. > > Can you convert this to something useful? > > I think that like our OpenFlow code, other applications can subscribe > this netflow component to get netflow mes

Re: [Ryu-devel] [PATCH V2 1/2] xflow: add netflow support

2013-02-04 Thread FUJITA Tomonori
On Thu, 31 Jan 2013 10:35:27 +0900 OHMURA Kei wrote: > This patch only implements netflowV5 parser. > > Signed-off-by: OHMURA Kei > --- > ryu/lib/xflow/netflow.py | 125 > ++ > 1 file changed, 125 insertions(+) > create mode 100644 ryu/lib/xflow/_

Re: [Ryu-devel] [PATCH V2 2/2] ryu/app: add netflow_dump apllication

2013-02-04 Thread FUJITA Tomonori
On Thu, 31 Jan 2013 10:35:28 +0900 OHMURA Kei wrote: > This app shows how to handle netflow packets. Can you convert this to something useful? I think that like our OpenFlow code, other applications can subscribe this netflow component to get netflow messages as an event. > Signed-off-by: OHM

Re: [Ryu-devel] [PATCH] remove event dumper application

2013-02-04 Thread FUJITA Tomonori
On Tue, 5 Feb 2013 06:29:35 +0900 FUJITA Tomonori wrote: > This needs to be reimplemented in a way that each component is enable > to debug its own events dynamically. > > Signed-off-by: FUJITA Tomonori > --- > ryu/app/event_dumper.py | 75 > --- >

[Ryu-devel] [PATCH] remove event dumper application

2013-02-04 Thread FUJITA Tomonori
This needs to be reimplemented in a way that each component is enable to debug its own events dynamically. Signed-off-by: FUJITA Tomonori --- ryu/app/event_dumper.py | 75 --- 1 files changed, 0 insertions(+), 75 deletions(-) delete mode 100644 ryu/

Re: [Ryu-devel] [PATCH] remove old dispatcher and friends

2013-02-04 Thread FUJITA Tomonori
On Mon, 4 Feb 2013 09:53:16 +0900 FUJITA Tomonori wrote: > Signed-off-by: FUJITA Tomonori > --- > ryu/controller/dispatcher.py | 222 > -- > ryu/lib/track_instances.py | 48 - > 2 files changed, 0 insertions(+), 270 deletions(-) > delete m

Re: [Ryu-devel] How to use the topology discovery of ryu?

2013-02-04 Thread Jeremias Blendin
Hi, sorry, my last reply did accidentally not go to the mailing-list. I am interested how different apps in ryu can (an should) work together. How can an app discover which other apps are running? I guess the apps could communicate using the event system. Are there facilities for inter-app commun

Re: [Ryu-devel] [PATCH v7 26/32] bin/ryu-manager: import ryu.flags for common options

2013-02-04 Thread FUJITA Tomonori
On Fri, 30 Nov 2012 11:45:17 +0900 Isaku Yamahata wrote: > Otherwise those options can't be specified. > > Signed-off-by: Isaku Yamahata > --- > bin/ryu-manager |1 + > 1 file changed, 1 insertion(+) Applied. --

Re: [Ryu-devel] [PATCH v7 05/32] app/rest: add requirements to path component

2013-02-04 Thread FUJITA Tomonori
On Fri, 30 Nov 2012 11:44:56 +0900 Isaku Yamahata wrote: > This patch adds requirements to path component so that URL is verified. > And simplify with submapper. > > Signed-off-by: Isaku Yamahata > --- > ryu/app/rest.py | 66 > ++- > 1 fil

Re: [Ryu-devel] [PATCH v7 07/32] ryu/app/client: factor out rest client code

2013-02-04 Thread FUJITA Tomonori
On Fri, 30 Nov 2012 11:44:58 +0900 Isaku Yamahata wrote: > REST API will be enhanced. So factor out reset client code such that > it affords extension. > > Signed-off-by: Isaku Yamahata > --- > ryu/app/client.py | 53 > +++-- > 1 file changed,

Re: [Ryu-devel] [PATCH v7 08/32] app/client: add helper function to ignore NOT_FOUND, 404

2013-02-04 Thread FUJITA Tomonori
On Fri, 30 Nov 2012 11:44:59 +0900 Isaku Yamahata wrote: > Sometimes client code just wants to ignore 404 when deleting resources. > So provide helper function for it. > > Signed-off-by: Isaku Yamahata > --- > ryu/app/client.py | 13 + > 1 file changed, 13 insertions(+) Applied.

Re: [Ryu-devel] [PATCH v7 06/32] app/rest_nw_id: add port type for reserved port and vport-gre

2013-02-04 Thread FUJITA Tomonori
On Fri, 30 Nov 2012 11:44:57 +0900 Isaku Yamahata wrote: > This patch adds new port type for reserved port and vport-gre. > They will be used later. Via this REST API, ryu knows which port is used > for gre or reserved port. > > Signed-off-by: Isaku Yamahata > --- > ryu/app/rest_nw_id.py | 2

[Ryu-devel] [PATCH RFC] packet lib: add LLDP support.

2013-02-04 Thread YAMADA Hideki
See "ryu/tests/unit/packet/test_lldp.py" to use this library. This patch is based on Yamahata's topology discovery patch series. http://thread.gmane.org/gmane.network.ryu.devel/467 Signed-off-by: YAMADA Hideki --- ryu/lib/packet/lldp.py | 496 r