Re: [Ryu-devel] [PATCH 1/1] updated jsonrpc.Session call to have correct arguments for latest version of ovs

2020-04-22 Thread FUJITA Tomonori
Hey, On Wed, Apr 22, 2020 at 2:11 PM Scott wrote: > Signed-off-by: Scott > --- > ryu/services/protocols/ovsdb/client.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) pushed, thanks. ___ Ryu-devel mailing list Ryu-devel@lists.sourceforge.n

Re: [Ryu-devel] Ryu still under active dev?

2020-04-08 Thread FUJITA Tomonori
Hi, On Wed, Apr 8, 2020 at 4:43 AM Curell, Grant wrote: > Is Ryu still actively developed? > Not. When I have time, I try to push pull requests to fix things. Anyone is interested in maintaining the project actively? > I sent in a PR a week ago on the mailing list, haven’t heard anything bac

Re: [Ryu-devel] [PATCH] Add support for revised RFC8227 withdraw labels

2019-09-25 Thread FUJITA Tomonori
On Tue, 24 Sep 2019 08:52:48 +1000 Benjamin Villain via Ryu-devel wrote: > This commit fixes a parsing error when a BGP update contains a "withdraw > label" > equal to 0x00 instead of 0x800 as stated in RFC 3107. This commits > treats both labels as "withdraw label" > > cr https://code.

Re: [Ryu-devel] [PATCH] Add support for Adj-RIB-Out (draft-ietf-grow-bmp-adj-rib-out-03)

2019-09-25 Thread FUJITA Tomonori
On Tue, 24 Sep 2019 08:48:28 +1000 Benjamin Villain via Ryu-devel wrote: > Signed-off-by: Benjamin Villain > --- > ryu/lib/packet/bmp.py | 49 +++ > ryu/tests/unit/packet/test_bmp.py | 21 - > 2 files changed, 56 insertions(+), 14 deletions(-)

[Ryu-devel] [PATCH] drop Python 3.4 CI test

2019-08-01 Thread FUJITA Tomonori
Python 3.4 is officially dead. Signed-off-by: FUJITA Tomonori --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4f67934..712ffd1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,9 +14,6 @@ matrix: - python: 2.7 env: TOX_ENV=py27

Re: [Ryu-devel] [PATCH 1/1] nx_action_encap and nx_action_decap classes are defined

2019-07-18 Thread FUJITA Tomonori
ns(+) Thanks, pushed with the following fix for CI failures. = >From a295810f77238c5c55fc852d4807f0e46a298245 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Thu, 18 Jul 2019 20:46:08 +0900 Subject: [PATCH] fix style errors Signed-off-by: FUJITA Tomonori --- ryu/ofproto/nx_actions.py |

Re: [Ryu-devel] [PATCH] app/ofctl: fix possible deadlock

2019-04-09 Thread FUJITA Tomonori
oops, forgot to push it. Now the master is updated. On Wed, Apr 10, 2019 at 11:10 AM Atzm Watanabe wrote: > > At Tue, 09 Apr 2019 20:35:10 +0900 (JST), > FUJITA Tomonori wrote: > > > > On Fri, 29 Mar 2019 13:47:37 +0900 > > Atzm Watanabe wrote: > > > >

Re: [Ryu-devel] [PATCH] app/ofctl: fix possible deadlock

2019-04-09 Thread FUJITA Tomonori
On Fri, 29 Mar 2019 13:47:37 +0900 Atzm Watanabe wrote: > When datapath reconnects/disconnects, waiting requests on old > datapath should be canceled. Otherwise, threads that sent > requests may fall into deadlock because replies possibly never > come. > > Signed-off-by: Atzm Watanabe > --- >

Re: [Ryu-devel] [PATCH 1/1] Choose the highest TLS version

2019-03-28 Thread FUJITA Tomonori
On Mon, Mar 25, 2019 at 2:44 PM IWAMOTO Toshihiro wrote: > > Please note that this is a stop-gap measure. Also add a basic SSL > server test. > > Co-authored-by: alex > Signed-off-by: IWAMOTO Toshihiro > --- > ryu/controller/controller.py | 23 +--- > ryu/lib/hub.py

Re: [Ryu-devel] [PATCH] Grammatical improvements to some of the documentation

2018-10-19 Thread FUJITA Tomonori
On Fri, 19 Oct 2018 21:33:01 +0100 Bill Allen wrote: > From 01b0d891b8ed29da4bd0eedb033ec5910fb0de0f Mon Sep 17 00:00:00 2001 > From: Bill Allen > Date: Tue, 16 Oct 2018 21:14:00 +0100 > Subject: [PATCH] Grammatical improvements to some of the documentation. > > Signed-off-by: Bill Allen > ---

Re: [Ryu-devel] [PATCH] app/ofctl: fix possible deadlock when the datapath disconnects

2018-09-25 Thread FUJITA Tomonori
On Thu, 13 Sep 2018 12:24:28 +0900 Atzm Watanabe wrote: > Signed-off-by: Atzm Watanabe > --- > ryu/app/ofctl/service.py | 20 +--- > 1 file changed, 17 insertions(+), 3 deletions(-) Applied, thanks guys. ___ Ryu-devel mailing list R

[Ryu-devel] 4.28 released

2018-09-01 Thread FUJITA Tomonori
Hi, Here's a new release. = FUJITA Tomonori (1): Ryu 4.28 IWASE Yusuke (4): mrtlib: Missing subclass for SUBTYPE_RIB_*_MULTICAST mrtlib: Support RFC8050 test_mrtlib: Test cases for ADD_PATH mrtlib: Define JSON representation types Slawek Kaplonski (1):

Re: [Ryu-devel] [PATCH] Fix convertion of ipv4 to string on i386 and arch

