Re: [Ryu-devel] [PATCH 1/1] Move ryu/tests/integrated/common to ryu/lib/docker

2017-07-12 Thread fumihiko kakuma
On Thu, 13 Jul 2017 13:15:46 +0900 Takashi YAMAMOTO wrote: > On Thu, Jul 13, 2017 at 10:00 AM, fumihiko kakuma > wrote: > > > On Thu, 13 Jul 2017 09:15:25 +0900 > > Takashi YAMAMOTO wrote: > > > > > On Thu, Jul 13, 2017 at 7:04 AM, fumihiko kakuma > &

Re: [Ryu-devel] [PATCH 1/1] Move ryu/tests/integrated/common to ryu/lib/docker

2017-07-12 Thread fumihiko kakuma
On Thu, 13 Jul 2017 09:15:25 +0900 Takashi YAMAMOTO wrote: > On Thu, Jul 13, 2017 at 7:04 AM, fumihiko kakuma > wrote: > > > Hi Yamamoto-San, > > > > On Wed, 12 Jul 2017 23:43:25 +0900 > > Takashi YAMAMOTO wrote: > > > > > this breaks openstac

Re: [Ryu-devel] [PATCH 1/1] Move ryu/tests/integrated/common to ryu/lib/docker

2017-07-12 Thread fumihiko kakuma
-dynamic-routing. Thanks, Kakuma > > On Mon, Jul 10, 2017 at 12:51 PM, fumihiko kakuma > wrote: > > > This patch requires the v2 patch of Iwase-San. > > > > Signed-off-by: Fumihiko Kakuma > > --- > > .travis.yml

Re: [Ryu-devel] [PATCH] tests: Separate test files from Ryu module

2017-07-09 Thread fumihiko kakuma
going to push a modfied patch to neutron-dynamic-routing. Thank you, Kakuma On Mon, 10 Jul 2017 09:11:03 +0900 Iwase Yusuke wrote: > Hi Kakuma-San, > > Sorry for the delay. > > > On 2017年07月06日 21:58, fumihiko kakuma wrote: > > Hi Iwase-San, > >> I have one qu

[Ryu-devel] [PATCH 1/1] Move ryu/tests/integrated/common to ryu/lib/docker

2017-07-09 Thread fumihiko kakuma
This patch requires the v2 patch of Iwase-San. Signed-off-by: Fumihiko Kakuma --- .travis.yml| 2 +- ryu/lib/docker/__init__.py | 0 ryu/lib/docker/docker_base.py | 801 + ryu/lib/docker

Re: [Ryu-devel] [PATCH] tests: Separate test files from Ryu module

2017-07-06 Thread fumihiko kakuma
Hi Iwase-San, I have one question for your patch. Why do you not move ryu/tests/switch as well? I guess that is because it is rferenced in the ryu-book. Or do you have an another reason? Thank you, Kakuma On Mon, 03 Jul 2017 08:53:39 +0900 fumihiko kakuma wrote: > Hi Iwase-San, > >

Re: [Ryu-devel] [PATCH] tests: Separate test files from Ryu module

2017-07-02 Thread fumihiko kakuma
you review my v2 patch? > > Thanks, > Iwase > > > On 2017年06月30日 22:04, fumihiko kakuma wrote: > > Hi Iwase-San, > > > > Sorry, I had overlooked. > > Could you include script files to this patch too? > > >

Re: [Ryu-devel] [PATCH] tests: Separate test files from Ryu module

2017-06-30 Thread fumihiko kakuma
Hi Iwase-San, Sorry, I had overlooked. Could you include script files to this patch too? $ ls -1 tests/integrated/common/ install_docker_test_pkg_common.sh install_docker_test_pkg_for_travis.sh install_docker_test_pkg.sh $ Thanks, Kakuma On Fri, 30 Jun 2017 14:52:50 +0900 fumihiko kakuma

Re: [Ryu-devel] [PATCH] tests: Separate test files from Ryu module

2017-06-29 Thread fumihiko kakuma
gt; Thanks, > > Iwase > > > > > > On 2017年06月30日 10:29, fumihiko kakuma wrote: > >> Hi Fujita-san, > >> > >> neutron-dynamic-routing in Openstack project uses > >> ryu.tests module in scenario test. > >> > >> Could

Re: [Ryu-devel] [PATCH] tests: Separate test files from Ryu module

2017-06-29 Thread fumihiko kakuma
Hi Fujita-san, neutron-dynamic-routing in Openstack project uses ryu.tests module in scenario test. Could you revert this commit? Thank you, Fumihiko Kakuma On Tue, 27 Jun 2017 09:55:25 +0900 (JST) FUJITA Tomonori wrote: > On Mon, 26 Jun 2017 15:04:43 +0900 > IWASE Yusuke wrote: >

