[Ryu-devel] [PATCH] Clean up stale Datapath objects in the ofctl_service application

2016-07-28 Thread Victor Orlikowski
A quick patch to clean up stale Datapath objects in the ofctl_service application. Signed-off-by: Victor J. Orlikowski --- diff --git a/ryu/app/ofctl/service.py b/ryu/app/ofctl/service.py index 0ca00c7..19aebd4 100644 --- a/ryu/app/ofctl/service.py +++ b/ryu/app/ofctl/service.py @@ -79,6 +79,8

[Ryu-devel] [PATCH] Ensure that send() and send_msg() in controller return status to calling applications...

2016-07-28 Thread Victor Orlikowski
When a Datapath disconnects, an application may not know about it until it attempts to send a message to that Datapath. Ryu's core will detect the failure to send, and will close the Datapath object - but has no way of letting the application know that it did so. With this patch, send_msg() retu

Re: [Ryu-devel] [PATCH] packet lib: Add packet library of GRE

2016-07-28 Thread FUJITA Tomonori
On Thu, 28 Jul 2016 10:06:10 +0900 Shinpei Muraoka wrote: > Signed-off-by: Shinpei Muraoka > --- > doc/source/library_packet_ref.rst | 3 + > ryu/lib/packet/gre.py | 129 > ++ > ryu/lib/packet/in_proto.py| 1 + > ryu/lib/packet/ipv4.p

Re: [Ryu-devel] [PATCH v4 0/2] Revert API of NXAction

2016-07-28 Thread FUJITA Tomonori
On Wed, 27 Jul 2016 11:35:54 +0900 Shinpei Muraoka wrote: > Also, the results of discussions with Fujita-san and Iwamoto-San, > the type of argument zone_src of NXActionCT was changed to a string. > Fix to work even if you specify a number in the NXActionCT of argument > zone_src. > > Argument

Re: [Ryu-devel] Ryu_support_2 apps on 2 wsapi-ports

2016-07-28 Thread Nguyen Van
Hi Iwase, Thanks so much for your response. I want to modify the requests/responses that are sent to Ryu ofctl_rest, therefore I'm building another application (called my app). This app can provide similar APIs as Ryu ofctl_rest app.However, I don't want other applications to communicate direct

Re: [Ryu-devel] Punt from Table 0 to Table 1

2016-07-28 Thread Scott Reeve
 Mystery solved, needed a priority of 0.  Don't know why.  Switch is HPE Comware, btw.  Word to the wise.  On 07/27/16, Scott Reeve wrote: Trying to have all go from Table 0 to Table 1.This:RYUseems to indicate a null match criteria "{}" but it doesn't work.Here's my code:  curl -X POST -d '{    "d

[Ryu-devel] actions operation

2016-07-28 Thread Tanvir.Ulhuque
Hi I tried to use the following code to add a data flow which has two specific actions operations: OFPActionSetField, and OFPActionOutput. match = parser.OFPMatch(eth_src='00:00:00:00:00:04', eth_dst='00:00:00:00:00:07') actions = [parser.OFPActionSetField(parser.OFPMatchField.make(ofproto

Re: [Ryu-devel] Doubt about Match in general and LLDP packets

2016-07-28 Thread Gabriele Lospoto
Hi Maurizio, Il 27/07/2016 21:36, Maurizio Marrocco ha scritto: > Hi, RYU team. > > I'm Sorry for those questions, but I have a doubt about Match procedure in > Openflow. > > In the flow table, the matching is done on OpenFlow PDU (i.e. PACKET OUT) or > PDU transported by Openflow? > > For examp