2018-08-14 Thread FUJITA Tomonori
pushed, thanks guys! 2018年8月11日(土) 19:09 Yusuke Iwase : > > Thanks Slawek, it looks good to me! > > > 2018/08/12 1:50、Slawomir Kaplonski のメール: > > > Hi Yusuke, > > > > You are absolutely right :) It’s changed now. I used „numbers.Integral” > > because it was already used like that in method which

Re: [Ryu-devel] Fw: [PATCH 0/4] mrtlib: Support RFC8050

2018-08-11 Thread FUJITA Tomonori
Sorry about the delay, On Sat, 11 Aug 2018 16:47:46 +0900 IWASE Yusuke wrote: > Dear Fujita-San, > > Great to see you again. > > Could you review these patches when you have time? Applied, thanks. > > Thanks, > Iwase > > > Begin forwarded message: > > Date: Fri, 30 Mar 2018 11:33:54 +090

[Ryu-devel] 4.27 released

2018-08-02 Thread FUJITA Tomonori
Hi, Here's a new release. = FUJITA Tomonori (1): Ryu 4.27 IWAMOTO Toshihiro (6): gui_topology: Avoid wildcard URL matching switch.tester: Fix name shadowing lib/ovs/bridge: Return multiple controllers Bump oslo.config to 2.5.0 Test more python versio

Re: [Ryu-devel] [PATCH] Bump oslo.config to 2.5.0

2018-08-01 Thread FUJITA Tomonori
On Wed, 1 Aug 2018 14:28:49 +0900 IWAMOTO Toshihiro wrote: > Ryu is using item_type since commit f77529036, so oslo.config minimum > version needs to be updated. > > Signed-off-by: IWAMOTO Toshihiro > --- > tools/pip-requires | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, t

Re: [Ryu-devel] [PATCH] Test more python versions on travis CI

2018-08-01 Thread FUJITA Tomonori
On Wed, 1 Aug 2018 14:35:19 +0900 IWAMOTO Toshihiro wrote: > It seems tests weren't correctly run because of interactions between > travis CI env and tox venv. Also, run the scenario test on more > recent python3, as python3.4 is going away. > The test uses a lot of memory and fails with pypy,

Re: [Ryu-devel] [PATCH] Declare support of recent python3 versions

2018-08-01 Thread FUJITA Tomonori
On Wed, 1 Aug 2018 14:39:50 +0900 IWAMOTO Toshihiro wrote: > Signed-off-by: IWAMOTO Toshihiro > --- > setup.cfg | 3 +++ > 1 file changed, 3 insertions(+) Applied, thanks! -- Check out the vibrant tech community on o

Re: [Ryu-devel] Release of new version

2018-08-01 Thread FUJITA Tomonori
Hi, On Wed, 1 Aug 2018 09:49:04 +0200 Slawomir Kaplonski wrote: > I just wanted to know when You will release 4.27 version of ryu? Is > such release schedule available somewhere or You are maybe doing it > „on demand”? I release a new version early every month. I'll tomorrow or day after tomorr

Re: [Ryu-devel] [Patch] Fix UT when running in python 3.7 env

2018-07-30 Thread FUJITA Tomonori
On Mon, 30 Jul 2018 10:01:56 +0200 Slawomir Kaplonski wrote: > From bb3963b448b542c3aeac5fb9f3f15fcee5c2b423 Mon Sep 17 00:00:00 2001 > From: Slawek Kaplonski > Date: Wed, 25 Jul 2018 13:47:48 +0200 > Subject: [PATCH] Fix UT when running in python 3.7 env > > Due to change [1] in python 3.7 one

Re: [Ryu-devel] [PATCH] lib/ovs/bridge: Return multiple controllers

2018-07-20 Thread FUJITA Tomonori
On Wed, 18 Jul 2018 17:40:07 +0900 IWAMOTO Toshihiro wrote: > OVSBridge may have more than one controller. Let get_controller() > return a list of controllers in such cases. > > NOTE: this introduces incompatibility if multiple controllers are > configured for a bridge. > > Signed-off-by: IWAMO

Re: [Ryu-devel] Query in Bgp neighbor_add api

2018-07-15 Thread FUJITA Tomonori
On Wed, 27 Jun 2018 16:50:41 +0900 Iwase Yusuke wrote: > From 14f48def88012f779ac30d2068e4c7c8b1948233 Mon Sep 17 00:00:00 2001 > From: IWASE Yusuke > Date: Wed, 27 Jun 2018 16:13:25 +0900 > Subject: [PATCH] BGPSpeaker: Enable to specify remote port for neighbor > > Currently, the remote port o

Re: [Ryu-devel] [PATCH] gui_topology: Avoid wildcard URL matching

2018-07-15 Thread FUJITA Tomonori
On Wed, 11 Jul 2018 13:51:48 +0900 IWAMOTO Toshihiro wrote: > GUIServerController eats up the entire URL space and sometimes causes > problems. See the following thread in ryu-devel for example: > > https://sourceforge.net/p/ryu/mailman/message/36312411/ > > Signed-off-by: IWAMOTO Toshihiro >

Re: [Ryu-devel] [PATCH] switch.tester: Fix name shadowing

2018-07-15 Thread FUJITA Tomonori
On Thu, 12 Jul 2018 12:29:35 +0900 IWAMOTO Toshihiro wrote: > tester.py imported all the classes from the packet library at the top level > namespace. This commit adds CLSNAME_ALIASES dict so that those classes > with the same names can be imported as different names. > This fixes an issue report

[Ryu-devel] 4.26 released