[Ryu-devel] [PATCH 1/1] docker_base.py: fix an ip option of "docker network connect"

2017-01-16 Thread fumihiko kakuma
ip address with subnet is ignored in ip option of "docker network connect" This patch specifies a correct ip format for option. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/common/docker_base.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a

Re: [Ryu-devel] [PATCH 1/2] bgp_scenario_test/common: Pylint

2016-12-09 Thread fumihiko kakuma
Hi Iwase-san, On Fri, 9 Dec 2016 09:23:33 +0900 Iwase Yusuke wrote: > Hi, > > Thank you for reviewing my patch. > > > On 2016年12月09日 06:59, fumihiko kakuma wrote: > > Hi Iwase-san, > > > > On Mon, 5 Dec 2016 11:07:23 +0900 > > IWASE Yusuke wr

Re: [Ryu-devel] [PATCH 1/2] bgp_scenario_test/common: Pylint

2016-12-08 Thread fumihiko kakuma
time.sleep(interval) > raise CommandError(out) > > def sudo(self, cmd, capture=True, try_times=1, interval=1): > -cmd = 'sudo ' + cmd > +cmd = 'sudo %s' % cmd > return self.execute(cmd, capture=capture, >

Re: [Ryu-devel] [PATCH 7/7] BGPSpeaker: Enable to set capability for IPv6

2016-12-08 Thread fumihiko kakuma
Hi Iwase-san, On Thu, 8 Dec 2016 15:28:42 +0900 Iwase Yusuke wrote: > Hi Kakuma-San, > > > On 2016年12月08日 15:06, fumihiko kakuma wrote: > > On Mon, 7 Nov 2016 16:04:23 +0900 > > IWASE Yusuke wrote: > > > >> This patch enables BGPSpeaker to set the c

Re: [Ryu-devel] [PATCH 7/7] BGPSpeaker: Enable to set capability for IPv6

2016-12-07 Thread fumihiko kakuma
PV6 advertisement is controlled by the new enable_ipv6 argument, existing applications[1], which don't know the new argument, fail to advertise IPv6 routes. I think this patch is in the right direction, but I wish I could receive some warning of such an API

Re: [Ryu-devel] [PATCH v3 2/2] install_docker_test_pkg: Move pip pacakges to test-requires

2016-11-28 Thread fumihiko kakuma
Hi Iwase-san, On Tue, 29 Nov 2016 15:00:12 +0900 Iwase Yusuke wrote: > Hi Kakuma-San, > > Sorry for the delay. > > > On 2016年11月29日 09:24, fumihiko kakuma wrote: > > Hi Iwase-san, > > > > On Mon, 28 Nov 2016 14:05:48 +0900 > > IWASE Yusuke w

Re: [Ryu-devel] [PATCH v3 2/2] install_docker_test_pkg: Move pip pacakges to test-requires

2016-11-28 Thread fumihiko kakuma
/tools/test-requires > +++ b/tools/test-requires > @@ -1,6 +1,8 @@ > coverage > mock > nose > +nsenter # integrated tests (Docker) > pep8 > +pycrypto # integrated tests (Docker) > pylint > -formencode > +formencode # unit tests (OF-Config) > -- > 2

Re: [Ryu-devel] [PATCH 0/2] Imporove the scenario test

2016-11-28 Thread fumihiko kakuma
you patches? > > Thanks, > Iwase > > > > On 2016年11月28日 13:21, fumihiko kakuma wrote: > > The following patches improve the scenario test using a docker. > > > > fumihiko kakuma (2): > > Delete an unnecessary function > > Get some

[Ryu-devel] [PATCH 0/2] Imporove the scenario test

2016-11-27 Thread fumihiko kakuma
The following patches improve the scenario test using a docker. fumihiko kakuma (2): Delete an unnecessary function Get some debug information ryu/tests/integrated/common/docker_base.py| 19 ++- .../common/install_docker_test_pkg_common.sh | 2 +- ryu

[Ryu-devel] [PATCH 2/2] Get some debug information

2016-11-27 Thread fumihiko kakuma
Get log for command execution error and ryu bgp app. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/common/docker_base.py | 3 ++- ryu/tests/integrated/common/ryubgp.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ryu/tests/integrated/common/docker_base.py

[Ryu-devel] [PATCH 1/2] Delete an unnecessary function

2016-11-27 Thread fumihiko kakuma
Currently a scenario test doesn't use stream option of exec_on_ctn and this function requires extra module(docker-py). This patch deletes the unnecessary function. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/common/docker_base.py | 16 .../integ

Re: [Ryu-devel] [PATCH v2 8/9] pip: Separate test-requires

2016-11-07 Thread fumihiko kakuma
> -r{toxinidir}/tools/test-requires > --no-cache-dir > usedevelop = True > -- > 2.7.4 > > > -- > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon P

Re: [Ryu-devel] [PATCH v2 8/9] pip: Separate test-requires

2016-11-07 Thread fumihiko kakuma
hi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > ___ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net &g

Re: [Ryu-devel] [PATCH 8/8] docker_base: Add missing requirements for test-requires

2016-11-07 Thread fumihiko kakuma
Hi Iwase-San, On Tue, 8 Nov 2016 14:39:45 +0900 Iwase Yusuke wrote: > Hi akuma-San, > > > On 2016年11月08日 12:58, fumihiko kakuma wrote: > > Hi Iwase-san, > > > > On Tue, 8 Nov 2016 09:51:18 +0900 > > Iwase Yusuke wrote: > > > >>

Re: [Ryu-devel] [PATCH 8/8] docker_base: Add missing requirements for test-requires

2016-11-07 Thread fumihiko kakuma
Hi Iwase-san, On Tue, 8 Nov 2016 09:51:18 +0900 Iwase Yusuke wrote: > Hi Kakuma-San, > > Thank you for your reply! > > > On 2016年11月07日 21:50, fumihiko kakuma wrote: > > Hi Iwase-san, > > > > I am sorry for the delay in my reply. > > > > On

Re: [Ryu-devel] [PATCH 8/8] docker_base: Add missing requirements for test-requires

2016-11-07 Thread fumihiko kakuma
it is caused by the fact that tinyrpc is not installed. I answered in inline. > Thanks, > Iwase > > > On 2016年11月06日 14:28, Iwase Yusuke wrote: > > Hi, Kakuma-San, > > > > > > On 2016年11月04日 06:52, fumihiko kakuma wrote: > >> Hi Iwase-san, > &

Re: [Ryu-devel] [PATCH 8/8] docker_base: Add missing requirements for test-requires

2016-11-03 Thread fumihiko kakuma
workdir) > self.cmd.execute("echo '%s' > %s/Dockerfile" % (str(c), workdir)) > self.cmd.execute('cp -r ../ryu %s/' % workdir) > -- > 2.7.4 > > > -- > Developer

