[Ryu-devel] [PATCH 03/12] bgp: don't block at start method

2014-05-06 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/application.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/application.py b/ryu/services/protocols/bgp/application.py index 1751e5f..6737d7d 100644 --- a/ryu/services/protocols/bgp/

[Ryu-devel] [PATCH 04/12] packet/bgp: add helper methods to nlri class for bgp ssh client

2014-05-06 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/lib/packet/bgp.py | 44 ++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py index 8bcffa8..06323a8 100644 --- a/ryu/lib/packet/bgp.py +++ b/ryu/lib/packet/

[Ryu-devel] [PATCH 01/12] bgp: remove unnecessary log message

2014-05-06 Thread ISHIDA Wataru
update msg without MpReachNlri or MpUnReachNlri is now normal Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/peer.py |2 -- 1 file changed, 2 deletions(-) diff --git a/ryu/services/protocols/bgp/peer.py b/ryu/services/protocols/bgp/peer.py index 24edf2d..0ee39be 100644 --- a/r

[Ryu-devel] [PATCH 08/12] packet/bgp: enhanced route refresh support

2014-05-06 Thread ISHIDA Wataru
Enhanced Route Refresh(draft-ietf-idr-bgp-enhanced-route-refresh) uses reserved fields in a Route Refresh message as demarcation fileds. Signed-off-by: ISHIDA Wataru --- ryu/lib/packet/bgp.py | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/ryu/lib/packet/bgp.p

[Ryu-devel] [PATCH 11/12] bgp: fix bug of accessing dead socket

2014-05-06 Thread ISHIDA Wataru
BGP session can be closed by sending inappropriate messages. So touching socket by get_peername() after sending messages may cause an exception. Though we can handle this by try..exception, I fixed to simply call get_peername() before sending messages because session disconnection by sending messag

[Ryu-devel] [PATCH 05/12] bgp: fix wrong module path

2014-05-06 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/operator/views/bgp.py | 53 +++- ryu/services/protocols/bgp/operator/views/other.py |2 +- 2 files changed, 29 insertions(+), 26 deletions(-) diff --git a/ryu/services/protocols/bgp/operator/views/bgp.py b/ryu/

[Ryu-devel] [PATCH 07/12] packet/bgp: fix bug in serializing AS PATH path attribute

2014-05-06 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/lib/packet/bgp.py |2 ++ 1 file changed, 2 insertions(+) diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py index 06323a8..e488653 100644 --- a/ryu/lib/packet/bgp.py +++ b/ryu/lib/packet/bgp.py @@ -1265,6 +1265,8 @@ class _BGPPathAttributeAsPathC

[Ryu-devel] [PATCH 06/12] bgp: add ssh client

2014-05-06 Thread ISHIDA Wataru
add ssh client which has basic bash keybinds and tab complement. to use, you have to create ssh key at first then specify the location of the key in ryu configuration files. configuration file will be like this. > ryu.conf > == > [DEFAULT] > cli_ssh_hostkey=/home/user/.ssh/id_rsa after this, run

[Ryu-devel] [PATCH 10/12] bgp: improve how to show rib

2014-05-06 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- .../protocols/bgp/operator/commands/show/rib.py|2 +- .../commands/show/route_formatter_mixin.py | 15 +-- .../protocols/bgp/operator/internal_api.py | 14 ++ ryu/services/protocols/bgp/processor.py|

[Ryu-devel] [PATCH 02/12] bgp: bug fix when the peer initiated the connection.

2014-05-06 Thread ISHIDA Wataru
set binded ip and port properly regardless of the direction of connection Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/core.py |3 +++ ryu/services/protocols/bgp/peer.py |3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ryu/services/protocols/bgp/core.

[Ryu-devel] [PATCH 12/12] packet/bgp: bug fix of route target nlri class

2014-05-06 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/lib/packet/bgp.py | 49 +++-- 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py index a3c852c..6882770 100644 --- a/ryu/lib/packet/bgp.py +++ b/ryu/lib/pa

Re: [Ryu-devel] Does Ryu support SNMP

2014-05-06 Thread YAMAMOTO Takashi
> Hi, Developers, > > In addition to control OF switch, I have some issue to adapt SNMP to > trigger legacy switch simultaneously. > > I google on the Web and found some patch for Ryu to support SNMP, but I do > not found this patch in the latest V3.9 release. > > https://www.mail-archive.com/r

Re: [Ryu-devel] ?????? Error of Executing Traffic Monitor

2014-05-06 Thread YAMAMOTO Takashi
> Hi Arjen and guys, > > > Thank you so much for your kind reminder. After reading you email, I just > realized that I have used port 6633 for another application. Then I just run > simple_monitor.py, one app at a time...However, there is another report, said > that there is no attribute "data

[Ryu-devel] [PATCH 09/12] bgp: fix typo

2014-05-06 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/peer.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/peer.py b/ryu/services/protocols/bgp/peer.py index 2f25d3d..0779206 100644 --- a/ryu/services/protocols/bgp/peer.py +++ b/ryu/ser

[Ryu-devel] [PATCH 1/3] Added ovs-vsctl commands of QoS-related

2014-05-06 Thread Kiyonari Harigae
Here is added the command of QoS-related, such as the following: ovs-vsctl -- set port eth1 qos=@newqos \ -- --id=@newqos create qos type=linux-htb other-config:max-rate=3000 queues=0=@q0,1=@q1 \ -- --id=@q0 create queue other-config:min-rate=100 other-config:max-rate=100 \ -- --i

[Ryu-devel] [PATCH 0/3] Added QoS-related modules

2014-05-06 Thread Kiyonari Harigae
Hi, Here is proposing an implementation of QoS-related modules. Detailed description can be found in the commit descriptions and in the changelog of each patch. Kiyonari Harigae (3): Added ovs-vsctl commands of QoS-related Added queue stats request Added rest_qos module ryu/app/rest_qos.

[Ryu-devel] [PATCH 2/3] Added queue stats request

2014-05-06 Thread Kiyonari Harigae
Here is added queue status request to ofctl. Signed-off-by: Kiyonari Harigae --- ryu/lib/ofctl_v1_2.py | 22 ++ ryu/lib/ofctl_v1_3.py | 22 ++ 2 files changed, 44 insertions(+) diff --git a/ryu/lib/ofctl_v1_2.py b/ryu/lib/ofctl_v1_2.py index ea24fe9..76e5

[Ryu-devel] [PATCH 3/3] Added rest_qos module

2014-05-06 Thread Kiyonari Harigae
Here is implementation of QoS-related REST API. This module is intended for operation in a pipeline on a flow table. It supports setting of the queue, (Currently, only support OpenvSwitch) , packet marking, queuing, regitation to meter table, perform this simple QoS. Signed-off-by: Kiyonari Har