2018-07-01 Thread FUJITA Tomonori
Hi, Here's a new release. = FUJITA Tomonori (1): Ryu 4.26 IWAMOTO Toshihiro (4): lldp: Remove remaining SystemCapabilities.subtype from tests pip: Blacklist eventlet 0.23.0 Fix pycodestyle W605 warnings nx_actions: Fix NXActionSetTunnel docstring IWASE Yusu

Re: [Ryu-devel] Python-ryu in Fedora

2018-06-30 Thread FUJITA Tomonori
Hi, 2018年6月30日(土) 18:45 Slawomir Kaplonski : > I’m Neutron developer working for Red Hat. Recently I also want to learn a > bit about building rpm packages for Fedora and RDO and I decided to be > co-maintainer of python-ryu package at the beginning. > So I would like to ask You about rye relea

Re: [Ryu-devel] Attendees list of 2018 IDEA World Fitness ConventionT

2018-05-04 Thread FUJITA Tomonori
Hi, If you volunteer to manually moderate the mailing list, let me know. Otherwise, this is what the Mailman provides by default. Please use spam filter on your side (gmail works for me). 2018年5月4日(金) 14:02 Pedro Andres Aranda Gutierrez : > Moderator... This is what I'm talking about! I don't wa

[Ryu-devel] 4.24 released

2018-03-31 Thread FUJITA Tomonori
Hi, Here's a new release. = FUJITA Tomonori (1): Ryu 4.24 IWAMOTO Toshihiro (1): ofproto: add Nicira extension ct_clear action IWASE Yusuke (10): doc: Fix unexpected indent in ofctl.api doc nicira_ext: Support Network Service Header match nicira_ext: Su

Re: [Ryu-devel] [PATCH] ofproto: add Nicira extension ct_clear action

2018-03-28 Thread FUJITA Tomonori
On Wed, 28 Mar 2018 16:48:34 +0900 IWAMOTO Toshihiro wrote: > Signed-off-by: IWAMOTO Toshihiro > --- > ryu/lib/ofctl_string.py| 4 ++ > ryu/ofproto/nicira_ext.py | 1 + > ryu/ofproto/nx_actions.py | 38 ++

Re: [Ryu-devel] [PATCH v2 0/5] ofproto: Encode data field on OFPErrorMsg

2018-03-26 Thread FUJITA Tomonori
On Tue, 6 Mar 2018 15:52:18 +0900 IWASE Yusuke wrote: > The v2 patches update v1 patches to avoid a socket closed immediately after > sending some messages. If a sender closes a socket immediately after sending > some data, a receiver can fail to receive full data from the sender. > > From v1 p

Re: [Ryu-devel] [PATCH 0/2] Avoid using pip as library

2018-03-26 Thread FUJITA Tomonori
On Fri, 23 Mar 2018 10:24:34 +0900 IWASE Yusuke wrote: > As Stamatis reported on; > [Ryu-devel] Problem with new version of Pip > Using "pip" as a Python library is not offically recommended and planned to > break in "pip" version 10. > > The following patches removes an unused function and fi

Re: [Ryu-devel] [PATCH] Switch to msgpack in pip-requires

2018-03-20 Thread FUJITA Tomonori
On Tue, 6 Mar 2018 12:53:20 +0900 Iwase Yusuke wrote: > Hi Thomas, > > Thanks a lot for submitting your patch! > It looks good to me! > > Thanks, > Iwase > > On 2018年03月06日 02:41, Thomas Bechtold wrote: >> From: Thomas Bechtold >> msgpack-python got renamed to msgpack[1] so use the new name.

Re: [Ryu-devel] [PATCH] doc: Fix unexpected indent in ofctl.api doc

2018-03-20 Thread FUJITA Tomonori
On Thu, 1 Mar 2018 14:22:32 +0900 IWASE Yusuke wrote: > Signed-off-by: IWASE Yusuke > --- > ryu/app/ofctl/api.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied. -- Check out the vibrant tech co

Re: [Ryu-devel] [PATCH 0/2] nicira_ext: Support Network Service Header match

2018-03-20 Thread FUJITA Tomonori
On Thu, 8 Mar 2018 15:40:22 +0900 IWASE Yusuke wrote: > The following patches support the Nicira Extended match for Network Service > Header (NSH). > > Note: To use NSH match, OVS v2.8 or later is required. > > IWASE Yusuke (2): > nicira_ext: Support Network Service Header match > nicira_e

[Ryu-devel] 4.23 released

2018-03-05 Thread FUJITA Tomonori
Hi, Here's a new release. = FUJITA Tomonori (1): Ryu 4.23 IWASE Yusuke (2): lib/ovs: Fix a typo of "--may-exist" option doc: Document for ryu.lib.ovs -- Check out the vibrant tech comm

Re: [Ryu-devel] [PATCH] ofproto_v1_5: Function to disable EXT-334

2018-03-05 Thread FUJITA Tomonori
On Fri, 23 Feb 2018 12:40:32 +0900 IWASE Yusuke wrote: > Because OVS 2.9.0 does not yet support the OXS(EXT-334), in order to use > ``OFPMP_FLOW_STATS``, ``OFPMP_AGGREGATE_STATS`` and > ``OFPT_FLOW_REMOVED`` messages, we need to use parsers for the OpenFlow > version 1.4. > > This patch adds an

Re: [Ryu-devel] [PATCH 0/2] doc: Document for ryu.lib.ovs

2018-02-10 Thread FUJITA Tomonori
On Mon, 5 Feb 2018 09:46:43 +0900 IWASE Yusuke wrote: > Because the usage of "ryu.lib.ovs" is frequently asked at the Ryu-devel > mailing > list, the following patches adds the document for this library. > > FYI, the document page would be like: > http://ryu-iwase.readthedocs.io/en/doc-lib-o

[Ryu-devel] 4.22 released