[Ryu-devel] [PATCH] scenario test: Fix the wrong retry check in command execution

2016-11-02 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/common/docker_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/tests/integrated/common/docker_base.py b/ryu/tests/integrated/common/docker_base.py index 13fe223..a6d8b8b 100644 --- a/ryu/tests/integrated

[Ryu-devel] [PATCH v2] Enable to run a scenario test with a specific python version

2016-11-01 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- tox.ini | 13 + 1 file changed, 13 insertions(+) diff --git a/tox.ini b/tox.ini index ae9fd33..85a3a06 100644 --- a/tox.ini +++ b/tox.ini @@ -10,9 +10,22 @@ usedevelop = True passenv= NOSE_VERBOSE commands = coverage run --source=ryu ryu/tests

Re: [Ryu-devel] [PATCH] Enable to run a scenario test with a specific python version

2016-10-31 Thread fumihiko kakuma
sh > python ryu/tests/integrated/run_test.py > > ... (snip) > > > Thanks, > Iwase > > On 2016年11月01日 12:09, fumihiko kakuma wrote: > > Signed-off-by: Fumihiko Kakuma > > --- > > .travis.yml | 43 --- >

[Ryu-devel] [PATCH] Enable to run a scenario test with a specific python version

2016-10-31 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- .travis.yml | 43 --- tox.ini | 3 +++ 2 files changed, 31 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 82d194f..51bde54 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,36

Re: [Ryu-devel] [PATCH v5 0/4] Add scenario test for ryu bgp

2016-10-30 Thread fumihiko kakuma
Hi FUJITA-san, Thank you for merging. On Sat, 29 Oct 2016 06:46:36 +0900 (JST) FUJITA Tomonori wrote: > On Fri, 28 Oct 2016 09:10:16 +0900 > fumihiko kakuma wrote: > > > fumihiko kakuma (4): > > Add bgp scenario tests tool > > Add bgp scenario tests > &

Re: [Ryu-devel] [PATCH v5 1/4] Add bgp scenario tests tool

2016-10-28 Thread fumihiko kakuma
e(cmd, capture=capture) -LOG.error(out.command) +LOG.info(out.command) if out.returncode == 0: return out LOG.error(out.stderr) -- 1.9.1 Thanks, fumihiko kakuma On Fri, 28 Oct 2016 09:10:17 +0900 fumihiko kakuma wrote: &

[Ryu-devel] [PATCH v5 1/4] Add bgp scenario tests tool

2016-10-27 Thread fumihiko kakuma
that container. - configure ryu and quagga. - have some operations for ryu, quagga and docker. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/common/__init__.py| 0 ryu/tests/integrated/common/docker_base.py | 808 + ryu/tests/integrated/common/quagga.py

[Ryu-devel] [PATCH v5 2/4] Add bgp scenario tests

