Re: [Ryu-devel] Broadcast entry inside switches

2017-05-08 Thread Iwase Yusuke
Hi, Sorry for the delay. I guess, as first step, you need to define the key field for determing whether the given packet is received previously or not. For example, the first packet from hosts will do Packet-In and Packet-Out to flood, and the second packet will be dropped based on the source MAC

Re: [Ryu-devel] help-- rest_vtep : ping between s1h1 and s2h1 not working

2017-05-08 Thread Iwase Yusuke
Hi Tessy, Let me confirm your environment, first. > i run the rest_vtep in my lapyop and system, > In both 1 controller, 1 openvswitch,2 hosts were run(using mininet) rest_vtep supposes 2 Ryu controller and 2 OVS, which are running on the separated host as following, because rext_vtep will commu

Re: [Ryu-devel] Zebra API

2017-05-08 Thread Håvard Magne Fagervoll
Hi Iwase, Thanks for getting back to me. I have tried some of your suggestions, but still doesn't seem to be able to connect to the API. *My config files look like this:* ! OSPF configuration for r3 ! hostname r3 password zebra ! router ospf passive-interface r3-eth0 network 10.0.3.0/24 area 0

[Ryu-devel] Missing dpset.EventPortAdd

2017-05-08 Thread Raymond Burkholder
I have three event handlers as shown. The dpset.EvenPortAdd doesn't seem to be called. Is there something over-riding that event? I can see the ..Delete and ..Modify events being called. The decorator seems correct. I am using Ryu 4.13. Even the ofp.OFPPR_ADD doesn't seem to be called in ofp

Re: [Ryu-devel] ryu controller does not start

2017-05-08 Thread Yi Tseng
Hi, Are you also using mininet? --Yi 2017-05-07 22:15 GMT-07:00 : > Hi Fujimoto > > > unfortunately, it is working in my laptop. I think the problem is in OS. > Because I am using ubuntu 16.04. Let me see to downgrade it. > > > Thanks > > -Tanvir > -- > *From:* Fujim

Re: [Ryu-devel] ryu controller does not start

2017-05-08 Thread Tanvir.Ulhuque
Yes. But why ? Thanks, - Tanvir Sent from OWA on Android From: Yi Tseng Sent: Tuesday, 9 May 2017 6:52:33 AM To: Ul Huque, Tanvir (Data61, Eveleigh ATP) Cc: ryu-devel Subject: Re: [Ryu-devel] ryu controller does not start Hi, Are you also using mininet? --Yi

Re: [Ryu-devel] Zebra API