2018-02-01 Thread FUJITA Tomonori
Hi, Here's a new release. = FUJITA Tomonori (1): Ryu 4.22 IWASE Yusuke (7): doc: Usage for ryu/services/protocols/bgp/application.py test_rpc: Adopt to msgpack-python>=0.50 confroller/dpset: Add usage example of instantiation ofctl: Enable to get all

Re: [Ryu-devel] [PATCH 0/3] BGPSpeaker: Enable to notify adj-RIB-in changed

2018-01-23 Thread FUJITA Tomonori
2018-01-23 9:41 GMT+09:00 IWASE Yusuke : > The following patches introduce a new argument to BGPSpeaker and a new event > to "bgp/bgpspeaker.py" in order to notify adj-RIB-in changed to watchers. > Also include improvements for the BGPSpeaker API documentation. > > IWASE Yusuke (3): > BGPSpeaker:

Re: [Ryu-devel] [PATCH] ofctl: Enable to get all datapath objects

2018-01-19 Thread FUJITA Tomonori
On Mon, 15 Jan 2018 12:56:08 +0900 IWASE Yusuke wrote: > The following patch extends"ryu.ofctl.app.get_datapath()" function to get all > connecting datapath objects with "dpid=None" argument. > > Also the usage of "ryu.ofctl.app" is frequently asked on the Ryu-devel mailing > list, this patch ex

Re: [Ryu-devel] [PATCH 0/2] doc: Usage for ryu/services/protocols/bgp/application.py

2018-01-19 Thread FUJITA Tomonori
On Thu, 11 Jan 2018 16:02:38 +0900 IWASE Yusuke wrote: > The following patches add the doc for > ryu/services/protocols/bgp/application.py > because the usage of Ryu BGP Speaker is frequently asked at the Ryu-devel > mailing list. > Also, includes a update of test_rpc.py for the compatibility wi

[Ryu-devel] 4.21 released

2018-01-01 Thread FUJITA Tomonori
Hi, Here's a new release. = FUJITA Tomonori (1): Ryu 4.21 Felician Nemeth (1): ovsdb: Fix small bug IWAMOTO Toshihiro (4): ofproto: Correct OFPBundle{Ctrl, Add}Msg docstrings ofproto_v1_3: Add bundle extension packet_data_generator3: Support ov

Re: [Ryu-devel] [PATCH 1/4] pycodestyle: Replace pep8

2017-12-17 Thread FUJITA Tomonori
On Fri, 15 Dec 2017 10:50:14 +0900 IWASE Yusuke wrote: > pep8 has been renamed to pycodestyle and will be removed in a future > release. > > This patch replaces pep8 by pycodestyle and adding some settings for > pycodestyle. > > Signed-off-by: IWASE Yusuke > --- > .travis.yml | 2 +-

Re: [Ryu-devel] [PATCH 0/3] ofproto_v1_5_parser: Fix OFPActionCopyField

2017-12-17 Thread FUJITA Tomonori
On Fri, 15 Dec 2017 10:00:08 +0900 IWASE Yusuke wrote: > The following patches fix the length calculation and padding of > OFPActionCopyField when using OpenFlow 1.5. > > This issue is related to the following report when using Open vSwitch. > [Ryu-devel] Reg load fails in OF 1.5 > > IWASE Yu

Re: [Ryu-devel] [PATCH] topology: Enable to detect migrations of hosts

2017-12-11 Thread FUJITA Tomonori
On Wed, 29 Nov 2017 16:23:16 +0900 IWASE Yusuke wrote: > Currently, the topology library does not update the position of a host > which was detected before even if the host migrated to another port. > > This patch enables to detect the migrations of the hosts when the host > is detected on anoth

Re: [Ryu-devel] [PATCH] rest_vtep: Add some descriptions for troubleshooting

2017-12-11 Thread FUJITA Tomonori
On Fri, 1 Dec 2017 16:13:18 +0900 IWASE Yusuke wrote: > This patch adds some notes about the settings when using the Mininet > VMs for the environment on which rest_vtep.py running. > > Reported-by: Varun Amrutiya > Signed-off-by: IWASE Yusuke > --- > ryu/app/rest_vtep.py | 39 ++

Re: [Ryu-devel] [PATCH 0/4] Add OF1.3 bundle extension

2017-12-11 Thread FUJITA Tomonori
On Fri, 1 Dec 2017 17:49:01 +0900 IWAMOTO Toshihiro wrote: > This set of patches add OF1.3 bundle extension, which will be used by > OpenStack in near future (I hope). I had to change OFPExperimenter.parser > to be able to return ONFBundleCtrlMsg. Some may find the code being ugly. > > I'll add

Re: [Ryu-devel] [PATCH] ovsdb: Fix small bug

2017-12-11 Thread FUJITA Tomonori
Sorry about the delay, On Fri, 01 Dec 2017 13:02:10 +0100 Felician Nemeth wrote: > > Signed-off-by: Felicián Németh > --- > ryu/services/protocols/ovsdb/api.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/ryu/services/protocols/ovsdb/api.py > b/ryu/services/proto

[Ryu-devel] 4.20 released

2017-12-01 Thread FUJITA Tomonori
Hi, Here's a new release. = Charlie Lewis (1): doc: fix typo FUJITA Tomonori (1): Ryu 4.20 IWAMOTO Toshihiro (1): of14: Implement OFPBundleCtrlMsg parser IWASE Yusuke (8): lib/ovs/vsctl: Function for validate OVSDB address rest_qos: Avoid None when deleting

Re: [Ryu-devel] [PATCH 1/2] fix bug in the example of flow_stats_reply

2017-11-27 Thread FUJITA Tomonori
On Mon, 20 Nov 2017 12:12:29 + Meng Qingyu wrote: > From: morland > > Signed-off-by: morland > --- > ryu/ofproto/ofproto_v1_0_parser.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied, thanks. --