2016-10-27 Thread fumihiko kakuma
This adds some scenario tests using a scenario test tool. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/bgp/__init__.py | 0 ryu/tests/integrated/bgp/base.py | 80 ++ ryu/tests/integrated/bgp/base_ip6.py | 80

[Ryu-devel] [PATCH v5 0/4] Add scenario test for ryu bgp

2016-10-27 Thread fumihiko kakuma
version of ip address when creating bgp configuration file. Add the following modules: ryu/tests/integrated/bgp/base_ip6.py ryu/tests/integrated/bgp/test_ip6_basic.py v5: Enable to treat ovs bridge. Delete docker_nw and add br_type option in Bridge.__init__(). fumihiko

[Ryu-devel] [PATCH v5 4/4] Enable to run a scnario test for ryu bgp on travis

2016-10-27 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- .travis.yml | 6 -- tox.ini | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 76eb198..82d194f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: python python: - "3.5"

[Ryu-devel] [PATCH v5 3/4] Add scripts which install a dependency package

2016-10-27 Thread fumihiko kakuma
These install packages depended on a scenario test tool. Signed-off-by: Fumihiko Kakuma --- .../integrated/common/install_docker_test_pkg.sh | 43 ++ .../common/install_docker_test_pkg_common.sh | 37 +++ .../common

[Ryu-devel] [PATCH v4 1/4] Add bgp scenario tests tool

2016-10-26 Thread fumihiko kakuma
that container. - configure ryu and quagga. - have some operations for ryu, quagga and docker. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/common/__init__.py| 0 ryu/tests/integrated/common/docker_base.py | 785 + ryu/tests/integrated/common/quagga.py

[Ryu-devel] [PATCH v4 2/4] Add bgp scenario tests

2016-10-26 Thread fumihiko kakuma
This adds some scenario tests using a scenario test tool. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/bgp/__init__.py | 0 ryu/tests/integrated/bgp/base.py | 80 ++ ryu/tests/integrated/bgp/base_ip6.py | 80

[Ryu-devel] [PATCH v4 3/4] Add scripts which install a dependency package

2016-10-26 Thread fumihiko kakuma
These install packages depended on a scenario test tool. Signed-off-by: Fumihiko Kakuma --- .../integrated/common/install_docker_test_pkg.sh | 43 ++ .../common/install_docker_test_pkg_common.sh | 37 +++ .../common

[Ryu-devel] [PATCH v4 4/4] Enable to run a scnario test for ryu bgp on travis

2016-10-26 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- .travis.yml | 6 -- tox.ini | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 76eb198..82d194f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: python python: - "3.5"

[Ryu-devel] [PATCH v4 0/4] Add scenario test for ryu bgp

2016-10-26 Thread fumihiko kakuma
configuration file. Add the following modules: ryu/tests/integrated/bgp/base_ip6.py ryu/tests/integrated/bgp/test_ip6_basic.py fumihiko kakuma (4): Add bgp scenario tests tool Add bgp scenario tests Add scripts which install a dependency package Enable to run a scnario test

[Ryu-devel] [PATCH v3 3/4] Add scripts which install a dependency package

2016-10-25 Thread fumihiko kakuma
These install packages depended on a scenario test tool. Signed-off-by: Fumihiko Kakuma --- .../integrated/common/install_docker_test_pkg.sh | 43 ++ .../common/install_docker_test_pkg_common.sh | 37 +++ .../common

[Ryu-devel] [PATCH v3 0/4] Add scenario test for ryu bgp

2016-10-25 Thread fumihiko kakuma
/tests/integrated/bgp/ryubgp_app.py. v3: Support a new interface of re-implement bgp application. Use --bgp-app-config-file instead of --config-file option. Support new format for bgp configuration file. fumihiko kakuma (4): Add bgp scenario tests tool Add bgp scenario tests Add

[Ryu-devel] [PATCH v3 4/4] Enable to run a scnario test for ryu bgp on travis

2016-10-25 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- .travis.yml | 6 -- tox.ini | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 76eb198..82d194f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: python python: - "3.5"

[Ryu-devel] [PATCH v3 1/4] Add bgp scenario tests tool

2016-10-25 Thread fumihiko kakuma
that container. - configure ryu and quagga. - have some operations for ryu, quagga and docker. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/common/__init__.py| 0 ryu/tests/integrated/common/docker_base.py | 785 + ryu/tests/integrated/common/quagga.py

[Ryu-devel] [PATCH v3 2/4] Add bgp scenario tests

2016-10-25 Thread fumihiko kakuma
This adds some scenario tests using a scenario test tool. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/bgp/__init__.py | 0 ryu/tests/integrated/bgp/base.py | 81 ++ ryu/tests/integrated/bgp/test_basic.py | 47 ryu/tests

[Ryu-devel] [PATCH v2 3/4] Add scripts which install a dependency package

