Re: [Ryu-devel] [PATCH] ut/ovs: Add UT using Docker for ryu.lib.ovs

2016-10-26 Thread Iwase Yusuke
Hi Fujita-San, Thank you for reviewing my patch. On 2016年10月25日 22:36, FUJITA Tomonori wrote: > On Fri, 21 Oct 2016 17:02:30 +0900 > IWASE Yusuke wrote: > >> This patch adds UT cases using Docker for ryu.lib.ovs. >> If Docker is not available, these tests will be skipped. >> >> Signed-off-by: I

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

2016-10-26 Thread fumihiko kakuma
This provides an environment which test a peer between ryu and quagga. I also consider that these modules are used from openstack or other projects. So there may be some functions that are not used by test for ryu. This has the following functions. - build docker image and run ryu and quagga on th

[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/install_docker_test_pkg_for_travis.s

[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" # Python

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

2016-10-26 Thread fumihiko kakuma
These patches provide an environment and some tests testing peer between ryu bgp and remote as using docker. v2: the following fix for IWASE-San comments. Use osrg/ryu and osrg/quagga as a docker image file. Use ryu/services/protocols/bgp/application.py as ryu bgp app and remove ryu/te

[Ryu-devel] [PATCH v2 2/5] packet/mpls: Add method to convert the format of label

2016-10-26 Thread Shinpei Muraoka
Signed-off-by: Shinpei Muraoka --- ryu/lib/packet/mpls.py | 30 ++ ryu/tests/unit/packet/test_mpls.py | 36 +++- 2 files changed, 61 insertions(+), 5 deletions(-) diff --git a/ryu/lib/packet/mpls.py b/ryu/lib/packet/mpls.py

[Ryu-devel] [PATCH v2 4/5] packet/bgp: Add PMSI Tunnel Attribute

2016-10-26 Thread Shinpei Muraoka
This patch adds the support for BGP PMSI Tunnel Attribute [RFC6514]. Signed-off-by: Shinpei Muraoka --- ryu/lib/packet/bgp.py | 215 ++ ryu/tests/unit/packet/test_bgp.py | 57 ++ 2 files changed, 272 insertions(+) diff --git a/ryu/lib/pac

[Ryu-devel] [PATCH v2 1/5] lib/ip: Add method to convert the format of Ipv4 or Ipv6

2016-10-26 Thread Shinpei Muraoka
Signed-off-by: Shinpei Muraoka --- ryu/lib/ip.py | 31 +++ ryu/tests/unit/lib/test_ip.py | 26 ++ 2 files changed, 57 insertions(+) diff --git a/ryu/lib/ip.py b/ryu/lib/ip.py index 6630418..130a844 100644 --- a/ryu/lib/ip.py +++

[Ryu-devel] [PATCH v2 0/5] packet/bgp: Add PMSI Tunnel Attribute

2016-10-26 Thread Shinpei Muraoka
The following patch implements some extensions for PMSI Tunnel Attribute. v2: Fix conflict points Shinpei Muraoka (5): lib/ip: Add method to convert the format of Ipv4 or Ipv6 packet/mpls: Add method to convert the format of label packet/vxlan: Add method to convert the format of vni pack

[Ryu-devel] [PATCH v2 3/5] packet/vxlan: Add method to convert the format of vni

2016-10-26 Thread Shinpei Muraoka
Signed-off-by: Shinpei Muraoka --- ryu/lib/packet/vxlan.py | 22 +- ryu/tests/unit/packet/test_vxlan.py | 7 +++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/ryu/lib/packet/vxlan.py b/ryu/lib/packet/vxlan.py index d68b9b6..c7de04b 100644 ---

[Ryu-devel] [PATCH v2 5/5] BGPSpeaker: Support to advertise PMSI Tunnel Attribute

2016-10-26 Thread Shinpei Muraoka
This patch adds support to advertise the BGP PMSI Tunnel Attribute for the Path attributes. Signed-off-by: Shinpei Muraoka --- ryu/services/protocols/bgp/api/base.py | 1 + ryu/services/protocols/bgp/api/prefix.py | 23 - ryu/services/protocols/bgp/bgpspeaker.py

Re: [Ryu-devel] [PATCH 5/5] BGPSpeaker: Support to advertise PMSI Tunnel Attribute

2016-10-26 Thread Shinpei Muraoka
Hi Fujita-San, > Hmm, seems that I can't apply this cleanly. Sorry. I correct the conflict points and will post again. Thanks, On 2016年10月25日 22:56, FUJITA Tomonori wrote: > On Tue, 25 Oct 2016 11:38:00 +0900 > Shinpei Muraoka wrote: > >> This patch adds support to advertise the BGP PMSI Tunn

[Ryu-devel] Ryu controller refused openvswitch

2016-10-26 Thread Alan Wang
Hi All, I tried to let openvswitch connect to the ryu controller. But the connection is be refused by ryu controller. I am so confused about is_connected:true and last_error="Connection refused". $ ovs-vsctl list controller _uuid : abbeff95-fdec-43c0-a566-6e4cf79163ee connection_m