[Ryu-devel] about ofp_port_config in openflow

2015-06-14 Thread Yi Tseng
Hello In OpenFlow 1.3.4, there are 7 port configs OFPPC_PORT_DOWN OFPPC_NO_STP OFPPC_NO_RECV OFPPC_NO_RECV_STP OFPPC_NO_FLOOD OFPPC_NO_FWD OFPPC_NO_PACKET_IN However, in ofproto_v1_3.py, there are only 4 configs OFPPC_PORT_DOWN = 1 << 0# Port is administratively down. OFPPC_NO_RECV = 1

Re: [Ryu-devel] question about arp flow-mod

2015-06-14 Thread Vinllen Chen
Thankyou FUJITA, it helps me. On Sun, Jun 14, 2015 at 9:41 PM, FUJITA Tomonori < [email protected]> wrote: > On Sat, 13 Jun 2015 15:00:09 +0800 > Vinllen Chen wrote: > > > After receiving arp packet from openflow switch, the controller will > > handler the arp and send the arp re

Re: [Ryu-devel] [Patch2/2] Add support for the Nicira extension packet mark

2015-06-14 Thread FUJITA Tomonori
On Sun, 14 Jun 2015 18:57:00 +0300 Eran Gampel wrote: > Please see below merged patch > >>From 1e3cf43f6cda27f91659c2fe7ad9d2692158a628 Mon Sep 17 00:00:00 2001 > From: eran gampel > Date: Sun, 14 Jun 2015 18:51:30 +0300 > Subject: [PATCH] Add support for the nicira extension mark > (NXM_NX_PK

Re: [Ryu-devel] [PATCH 1/2] Implement host discovery in ryu.topology

2015-06-14 Thread Yi Tseng
Hello Attached files are my patch. Thanks . 2015-06-14 21:47 GMT+08:00 FUJITA Tomonori : > On Thu, 11 Jun 2015 15:19:53 +0800 > Yi Tseng wrote: > > > Please ignore previous patch, because I forgot to check coding style with > > pep8, here is the new patch > > > > Signed-off-by: Takeshi > > --

Re: [Ryu-devel] [Patch2/2] Add support for the Nicira extension packet mark

2015-06-14 Thread Eran Gampel
Please see below merged patch >From 1e3cf43f6cda27f91659c2fe7ad9d2692158a628 Mon Sep 17 00:00:00 2001 From: eran gampel Date: Sun, 14 Jun 2015 18:51:30 +0300 Subject: [PATCH] Add support for the nicira extension mark (NXM_NX_PKT_MARK), Add support for match and action set via NXAction ReMove T

Re: [Ryu-devel] [PATCH 0/4] Related to 'B.18.3 Extensible Flow Entry Statistics' in OpenFlow 1.5 "repost"

2015-06-14 Thread FUJITA Tomonori
Sorry, I will do sometime this week. On Fri, 05 Jun 2015 08:54:26 +0900 Yusuke Iwase wrote: > Hi, Fujita-san, Yamamoto-san and Ryu-team, > > Would you mind reviewing this patch when you have a time? > > (I,m sorry for missing "repost" at the subject on previous mail.) > > Regards, > Iwase >

Re: [Ryu-devel] How to code and use more than one module?

2015-06-14 Thread FUJITA Tomonori
On Fri, 5 Jun 2015 14:25:21 -0300 Ronaldo Afonso wrote: > Hi all, > > I'm new to Ryu and this is my first question to the list. > > I checked the source code and although there is a dhcp lib, there is not > a DHCP server implementation. Is that right? > > If so, I'd like to code a DHCP

Re: [Ryu-devel] ofctl_v1_0: fix output of get_flow_stats

2015-06-14 Thread FUJITA Tomonori
On Tue, 09 Jun 2015 09:55:07 +0900 Minoru TAKAHASHI wrote: > After applying this patch, > ofctl_v1_0:get_flow_stats outputs only match fields that no wildcard is set. > Execution example is as follows. > > before applying this patch: > > $curl http://127.0.0.1:8080/stats/flow/1 > { > "1": [

Re: [Ryu-devel] [PATCH 1/2] Implement host discovery in ryu.topology

2015-06-14 Thread FUJITA Tomonori
On Thu, 11 Jun 2015 15:19:53 +0800 Yi Tseng wrote: > Please ignore previous patch, because I forgot to check coding style with > pep8, here is the new patch > > Signed-off-by: Takeshi > --- > ryu/topology/api.py | 9 +++ > ryu/topology/event.py| 23 > ryu/topolog

Re: [Ryu-devel] Handling of new reason for packet in

2015-06-14 Thread FUJITA Tomonori
On Fri, 12 Jun 2015 17:37:41 +0200 Ruchika Luthra wrote: > I want to implement the handling of a new reason for the packet in to the > controller. But I am not sure, where all do I need to do the changes > (except in ofproto_v1_3.py). though I donot intend to change the handling, > I need to chan

Re: [Ryu-devel] question about arp flow-mod

2015-06-14 Thread FUJITA Tomonori
On Sat, 13 Jun 2015 15:00:09 +0800 Vinllen Chen wrote: > After receiving arp packet from openflow switch, the controller will > handler the arp and send the arp reply packet out. For example, an arp > packet ask for the ip adress 10.0.0.1, and the controller send the reply: > 00:00:00:00:00:0

Re: [Ryu-devel] [Patch1/1] Add support for the Nicira extension packet mark

2015-06-14 Thread FUJITA Tomonori
On Fri, 12 Jun 2015 10:32:37 +0300 Eran Gampel wrote: > Add support for the Nicira extension mark (NXM_NX_PKT_MARK), > Add support for match and action. > This extension is important as it is the only mark that stay persistence > across virtual switches. > Added support for 1.3,1.4,1.5 Openflow