2016-10-25 Thread fumihiko kakuma
These install packages depended on a scenario test tool. Signed-off-by: Fumihiko Kakuma --- .../integrated/common/install_docker_test_pkg.sh | 43 ++ .../common/install_docker_test_pkg_common.sh | 37 +++ .../common

[Ryu-devel] [PATCH v2 0/4] Add scenario test for ryu bgp

2016-10-25 Thread fumihiko kakuma
/tests/integrated/bgp/ryubgp_app.py. fumihiko kakuma (4): Add bgp scenario tests tool Add bgp scenario tests Add scripts which install a dependency package Enable to run a scnario test for ryu bgp on travis .travis.yml| 6 +- ryu/services/protocols

[Ryu-devel] [PATCH v2 1/4] Add bgp scenario tests tool

2016-10-25 Thread fumihiko kakuma
that container. - configure ryu and quagga. - have some operations for ryu, quagga and docker. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/common/__init__.py| 0 ryu/tests/integrated/common/docker_base.py | 785 + ryu/tests/integrated/common/quagga.py

[Ryu-devel] [PATCH v2 4/4] Enable to run a scnario test for ryu bgp on travis

2016-10-25 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- .travis.yml | 6 -- tox.ini | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 76eb198..82d194f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: python python: - "3.5"

[Ryu-devel] [PATCH v2 2/4] Add bgp scenario tests

2016-10-25 Thread fumihiko kakuma
This adds some scenario tests using a scenario test tool. Signed-off-by: Fumihiko Kakuma --- ryu/services/protocols/bgp/application.py | 2 +- ryu/tests/integrated/bgp/__init__.py | 0 ryu/tests/integrated/bgp/base.py | 81 +++ ryu/tests/integrated

Re: [Ryu-devel] [PATCH 1/4] Add bgp scenario tests tool

2016-10-24 Thread fumihiko kakuma
docker run -it --rm -v WORKDIR:/root/ryu osrg/ryu /bin/bash > > If we can use this image, we can also test this image, I guess. > I was not aware of it. I will try to use it. Thanks, kakuma On Mon, 24 Oct 2016 11:34:19 +0900 Iwase Yusuke wrote: > Hi Kakuma-San, > > >

Re: [Ryu-devel] [PATCH 2/4] Add bgp scenario tests

2016-10-24 Thread fumihiko kakuma
Hi Iwase-san, Thank you for review. On Mon, 24 Oct 2016 11:40:40 +0900 Iwase Yusuke wrote: > Hi Kakuma-San, > > > On 2016年10月24日 11:12, fumihiko kakuma wrote: > > This adds some scenario tests using a scenario test tool. > > > > Signed-off-by: Fumihiko

[Ryu-devel] [PATCH 4/4] Enable to run a scnario test for ryu bgp on travis

2016-10-23 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- .travis.yml | 6 -- tox.ini | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 76eb198..82d194f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: python python: - "3.5"

[Ryu-devel] [PATCH 3/4] Add scripts which install a dependency package

2016-10-23 Thread fumihiko kakuma
These install packages depended on a scenario test tool. Signed-off-by: Fumihiko Kakuma --- .../integrated/common/install_docker_test_pkg.sh | 43 ++ .../common/install_docker_test_pkg_common.sh | 37 +++ .../common

[Ryu-devel] [PATCH 0/4] Add scenario test for ryu bgp

2016-10-23 Thread fumihiko kakuma
These patches provide an environment and some tests testing peer between ryu bgp and remote as using docker. fumihiko kakuma (4): Add bgp scenario tests tool Add bgp scenario tests Add scripts which install a dependency package Enable to run a scnario test for ryu bgp on travis

[Ryu-devel] [PATCH 2/4] Add bgp scenario tests

2016-10-23 Thread fumihiko kakuma
This adds some scenario tests using a scenario test tool. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/bgp/__init__.py | 0 ryu/tests/integrated/bgp/base.py | 81 +++ ryu/tests/integrated/bgp/ryubgp_app.py | 238 + ryu/tests

[Ryu-devel] [PATCH 1/4] Add bgp scenario tests tool

2016-10-23 Thread fumihiko kakuma
that container. - configure ryu and quagga. - have some operations for ryu, quagga and docker. Signed-off-by: Fumihiko Kakuma --- ryu/tests/integrated/common/__init__.py| 0 ryu/tests/integrated/common/docker_base.py | 774 + ryu/tests/integrated/common/quagga.py

[Ryu-devel] [PATCH 1/1] python 3: Replace deprecated logging.warn with logging.warning

2016-06-14 Thread Fumihiko Kakuma
logging.warn is deprecated in Python 3 [1]. This patch switches it to the non-deprecated logging.warning. This is bug-reported by openstack [2]. [1] https://docs.python.org/3/library/logging.html#logging.warning [2] https://bugs.launchpad.net/magnum/+bug/1508442 Signed-off-by: Fumihiko Kakuma

