[Ryu-devel] Delaware Company Registration Procedure 2016-11-09 13:59:49

2016-11-08 Thread Kia Group - Mr Allen
Hello!We guarantee you can incorporate zero tax or low tax offshore company and bank account Offshore companies: Belize, Cayman, BVI, Seychelles, Marshall, Hong Kong,..HSBC Bank, CitiBank, DBS Bank, Hang Seng bank,..For more information, please kindly contact us:WhatsApp/Mobile

Re: [Ryu-devel] Install - Ryu

2016-11-08 Thread Yi Tseng
Hi You can use ``pip`` to install all the depedencies. 2016-11-08 23:13 GMT+08:00 munther numan : > Hi Yi Tseng, > Thank you very much, for your response. > > I am just start with Ryu , can you please tell me which command I must use > to install the requirements befor install ryu. > > Best Reg

[Ryu-devel] [PATCH v4 04/10] wsgi: Reduce pylint warnings

2016-11-08 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/app/wsgi.py | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ryu/app/wsgi.py b/ryu/app/wsgi.py index fbfa0e7..1e19fed 100644 --- a/ryu/app/wsgi.py +++ b/ryu/app/wsgi.py @@ -17,6 +17,8 @@ import inspect from types import MethodTyp

[Ryu-devel] [PATCH v4 02/10] contrib: Revert module path to ryu.contrib

2016-11-08 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/app/wsgi.py | 16 +++- ryu/cmd/manager.py| 12 +--- ryu/cmd/of_config_cli.py | 9 +++-- ryu/cmd/rpc_cli.py| 6 +- ryu/cmd/ryu_base.py | 8 +++- ryu/lib/of_config/__init__.py

[Ryu-devel] [PATCH v4 01/10] protocols/bgp/base: Add missing __next__ method

2016-11-08 Thread IWASE Yusuke
This patch adds the missing __next__ method for Python 3 iterable. Signed-off-by: IWASE Yusuke --- ryu/services/protocols/bgp/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ryu/services/protocols/bgp/base.py b/ryu/services/protocols/bgp/base.py index 713622d..dd658aa 100644 ---

[Ryu-devel] [PATCH v4 03/10] wsgi: Use six.text_type instead of unicode

2016-11-08 Thread IWASE Yusuke
This issue is suggested by Marcel Grossmann on GitHub PR #53. Signed-off-by: IWASE Yusuke --- ryu/app/wsgi.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ryu/app/wsgi.py b/ryu/app/wsgi.py index 3c8bc93..fbfa0e7 100644 --- a/ryu/app/wsgi.py +++ b/ryu/app/wsgi.py @@ -1

[Ryu-devel] [PATCH v4 10/10] README: Use pip to resolve dependencies

2016-11-08 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index a601820..db16a4b 100644 --- a/README.rst +++ b/README.rst @@ -21,7 +21,7 @@ Installing Ryu is quite easy:: If you prefer to install Ryu from the source cod

[Ryu-devel] [PATCH v4 08/10] pip: Separate test-requires

2016-11-08 Thread IWASE Yusuke
Currently, in addition to "requirements for tests", test-requires includes "optional requirements". This makes it unclear to identify which packages are surely required to use optional features (e.g., OF-Config, NETCONF, BGP speaker) and causes the redundant installation when building Docker images

[Ryu-devel] [PATCH v4 06/10] test_rpc: Use numbers.Integral instead of long type

2016-11-08 Thread IWASE Yusuke
Currently, test_rpc.py uses long type for PyPy interpreter compatibility, but log type is obsoleted in Python 3. This patch fixes test_rpc.py to use numbers.Integral and makes its implemetation more clean. Signed-off-by: IWASE Yusuke --- ryu/tests/unit/lib/test_rpc.py | 15 --- 1 fil

[Ryu-devel] [PATCH v4 07/10] RPC: Specify encoding to msgpack.Packer/Unpacker

2016-11-08 Thread IWASE Yusuke
Currently, RPC requests using rpc_cli.py will crash on Python 3, because the decoded string through msgpack-rpc is not str type when the default encoding is not specified into msgpack.Unpacker. On Python 2, bytes type is the same as str type, and this problem does not occur. The old spec of msgpac

[Ryu-devel] [PATCH v4 00/10] RPC: Improvements for Python 3

2016-11-08 Thread IWASE Yusuke
I'm sorry for disturbing many times. This patch updates the v3 patches for resolving the missing requirements without "optional requirements". With v3 patch, tinyrpc will be missing without "optional requirements" and v4 patch moves tinyrpc to pip-requires. Also, v4 patch updates README.rst to use

[Ryu-devel] [PATCH v4 05/10] wsgi: Avoid using inspect.getargspec

