[Ryu-devel] [PATCH v2] packet lib: ipv6: Fix to calculate AH length

2014-04-20 Thread takahashi.minoru
RFC2402 says: All IPv6 extension headers, as per RFC 1883, encode the "Hdr Ext Len" field by first subtracting 1 (64-bit word) from the header length (measured in 64-bit words). AH is an IPv6 extension header. However, since its length is measured in 32-bit words, the "Payload

[Ryu-devel] [PATCH 06/10] bgp: enable to use system IP addr implicitly for binding

2014-04-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/base.py |2 +- ryu/services/protocols/bgp/peer.py | 40 +--- ryu/services/protocols/bgp/rtconf/neighbors.py | 21 +++-- 3 files changed, 41 insertions(+), 22 deletions(-) diff

[Ryu-devel] [PATCH 08/10] bgp: improve log visibility

2014-04-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/speaker.py | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ryu/services/protocols/bgp/speaker.py b/ryu/services/protocols/bgp/speaker.py index af8f991..07ec6de 100644 --- a/ryu/services/protocols/bgp/s

[Ryu-devel] [PATCH 10/10] bgp: fix pep8

2014-04-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/api/core.py |2 +- ryu/services/protocols/bgp/base.py |3 ++- ryu/services/protocols/bgp/peer.py |2 +- ryu/services/protocols/bgp/speaker.py |4 ++-- ryu/services/protocols/bgp/utils/evtlet.py |

[Ryu-devel] [PATCH 07/10] bgp: avoid the trouble of having to explicitly specify IDs in configuration

2014-04-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/rtconf/base.py |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ryu/services/protocols/bgp/rtconf/base.py b/ryu/services/protocols/bgp/rtconf/base.py index 7b625fd..154dcca 100644 --- a/ryu/services/protoco

[Ryu-devel] [PATCH 09/10] bgp: add sample configuration file

2014-04-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/bgp_sample_conf.py | 113 + 1 file changed, 113 insertions(+) create mode 100644 ryu/services/protocols/bgp/bgp_sample_conf.py diff --git a/ryu/services/protocols/bgp/bgp_sample_conf.py b/ryu/services/protoco

[Ryu-devel] [PATCH 02/10] bgp: clean up codes which constructs an update message

2014-04-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/peer.py | 211 1 file changed, 45 insertions(+), 166 deletions(-) diff --git a/ryu/services/protocols/bgp/peer.py b/ryu/services/protocols/bgp/peer.py index 4bca616..224dd8d 100644 --- a/ryu/servi

[Ryu-devel] [PATCH 01/10] bgp: fix typo

2014-04-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/lib/packet/bgp.py |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ryu/lib/packet/bgp.py b/ryu/lib/packet/bgp.py index 974967d..8bcffa8 100644 --- a/ryu/lib/packet/bgp.py +++ b/ryu/lib/packet/bgp.py @@ -1384,21 +1384,21 @@ class BG

[Ryu-devel] [PATCH 03/10] bgp: use ryu.lib.hub instead of the direct use of eventlet

2014-04-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/lib/hub.py | 22 +++ ryu/services/protocols/bgp/api/core.py |6 +-- ryu/services/protocols/bgp/base.py | 20 +- ryu/services/protocols/bgp/utils/evtlet.py | 59 4 f

[Ryu-devel] [PATCH 05/10] bgp: enable default label range

2014-04-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/application.py |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ryu/services/protocols/bgp/application.py b/ryu/services/protocols/bgp/application.py index 704f194..1751e5f 100644 --- a/ryu/services/protocol

[Ryu-devel] [PATCH 04/10] bgp: make bgpspeaker RyuApp

2014-04-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/application.py | 38 - 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/ryu/services/protocols/bgp/application.py b/ryu/services/protocols/bgp/application.py index 5a991eb..704f194 100644 --

[Ryu-devel] [PATCH 0/9] BGP speaker as a Ryu App

2014-04-20 Thread ISHIDA Wataru
Subsequent patches makes BGPspeaker a Ryu Application and fix some bugs. ISHIDA Wataru (9): bgp: fix typo bgp: clean up codes which constructs an update message bgp: use ryu.lib.hub instead of the direct use of eventlet bgp: make bgpspeaker RyuApp bgp: enable default label range bgp: en

Re: [Ryu-devel] RYU: Learning topology using lldp

2014-04-20 Thread FUJITA Tomonori
On Mon, 21 Apr 2014 12:12:26 +0900 (JST) FUJITA Tomonori wrote: > On Mon, 21 Apr 2014 15:12:56 +1200 > Karthik Sharma wrote: > >> I have copied the function send_lldp_packet() from >> *ryu/topology/switches.py.*The only addition that I have done to the >> function is to add a print statement.No

Re: [Ryu-devel] RYU: Learning topology using lldp

2014-04-20 Thread FUJITA Tomonori
On Mon, 21 Apr 2014 15:12:56 +1200 Karthik Sharma wrote: > I have copied the function send_lldp_packet() from > *ryu/topology/switches.py.*The only addition that I have done to the > function is to add a print statement.Now If I were to run the controller > using > > * sudo ryu-manager --observe