[Ryu-devel] [PATCH 0/1] python 3: Replace deprecated method

2016-06-14 Thread Fumihiko Kakuma
Fumihiko Kakuma (1): python 3: Replace deprecated logging.warn with logging.warning ryu/controller/mac_to_network.py | 4 +-- ryu/lib/ovs/vsctl.py | 13 ryu/services/protocols/bgp/core.py| 5 +-- ryu/services/protocols/vrrp/router.py | 61

[Ryu-devel] [PATCH v3 3/3] python3: Use six.add_metaclass for metaclass

2016-06-12 Thread Fumihiko Kakuma
From: fumihiko kakuma __metaclass__ can't be used with python 3 as metaclass syntax has been changed in python 3. Signed-off-by: Fumihiko Kakuma --- ryu/services/protocols/bgp/base.py | 3 ++- ryu/services/protocols/bgp/info_base/base.py | 9 + ryu/services/protocol

[Ryu-devel] [PATCH v3 2/3] python3: Use six.string_types instead of basestring

2016-06-12 Thread Fumihiko Kakuma
From: fumihiko kakuma Signed-off-by: Fumihiko Kakuma --- ryu/services/protocols/bgp/utils/dictconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/utils/dictconfig.py b/ryu/services/protocols/bgp/utils/dictconfig.py index e21e8ee..22f9afc

[Ryu-devel] [PATCH v3 0/3] python 3: Additional python 3 support for bgp codes

2016-06-12 Thread Fumihiko Kakuma
v2: Sorry, I forgot to add Signed-off-by. So I did it. v3: fix pep8 error. Remove itervalues() and values() always returns iterator fumihiko kakuma (3): python3: Improve Table class in services.protocols.bgp.info_base.base python3: Use six.string_types instead of basestring python3

[Ryu-devel] [PATCH v3 1/3] python3: Improve Table class in services.protocols.bgp.info_base.base

2016-06-12 Thread Fumihiko Kakuma
From: fumihiko kakuma Remove itervalues() and values() always returns iterator Signed-off-by: Fumihiko Kakuma --- ryu/services/protocols/bgp/info_base/base.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ryu/services/protocols/bgp/info_base/base.py b/ryu/services/protocols/bgp

[Ryu-devel] [PATCH v3 0/3] python 3: Additional python 3 support for bgp codes

2016-06-12 Thread Fumihiko Kakuma
v2: Sorry, I forgot to add Signed-off-by. So I did it. v3: fix pep8 error. Remove itervalues() and values() always returns iterator fumihiko kakuma (3): python3: Improve Table class in services.protocols.bgp.info_base.base python3: Use six.string_types instead of basestring python3

Re: [Ryu-devel] [PATCH v2 3/3] python3: Use six.add_metaclass for metaclass

2016-06-12 Thread fumihiko kakuma
On Fri, 10 Jun 2016 18:17:00 +0900 (JST) FUJITA Tomonori wrote: > On Thu, 9 Jun 2016 15:19:32 +0900 > fumihiko kakuma wrote: > > > __metaclass__ can't be used with python 3 as metaclass syntax has been > > changed in python 3. > > > > Signed-off

Re: [Ryu-devel] [PATCH v2 1/3] python3: Return a list instead of a view of the dictionary's values

2016-06-12 Thread fumihiko kakuma
On Fri, 10 Jun 2016 17:56:29 +0900 (JST) FUJITA Tomonori wrote: > On Thu, 09 Jun 2016 19:30:37 +0900 > fumihiko kakuma wrote: > > > Thank you for review. > > > > On Thu, 09 Jun 2016 17:25:21 +0900 > > IWAMOTO Toshihiro wrote: > > > >> A

Re: [Ryu-devel] [PATCH v2 1/3] python3: Return a list instead of a view of the dictionary's values

2016-06-09 Thread fumihiko kakuma
Thank you for review. On Thu, 09 Jun 2016 17:25:21 +0900 IWAMOTO Toshihiro wrote: > At Thu, 9 Jun 2016 15:19:30 +0900, > fumihiko kakuma wrote: > > > > Signed-off-by: Fumihiko Kakuma > > View objects work fine for for statements. > Do we need this patch? Ye

[Ryu-devel] [PATCH v2 2/3] python3: Use six.string_types instead of basestring

2016-06-08 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- ryu/services/protocols/bgp/utils/dictconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/utils/dictconfig.py b/ryu/services/protocols/bgp/utils/dictconfig.py index e21e8ee..22f9afc 100644 --- a/ryu/services

[Ryu-devel] [PATCH v2 3/3] python3: Use six.add_metaclass for metaclass

