[Ryu-devel] [PATCH] of13: set default args for FlowMod

2013-08-26 Thread FUJITA Tomonori
Signed-off-by: FUJITA Tomonori --- Keep of12 and of13 APIs closer. ryu/ofproto/ofproto_v1_3_parser.py | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index d310598..1392604 100644 --- a/ry

Re: [Ryu-devel] [PATCH] of12: set default args for FlowMod

2013-08-26 Thread YAMAMOTO Takashi
> On Tue, 27 Aug 2013 12:20:09 +0900 (JST) > yamam...@valinux.co.jp (YAMAMOTO Takashi) wrote: > >>> Signed-off-by: FUJITA Tomonori >>> --- >>> ryu/ofproto/ofproto_v1_2_parser.py | 10 +++--- >>> 1 file changed, 7 insertions(+), 3 deletions(-) >>> >>> diff --git a/ryu/ofproto/ofproto_v1_2_pa

Re: [Ryu-devel] Network-Topology

2013-08-26 Thread Hiroshi Yokoi
Hi, If you want to detect links between switches, use events that ryu/topology/switches.py provides. ryu/topology/switches.py provides events for adding and deleting switch or port or link. Please see topology/event.py about the type of events. An EventLinkAdd event occurs on each direction when

Re: [Ryu-devel] [PATCH] of12: set default args for FlowMod

2013-08-26 Thread FUJITA Tomonori
On Tue, 27 Aug 2013 12:20:09 +0900 (JST) yamam...@valinux.co.jp (YAMAMOTO Takashi) wrote: >> Signed-off-by: FUJITA Tomonori >> --- >> ryu/ofproto/ofproto_v1_2_parser.py | 10 +++--- >> 1 file changed, 7 insertions(+), 3 deletions(-) >> >> diff --git a/ryu/ofproto/ofproto_v1_2_parser.py >>

Re: [Ryu-devel] [PATCH] of12: set default args for FlowMod

2013-08-26 Thread YAMAMOTO Takashi
> Signed-off-by: FUJITA Tomonori > --- > ryu/ofproto/ofproto_v1_2_parser.py | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/ryu/ofproto/ofproto_v1_2_parser.py > b/ryu/ofproto/ofproto_v1_2_parser.py > index 3ad700d..d1793af 100644 > --- a/ryu/ofproto/ofproto_v

Re: [Ryu-devel] [PATCH] fix of match from_jsondict mask bug

2013-08-26 Thread FUJITA Tomonori
On Tue, 27 Aug 2013 11:14:44 +0900 (JST) yamam...@valinux.co.jp (YAMAMOTO Takashi) wrote: >> Match's from_jsondict() requres 'mask' in JSON even if the match >> doesn't have 'mask'. > > looks fine to me, thanks. Applied, thanks. --

[Ryu-devel] [PATCH] of12: set default args for FlowMod

2013-08-26 Thread FUJITA Tomonori
Signed-off-by: FUJITA Tomonori --- ryu/ofproto/ofproto_v1_2_parser.py | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index 3ad700d..d1793af 100644 --- a/ryu/ofproto/ofproto_v1_2_parser.py +++

Re: [Ryu-devel] Network-Topology

2013-08-26 Thread YAMAMOTO Takashi
> Hi, > > I ask you for some help relating to the topology-modul of > Ryu. I wrote a simple app, which is supposed to give me > the complete topology of the network (a connected mininet > network), by listing all switches and links. The problem > is, that i have to use a trick to get all of th

Re: [Ryu-devel] [PATCH] fix of match from_jsondict mask bug

2013-08-26 Thread YAMAMOTO Takashi
> Match's from_jsondict() requres 'mask' in JSON even if the match > doesn't have 'mask'. looks fine to me, thanks. YAMAMOTO Takashi > > from_jsondict > in dict_['oxm_fields']] > File "/Users/fujita/git/ryu/ryu/ofproto/oxm_fields.py", line 230, in > from_jsondict > mask = tlv['mask'

[Ryu-devel] [PATCH v3] add LACP application

2013-08-26 Thread Yuichi Ito
Changes v2 -> v3: - use datapath.ports instead of LacpLib.src_port_to_mac - with the above, remove LacpLib.switch_features_handler this application provides the simple example of link aggregation using LACP. the module "lacplib" controls exchange of LACP packets and watches the status of the

Re: [Ryu-devel] [PATCH 00/35] make some OFP attributes visible to users

2013-08-26 Thread FUJITA Tomonori
On Tue, 20 Aug 2013 11:55:49 +0900 YAMAMOTO Takashi wrote: > this set makes some attributes of of-wire strucutures, including > "len", "length", "type", etc, accesible for users via json representations > and python OFP classes. > > many parts of this set are effectively undo of my previous chan

Re: [Ryu-devel] Ryu app and messaging

2013-08-26 Thread FUJITA Tomonori
Hi, On Mon, 26 Aug 2013 10:48:55 + Kobi Samoray wrote: > Working on an app which is based on RyuApp, I'm trying to receive events from > an external app (Java written). > I've tried implementing that using RabbitMQ as a messaging infrastructure, > using pika client. > I've spawned a thread

[Ryu-devel] [PATCH] fix of match from_jsondict mask bug

2013-08-26 Thread FUJITA Tomonori
Match's from_jsondict() requres 'mask' in JSON even if the match doesn't have 'mask'. from_jsondict in dict_['oxm_fields']] File "/Users/fujita/git/ryu/ryu/ofproto/oxm_fields.py", line 230, in from_jsondict mask = tlv['mask'] KeyError: 'mask' Signed-off-by: FUJITA Tomonori --- ryu/o

[Ryu-devel] NFS Professional Services - Repair Center

2013-08-26 Thread NFS Professional Services
Centro de Reparos NFS - Reparamos todas as marcas e modelos de equipamentos com tecnologias Wireless, VoIP, Network, Telecom, Cameras e Dispositivos de Seguranca. Atendemos a fabricantes, revendas, distribuidores, usuarios corporativos e usuarios finais. Equipamentos VoIP, ATAs, Gateways VoIP,

[Ryu-devel] Network-Topology

2013-08-26 Thread Christoph Brass
Hi, I ask you for some help relating to the topology-modul of Ryu. I wrote a simple app, which is supposed to give me the complete topology of the network (a connected mininet network), by listing all switches and links. The problem is, that i have to use a trick to get all of the links, by s

[Ryu-devel] Ryu app and messaging

2013-08-26 Thread Kobi Samoray
Hi, Working on an app which is based on RyuApp, I'm trying to receive events from an external app (Java written). I've tried implementing that using RabbitMQ as a messaging infrastructure, using pika client. I've spawned a thread from my __init__ and I consume my messages from that thread. When

Re: [Ryu-devel] [PATCH 00/19] remove trailing nul from some OF fixed length strings

2013-08-26 Thread FUJITA Tomonori
On Mon, 26 Aug 2013 15:34:24 +0900 YAMAMOTO Takashi wrote: > changes from the previous: > - adapt to the new way to annotate types of attributes. > > YAMAMOTO Takashi (19): > of10: make OFPDescStats more human readable > of12: make OFPDescStats more human readable > of12: update expected *