Re: [Ryu-devel] [PATCH v2 2/4] BGPSpeaker: Fix unresolved references in Python3

2016-06-07 Thread fumihiko kakuma
Hi Iwase-san, On Wed, 8 Jun 2016 10:44:30 +0900 Iwase Yusuke wrote: > Hi Kakuma-San, > > On 2016年06月08日 10:15, fumihiko kakuma wrote: > > Hi Iwase-san, > > > > On Tue, 7 Jun 2016 16:33:46 +0900 > > Iwase Yusuke wrote: > > > > Yes, I think it's better. > But this statement takes

[Ryu-devel] [PATCH v4 0/4] BGPSpeaker: Support Per-Peer AS

2016-06-07 Thread IWASE Yusuke
For Ryu BGPSpeaker, the followings include the support of Per-Peer AS and the improvements for Python 3 environment. v2: For Iwamoto-San comments, the followings are fix to remove the unused utility modules of BGPSpeaker. v3: For Kakuma-San comments, patch 2/4 is updated to enforce the explicit r

[Ryu-devel] [PATCH v4 2/4] BGPSpeaker: Fix unresolved references in Python3

2016-06-07 Thread IWASE Yusuke
Additionally, this patch enforces the the explicit relative imports Reviewed-by: Fumihiko Kakuma Signed-off-by: IWASE Yusuke --- ryu/services/protocols/bgp/api/base.py | 4 ++- ryu/services/protocols/bgp/base.py | 12 .../protocols/bgp/core_managers/__init_

[Ryu-devel] [PATCH v4 3/4] BGPSpeaker: Remove unused utility modules

2016-06-07 Thread IWASE Yusuke
Reviewed-by: IWAMOTO Toshihiro Signed-off-by: IWASE Yusuke --- ryu/services/protocols/bgp/utils/internable.py | 106 - ryu/services/protocols/bgp/utils/logs.py | 36 - ryu/services/protocols/bgp/utils/other.py | 11 --- 3 files changed, 153 deletions(

[Ryu-devel] [PATCH v4 4/4] Python3: Explicit string type encoding

2016-06-07 Thread IWASE Yusuke
Reviewed-by: IWAMOTO Toshihiro Signed-off-by: IWASE Yusuke --- ryu/controller/controller.py | 2 -- ryu/services/protocols/bgp/speaker.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py index 4aea6bd..54fb

[Ryu-devel] [PATCH v4 1/4] BGPSpeaker: Support Per-Peer AS

2016-06-07 Thread IWASE Yusuke
This patch enables to override the AS number of BGPSpeaker instance by the "local_as" argument of BGPSpeaker.neighbor_add(). e.g.) speaker = BGPSpeaker(as_number=65001, # the default AS number router_id='10.0.0.1', ...) speaker.neighbor_add(addre

Re: [Ryu-devel] [PATCH v2 2/4] BGPSpeaker: Fix unresolved references in Python3

2016-06-07 Thread Iwase Yusuke
Hi Kakuma-San, On 2016年06月08日 10:15, fumihiko kakuma wrote: > Hi Iwase-san, > > On Tue, 7 Jun 2016 16:33:46 +0900 > Iwase Yusuke wrote: > Yes, I think it's better. But this statement takes effect only the module which is defined, so, in the other module without this statement,

Re: [Ryu-devel] [PATCH v2 2/4] BGPSpeaker: Fix unresolved references in Python3

2016-06-07 Thread fumihiko kakuma
Hi Iwase-san, On Tue, 7 Jun 2016 16:33:46 +0900 Iwase Yusuke wrote: > >> > >> Yes, I think it's better. > >> But this statement takes effect only the module which is defined, > >> so, in the other module without this statement, it has no effect. > >> > >> Does anyone know how to globally enforce

Re: [Ryu-devel] Ryu cbench

2016-06-07 Thread Iwase Yusuke
Hi, ryu/app/cbench.py is one of RyuApps, so you can execute it by using ryu-manager: e.g.) $ ryu-manager ryu/app/cbench.py Thanks, Iwase On 2016年06月07日 18:23, Randa Alani wrote: > > Dear all > > Please how can I use cbench.py to test ryu, could you please guide me. > > Kind regards, > > Randa

[Ryu-devel] Ryu cbench

2016-06-07 Thread Randa Alani
Dear all Please how can I use cbench.py to test ryu, could you please guide me. Kind regards, Randa -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Revea

Re: [Ryu-devel] construction of OpenFlow messages from Pcap

2016-06-07 Thread Iwase Yusuke
Hi, I made a simple pcap parse tool using pcaplib. For constructing OpenFlow message from pcap files, please refer to the following tool. $ cat display_pcap_data.py #!/usr/bin/env python import argparse import six from ryu.lib import pcaplib from ryu.lib.packet import packet from ryu.ofproto

Re: [Ryu-devel] [PATCH v2 2/4] BGPSpeaker: Fix unresolved references in Python3

2016-06-07 Thread Iwase Yusuke
Hi Kakuma-San, On 2016年06月07日 15:07, fumihiko kakuma wrote: > Hi Iwase-san, > > On Tue, 7 Jun 2016 09:35:27 +0900 > Iwase Yusuke wrote: > >> Hi Kakuma-San, >> >> Thank you for reviewing my patch. >> >> >> On 2016年06月07日 08:30, fumihiko kakuma wrote: >>> On Fri, 3 Jun 2016 13:20:05 +0900 >>> I