2016-06-08 Thread fumihiko kakuma
__metaclass__ can't be used with python 3 as metaclass syntax has been changed in python 3. Signed-off-by: Fumihiko Kakuma --- ryu/services/protocols/bgp/base.py | 3 ++- ryu/services/protocols/bgp/info_base/base.py | 9 + ryu/services/protocols/bgp/info_base/vpn.py

[Ryu-devel] [PATCH v2 0/3] python 3: Additional python 3 support for bgp codes

2016-06-08 Thread fumihiko kakuma
v2: Sorry, I forgot to add Signed-off-by. So I did it. fumihiko kakuma (3): python3: Return a list instead of a view of the dictionary's values python3: Use six.string_types instead of basestring python3: Use six.add_metaclass for metaclass ryu/services/protocols/bgp/ba

[Ryu-devel] [PATCH v2 1/3] python3: Return a list instead of a view of the dictionary's values

2016-06-08 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- ryu/services/protocols/bgp/info_base/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/info_base/base.py b/ryu/services/protocols/bgp/info_base/base.py index da1a480..4585f15 100644 --- a/ryu/services

[Ryu-devel] [PATCH 3/3] python3: Use six.add_metaclass for metaclass

2016-06-08 Thread fumihiko kakuma
__metaclass__ can't be used with python 3 as metaclass syntax has been changed in python 3. --- ryu/services/protocols/bgp/base.py | 3 ++- ryu/services/protocols/bgp/info_base/base.py | 9 + ryu/services/protocols/bgp/info_base/vpn.py | 6 +++--- ryu/services/protocols/bgp/info

[Ryu-devel] [PATCH 2/3] python3: Use six.string_types instead of basestring

2016-06-08 Thread fumihiko kakuma
--- ryu/services/protocols/bgp/utils/dictconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/utils/dictconfig.py b/ryu/services/protocols/bgp/utils/dictconfig.py index e21e8ee..22f9afc 100644 --- a/ryu/services/protocols/bgp/utils/dictconfig.py

[Ryu-devel] [PATCH 0/3] python 3: Additional python 3 support for bgp codes

2016-06-08 Thread fumihiko kakuma
fumihiko kakuma (3): python3: Return a list instead of a view of the dictionary's values python3: Use six.string_types instead of basestring python3: Use six.add_metaclass for metaclass ryu/services/protocols/bgp/base.py | 3 ++- ryu/services/protocols/bgp/info_base/ba

[Ryu-devel] [PATCH 1/3] python3: Return a list instead of a view of the dictionary's values

2016-06-08 Thread fumihiko kakuma
--- ryu/services/protocols/bgp/info_base/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/info_base/base.py b/ryu/services/protocols/bgp/info_base/base.py index da1a480..4585f15 100644 --- a/ryu/services/protocols/bgp/info_base/base.py +++ b/r

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: > > > >>>> > >&

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

2016-06-07 Thread fumihiko kakuma
d > | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ NameVersion Architecture Description > +++-===---

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

2016-06-06 Thread fumihiko kakuma
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 > > IWASE Yusuke wrote: > > > >>

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

2016-06-06 Thread fumihiko kakuma
icense for the specific language governing permissions and > # limitations under the License. > > -from six.moves import intern > +import six > +if six.PY3: > +from sys import intern Is this intended to work with six>=1.4.0 ? -- fumihiko kakuma ---

Re: [Ryu-devel] How to configure the networking in openstack Liberty?

2015-11-23 Thread fumihiko kakuma
you set of_interface=native in configuration for ovs. We also plan to deprecate ofagent in mitaka and remove it in next cycle, so mitaka will be the last release of ofagent. Thanks. > Thank you! -- fumihiko kakuma ---

Re: [Ryu-devel] Ryu controller for OpenStack

2015-10-09 Thread fumihiko kakuma
: you can get the following from https://review.openstack.org/#/c/232814/ http://180.37.183.32/ryuci/14/232814/1/check/check-tempest-dsvm-k-ofagent/10126e4/logs/localrc.txt.gz Thanks, > Best Regards > > On 8 October 2015 at 10:33, fumihiko kakuma wrote: > > > Hi, >

Re: [Ryu-devel] Ryu controller for OpenStack

2015-10-08 Thread fumihiko kakuma
ultiple nodes. You should create the new agent for it. Additionally in juno devstack does not support enable_plugin() function. It is supported by the kilo or later release. ofagent is contained in neutron tree in juno. Thanks, fumihiko kakuma > Best Regards > > > > >

Re: [Ryu-devel] Ryu controller for OpenStack

2015-10-07 Thread fumihiko kakuma
ntroller since liberty. liberty will be released soon. I recommend you to use the ovs driver rather than the ofagent. > Best Regards -- fumihiko kakuma -- Full-scale, agent-less Infrastructure Monitoring fr

Re: [Ryu-devel] OFagent on OpenStack

