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

2016-01-12 Thread Satoshi KOBAYASHI
Hi Iwase-san, Thanks for your reply and good mention. On 2016/01/13 14:04 Yusuke Iwase wrote: > Hi Kobayashi-San, > > This UserWarning will occur with all RyuApps which access Datapath.ports > member. Yes. That's right. > > With this patch, UserWarning will be supressed in ryu.topology mod

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

2016-01-12 Thread Yusuke Iwase
Hi Kobayashi-San, This UserWarning will occur with all RyuApps which access Datapath.ports member. With this patch, UserWarning will be supressed in ryu.topology module, but it still occurs in other RyuApps (e.g. DPSet). Can we solve this problem fundamentally? (not by using UserWarning) Thanks

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

2016-01-12 Thread 俊 赵
Thank you. It works! Zhao Jun Date: Wed, 13 Jan 2016 10:50:13 +0900 From: [email protected] To: [email protected]; [email protected] Subject: Re: [Ryu-devel] /ryu/topology/switches.py:545: UserWarning: Datapath#ports Thank you. This is the patch. On 2016/01/13 10:34 俊 赵 w

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

2016-01-12 Thread Satoshi KOBAYASHI
Thank you.  This is the patch. On 2016/01/13 10:34 俊 赵 wrote: Thanks. I can try the patch. And I also provide you with the details but I am not sure whether it causes t

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

2016-01-12 Thread 俊 赵
Thanks. I can try the patch. And I also provide you with the details but I am not sure whether it causes this. I want to use ryu.topology to find switches entering in the network. I am using Open vSwitch 2.4.0. So I use the following code from ryu.topology import api as topo_api from ryu.topology

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] [PATCH] avoid oslo.config 3.1.0 and later for python2.6 support

2016-01-12 Thread FUJITA Tomonori
On Tue, 12 Jan 2016 11:09:42 +0900 IWAMOTO Toshihiro wrote: > At Fri, 8 Jan 2016 14:41:11 +, > Victor Orlikowski wrote: >> >> On Jan 8, 2016, at 7:29 AM, FUJITA Tomonori wrote: >> > >> > Had better to release 3.29.1 on pypi for OpenStack? > > Though I don't think the oslo.config version-c