Re: [Ryu-devel] [PATCH v4 08/13] app/discovery: link discovery application

2012-06-03 Thread Isaku Yamahata
On Fri, Jun 01, 2012 at 06:57:35AM +0900, FUJITA Tomonori wrote: > > +class PortSet(dict): > > +""" > > +dict: (dp, port_no) -> PortData(timestamp, aux) > > +slimed down version of OrderedDict as python 2.6 doesn't support it. > > Please kill this. Just use Ordereddict package in 2.6.

Re: [Ryu-devel] [PATCH RFC] app/wsgi: add wsgi framework as preparation to remove wsapi.py

2012-06-03 Thread Isaku Yamahata
On Mon, Jun 04, 2012 at 02:29:55PM +0900, FUJITA Tomonori wrote: > Thanks, here's an updated patch. Looks good. Arguments should be format checked. Something like dpid is type of [0-9a-f]{16} They can be addressed later by another patches. Reviewed-by: Isaku Yamahata > > - > >From a0df167c9ccc

Re: [Ryu-devel] [PATCH 5/5] add Nicira Extension NXAST_NOTE support

2012-06-03 Thread FUJITA Tomonori
On Mon, 4 Jun 2012 13:58:20 +0900 Isaku Yamahata wrote: > Although I'm not sure what type note is, some lines can be simplified with > ord() (and bytearray). > some comments inlined. The note argument is a list. each entry has a hex value. bytearray might be better. --

Re: [Ryu-devel] [PATCH RFC] app/wsgi: add wsgi framework as preparation to remove wsapi.py

2012-06-03 Thread FUJITA Tomonori
On Mon, 4 Jun 2012 11:15:58 +0900 Isaku Yamahata wrote: > On Sat, Jun 02, 2012 at 05:32:39PM +0900, FUJITA Tomonori wrote: >> On Wed, 16 May 2012 18:17:53 +0900 (JST) >> FUJITA Tomonori wrote: >> >> > On Wed, 16 May 2012 17:47:48 +0900 >> > Isaku Yamahata wrote: >> > >> > > On Wed, May 16, 20

Re: [Ryu-devel] [PATCH 5/5] add Nicira Extension NXAST_NOTE support

2012-06-03 Thread Isaku Yamahata
Although I'm not sure what type note is, some lines can be simplified with ord() (and bytearray). some comments inlined. On Sun, Jun 03, 2012 at 10:35:23AM +0900, FUJITA Tomonori wrote: > Signed-off-by: FUJITA Tomonori > --- > ryu/ofproto/ofproto_v1_0.py|5 > ryu/ofproto/ofprot

Re: [Ryu-devel] [PATCH 1/5] Add Nicira Extension NXT_SET_CONTROLLER_ID support

2012-06-03 Thread FUJITA Tomonori
On Sun, 3 Jun 2012 10:35:19 +0900 FUJITA Tomonori wrote: > Signed-off-by: FUJITA Tomonori > --- > ryu/ofproto/ofproto_v1_0.py|6 ++ > ryu/ofproto/ofproto_v1_0_parser.py | 14 ++ > 2 files changed, 20 insertions(+), 0 deletions(-) Merged the five patches. ---

Re: [Ryu-devel] [PATCH RFC] app/wsgi: add wsgi framework as preparation to remove wsapi.py

2012-06-03 Thread Isaku Yamahata
On Sat, Jun 02, 2012 at 05:32:39PM +0900, FUJITA Tomonori wrote: > On Wed, 16 May 2012 18:17:53 +0900 (JST) > FUJITA Tomonori wrote: > > > On Wed, 16 May 2012 17:47:48 +0900 > > Isaku Yamahata wrote: > > > > > On Wed, May 16, 2012 at 04:31:33PM +0900, FUJITA Tomonori wrote: > > >> On Wed, 16 Ma

Re: [Ryu-devel] [PATCH] silence pep8 warning

2012-06-03 Thread FUJITA Tomonori
On Sun, 3 Jun 2012 10:41:25 +0900 FUJITA Tomonori wrote: > I usually don't apply a patch to silence a style warning. However, > there are only two places in ryu that pep8 complains. I don't think > that anybody is working on this code so let's silence it. > > - > >From 164f255bb5a56cee5f88bb220a