Re: [Ryu-devel] i386 failure in test_ofproto_parser.py

2016-02-15 Thread Satoshi KOBAYASHI
Hi Corey, > 2016/02/16 0:54、Corey Bryant > のメール: > > > > On Mon, Feb 15, 2016 at 2:13 AM, Minoru TAKAHASHI > mailto:takahashi.mino...@gmail.com>> wrote: > Hi, Corey > > On 2016年02月13日 07:17, Corey Bryant wrote: > > Hi, > > > > Has anyone come across this te

Re: [Ryu-devel] /ryu/topology/switches.py:545: UserWarning: Datapath#ports

2016-01-13 Thread Satoshi KOBAYASHI
May we add a treatment to ryu.controller.ofp_handler.OFPHandler? That is always an available application when OpenFlow is enabled in Ryu. This is just my humble idea. On 2016/01/13 14:39 Satoshi KOBAYASHI wrote: > Hi Iwase-san, > > Thanks for your reply and good mention. > > O

Re: [Ryu-devel] /ryu/topology/switches.py:545: UserWarning: Datapath#ports

2016-01-12 Thread Satoshi KOBAYASHI
that this isn't fundamental solution. If Datapath#ports is updated by EventOFPPortStatus, that is the right way. If there is a good idea, I'm happy. > > Thanks, > Iwase > > > On 2016年01月13日 10:50, Satoshi KOBAYASHI wrote: > > Thank you. This is the patch. > &

Re: [Ryu-devel] /ryu/topology/switches.py:545: UserWarning: Datapath#ports

2016-01-12 Thread Satoshi KOBAYASHI
ions and take corrective actions nowTroubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 ___Ryu-devel mailing listryu-de...@lists.sourceforge.net https://lists.

Re: [Ryu-devel] /ryu/topology/switches.py:545: UserWarning: Datapath#ports

2016-01-12 Thread Satoshi KOBAYASHI
Hi, The warning mean that Datapath#ports is not recommended to use directory. But the warning should not be appear in this case. Because perhaps you just use ryu.topology. I found out the code of the cause.  This should be suppress

Re: [Ryu-devel] help

2016-01-11 Thread Satoshi KOBAYASHI
Hi bentaleb, I'm not using PyCharm. But can you do this? https://www.mail-archive.com/ryu-devel%40lists.sourceforge.net/msg08519.html Regards, Satoshi > 2016/01/09 0:04、bentaleb abdelhak のメール: > > Hi,everybody; > I want to debug ryu app using pycharm. I have setup every things based on > 'htt

Re: [Ryu-devel] [PATCH] tox: disable wheel cache

2015-11-09 Thread Satoshi KOBAYASHI
On 2015/11/10 15:00 Satoshi KOBAYASHI wrote: > Recently, installed packages are cached by Wheel. It is serious when the > package is using 2to3 with setuptools (use_2to3) for adapting python3. > Because Wheel is caching the contents of translated. If the contents of > translate

[Ryu-devel] [PATCH] tox: disable wheel cache

2015-11-09 Thread Satoshi KOBAYASHI
ff-by: Satoshi KOBAYASHI --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 0574bea..60e5d70 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ envlist = py26,py27,py34,pep8 deps = -U -r{toxinidir}/tools/pip-requires -r{toxinidir}/tools/test-req

[Ryu-devel] [PATCH 3/6] python3: #func_name is renamed to __name__

2015-11-09 Thread Satoshi KOBAYASHI
Signed-off-by: Satoshi KOBAYASHI --- ryu/services/protocols/bgp/api/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/api/base.py b/ryu/services/protocols/bgp/api/base.py index aab5fd8..489e318 100644 --- a/ryu/services/protocols/bgp/api

[Ryu-devel] [PATCH 5/6] python3: itertools.ifilter() doesn't exist

2015-11-09 Thread Satoshi KOBAYASHI
Signed-off-by: Satoshi KOBAYASHI --- ryu/lib/ovs/vsctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/lib/ovs/vsctl.py b/ryu/lib/ovs/vsctl.py index 8142734..6881b78 100644 --- a/ryu/lib/ovs/vsctl.py +++ b/ryu/lib/ovs/vsctl.py @@ -124,7 +124,7 @@ def datum_from_string

[Ryu-devel] [PATCH 2/6] python3: import __future__ for just in case

2015-11-09 Thread Satoshi KOBAYASHI
Signed-off-by: Satoshi KOBAYASHI --- ryu/app/simple_switch_snort.py | 1 + ryu/cmd/of_config_cli.py | 2 ++ ryu/cmd/rpc_cli.py | 2 ++ ryu/lib/ovs/vsctl.py | 2 ++ ryu/lib/stringify.py

[Ryu-devel] [PATCH 4/6] python3: iter#next() doesn't exist