Re: [Ryu-devel] [PATCH 2/2] Fix bug of OFPT_ALL missing

2017-11-27 Thread FUJITA Tomonori
On Tue, 28 Nov 2017 02:27:28 + Meng Qingyu wrote: > Hi, > Sorry about later reply. > Actually, Yes. It should be some OFPP_ANY. > But as I said, this is a bug from openflow-spec-v1.0.0 itself. In this > official spec, ofp_queue_stats_request was being defined as: > > struct ofp_queue_stats_

Re: [Ryu-devel] SimpleSwitch with openflow 1.5 support

2017-11-27 Thread FUJITA Tomonori
On Sun, 22 Oct 2017 00:04:18 +0200 Thomas Boros wrote: > From 7e166e82c8b7c4b057dd32501e64946777d8b83b Mon Sep 17 00:00:00 2001 > From: None > Date: Sat, 21 Oct 2017 10:13:02 -0700 > Subject: [PATCH] Added simple switch with openflow 1.5 support > > Signed-off-by: None > --- > ryu/app/simple_

Re: [Ryu-devel] [PATCH] ofproto_v1_5_parser: Change default of command_bucket_id

2017-11-27 Thread FUJITA Tomonori
On Mon, 27 Nov 2017 15:22:01 +0900 IWASE Yusuke wrote: > Currently, Ryu will send the OFPGroupMod message with > "command_bucket_id=0" by the default if using the OpenFlow version 1.5. > OTOH, Open vSwitch expects "command_bucket_id=OFPG_BUCKET_ALL" if > "command" is other than OFPGC_INSERT_BUCKE

Re: [Ryu-devel] [PATCH] app: Fix simple_switch for multi switch env

2017-11-27 Thread FUJITA Tomonori
On Sat, 25 Nov 2017 21:58:15 +0900 IWASE Yusuke wrote: > Currently, the matches of flows in the learning switch examples are based > on the destination and the in_port. In a multi-OF-switch environment this > could cause issues when doing calls from a host on a first switch to > multiple hosts on

Re: [Ryu-devel] [PATCH 0/2] packet/icmp: Avoid TypeError when calculating length

2017-11-15 Thread FUJITA Tomonori
On Wed, 8 Nov 2017 16:24:13 +0900 IWASE Yusuke wrote: > These patches fix the issue which William Fisher reported. > Please refer to the following mail for the details of this issue. > [Ryu-devel] Error parsing ICMPv4 fragments > > IWASE Yusuke (2): > packet/icmp: Avoid TypeError when calcu

Re: [Ryu-devel] [PATCH v2] *: Reject Binary Represented IP Addresses

2017-11-15 Thread FUJITA Tomonori
On Mon, 6 Nov 2017 14:53:46 +0900 Satoshi Fujimoto wrote: > As a default, netaddr.valid_ipv4() uses the "aton" rule for its validation, > so valid_ipv4('2') and valid_ipv4('1.2.3') returns True. > It may cause unexpected behaviors. > > This commit replaces netaddr.valid_ipv4() to ryu.lib.ip.val

Re: [Ryu-devel] [PATCH] serivice/bgp: Fix ssh connection problem in Python 2.7

2017-11-05 Thread FUJITA Tomonori
On Thu, 2 Nov 2017 15:39:24 +0900 Satoshi Fujimoto wrote: > Currently, 'is_connected' attribute in SshServer is refered > before it is created, in Python 2.7. > This raises an Exception and the SSH operation won't work > anymore after this happens. > This commit ensures that 'is_connected' is cr

Re: [Ryu-devel] [PATCH] *: Reject Binary Represented IP Addresses

2017-11-05 Thread FUJITA Tomonori
On Tue, 31 Oct 2017 13:47:02 +0900 Satoshi Fujimoto wrote: > As a default, netaddr.valid_ipv4() uses the "aton" rule for its validation, > so valid_ipv4('2') and valid_ipv4('1.2.3') returns True. > It may cause unexpected behaviors. > > This commit replaces netaddr.valid_ipv4() to ryu.lib.ip.val

Re: [Ryu-devel] [PATCH] flags: Inject __class__ attribute to LooseVersion

2017-11-01 Thread FUJITA Tomonori
On Thu, 2 Nov 2017 11:26:29 +0900 IWASE Yusuke wrote: > Currently, ryu-manager uses distutils.version.LooseVersion for > "--zapi-frr-version" to parse the given version sting. > With custom type class for oslo_config.cfg.Opt, oslo_config might access > __class__ attribute for equal comparison. >

Re: [Ryu-devel] Ryu certification question