2015-09-15 Thread fumihiko kakuma
.net/lists/listinfo/ryu-devel I also recommend you to use ovs ml2 driver rather than ofagent from now on. In Liberty the ovs driver gained openflow interface using ryu. And Liberty will be released soon. Thanks -- fumihiko kakuma ---

Re: [Ryu-devel] Install OFAgent for Openstack kilo

2015-07-22 Thread fumihiko kakuma
anage Open vSwitch by ryu > controller. > ofagent itself is openflow controller using ryu. But it is controller customized for openstack > Best Regards Thanks. -- fumihiko kakuma -- Don't Limit Your Bu

Re: [Ryu-devel] Error starting OFAgent

2015-07-22 Thread fumihiko kakuma
> when I compile /usr/local/bin/neutron-ofagent-agent it raises > NoSuchGroupError when it tries to get a group. I think it happens because > /opt/stack/neutron directoy doesn't exist. > > Thank you -- fumihiko kakuma

Re: [Ryu-devel] [PATCH] python3: Don't use str.encode

2015-06-29 Thread fumihiko kakuma
. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > ___ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel -- fumihiko kakuma --

[Ryu-devel] [PATCH 3/4] python3: encode from string to bytes for s type of pack format

2015-06-29 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- ryu/tests/unit/ofproto/test_parser_v12.py | 17 - ryu/tests/unit/packet/test_slow.py| 4 ++-- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py b/ryu/tests/unit/ofproto

[Ryu-devel] [PATCH 2/4] python3: Modify a literal argument in a bytes method call to bytes type

2015-06-29 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- ryu/ofproto/ofproto_v1_2_parser.py| 6 +++--- ryu/tests/unit/ofproto/test_parser_v12.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index 7ecce12

[Ryu-devel] [PATCH 4/4] python3: Calculate the number of ports as integer

2015-06-29 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- ryu/ofproto/ofproto_v1_0_parser.py | 2 +- ryu/ofproto/ofproto_v1_2_parser.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_0_parser.py b/ryu/ofproto/ofproto_v1_0_parser.py index 1582a69..e077a17 100644 --- a/ryu

[Ryu-devel] [PATCH 0/4] python3: resend my last patches

2015-06-29 Thread fumihiko kakuma
I modified some codes pointed by iwamoto. fumihiko kakuma (4): python3: fix odd calling of encode() method python3: Modify a literal argument in a bytes method call to bytes type python3: encode from string to bytes for s type of pack format python3: Calculate the number of ports as

[Ryu-devel] [PATCH 1/4] python3: fix odd calling of encode() method

2015-06-29 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- ryu/tests/unit/ofproto/test_parser_v10.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v10.py b/ryu/tests/unit/ofproto/test_parser_v10.py index 3d2539b..7326d7e 100644 --- a/ryu/tests/unit/ofproto

[Ryu-devel] [PATCH 4/4] python3: Calculate the number of ports as integer

2015-06-28 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- ryu/ofproto/ofproto_v1_0_parser.py | 2 +- ryu/ofproto/ofproto_v1_2_parser.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_0_parser.py b/ryu/ofproto/ofproto_v1_0_parser.py index 1582a69..e077a17 100644 --- a/ryu

[Ryu-devel] [PATCH 2/4] python3: Modify a literal argument in a bytes method call to bytes type

2015-06-28 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- ryu/ofproto/ofproto_v1_2_parser.py| 6 +++--- ryu/tests/unit/ofproto/test_parser_v12.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_2_parser.py b/ryu/ofproto/ofproto_v1_2_parser.py index 7ecce12

[Ryu-devel] [PATCH 1/4] python3: fix odd calling of encode() method

2015-06-28 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- ryu/tests/unit/ofproto/test_parser_v10.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v10.py b/ryu/tests/unit/ofproto/test_parser_v10.py index 3d2539b..7326d7e 100644 --- a/ryu/tests/unit/ofproto

[Ryu-devel] [PATCH 3/4] python3: encode from string to bytes for s type of pack format

2015-06-28 Thread fumihiko kakuma
Signed-off-by: Fumihiko Kakuma --- ryu/tests/unit/ofproto/test_parser_v12.py | 18 ++ ryu/tests/unit/packet/test_slow.py| 4 ++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v12.py b/ryu/tests/unit/ofproto

[Ryu-devel] [PATCH 2/2] python3: Continuous patch to replace buffer to six.binary_type

2015-06-27 Thread fumihiko kakuma
python3: Continuous patch to replace buffer to six.binary_type Signed-off-by: Fumihiko Kakuma --- ryu/ofproto/ofproto_v1_0_parser.py | 7 ++-- ryu/tests/unit/lib/test_ofp_pktinfilter.py | 5 ++- ryu/tests/unit/ofproto/test_parser_compat.py | 2 +- ryu/tests/unit/ofproto

  1   2   >