2015-11-09 Thread Satoshi KOBAYASHI
Signed-off-by: Satoshi KOBAYASHI --- ryu/lib/bfdlib.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ryu/lib/bfdlib.py b/ryu/lib/bfdlib.py index 4669692..c3e1973 100644 --- a/ryu/lib/bfdlib.py +++ b/ryu/lib/bfdlib.py @@ -567,17 +567,17 @@ class BFDPacket(object

[Ryu-devel] [PATCH 6/6] python3: implicit relative import was deprecated

2015-11-09 Thread Satoshi KOBAYASHI
Signed-off-by: Satoshi KOBAYASHI --- ryu/services/protocols/bgp/api/all.py | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ryu/services/protocols/bgp/api/all.py b/ryu/services/protocols/bgp/api/all.py index 2cde697..6ffe65c 100644 --- a/ryu/services/protocols

[Ryu-devel] [PATCH 1/6] python3: StandardError doesn't exist

2015-11-09 Thread Satoshi KOBAYASHI
Signed-off-by: Satoshi KOBAYASHI --- ryu/services/protocols/bgp/utils/dictconfig.py | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ryu/services/protocols/bgp/utils/dictconfig.py b/ryu/services/protocols/bgp/utils/dictconfig.py index d3a5650

Re: [Ryu-devel] Ryu Topology viewer question

2015-07-07 Thread Satoshi KOBAYASHI
Hi, 2015-07-08 4:10 GMT+09:00 Luisa Nevers : > Hello, > > I starting to use the ryu topology viewer and have some questions and > some feedback. > > 1. I am running the topology viewer with 50 DPIDs. Most of the DPIDs > are off the screen and there is no scrolling or resize to view them. See >

Re: [Ryu-devel] Hang for long while running app.

2015-07-07 Thread Satoshi KOBAYASHI
Probably, Ryu has been already running in other process. $ ps auxww | grep -i ryu You need to kill the process. $ sudo kill -KILL 2015-07-07 23:55 GMT+09:00 Gautam Pathak : > Hi I am trying to run the simple_switch.py. > as given in the tutorial I gave the following command: > > PYTHONPATH=.

Re: [Ryu-devel] [PATCH 2/7] python3: Use 'str' not b'str' for user test data

2015-06-30 Thread Satoshi KOBAYASHI
ryu/tests/unit/ofproto/test_oxs.py > > @@ -108,7 +108,7 @@ class Test_OXS(unittest.TestCase): > > self._test(user, on_wire, 4) > > > > def test_basic_unknown(self): > > -user = ('field_100', b'aG9nZWhvZ2U=') > > +

[Ryu-devel] [PATCH] python3: adapt @wsgi.route()

2015-06-25 Thread Satoshi KOBAYASHI
- Method in Python3 is obtained as a mere function from class attributes Signed-off-by: Satoshi KOBAYASHI --- ryu/app/wsgi.py | 10 +++--- ryu/tests/unit/app/test_wsgi.py | 16 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/ryu/app/wsgi.py b

Re: [Ryu-devel] Running two Ryu apps simultaneously

2015-06-23 Thread Satoshi KOBAYASHI
the case here. > Both my apps exist in the current directory from where I am executing the > ryu-manager. > Yet, only one of them gets instantiated. > Could someone cite two example scripts where apps are run simultaneously? > Also, Can Ryu read ScaPy packets? > > On Tue, Jun 2

Re: [Ryu-devel] Running two Ryu apps simultaneously

2015-06-23 Thread Satoshi KOBAYASHI
> Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > -- Satoshi KOBAYASHI -- Monitor 25 network devices or servers

Re: [Ryu-devel] [PATCH 3/5] python3: Fix starndard library imports

2015-06-21 Thread Satoshi KOBAYASHI
--- > a/ryu/services/protocols/bgp/operator/commands/show/route_formatter_mixin.py > +++ > b/ryu/services/protocols/bgp/operator/commands/show/route_formatter_mixin.py > @@ -1,4 +1,4 @@ > -import StringIO > +import io > > > class RouteFormatterMixin(o

Re: [Ryu-devel] Is Ryu compatible with Python 3?

2015-05-13 Thread Satoshi KOBAYASHI
ive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > ___ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://li

[Ryu-devel] [PATCH] Suppress warning

2015-04-29 Thread Satoshi Kobayashi
UserWarning is always shown when ryu.controller.dpset.DPset is loaded. It is noisy. Signed-off-by: Satoshi Kobayashi --- ryu/controller/dpset.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ryu/controller/dpset.py b/ryu/controller/dpset.py index 0d54fab..71aa24d

Re: [Ryu-devel] [PATCH 1/9] eventlet has already supported WebSocket(RFC6455) in stable releases (>= 0.15)

2015-04-16 Thread Satoshi KOBAYASHI
Ubuntu > 14.04 now. > Ubuntu 15.04 will update python-eventlet to version 0.16, though... > > Thanks, > Iwase > > On 2015年04月17日 10:34, Satoshi KOBAYASHI wrote: > > Unfortunately, No... I tried to check Ubuntu 14.04 now. > > > > vagrant@ubuntu1404:~$ cat /

Re: [Ryu-devel] [PATCH 1/9] eventlet has already supported WebSocket(RFC6455) in stable releases (>= 0.15)

2015-04-16 Thread Satoshi KOBAYASHI
on: 0.13.0-1ubuntu2 2015-04-17 7:51 GMT+09:00 FUJITA Tomonori : > Thanks! I've applied #2-8. 0.15 or the newer is already shipped with > major distributions like Ubuntu? If not, I tend to postpone this. > > On Tue, 14 Apr 2015 13:18:17 +0900 > Satoshi Kobayashi wrote: > >

Re: [Ryu-devel] How to translate the output of switch test tool into HTML

2015-04-13 Thread Satoshi KOBAYASHI
> -- > Hisaharu Ishii > > > > On 2015年04月02日 19:11, Satoshi KOBAYASHI wrote: > >> Hi Ishii-san, >> >> I see. Although test tool is really really great even now, If we can we >> get >> the readable results, I think it will be more convenien

[Ryu-devel] [PATCH 2/9] 'long' has been deprecated in Python 3

2015-04-13 Thread Satoshi Kobayashi
Signed-off-by: Satoshi Kobayashi --- ryu/tests/unit/lib/test_rpc.py | 3 ++- ryu/tests/unit/packet/test_packet.py | 10 ++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ryu/tests/unit/lib/test_rpc.py b/ryu/tests/unit/lib/test_rpc.py index d56ef84..405fbbc 100644

[Ryu-devel] [PATCH 6/9] 'string.upper' and 'string.lower' has been deprecated in Python 3

2015-04-13 Thread Satoshi Kobayashi
Signed-off-by: Satoshi Kobayashi --- ryu/tests/unit/lib/test_stringify.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ryu/tests/unit/lib/test_stringify.py b/ryu/tests/unit/lib/test_stringify.py index 4b47fd2..da78414 100644 --- a/ryu/tests/unit/lib/test_stringify.py

[Ryu-devel] [PATCH 1/9] eventlet has already supported WebSocket(RFC6455) in stable releases (>= 0.15)

2015-04-13 Thread Satoshi Kobayashi
Signed-off-by: Satoshi Kobayashi --- ryu/app/wsgi.py| 12 +- ryu/contrib/_eventlet/__init__.py | 0 ryu/contrib/_eventlet/websocket.py | 656 - ryu/lib/hub.py | 2 +- tools/pip-requires | 2 +- 5

[Ryu-devel] [PATCH 3/9] 'reduce' has been renamed to 'functools.reduce' in Python 3

2015-04-13 Thread Satoshi Kobayashi
Signed-off-by: Satoshi Kobayashi --- ryu/lib/packet/bgp.py | 7 +++ ryu/lib/packet/ospf.py | 7 +++ 2 files changed, 14 insertions(+) diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py index 84de1e1..0314748 100644 --- a/ryu/lib/packet/bgp.py +++ b/ryu/lib/packet/bgp.py

[Ryu-devel] [PATCH 8/9] 'reload' has been renamed to 'imp.reload' in Python 3

2015-04-13 Thread Satoshi Kobayashi
Signed-off-by: Satoshi Kobayashi --- ryu/tests/unit/cmd/test_manager.py | 7 +++ ryu/tests/unit/ofproto/test_ofproto.py | 7 +++ 2 files changed, 14 insertions(+) diff --git a/ryu/tests/unit/cmd/test_manager.py b/ryu/tests/unit/cmd/test_manager.py index 84c67c2..0f8fb62 100644

[Ryu-devel] [PATCH 4/9] 'izip' has been deprecated in Python 3

2015-04-13 Thread Satoshi Kobayashi
Signed-off-by: Satoshi Kobayashi --- ryu/tests/unit/ofproto/test_parser_ofpmatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_ofpmatch.py b/ryu/tests/unit/ofproto/test_parser_ofpmatch.py index 8400e1b..2436b93 100644 --- a/ryu

[Ryu-devel] [PATCH 5/9] 'map' returns iterator like object with Python 3

2015-04-13 Thread Satoshi Kobayashi
Signed-off-by: Satoshi Kobayashi --- ryu/lib/packet/vrrp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/lib/packet/vrrp.py b/ryu/lib/packet/vrrp.py index cca5690..699efa0 100644 --- a/ryu/lib/packet/vrrp.py +++ b/ryu/lib/packet/vrrp.py @@ -275,12 +275,12 @@ class

[Ryu-devel] [PATCH 9/9] str to bytes

2015-04-13 Thread Satoshi Kobayashi
Signed-off-by: Satoshi Kobayashi --- ryu/tests/unit/lib/test_addrconv.py | 20 ++-- ryu/tests/unit/lib/test_mac.py | 2 +- ryu/tests/unit/ofproto/test_oxm.py | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ryu/tests/unit/lib/test_addrconv.py b

[Ryu-devel] [PATCH 7/9] Integers between '/' operation become float in Python 3

2015-04-13 Thread Satoshi Kobayashi
Signed-off-by: Satoshi Kobayashi --- ryu/lib/type_desc.py | 2 +- ryu/ofproto/nx_actions.py| 4 ++-- ryu/ofproto/oxm_fields.py| 2 +- ryu/tests/unit/packet/test_icmpv6.py | 28 ++-- 4 files changed, 18 insertions(+), 18 deletions

Re: [Ryu-devel] [PATCH 1/7] '__div__' is renamed to '__truediv__' in Python 3

2015-04-13 Thread Satoshi KOBAYASHI
2015-04-14 5:43 GMT+09:00 FUJITA Tomonori : > Applied #1, 3, 4, 5, and 6 patches. > > #2 is for contiributed code as Yamamoto pointed out. > #7 breaks the unittests? > Sorry for the trouble. I'll rewrite the two patches. > > Thanks! > > On Mon, 13 Apr 2015 16

Re: [Ryu-devel] [PATCH 7/7] 'long' has been deprecated in Python 3

2015-04-13 Thread Satoshi KOBAYASHI
Oops ... this patch breaks unittest. 2015-04-13 16:32 GMT+09:00 Satoshi Kobayashi : > --- > ryu/tests/unit/lib/test_rpc.py | 4 > ryu/tests/unit/packet/test_packet.py | 4 > 2 files changed, 8 insertions(+) > > diff --git a/ryu/tests/unit/lib/test_rpc.py >

Re: [Ryu-devel] [PATCH 2/2] 'range' returns iterator like object in Python 3

2015-04-13 Thread Satoshi KOBAYASHI
actices with Bonita BPM through live > exercises > > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > > ___ > > Ry

[Ryu-devel] [PATCH 6/7] 'reduce' has been renamed to 'functools.reduce' in Python 3

2015-04-13 Thread Satoshi Kobayashi
--- ryu/tests/unit/ofproto/test_parser_ofpmatch.py | 7 +++ 1 file changed, 7 insertions(+) diff --git a/ryu/tests/unit/ofproto/test_parser_ofpmatch.py b/ryu/tests/unit/ofproto/test_parser_ofpmatch.py index d801f8a..8400e1b 100644 --- a/ryu/tests/unit/ofproto/test_parser_ofpmatch.py +++ b/ry

[Ryu-devel] [PATCH 1/7] '__div__' is renamed to '__truediv__' in Python 3

2015-04-13 Thread Satoshi Kobayashi
--- ryu/lib/packet/packet.py | 4 1 file changed, 4 insertions(+) diff --git a/ryu/lib/packet/packet.py b/ryu/lib/packet/packet.py index 2042dd7..e25db3d 100644 --- a/ryu/lib/packet/packet.py +++ b/ryu/lib/packet/packet.py @@ -109,6 +109,9 @@ class Packet(object): self.add_protocol(

[Ryu-devel] [PATCH 2/7] 'range' returns iterator like object in Python 3

2015-04-13 Thread Satoshi Kobayashi
--- ryu/contrib/_eventlet/websocket.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ryu/contrib/_eventlet/websocket.py b/ryu/contrib/_eventlet/websocket.py index 4a07c8d..b18df66 100644 --- a/ryu/contrib/_eventlet/websocket.py +++ b/ryu/contrib/_eventlet/websocket.p

[Ryu-devel] [PATCH 3/7] 'ConfigParser' is renamed to 'configparser' in Python 3

2015-04-13 Thread Satoshi Kobayashi
--- ryu/log.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ryu/log.py b/ryu/log.py index de2b31c..d6abf5a 100644 --- a/ryu/log.py +++ b/ryu/log.py @@ -23,7 +23,11 @@ import logging.config import logging.handlers import os import sys -import ConfigParser + +try: +

[Ryu-devel] [PATCH 7/7] 'long' has been deprecated in Python 3

2015-04-13 Thread Satoshi Kobayashi
--- ryu/tests/unit/lib/test_rpc.py | 4 ryu/tests/unit/packet/test_packet.py | 4 2 files changed, 8 insertions(+) diff --git a/ryu/tests/unit/lib/test_rpc.py b/ryu/tests/unit/lib/test_rpc.py index d56ef84..8274f2f 100644 --- a/ryu/tests/unit/lib/test_rpc.py +++ b/ryu/tests/unit/l

[Ryu-devel] [PATCH 5/7] 'sys.maxint' has been deprecated in Python 3

2015-04-13 Thread Satoshi Kobayashi
--- ryu/tests/unit/lib/test_rpc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ryu/tests/unit/lib/test_rpc.py b/ryu/tests/unit/lib/test_rpc.py index 2c43521..d56ef84 100644 --- a/ryu/tests/unit/lib/test_rpc.py +++ b/ryu/tests/unit/lib/test_rpc.py @@ -16,11 +16,11 @@

[Ryu-devel] [PATCH 4/7] 'itertools.izip()' has been deprecated in Python 3

2015-04-13 Thread Satoshi Kobayashi
--- ryu/lib/mac.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ryu/lib/mac.py b/ryu/lib/mac.py index d7ec7d9..cff244f 100644 --- a/ryu/lib/mac.py +++ b/ryu/lib/mac.py @@ -16,8 +16,6 @@ from ryu.lib import addrconv -import itertools - # string representation HADDR_

Re: [Ryu-devel] [PATCH 1/2] '__div__' is renamed to '__truediv__' in Python 3

2015-04-12 Thread Satoshi KOBAYASHI
Oops, I found careless miss. I'll retransmit. 2015-04-13 12:41 GMT+09:00 Satoshi Kobayashi : > --- > ryu/lib/packet/packet.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/ryu/lib/packet/packet.py b/ryu/lib/packet/packet.py > index 2042dd7..65ad781 100644

[Ryu-devel] [PATCH 2/2] 'range' returns iterator like object in Python 3

2015-04-12 Thread Satoshi Kobayashi
--- ryu/contrib/_eventlet/websocket.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ryu/contrib/_eventlet/websocket.py b/ryu/contrib/_eventlet/websocket.py index 4a07c8d..b18df66 100644 --- a/ryu/contrib/_eventlet/websocket.py +++ b/ryu/contrib/_eventlet/websocket.p

[Ryu-devel] [PATCH 1/2] '__div__' is renamed to '__truediv__' in Python 3

2015-04-12 Thread Satoshi Kobayashi
--- ryu/lib/packet/packet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ryu/lib/packet/packet.py b/ryu/lib/packet/packet.py index 2042dd7..65ad781 100644 --- a/ryu/lib/packet/packet.py +++ b/ryu/lib/packet/packet.py @@ -143,3 +143,4 @@ def _PacketBase__div__(self, trailer): return pk

Re: [Ryu-devel] download a previous version of Ryu controller

2015-04-12 Thread Satoshi KOBAYASHI
Hi Juan, You can download from the followings. https://github.com/osrg/ryu/releases https://github.com/osrg/ryu/archive/v3.17.tar.gz https://pypi.python.org/simple/ryu/ https://pypi.python.org/packages/source/r/ryu/ryu-3.17.tar.gz And there is also a method using pip. # pip install ryu==3.17

[Ryu-devel] [PATCH] Syntax level compatibility with Python 3

2015-04-06 Thread Satoshi Kobayashi
-off-by: Satoshi Kobayashi --- ryu/app/bmpstation.py | 2 +- ryu/app/rest_firewall.py | 14 +-- ryu/app/rest_qos.py| 8 +- ryu/app/simple_switch_snort.py | 4 +- ryu/cmd

[Ryu-devel] [PATCH] Show warning when Datapath#ports is read

2015-04-05 Thread Satoshi Kobayashi
ons (>= 1.3) is friendly. Signed-off-by: Satoshi Kobayashi --- ryu/controller/controller.py | 22 +++- ryu/controller/ofp_handler.py| 7 ++- ryu/tests/unit/controller/__init__.py| 0 ryu/tests/unit/controller/test_controller.p

Re: [Ryu-devel] Port management issue

2015-04-02 Thread Satoshi KOBAYASHI
2015-04-03 13:40 GMT+09:00 YAMAMOTO Takashi : > hi, > > > Hi YAMAMOTO-san, > > > > 2015-04-03 12:17 GMT+09:00 YAMAMOTO Takashi : > > > >> hi, > >> > >> > Hi folks, > >> > > >> > I noticed that the change of state of the ports by EventOFPPortStatus > are > >> > not reflected in Datapath object. Ple

Re: [Ryu-devel] Port management issue

2015-04-02 Thread Satoshi KOBAYASHI
Hi YAMAMOTO-san, 2015-04-03 12:17 GMT+09:00 YAMAMOTO Takashi : > hi, > > > Hi folks, > > > > I noticed that the change of state of the ports by EventOFPPortStatus are > > not reflected in Datapath object. Please refer to the attachment of the > > script. For example, the following is the result o

Re: [Ryu-devel] How to translate the output of switch test tool into HTML

2015-04-02 Thread Satoshi KOBAYASHI
xt from a test result log > and push it to github. > It contains many hard-coded settings, so not be included in the Ryu > repository. > > Thanks, > -- > Hisaharu Ishii > > > On 2015年04月02日 17:24, Satoshi KOBAYASHI wrote: > > Hi folks, > > > > I have b

[Ryu-devel] How to translate the output of switch test tool into HTML

2015-04-02 Thread Satoshi KOBAYASHI
Hi folks, I have been trying switch test tool and got a result of the plain text file. But it seems that a result of the page of Ryu Certification is formatted into HTML. I would like to translate, but how is that performed? Thanks, Satoshi

[Ryu-devel] Port management issue

2015-04-01 Thread Satoshi KOBAYASHI
Hi folks, I noticed that the change of state of the ports by EventOFPPortStatus are not reflected in Datapath object. Please refer to the attachment of the script. For example, the following is the result of running the script. --8<--8<-- ...(snip)... EVENT switches->PortS

Re: [Ryu-devel] Issue of config file

2015-03-11 Thread Satoshi KOBAYASHI
> > sorry for the lack of heads-up. > Please don't worry about it. This issue is probably a rare case. > > > > > 2015-03-11 17:33 GMT+09:00 Satoshi KOBAYASHI < > satosh...@stratosphere.co.jp>: > > > >> Hi folks, > >> > >> I n

Re: [Ryu-devel] Issue of config file

2015-03-11 Thread Satoshi KOBAYASHI
p.s. If the option is abolished since 3.19, I don't mind. But, I thought the information which loses the backward compatibility should be advertised widely, so I posted. 2015-03-11 17:33 GMT+09:00 Satoshi KOBAYASHI : > Hi folks, > > I noticed that Ryu has issue of config file.

[Ryu-devel] Issue of config file

2015-03-11 Thread Satoshi KOBAYASHI
Hi folks, I noticed that Ryu has issue of config file. The following option 'C' no longer works. https://github.com/osrg/ryu/blob/305e41f47bf5e51ad5ade1ec1590c965586ed10a/ryu/cfg.py#L21-23 Because: 3.18 or before: ryu.cfg.CONF == oslo.config.cfg.CONF 3.19 ryu.cfg.CONF != oslo.config.cfg.CONF If

Re: [Ryu-devel] [ryu-devel] adding flow by matching ipv4 destination

2015-03-10 Thread Satoshi KOBAYASHI
e and destination ip address of the packet, please let me know. > As far as I see, the code has no problem. Does the packet have IPv4 header? (For example, ARP has no IPv4 header) > > Thanking you > sakib > > > On Tuesday, 10 March 2015, 11:41, Satoshi KOBAYASHI < > s

Re: [Ryu-devel] [ryu-devel] adding flow by matching ipv4 destination

2015-03-09 Thread Satoshi KOBAYASHI
ia, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _____

Re: [Ryu-devel] Ryu threading

2015-03-09 Thread Satoshi KOBAYASHI
the > conversation now. http://goparallel.sourceforge.net/ > ___ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > -- Satoshi KOBAYASHI -

Re: [Ryu-devel] Debug ryu app code

2015-03-09 Thread Satoshi KOBAYASHI
thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______ &

Re: [Ryu-devel] Support to pypy

2015-02-01 Thread Satoshi KOBAYASHI
Hi yimeng, If I remember correctly, about one year before. Thanks, Satoshi 2015-01-31 1:44 GMT+09:00 yimeng zhao : > Hi Satoshi, > > Do you remember which version you used? Or how long before now? > > Thanks > > > 2015-01-29 2:57 GMT+01:00 Satoshi KOBAYASHI > : >

Re: [Ryu-devel] Support to pypy

2015-01-28 Thread Satoshi KOBAYASHI
times than CPython. But I don't know whether it's also so now. > > 2015-01-28 2:25 GMT+01:00 Satoshi KOBAYASHI > : > >> Hi yimeng, >> >> 2015-01-28 1:08 GMT+09:00 yimeng zhao : >> >>> Hi, >>> >>> Can RYU run by pypy now?

Re: [Ryu-devel] Support to pypy

2015-01-27 Thread Satoshi KOBAYASHI
re. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > ___ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.

[Ryu-devel] [PATCH] ryu-manager: add --enable-debugger option

2015-01-26 Thread Satoshi Kobayashi
From: Satoshi Kobayashi Eventlet's monkey patch overwrite Python standard threading library by default. It affects to Python debugger working. This will be often an issue for the user of Python debugger. Therefore, it's necessary to add the option which doesn't overwrite

Re: [Ryu-devel] I cannot debug ryu code

2015-01-26 Thread Satoshi KOBAYASHI
l.sourceforge.net/ > _______ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > -- Satoshi KOBAYASHI -- D

Re: [Ryu-devel] [Ruy-devel] Issue about ryu in measuring the end-to-end bandwidth

2014-12-03 Thread Satoshi KOBAYASHI
ions, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > ___ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > --

Re: [Ryu-devel] [Ruy-devel] Issue about ryu in measuring the end-to-end bandwidth

2014-12-03 Thread Satoshi KOBAYASHI
And also TCP throughput binds to RTT. Generally, RTT is proportional to the number of the network devices (it's ovs here) used for transmission. 2014-12-04 13:38 GMT+09:00 Satoshi KOBAYASHI : > Hi, > > The bandwidth of that situation is provided by Mininet (Probably, > implement

Re: [Ryu-devel] [ryu-dev] creating my first application

2014-11-30 Thread Satoshi KOBAYASHI
Hi Gautam, You don't have to input '%' with ryu-manager. ryu-manager ~/l2.py And two lines which continue are output by ryu-manager. IOW, you don't have to input the lines. Regards, Satoshi 2014-12-01 12:57 GMT+09:00 Gautam Pathak : > I am getting the following errors: > > mininet@mininet-Vir

Re: [Ryu-devel] Logs are printed twice

2014-11-30 Thread Satoshi KOBAYASHI
2014-11-30 22:36 GMT+09:00 FUJITA Tomonori : > On Fri, 28 Nov 2014 16:14:30 -0500 > Aravindhan Dhanasekaran wrote: > > > Hello, > > > > I'm new to Python/Ryu and I've a question regarding printing logs in Ryu > (more > > of Python, actually). > > > > I followed some existing Ryu examples and Pyth

Re: [Ryu-devel] Where is the log saved in ryu?

2014-11-27 Thread Satoshi KOBAYASHI
Hi Yafeng, Ryu's log messages are only written to stdout by the default. You need to use ryu-manager option. e.g.) $ ryu-manager --log-file=ryu.log You can check for more details by following command. $ ryu-manager -h Thanks, Satoshi 2014-11-28 1:09 GMT+09:00 Yafeng Zhou : > Hi all, > > I a

[Ryu-devel] [PATCH] ofp_pktinfilter: add 'logging' option

2014-09-10 Thread Satoshi Kobayashi
When packet_in_filter discards a packet, it is always logging. However, it may be felt noisy. Signed-off-by: Satoshi Kobayashi --- ryu/lib/ofp_pktinfilter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ryu/lib/ofp_pktinfilter.py b/ryu/lib/ofp_pktinfilter.py index

Re: [Ryu-devel] [PATCH] bgp: should not use dict comprehension

2014-09-01 Thread Satoshi KOBAYASHI
2014-09-01 15:24 GMT+09:00 FUJITA Tomonori : > On Mon, 1 Sep 2014 11:41:03 +0900 > Satoshi Kobayashi wrote: > > > Dict Comprehension is available in Python 2.7+ but Ryu should work > > with Python2.6. Currently, It will become syntax error when we try to > > operate

[Ryu-devel] [PATCH] ws_topology: bugfix an event is dropped

2014-08-31 Thread Satoshi Kobayashi
When SocketError occurs, an event may not be notified to an other client. It is because rpc_clients is changed in the loop. Signed-off-by: Satoshi Kobayashi --- ryu/app/ws_topology.py | 9 -- ryu/tests/unit/app/test_ws_topology.py | 54 ++ 2

[Ryu-devel] [PATCH] bgp: should not use dict comprehension

2014-08-31 Thread Satoshi Kobayashi
Dict Comprehension is available in Python 2.7+ but Ryu should work with Python2.6. Currently, It will become syntax error when we try to operate BGP of Ryu on the platform of Python2.6. Signed-off-by: Satoshi Kobayashi --- ryu/services/protocols/bgp/operator/command.py| 5

Re: [Ryu-devel] bug report for Ryu-bgp

2014-07-29 Thread Satoshi KOBAYASHI
Hi ISHIDA-san, FYI. If it is a situation as an error message, the socket is read from multiple green-threads. If that is right, it is not a bug of Eventlet but a issue of a design of multithread. Thanks, Satoshi 2014-07-29 17:54 GMT+09:00 ISHIDA Wataru : > Hi, > > Oh, I'm sorry. I haven't teste

[Ryu-devel] [PATCH] ws_topology: fix typo

2014-07-16 Thread Satoshi Kobayashi
No spec change. The issue occurs at the time of "one_way=True" Signed-off-by: Satoshi Kobayashi --- ryu/app/ws_topology.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ryu/app/ws_topology.py b/ryu/app/ws_topology.py index 3be88fe..1d5fb82 100644 ---

Re: [Ryu-devel] Understanding Events in RYU

2014-07-09 Thread Satoshi KOBAYASHI
___ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > -- Satoshi KOBAYASHI -- Open source business process managemen

Re: [Ryu-devel] Question about Ryu and Physical switch

2014-07-08 Thread Satoshi KOBAYASHI
gt; Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > ___ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sour

Re: [Ryu-devel] [PATCH 1/2] ofctl_rest: support Port Modification Message

2014-07-07 Thread Satoshi KOBAYASHI
2014-07-08 11:31 GMT+09:00 takahashi.minoru : > Hi Kobayashi-san > > Thanks for the comment. > > On Mon, 7 Jul 2014 14:00:30 +0900 > Satoshi KOBAYASHI wrote: > > Hi Takahashi-san, > > > > In the case of such API, PUT should be used. Please refer to "R

Re: [Ryu-devel] [PATCH 1/2] ofctl_rest: support Port Modification Message

2014-07-06 Thread Satoshi KOBAYASHI
nfig.get('hw_addr') > +config = int(port_config.get('config', 0)) > +mask = int(port_config.get('mask', 0)) > +advertise = int(port_config.get('advertise')) > + > +port_mod = dp.ofproto_parser.OFPPortMod( > +dp, port_no, hw_addr, config, mask, adverti

Re: [Ryu-devel] [PATCH 0/3] Add GUI support

2014-06-16 Thread Satoshi KOBAYASHI
Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > ___ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > -- Satoshi KOBAYASHI ---

[Ryu-devel] [PATCH] wsgi: add ws_topology application

2014-05-22 Thread Satoshi Kobayashi
- Topology change is notified - JSON-RPC/WebSocket Signed-off-by: Satoshi Kobayashi --- ryu/app/ws_topology.py | 105 ryu/app/wsgi.py| 34 +++- 2 files changed, 138 insertions(+), 1 deletions(-) create mode 100644 ryu

[Ryu-devel] [PATCH] rest_topology: use decorator api

2014-05-21 Thread Satoshi Kobayashi
Signed-off-by: Satoshi Kobayashi --- ryu/app/rest_topology.py | 74 +- 1 files changed, 34 insertions(+), 40 deletions(-) diff --git a/ryu/app/rest_topology.py b/ryu/app/rest_topology.py index 82a1755..5eed243 100644 --- a/ryu/app/rest_topology.py

Re: [Ryu-devel] [PATCH 4/4] Add PacketIn dumper websocket application

2014-05-18 Thread Satoshi Kobayashi
2014-05-16 5:21 GMT+09:00 FUJITA Tomonori : > On Thu, 15 May 2014 13:30:53 +0900 > Satoshi Kobayashi wrote: > > > > >> +class SimpleSwitchWebSocketController(ControllerBase): > > > >> +def __init__(self, req, link, data, **config): > > > &

Re: [Ryu-devel] [PATCH 4/4] Add PacketIn dumper websocket application

2014-05-15 Thread Satoshi Kobayashi
2014-05-16 5:21 GMT+09:00 FUJITA Tomonori : > On Thu, 15 May 2014 13:30:53 +0900 > Satoshi Kobayashi wrote: > > > > >> +class SimpleSwitchWebSocketController(ControllerBase): > > > >> +def __init__(self, req, link, data, **config): > > > &

Re: [Ryu-devel] [PATCH 4/4] Add PacketIn dumper websocket application

2014-05-14 Thread Satoshi Kobayashi
2014-05-15 11:49 GMT+09:00 YAMADA Hideki : > Hi Kobayashi-san, > Thank you for review. > > (2014/05/15 11:20), Satoshi Kobayashi wrote: > > Hi YAMADA-san, > > > > 2014-05-14 19:11 GMT+09:00 YAMADA Hideki : > > > >> > >>

Re: [Ryu-devel] [PATCH 4/4] Add PacketIn dumper websocket application

2014-05-14 Thread Satoshi Kobayashi
Hi YAMADA-san, 2014-05-14 19:11 GMT+09:00 YAMADA Hideki : > > Signed-off-by: YAMADA Hideki > --- > ryu/app/simple_switch_websocket_13.py | 91 > + > 1 file changed, 91 insertions(+) > create mode 100644 ryu/app/simple_switch_websocket_13.py > > diff --git a/ry

[Ryu-devel] [PATCH] ofctl_v1_2: Fix unsuitable log

2014-03-14 Thread Satoshi Kobayashi
When using type 'ALL', the log unsuitable is outputted: Unknown type: ALL Signed-off-by: Satoshi Kobayashi --- ryu/lib/ofctl_v1_2.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ryu/lib/ofctl_v1_2.py b/ryu/lib/ofctl_v1_2.py index 273b387..c86148c 100644

Re: [Ryu-devel] [PATCH] ofctl_v1_3: Fix unsuitable log

2014-03-14 Thread Satoshi Kobayashi
2014-03-14 11:27 GMT+09:00 YAMAMOTO Takashi : > > ofproto_v1_3.OFPGT_ALL is 0 and 0 is False on Python. When using type > 'ALL', the following is set to True. > > > > if not type_: > > LOG.debug('Unknown type: %s', group.get('type')) > > > > Therefore, the log unsuitable is outputted: > > Unkn

[Ryu-devel] [PATCH] ofctl_v1_3: Fix unsuitable log

2014-03-13 Thread Satoshi Kobayashi
ofproto_v1_3.OFPGT_ALL is 0 and 0 is False on Python. When using type 'ALL', the following is set to True. if not type_: LOG.debug('Unknown type: %s', group.get('type')) Therefore, the log unsuitable is outputted: Unknown type: ALL Signed-off-by: Satoshi Koba

Re: [Ryu-devel] How to customize logging format in ryu apps?

2014-03-02 Thread Satoshi Kobayashi
wn dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > ___ > Ryu-devel mailing list

Re: [Ryu-devel] Ryu Running problem

2014-02-23 Thread Satoshi Kobayashi
the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > _______ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists

Re: [Ryu-devel] Proposal: High layer RPC API

2014-02-19 Thread Satoshi Kobayashi
2014-02-19 21:20 GMT+09:00 FUJITA Tomonori : > On Tue, 18 Feb 2014 10:29:53 +0900 > Satoshi Kobayashi wrote: > > > If it is only using WebSocket, I think that Gevent is good. Is using > Gevent > > and Eventlet together safe? > > Jeremias pointed out to me that we

Re: [Ryu-devel] Proposal: High layer RPC API

2014-02-17 Thread Satoshi Kobayashi
gt; (or was?) used for the RASP API of Ryu. > https://pypi.python.org/pypi/gevent-websocket/ > > > > 2014-02-13 3:54 GMT+01:00 Satoshi Kobayashi > : > >> 2014-02-13 8:23 GMT+09:00 FUJITA Tomonori >> : >> >> Hi, >>> >>> On Wed, 12 Feb

Re: [Ryu-devel] Proposal: High layer RPC API

2014-02-12 Thread Satoshi Kobayashi
2014-02-13 8:23 GMT+09:00 FUJITA Tomonori : > Hi, > > On Wed, 12 Feb 2014 12:52:36 +0900 > Satoshi Kobayashi wrote: > > > If Raw TCP is changed to WebSocket only, It do not have many merits. But > > when messaging is also changed to non-binary (JSON?), it seems

Re: [Ryu-devel] Switch Connection Up Event

2014-02-11 Thread Satoshi Kobayashi
______ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > -- Satoshi Kobayashi -- Android apps run on BlackBerry 1

Re: [Ryu-devel] Proposal: High layer RPC API

2014-02-11 Thread Satoshi Kobayashi
2014-02-12 12:22 GMT+09:00 YAMAMOTO Takashi : > > On Wed, 12 Feb 2014 10:28:50 +0900 > > Satoshi Kobayashi wrote: > > > >> I tried RPC API on Ryu3.6. The sample of VRRP was very helpful for me. > >> Thanks a lot! And I would like to feedback the noticed poi

  1   2   >