2017-11-01 Thread FUJITA Tomonori
Hi, On Wed, 1 Nov 2017 17:47:35 +0200 Dimitar Dimitrov wrote: > My name is Dimitar Dimitrov and I am working for Virtual Open Systems. We > are interesting in > getting Ryu certification (https://osrg.github.io/ryu/certification.html#ofs) The results are not updated any more. I need to overhaul

Re: [Ryu-devel] [PATCH] library_ovsdb_manager: Descriptions for OVS configs

2017-11-01 Thread FUJITA Tomonori
On Thu, 2 Nov 2017 09:11:26 +0900 IWASE Yusuke wrote: > To connect OVSDB Manager library to OVS, some additional configurations > on OVS is required, but currently no description about these > configurations. > > This patch adds descriptions for OVS configurations and includes some > improvemen

Re: [Ryu-devel] [PATCH] app/ofctl: Enable to send single BarrierRequest

2017-11-01 Thread FUJITA Tomonori
On Tue, 17 Oct 2017 10:24:53 +0900 Satoshi Fujimoto wrote: > Currently, with ryu.app.ofctl.api.send_msg(), > a BarrierRequest will send with every messages. > So, using send_msg() with a BarrierRequest will > cause duplex transmission of BarrierRequests. > > This commit enables to send a single

Re: [Ryu-devel] [PATCH] packet/zebra: Support FRRouting version 3.0

2017-11-01 Thread FUJITA Tomonori
On Tue, 17 Oct 2017 14:20:51 +0900 IWASE Yusuke wrote: > This patch enables to support Zebra messages of FRRouting version 3.0 > and introduces a flag to switch FRRouting version. > > Signed-off-by: IWASE Yusuke > --- > ryu/cfg.py | 1 + > ryu/flags.py

Re: [Ryu-devel] [PATCH] of14: Implement OFPBundleCtrlMsg parser

2017-11-01 Thread FUJITA Tomonori
On Fri, 27 Oct 2017 12:50:03 +0900 IWAMOTO Toshihiro wrote: > Copied from of15 implementation. > > Signed-off-by: IWAMOTO Toshihiro > --- > ryu/ofproto/ofproto_v1_4_parser.py| 23 ++- > ryu/tests/unit/ofproto/test_parser.py | 2 +- > 2 files changed, 23 insertions(+),

Re: [Ryu-devel] [PATCH 0/2] rest_qos: Avoid None when deleting OVSDB addr

2017-11-01 Thread FUJITA Tomonori
On Tue, 31 Oct 2017 14:28:37 +0900 IWASE Yusuke wrote: > Currently, rest_qos.py will raise AttributeError when deleting OVSDB > server address because rest_qos.py will try to split the given address > string but the address is None when deleting. > > The following patches fix this problem and in

[Ryu-devel] 4.19 released

2017-11-01 Thread FUJITA Tomonori
Hi, Here's a new release. = FUJITA Tomonori (1): Ryu 4.19 IWASE Yusuke (5): controller: Support proactive connection controller: APIs to register switch address dynamically test_controller: Test cases for _split_addr() bgp/application: Enhance arguments han

Re: [Ryu-devel] SimpleSwitch with openflow 1.5 support

2017-10-22 Thread FUJITA Tomonori
On Sun, 22 Oct 2017 21:16:07 +0900 Iwase Yusuke wrote: >> +# Copyright (C) 2011 Nippon Telegraph and Telephone Corporation. > > Also, should the published year be updated to 2017? I don't think so. The original copyright should be kept. It means that he added some work on the top of the origina

Re: [Ryu-devel] [PATCH 0/2] BGPSpeaker: Enable to specify local listen addresses

2017-10-14 Thread FUJITA Tomonori
On Fri, 29 Sep 2017 16:15:32 +0900 IWASE Yusuke wrote: > Currently, BGPSpeaker will listen the incoming connection with the > unspecified IP addresses ('0.0.0.0' and '::'). > > The following patches enable to specify the local listen address list > for starting BGPSpeaker instance. > Also includ

Re: [Ryu-devel] [PATCH 1/3] controller: Support proactive connection

2017-10-14 Thread FUJITA Tomonori
On Fri, 6 Oct 2017 10:34:59 +0900 IWASE Yusuke wrote: > This patch enables to initiate OpenFlow connection from controller side > by using "--ofp-switch-address-list" and "--ofp-switch-connect-interval" > options. > > Signed-off-by: IWASE Yusuke > --- > ryu/controller/controller.py | 55 > ++

[Ryu-devel] 4.18 released

2017-10-02 Thread FUJITA Tomonori
Hi, Here's a new release. = FUJITA Tomonori (1): Ryu 4.18 IWASE Yusuke (17): packet/zebra: Fix unresolved reference for _serialize_nexthops packet/zebra: Return "ZebraMessage" for message from Zebra packet/zebra: Constants for Interface Address Flags

Re: [Ryu-devel] [PATCH 00/17] zebra: Support FRRouting v2.0

2017-09-16 Thread FUJITA Tomonori
On Tue, 5 Sep 2017 10:13:29 +0900 IWASE Yusuke wrote: > The following patches add the supports for Zebra API messages in FRRouting > version 2.0 format. > Also, including test cases for UTs of Zebra packet library. > > IWASE Yusuke (17): > packet/zebra: Fix unresolved reference for _serialize

Re: [Ryu-devel] Ryu and tests in packaging

2017-09-16 Thread FUJITA Tomonori
On Sat, 16 Sep 2017 21:55:17 -0700 Shivaram Mysore wrote: > Is there a way that we could do this if folks don't want openstack neutron > support? > May be we can have ryu-lite? Anyone can register own package on pypi site. Please feel free to register a derivative package like ryu-lite. --

Re: [Ryu-devel] Ryu and tests in packaging

2017-09-16 Thread FUJITA Tomonori
On Fri, 15 Sep 2017 09:51:29 -0700 Shivaram Mysore wrote: > Currently Ryu pip package contains tests. Can we move tests to say, > ryu-tests package? This will greatly reduce the package size and > dependencies. Size of the package and dependencies make a huge difference > for running Ryu insid

Re: [Ryu-devel] [PATCH] Only import pip if needed

2017-09-09 Thread FUJITA Tomonori
On Thu, 31 Aug 2017 07:06:39 +0200 Thomas Bechtold wrote: > From: Thomas Bechtold > > In some systems pip is not installed and the parse_requirements() function > is not needed. So only import pip if needed. Otherwise this fails with: > > from ryu.base import app_manager > File "/usr/lib/p

[Ryu-devel] 4.17 released

2017-09-04 Thread FUJITA Tomonori
Hi, Here's a new release. = Dingyuan Hu (1): services/ovsdb: Listen on IPv6 Address FUJITA Tomonori (1): Ryu 4.17 IWASE Yusuke (3): ofp_event: Timestamp when OpenFlow event was generated rest_qos: Avoid discarding Queues info for each request BGPSpeaker/net

Re: [Ryu-devel] [PATCH] services/ovsdb: Listen on IPv6 Address

2017-08-29 Thread FUJITA Tomonori
On Tue, 22 Aug 2017 16:18:05 +0900 Satoshi Fujimoto wrote: > This patch enables Ryu to listen ovsdb connections on IPv6 Address. > Note that you need to make a config file like belows: > [ovsdb] > address=:: > > Signed-off-by: Dingyuan Hu > Signed-off-by: Satoshi Fujimoto > --- > ryu/

Re: [Ryu-devel] [PATCH] rest_qos: Avoid discarding Queues info for each request

2017-08-29 Thread FUJITA Tomonori
On Mon, 21 Aug 2017 16:19:33 +0900 IWASE Yusuke wrote: > Currently, rest_qos discards the Queues info stored on its dictionary > for each "Set queue" request. > So rest_qos always reply only last Queue setting. > > This patch fixes to avoid discarding the Queues info and enable to reply > all co

Re: [Ryu-devel] [PATCH] packet/bmp: Correctly parse peer address with IPv4

2017-08-29 Thread FUJITA Tomonori
On Mon, 21 Aug 2017 16:50:55 +0900 Satoshi Fujimoto wrote: > Currently, Ryu expects that the IPv4 peer address format is > "4 bytes with IPv4 address, followed by 12 bytes padding". > However RFC 7854 says the format is > "12 bytes padding, followed by 4 bytes with IPv4 address". > > This patch

Re: [Ryu-devel] [PATCH] BGPSpeaker/net_ctrl: Close activity for each session

2017-08-29 Thread FUJITA Tomonori
On Tue, 22 Aug 2017 11:38:55 +0900 IWASE Yusuke wrote: > Currently, a thread for processing outgoing message will be remained in > "RpcSession" activity even if RPC session is closed by the remote peer, > and garbages on memory will grow. > > This patch fixes to close "RpcSession" activity when

Re: [Ryu-devel] [PATCH] topology/switches: Fix delete port can't immediately remove link.

2017-08-29 Thread FUJITA Tomonori
On Wed, 23 Aug 2017 15:13:44 +0800 mgrex97 wrote: > If remove port data from self.port_state first, > self.get_port method can't get the port data, > this problem will cause link can't immediately be removed. > This patch remove port data after get_port and link delete. > > Signed-off-by: Yu Ren

Re: [Ryu-devel] [PATCH v3] ofp_event: Timestamp when OpenFlow event was generated

2017-08-04 Thread FUJITA Tomonori
On Wed, 2 Aug 2017 14:45:09 +0900 IWASE Yusuke wrote: > This patch introduces "timestamp" attribute for OpenFlow event classes > which shows when that event was generated by Datapath instance and nearly > equivalent to when Ryu finished receiving the message contained in that > event instance. >

Re: [Ryu-devel] [PATCH] packet/icmpv6: Assert length in options are valid

2017-08-04 Thread FUJITA Tomonori
On Wed, 2 Aug 2017 15:01:02 +0900 Satoshi Fujimoto wrote: > About the 'length' field in ICMPv6 options, > RFC4861 says that "The value 0 is invalid". > This patch adds assertions to raise a exception > for such invalid ICMPv6 packets. > > Signed-off-by: Satoshi Fujimoto > --- > ryu/lib/packet

Re: [Ryu-devel] [PATCH] packet/icmpv6: Fix parsing undefined nd_option fails

2017-08-04 Thread FUJITA Tomonori
On Wed, 2 Aug 2017 11:18:49 +0900 Satoshi Fujimoto wrote: > The length of nd_option is units of 8 octets. > Currently, for nd_options which is undefined in the ICMPv6 packet library, > the parser assumes that the length is [8 * length - 2]. > It causes fails while parsing these options. > > Thi

[Ryu-devel] 4.16 released

2017-08-01 Thread FUJITA Tomonori
Hi, Here's a new release. = FUJITA Tomonori (1): Ryu 4.16 IWAMOTO Toshihiro (1): ofproto: Avoid emitting illegal instruction sets IWASE Yusuke (5): bgp_sample_conf: absolute_import to suppress warnings ofproto: Handle OFPErrorExperimenterMsg unit/ofproto:

Re: [Ryu-devel] [PATCH v2] manager: Option to enable timestamp

2017-08-01 Thread FUJITA Tomonori
On Tue, 25 Jul 2017 13:23:10 +0900 IWASE Yusuke wrote: > This patch introduces a new option "--with-timestamp" which enable to > get timestamp when Ryu received the OpenFlow message. > > Suggested-by: Matthew Hayes > Signed-off-by: IWASE Yusuke > --- > ryu/cmd/manager.py | 6 ++

Re: [Ryu-devel] [PATCH 1/2] doc: Deprecated option html_use_smartypants

2017-07-30 Thread FUJITA Tomonori
On Tue, 25 Jul 2017 10:42:27 +0900 IWASE Yusuke wrote: > "html_use_smartypants" in conf.py is deprecated in Sphinx 1.6. > This patch fixes to use "smart_quotes" in docutils.conf instead. > > Signed-off-by: IWASE Yusuke > --- > doc/source/conf.py | 2 +- > doc/source/docutils.conf | 2 ++

Re: [Ryu-devel] [PATCH 0/2] ofproto: Handle OFPErrorExperimenterMsg

2017-07-21 Thread FUJITA Tomonori
On Thu, 20 Jul 2017 14:10:49 +0900 IWASE Yusuke wrote: > This patch fixes a bug which reported on: > [Ryu-devel] bug: KeyError EventOFPErrorExperimenterMsg > > IWASE Yusuke (2): > ofproto: Handle OFPErrorExperimenterMsg > unit/ofproto: Adopt to rename of OFPErrorExperimenterMsg > > ryu/c

Re: [Ryu-devel] [PATCH] ofproto: Avoid emitting illegal instruction sets

2017-07-21 Thread FUJITA Tomonori
On Wed, 5 Jul 2017 14:37:55 +0900 IWAMOTO Toshihiro wrote: > The OpenFlow spec forbids multiple occurences of a same instruction > type within a mod_flow message, so make sure > ofp_instruction_from_jsondict doesn't emit such an instruction set. > > Signed-off-by: IWAMOTO Toshihiro > --- > ry

Re: [Ryu-devel] Multiple RYU controllers

2017-07-13 Thread FUJITA Tomonori
On Tue, 11 Jul 2017 05:22:53 + wrote: > Although I am bit familiar with RYU controller, I did not use its > multiple scenario before. I want to run multiple ryu controllers > which will be executed in parallel, and share their information > among themselves. Please help me sharing information

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

2017-07-12 Thread FUJITA Tomonori
On Thu, 13 Jul 2017 09:44:30 +0900 Iwase Yusuke wrote: > Hi, > > > On 2017年07月13日 09:13, FUJITA Tomonori wrote: >> CC'ed Iwase, >> On Thu, 13 Jul 2017 09:15:25 +0900 >> Takashi YAMAMOTO wrote: >> >>> On Thu, Jul 13, 2017 at 7:04 AM, fumihi

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

2017-07-12 Thread FUJITA Tomonori
CC'ed Iwase, 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 openstack neutron_dynamic_routing, doesn't it? >> >

Re: [Ryu-devel] [PATCH] service/ovsdb: get socket from RemoteOvsdb

2017-07-02 Thread FUJITA Tomonori
On Fri, 30 Jun 2017 10:58:50 +0900 Satoshi Fujimoto wrote: > This patch adds "socket" field to RemoteOvsdb > to get sockets which connects to switches. > > e.g.) > @set_ev_cls(ovsdb_event.EventNewOVSDBConnection) > def handle_new_ovsdb_connection(self, ev): > print(ev.client.sock

[Ryu-devel] 4.15 released

2017-07-02 Thread FUJITA Tomonori
Hi, Here's a new release; enjoy! = FUJITA Tomonori (2): Revert "tests: Separate test files from Ryu module" Ryu 4.15 IWASE Yusuke (9): service/ovsdb: Default of controller_info in set_controller README: Dependencies for installing option

Re: [Ryu-devel] [PATCH] tests: Revert some test files

2017-07-02 Thread FUJITA Tomonori
I did a clean revert because I want to avoid experiments just before the new release. The current size is 1MB, right? Is it the problem? On Fri, 30 Jun 2017 13:29:43 +0900 IWASE Yusuke wrote: > This patch puts some test files back which seperated by the following > commit. > [Ryu-devel] [PATC

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

2017-06-26 Thread FUJITA Tomonori
On Mon, 26 Jun 2017 15:04:43 +0900 IWASE Yusuke wrote: > To prevent redundant files (e.g., pcap files, json files for tests, > packet data generator) to be installed, this patch separates test > directory from Ryu module. > > Signed-off-by: IWASE Yusuke Sounds good. Pushed, thanks. --

Re: [Ryu-devel] [PATCH 0/5] Update OVSDB manager library and docs

2017-06-22 Thread FUJITA Tomonori
On Fri, 16 Jun 2017 11:45:42 +0900 Satoshi Fujimoto wrote: > These patch adds the property to EventNewOVSDBConnection > to get more informations through it. > These also provide some improvements on OVSDB manager. > > Satoshi Fujimoto (5): > service/ovsdb: Add properties to EventNewOVSDBConnec

Re: [Ryu-devel] [PATCH] IPv6 support for ovsdb

2017-06-22 Thread FUJITA Tomonori
On Wed, 14 Jun 2017 15:44:13 +0800 Dingyuan Hu wrote: > note: > To enable IPv6, you should config > ``` > [ovsdb] > address=:: > ``` > If you only listen on IPv6 address :: , you still can accept IPv4 > connection thought IPv4-mapped Address (e.g. :::192.0.2.3) > --- > ryu/services/protocols

Re: [Ryu-devel] [PATCH 1/2] pip: OpenStack updated requirements of eventlet again

2017-06-22 Thread FUJITA Tomonori
On Thu, 15 Jun 2017 14:31:28 +0900 IWASE Yusuke wrote: > Signed-off-by: IWASE Yusuke > --- > tools/pip-requires | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied both, thanks! -- Check out the vibrant te

Re: [Ryu-devel] [PATCH] test_vsctl: Strip unexpected double quote

2017-06-22 Thread FUJITA Tomonori
On Fri, 23 Jun 2017 10:31:31 +0900 IWASE Yusuke wrote: > This patch removes unexpected double quote around IP address in > OVSDB_SWITCH_ADDR. > e.g.) > NG: tcp:"172.17.0.2":6640 > OK: tcp:172.17.0.2:6640 > > Signed-off-by: IWASE Yusuke > --- > ryu/tests/unit/lib/ovs/test_vsctl.py | 2 +- > 1

Re: [Ryu-devel] [PATCH 0/4] Update docs for installing and contributing

2017-06-22 Thread FUJITA Tomonori
On Tue, 13 Jun 2017 16:24:29 +0900 IWASE Yusuke wrote: > These patches provide the required APT packages for installing "optional > requirements" and update the procedures for contributing. > > IWASE Yusuke (4): > README: Dependencies for installing optional requirements > CONTRIBUTING: Upda

  1   2   3   4   5   6   7   8   9   10   >