2016-11-08 Thread IWASE Yusuke
Officially, "inspect.getargspec" is obsoleted in Python 3.0, this patch fixes to avoid using this function. Signed-off-by: IWASE Yusuke --- ryu/app/wsgi.py | 26 +- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/ryu/app/wsgi.py b/ryu/app/wsgi.py index 1e19

[Ryu-devel] [PATCH v4 09/10] docker_base: Add missing requirements for test-requires

2016-11-08 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/tests/integrated/common/docker_base.py | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/ryu/tests/integrated/common/docker_base.py b/ryu/tests/integrated/common/docker_base.py index 13fe223..7bceaed 100644 --- a/ry

[Ryu-devel] [PATCH 1/5] packet/bgp: Fix the EvpnNLRI to use the ryu.lib.ip

2016-11-08 Thread Shinpei Muraoka
Also, this patch changes size of ip_len from bit to byte. Signed-off-by: Shinpei Muraoka --- ryu/lib/packet/bgp.py | 21 + 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py index a07c1ac..dabf233 100644 --- a/ryu/lib/

[Ryu-devel] [PATCH 2/5] packet/bgp: Fix the EvpnNLRI to use the ryu.lib.packet.mpls

2016-11-08 Thread Shinpei Muraoka
Also, this patch changes name of is_stack to is_bos. Signed-off-by: Shinpei Muraoka --- ryu/lib/packet/bgp.py | 31 --- ryu/lib/packet/mpls.py | 2 +- 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py inde

[Ryu-devel] [PATCH 3/5] packet/bgp: Fix the EvpnNLRI to use the ryu.lib.packet.vxlan

2016-11-08 Thread Shinpei Muraoka
Signed-off-by: Shinpei Muraoka --- ryu/lib/packet/bgp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py index 837f9d7..6c52781 100644 --- a/ryu/lib/packet/bgp.py +++ b/ryu/lib/packet/bgp.py @@ -1436,11 +1436,11 @@ class EvpnNL

[Ryu-devel] [PATCH 4/5] packet/bgp: Support for IP Prefix Route encoding

2016-11-08 Thread Shinpei Muraoka
This patch supports on the basis of the [draft-ietf-bess-evpn-prefix-advertisement-03] Signed-off-by: Shinpei Muraoka --- ryu/lib/packet/bgp.py | 138 + .../packet_data/bgp4/evpn_nlri_ip_prefix.pcap | Bin 0 -> 190 bytes ryu/tests/unit/packet

[Ryu-devel] [PATCH 0/5] packet/bgp: Support for IP Prefix Route encoding

2016-11-08 Thread Shinpei Muraoka
The following pathes supports on the basis of the [draft-ietf-bess-evpn-prefix-advertisement-03]. Please reflect the following patches after reflecting "BGPSpeaker Support IPv6 and VPNv6 unicast routes". Shinpei Muraoka (5): packet/bgp: Fix the EvpnNLRI to use the ryu.lib.ip packet/bgp: Fix t

[Ryu-devel] [PATCH 5/5] BGPSpeaker: Support to advertise EVPN IP Prefix route

2016-11-08 Thread Shinpei Muraoka
Signed-off-by: Shinpei Muraoka --- ryu/services/protocols/bgp/api/base.py | 2 + ryu/services/protocols/bgp/api/prefix.py | 27 - ryu/services/protocols/bgp/bgp_sample_conf.py | 17 ryu/services/protocols/bgp/bgpspeaker.py | 35 ++- ryu/servi

Re: [Ryu-devel] Running rest_firewall.py on Lagopus

2016-11-08 Thread Iwase Yusuke
Hi, Sorry for the delay. I have no environment for running DPDK-enabled Lagopus, and it takes times to investigate why... (I know KVM can be available, but have not tried yet...) For pointing the cause, could you test your Lagopus whether output:normal action works well or not? e.g.) If you use

Re: [Ryu-devel] Install - Ryu

2016-11-08 Thread munther numan
Hi Yi Tseng, Thank you very much, for your response. I am just start with Ryu , can you please tell me which command I must use to install the requirements befor install ryu. Best Regards Munther Numan Master Student Faculty of Engineering University Putra Malaysia --

Re: [Ryu-devel] Install - Ryu

2016-11-08 Thread Yi Tseng
Hi please install requirements before install ryu ``` eventlet>=0.15 msgpack-python>=0.3.0 # RPC library, BGP speaker(net_cntl) netaddr oslo.config>=1.15.0 routes # wsgi six>=1.4.0 webob>=1.2 # wsgi ovs>=2.6.0 # OVSDB ``` 2016-11-08 17:37 GMT+08:00 Munther Numan : > dear colleagues, > > > >

[Ryu-devel] Install - Ryu