[Ryu-devel] RYU: Learning topology using lldp

2014-04-20 Thread Karthik Sharma
I have copied the function send_lldp_packet() from *ryu/topology/switches.py.*The only addition that I have done to the function is to add a print statement.Now If I were to run the controller using * sudo ryu-manager --observe-links ryu/app/simple_switch.py* and make the mininet topology connec

Re: [Ryu-devel] [PATCH] delete bin/neutron-ofagent-agent

2014-04-20 Thread YAMAMOTO Takashi
> OpenStack ofagent still needs bin/neutron-ofagent-agent? no. > > = >>From 5033700ca9c6a161ac8640137b385ae752b6cebc Mon Sep 17 00:00:00 2001 > From: FUJITA Tomonori > Date: Mon, 21 Apr 2014 08:51:53 +0900 > Subject: [PATCH] delete bin/neutron-ofagent-agent > > Signed-off-by: FUJITA Tomonori

[Ryu-devel] [PATCH] delete bin/neutron-ofagent-agent

2014-04-20 Thread FUJITA Tomonori
OpenStack ofagent still needs bin/neutron-ofagent-agent? = >From 5033700ca9c6a161ac8640137b385ae752b6cebc Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Mon, 21 Apr 2014 08:51:53 +0900 Subject: [PATCH] delete bin/neutron-ofagent-agent Signed-off-by: FUJITA Tomonori --- bin/neutron-ofagen

[Ryu-devel] [PATCH 2/2] delete ryu/tests/bin/of-config-cli

2014-04-20 Thread FUJITA Tomonori
This command is available via ryu command. Signed-off-by: FUJITA Tomonori --- run_tests.sh| 2 +- ryu/tests/bin/of-config-cli | 20 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100755 ryu/tests/bin/of-config-cli diff --git a/run_tests.sh b/

[Ryu-devel] [PATCH 1/2] delete bin/rpc-cli

2014-04-20 Thread FUJITA Tomonori
This command is available via ryu command. Signed-off-by: FUJITA Tomonori --- bin/rpc-cli| 20 doc/source/conf.py | 2 -- run_tests.sh | 2 +- setup.cfg | 1 - 4 files changed, 1 insertion(+), 24 deletions(-) delete mode 100755 bin/rpc-cli diff --

Re: [Ryu-devel] How to contribute

2014-04-20 Thread FUJITA Tomonori
Hello, On Sun, 20 Apr 2014 17:06:48 +0200 Lorenzo Mainardi wrote: > how to contribute on Ryu development? > I'm working as network engineer for an ISP and I know Python (I have > been worked as software developer with Python). Sounds great. Adding your code to Ryu is simple; just sending a patc

Re: [Ryu-devel] Host Discovery

2014-04-20 Thread FUJITA Tomonori
Hi, On Sun, 20 Apr 2014 23:22:49 +0800 Shuoling Deng wrote: > Is there any Host Discovery App in Ryu? > > I have found the Host Discovery module in floodlight(a openflow controller > in Java), but I do not found the same app in RYU. > is there some problem to implement this function according t

Re: [Ryu-devel] [PATCH 0/6] bin/ryu and sub-commands

2014-04-20 Thread FUJITA Tomonori
On Wed, 26 Mar 2014 15:20:04 +0900 YAMAMOTO Takashi wrote: > changes from the previous: > - update requirements > - fold patches > > YAMAMOTO Takashi (6): > ryu.cfg: re-export some more stuff for convenience > allow overriding argv and progname > pip-requires: require oslo.config >= 1.2.0

[Ryu-devel] Host Discovery

2014-04-20 Thread Shuoling Deng
Hi, everyone: Is there any Host Discovery App in Ryu? I have found the Host Discovery module in floodlight(a openflow controller in Java), but I do not found the same app in RYU. is there some problem to implement this function according to RYU? thanks. -- Shuoling Deng Ministry of Education

[Ryu-devel] How to contribute

2014-04-20 Thread Lorenzo Mainardi
Hello, how to contribute on Ryu development? I'm working as network engineer for an ISP and I know Python (I have been worked as software developer with Python). WHat are the open issues of new feature proposal on Python? Thank -- LORENZO MAINARDI http://blog.mainardi.me

Re: [Ryu-devel] Switch feature request

2014-04-20 Thread FUJITA Tomonori
On Thu, 17 Apr 2014 18:57:35 +0200 Hanieh Rajabi wrote: > As I explained before in my project I should add some extra functionality > to the ryu controller in order to handle this feature in my openflow > switch. > So in this direction in ofproto_v1_3.py and ofproto_v1_3_parser.py I added > 2 ext

Re: [Ryu-devel] Problem running Ryu on mininet image

2014-04-20 Thread FUJITA Tomonori
On Fri, 18 Apr 2014 14:57:27 + (UTC) Walid Osama wrote: > I'm trying to run Ryu - as the instructions said on the ryu website - on my > mininet image or any linux distribution as I don't have the option to use > the precompiled ryu linux distribution. You meant that you can't use any of t