2017-05-08 Thread Iwase Yusuke
Hi Håvard, Oh, Zebra daemon is also running? Ryu's Zebra protocol "server" service will perform as Zebra daemon against the other Quagga daemons (e.g., OSPFd, BGPd). You don't need to start "/usr/lib/quagga/zebra". Say Zebra daemon as "server" and the other Quagga daemons as "client" (which me

[Ryu-devel] Splitting Ryu

2017-05-08 Thread Shivaram Mysore
Hi guys, I see that many of the new Ryu features are not really core, but, integrations. This is good - but, we have to update software even though we may not use most of the same. My question is: would there be interest in splitting Ryu to be 1. core framework + openflow support 2. integr

Re: [Ryu-devel] Missing dpset.EventPortAdd

2017-05-08 Thread Fujimoto Satoshi
Hi ,Raymond On my environment, dpset.EventPortAdd was properly called. Could you share your log message of ryu and "ryu_handler.py" ? Thanks, Fujimoto On 2017年05月09日 01:11, Raymond Burkholder wrote: > I have three event handlers as shown. The dpset.EvenPortAdd doesn't seem to > be called. Is t

Re: [Ryu-devel] Missing dpset.EventPortAdd

2017-05-08 Thread Raymond Burkholder
On 05/08/2017 09:29 PM, Fujimoto Satoshi wrote: > Hi ,Raymond > > On my environment, dpset.EventPortAdd was properly called. > Could you share your log message of ryu and "ryu_handler.py" ? Are you looking for the log from --verbose mode? The log messages are on my machine at the office. I won't

Re: [Ryu-devel] [PATCH] lib/hub: Workaround for issue of eventlet

2017-05-08 Thread FUJITA Tomonori
On Mon, 8 May 2017 11:43:54 +0900 IWASE Yusuke wrote: > This patch adopts the workaround which is discussing on the eventlet > team at the following: > https://github.com/eventlet/eventlet/issues/401 > This workaround is suggested by Raymond Burkholder. > > Suggested-by: Raymond Burkholder >

Re: [Ryu-devel] [PATCH] packet/zebra: Support IP_ROUTE message from Zebra

2017-05-08 Thread FUJITA Tomonori
On Tue, 4 Apr 2017 14:21:03 +0900 IWASE Yusuke wrote: > Zebra IPv4/IPv6 route message have asymmetric structure, in other words, > the message structure from Zebra to the protocol daemons and that from > the protocol daemons to Zebra have the different structures. > > This patch introduces _Zeb

Re: [Ryu-devel] [PATCH 0/9] doc: Improvements for library_packet_ref

2017-05-08 Thread FUJITA Tomonori
On Fri, 7 Apr 2017 15:19:12 +0900 IWASE Yusuke wrote: > To keep readablity if include all class into library reference, this > patch separates library_packet_ref.rst into each protocol. > Also the following patches include the update of the description of > packet library classes. > > IWASE Yus

[Ryu-devel] [PATCH] Allow CIDR notation for ip match fields

2017-05-08 Thread IWAMOTO Toshihiro
This hack allows CIDR notations for OFPMatch. For example: ofpp.OFPMatch(ipv4_src="198.51.100.0/24") I'm not 100% sure if this patch should be included. This change at least makes OpenStack Neutron's ovs firewall code happy and I believe it is useful in general. OTOH, I admit this code is a gr

[Ryu-devel] [PATCH] ofproto: Allow CIDR notation for ipv[46]_{src, dst}

2017-05-08 Thread IWAMOTO Toshihiro
This hack allows CIDR notations for OFPMatch. For example: ofpp.OFPMatch(ipv4_src="198.51.100.0/24") Signed-off-by: IWAMOTO Toshihiro --- ryu/lib/addrconv.py | 20 ryu/ofproto/oxx_fields.py | 3 +++ 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/r

Re: [Ryu-devel] Missing dpset.EventPortAdd

2017-05-08 Thread Fujimoto Satoshi
Hi, Raymond Umm, I could not reproduce the problem... I can receive EventPortAdd with your code and topology. I think you should check the followings: * When you add a port to OVS, is the command syntax is correct? I added a port by running the command like: ovs-vsctl add-port s1 s1-eth2 *

Re: [Ryu-devel] [PATCH v2 2/3] ofproto: Add ovs-ofctl style action string parser

2017-05-08 Thread Iwase Yusuke
Hi Iwamoto-San, Basically, this feature is very similar to "ryu.lib.ofctl_v1_*", I guess. In case of ofctl_v1_*, this library provides the translation layer (json like object -> OFP* instance) and seems to be well separated from "ryu.ofproto" module ("ofctl_v1_*" have many duplicated codes though.

[Ryu-devel] REST FIREWALL - Mininet vs Real enabled Openflow Switches

2017-05-08 Thread Juan Francisco Guano
Hi everybody, When I run the rest firewall app, This works well in Mininet and Real enabled Openflow Switches(OVS under vmware machine) except in the case of a desconection of a switch in datapath id list of switch conected to app because the time to update the list is about 15 minutes, in mininet

Re: [Ryu-devel] help-- rest_vtep : ping between s1h1 and s2h1 not working

2017-05-08 Thread Tessy Thomas
halo, i run it in different system(one in my laptop and other in the system),routes are advertised but ping between hosts is not successful, thankyou On Mon, May 8, 2017 at 1:04 PM, Iwase Yusuke wrote: > Hi Tessy, > > Let me confirm your environment, first. > > > i run the rest_vtep in my lapy

Re: [Ryu-devel] ryu-manager can't load app from file which has same name as installed module

2017-05-08 Thread FUJITA Tomonori
Very sorry about the delay, On Tue, 11 Apr 2017 10:00:34 +0900 Iwase Yusuke wrote: >>From 31118fb3d9b8459e4d648d877c124d1b4920d107 Mon Sep 17 00:00:00 2001 > From: Brad Cowie > Date: Sat, 8 Apr 2017 14:05:45 +1200 > Subject: [PATCH] utils.import_module: Prefer filepath than Python module > > C

Re: [Ryu-devel] [PATCH] Solve broken pronunciation link

2017-05-08 Thread FUJITA Tomonori
On Mon, 8 May 2017 15:12:39 +0900 IWASE Yusuke wrote: > Reported-by: Ryo ONODERA > Signed-off-by: IWASE Yusuke > --- > index.html | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Check out

Re: [Ryu-devel] [PATCH] bgp: Enable to configure default local preference

2017-05-08 Thread FUJITA Tomonori
On Tue, 4 Apr 2017 14:44:52 +0900 Satoshi Fujimoto wrote: > This patch enables to configure the default local preference. > If not specified, the value will be 100 as a default. > > Signed-off-by: Satoshi Fujimoto > --- > ryu/services/protocols/bgp/application.py | 4 > ryu/services