2016-11-08 Thread Munther Numan
dear colleagues, I have problem with install Ryu controller, I follow the instruction carefully and I get more than one error I used bellow method to install Ryu please tell me this method is correct or not correct and if not correct please advise me to correct method to install Ryu : git clo

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

2016-11-08 Thread IWASE Yusuke
Currently, in addition to "requirements for tests", test-requires includes "optional requirements". This makes it unclear to identify which packages are surely required to use optional features (e.g., RPC, OF-Config, OVSDB) and causes the redundant installation when building Docker images. This pa

[Ryu-devel] [PATCH v3 2/9] contrib: Revert module path to ryu.contrib

2016-11-08 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/app/wsgi.py | 16 +++- ryu/cmd/manager.py| 12 +--- ryu/cmd/of_config_cli.py | 9 +++-- ryu/cmd/rpc_cli.py| 6 +- ryu/cmd/ryu_base.py | 8 +++- ryu/lib/of_config/__init__.py

[Ryu-devel] [PATCH v3 5/9] wsgi: Avoid using inspect.getargspec

2016-11-08 Thread IWASE Yusuke
Officially, "inspect.getargspec" is obsoleted in Python 3.0, this patch fixes to avoid using this function. Signed-off-by: IWASE Yusuke --- ryu/app/wsgi.py | 26 +- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/ryu/app/wsgi.py b/ryu/app/wsgi.py index 1e19

[Ryu-devel] [PATCH v3 7/9] RPC: Specify encoding to msgpack.Packer/Unpacker

2016-11-08 Thread IWASE Yusuke
Currently, RPC requests using rpc_cli.py will crash on Python 3, because the decoded string through msgpack-rpc is not str type when the default encoding is not specified into msgpack.Unpacker. On Python 2, bytes type is the same as str type, and this problem does not occur. The old spec of msgpac

[Ryu-devel] [PATCH v3 3/9] wsgi: Use six.text_type instead of unicode

2016-11-08 Thread IWASE Yusuke
This issue is suggested by Marcel Grossmann on GitHub PR #53. Signed-off-by: IWASE Yusuke --- ryu/app/wsgi.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ryu/app/wsgi.py b/ryu/app/wsgi.py index 3c8bc93..fbfa0e7 100644 --- a/ryu/app/wsgi.py +++ b/ryu/app/wsgi.py @@ -1

[Ryu-devel] [PATCH v3 0/9] RPC: Improvements for Python 3

2016-11-08 Thread IWASE Yusuke
This patch updates the v2 patches for Kakuma-San comments. v3 patch is fixed to include optional-requires in install_venv.py. This patch updates the previous patches for Kakuma-San comments. v2 patch separates test-requires into two files("test requirements" and "optional requirements") and revert

[Ryu-devel] [PATCH v3 1/9] protocols/bgp/base: Add missing __next__ method

2016-11-08 Thread IWASE Yusuke
This patch adds the missing __next__ method for Python 3 iterable. Signed-off-by: IWASE Yusuke --- ryu/services/protocols/bgp/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ryu/services/protocols/bgp/base.py b/ryu/services/protocols/bgp/base.py index 713622d..dd658aa 100644 ---

[Ryu-devel] [PATCH v3 4/9] wsgi: Reduce pylint warnings

2016-11-08 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/app/wsgi.py | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ryu/app/wsgi.py b/ryu/app/wsgi.py index fbfa0e7..1e19fed 100644 --- a/ryu/app/wsgi.py +++ b/ryu/app/wsgi.py @@ -17,6 +17,8 @@ import inspect from types import MethodTyp

[Ryu-devel] [PATCH v3 9/9] docker_base: Add missing requirements for test-requires

2016-11-08 Thread IWASE Yusuke
Signed-off-by: IWASE Yusuke --- ryu/tests/integrated/common/docker_base.py | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/ryu/tests/integrated/common/docker_base.py b/ryu/tests/integrated/common/docker_base.py index 13fe223..7bceaed 100644 --- a/ry

[Ryu-devel] [PATCH v3 6/9] test_rpc: Use numbers.Integral instead of long type

2016-11-08 Thread IWASE Yusuke
Currently, test_rpc.py uses long type for PyPy interpreter compatibility, but log type is obsoleted in Python 3. This patch fixes test_rpc.py to use numbers.Integral and makes its implemetation more clean. Signed-off-by: IWASE Yusuke --- ryu/tests/unit/lib/test_rpc.py | 15 --- 1 fil

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

2016-11-08 Thread Iwase Yusuke
Hi Kakuma-San, On 2016年11月08日 16:52, fumihiko kakuma wrote: > Hi Iwase-san, > Sorry, I sended an email by mistake. > > ryu/tools/install_venv.py also seems to need be modified. > > $ grep -rn test-requires . > ./tox.ini:7: -r{toxinidir}/tools/test-requires > ./tools/install_venv.py:34:TEST_