Re: [Ryu-devel] How to find available bandwidth of a link in OpenFlow

2015-01-20 Thread Minoru TAKAHASHI
Hi, On 2015年01月19日 15:25, Padma Jayasankar wrote: > Hi, > For my project i have to do load balancing based on available bandwidth. > How to find the available bandwidth from the no of bytes transmitted on a > link. Please clarify. I think that OpenFlow and Ryu does not have the ability to get

[Ryu-devel] [PATCH 4/6] bgp: fix bug of NameError: global name 'sent_route' is not defined

2015-01-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/peer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/services/protocols/bgp/peer.py b/ryu/services/protocols/bgp/peer.py index b4b4cdd..0dd48d7 100644 --- a/ryu/services/protocols/bgp/peer.py +++ b/ryu/ser

[Ryu-devel] [PATCH 2/6] bgp: don't hold withdrawn routes in adj_rib_in

2015-01-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/peer.py | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ryu/services/protocols/bgp/peer.py b/ryu/services/protocols/bgp/peer.py index 4dafb10..b4b4cdd 100644 --- a/ryu/services/protocols/bgp/peer.py +++

[Ryu-devel] [PATCH 0/6] bug fix of bmp server/client

2015-01-20 Thread ISHIDA Wataru
These patches fix bug of bmp server/client reported by Tsuboi-san. ISHIDA Wataru (6): bgp/bmp: send unmodified BGPUpdate to bmp server. bgp: don't hold withdrawn routes in adj_rib_in bmpstation: bug fix. stop closing fds which are in use. bgp: fix bug of NameError: global name 'sent_route'

[Ryu-devel] [PATCH 3/6] bmpstation: bug fix. stop closing fds which are in use.

2015-01-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/app/bmpstation.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ryu/app/bmpstation.py b/ryu/app/bmpstation.py index a96500f..2ef5c64 100644 --- a/ryu/app/bmpstation.py +++ b/ryu/app/bmpstation.py @@ -93,5 +93,3 @@ class BMPStation(app_manager.RyuApp):

[Ryu-devel] [PATCH 6/6] bgp/cli: fix internel data destruction due to cli show command

2015-01-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/operator/commands/show/neighbor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/operator/commands/show/neighbor.py b/ryu/services/protocols/bgp/operator/commands/show/neighbor.py index 8

[Ryu-devel] [PATCH 1/6] bgp/bmp: send unmodified BGPUpdate to bmp server.

2015-01-20 Thread ISHIDA Wataru
Current implementation of bmp client uses Peer._construct_update() which modifies original BGPUpdate message for sending to peers. This function is not appropriate to use for bmp client, because bmp client must send a BGPUpdate message which contains unmodified path attributes. Fix this by introduc

[Ryu-devel] [PATCH 5/6] bgp: remove unnecessary bgp update construction

2015-01-20 Thread ISHIDA Wataru
Signed-off-by: ISHIDA Wataru --- ryu/services/protocols/bgp/bmp.py | 7 --- 1 file changed, 7 deletions(-) diff --git a/ryu/services/protocols/bgp/bmp.py b/ryu/services/protocols/bgp/bmp.py index 78175ee..9af87ea 100644 --- a/ryu/services/protocols/bgp/bmp.py +++ b/ryu/services/protocols/bg

Re: [Ryu-devel] Bufferid in messages

2015-01-20 Thread Benjamin Eggerstedt
Hi Padma, I have described my patch as part of the mail, let me quote it. Please find the reference to the OF specs as part of the quote. ## Quote This is with regards to the patch that I sent with subject "[PATCH 1/2] simple_switch_13.py: Added ability to use buffer_id in FlowMod" (the seco

[Ryu-devel] Bufferid in messages

2015-01-20 Thread Padma Jayasankar
Hi, One basic doubt. Most of the simple_switch apps have this part of code # install a flow to avoid packet_in next time if out_port != ofproto.OFPP_FLOOD: match = parser.OFPMatch(in_port=in_port, eth_dst=dst) # verify if we have a valid buffer_id, if yes avoid to

Re: [Ryu-devel] Avoid ARP flooding storm in a multipath topology

2015-01-20 Thread Jordi Baranda
Thanks Flavio for your hints!! I am afraid Spanning tree solution could not be a solution to exploit multipath topologies. I've been looking for some solution in the line I commented (about caching the appearance of broadcast ARP classifying them by [datapath id (switch), src_ip, dst_ip]) and I ha

Re: [Ryu-devel] Avoid ARP flooding storm in a multipath topology

2015-01-20 Thread Flavio Castro
Spanning tree is the short (not complete) answer. The problem is that mac_learning uses the action flood for ARP packets. I'm not 100% sure on the solution. Flávio Castro Jr. MSCS student at Georgia Tech B.S.E in Networks Engineering from the University of Brasilia. CCNA Certified (404) 660-9373

[Ryu-devel] Avoid ARP flooding storm in a multipath topology

2015-01-20 Thread Jordi Baranda
Dear all, I am new in this world of SDN and based upon some comments on the net and I decided to start by using the Ryu/mininet/ovs friendly environment to start with it. After reading the Ryubook I am trying to develop my own application which tries to exploit the redundancy in a multipath topolo