Re: [Ryu-devel] Testing RYU

2013-05-17 Thread Kiran Kumar
Fujita, Thanks a lot for the links and other information. Let me go through the information and update. Thanks, Kiran On Fri, May 17, 2013 at 1:54 PM, FUJITA Tomonori < [email protected]> wrote: > Hi, > > On Thu, 16 May 2013 10:41:53 -0700 > Kiran Kumar wrote: > > > 1) I am trying

Re: [Ryu-devel] Using OFPQueueGetConfigRequest

2013-05-17 Thread FUJITA Tomonori
On Fri, 17 May 2013 11:29:53 +0200 Philipp Aeschlimann wrote: > Sure I can, here we go... > >>From e442dea1f9ae2ce0fe31698e3e5b226041b8c2a0 Mon Sep 17 00:00:00 2001 > From: Aeschlimann Philipp > Date: Fri, 17 May 2013 11:18:44 +0200 > Subject: [PATCH] Fix for OFPQueueGetConfigReply/Request in O

[Ryu-devel] [PATCH] docs: fix ryu module import

2013-05-17 Thread FUJITA Tomonori
readthedocs.org complains about the failure about ryu module import. = >From e94c710a1acce5fc4e25774502b4133e7d53aa7a Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Sat, 18 May 2013 05:36:21 +0900 Subject: [PATCH] docs: fix import Signed-off-by: FUJITA Tomonori --- doc/source/conf.py | 5

Re: [Ryu-devel] [PATCH] app/quantum_adapter: unbreak quantum change

2013-05-17 Thread FUJITA Tomonori
On Fri, 17 May 2013 10:08:51 +0900 Isaku Yamahata wrote: > Now quantum checks attributes strictly on REST request by > the changeset of 61bdda62e8950a9747073e2be7b81cdea0af2f25 > Don't send non-standard attribute. > >> commit 61bdda62e8950a9747073e2be7b81cdea0af2f25 >> Author: Jason Zhang >> Da

Re: [Ryu-devel] [PATCH] app/gre_tunnel: pylint

2013-05-17 Thread FUJITA Tomonori
On Fri, 17 May 2013 10:08:50 +0900 Isaku Yamahata wrote: >> E: 60,18:PortSet.EventTunnelKeyDel.__init__: Undefined variable >> 'EventTunnelKeyDel' >> W: 18,0: Unused import logging > > Signed-off-by: Isaku Yamahata > --- > ryu/app/gre_tunnel.py |3 +-- > 1 file changed, 1 insertion(+), 2

Re: [Ryu-devel] [PATCH 0/2] RFC: OFPxxx -> string conversion

2013-05-17 Thread FUJITA Tomonori
On Wed, 15 May 2013 16:27:16 +0900 YAMAMOTO Takashi wrote: > this set change the way to convert of-wire message class to string. > comments? > > todo: other of versions, unit tests > > some example outputs from LOG.debug('queue msg %s cls %s', msg, msg.__class__) > > queue msg version: 0x1 msg

Re: [Ryu-devel] [PATCH] use dpid_to_str in some places

2013-05-17 Thread FUJITA Tomonori
On Wed, 15 May 2013 10:22:37 +0900 YAMAMOTO Takashi wrote: > > Signed-off-by: YAMAMOTO Takashi > --- > ryu/controller/controller.py | 4 +++- > ryu/controller/dpset.py | 8 +--- > 2 files changed, 8 insertions(+), 4 deletions(-) Applied, thanks. -

Re: [Ryu-devel] Testing RYU

2013-05-17 Thread FUJITA Tomonori
Hi, On Thu, 16 May 2013 10:41:53 -0700 Kiran Kumar wrote: > 1) I am trying to install and test RYU. Is there any prebuilt vm image that > makes the test easy (like mininet for flood light) ? If not can I use > mininet to test RYU as well ? The following works for you? https://github.com/osrg/r

[Ryu-devel] [PATCH v2 5/6] snmp/mib/instances: add __RYU-MIB module which is currently empty

2013-05-17 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata --- ryu/services/snmp/mibs/instances/__RYU-MIB.py | 17 + 1 file changed, 17 insertions(+) create mode 100644 ryu/services/snmp/mibs/instances/__RYU-MIB.py diff --git a/ryu/services/snmp/mibs/instances/__RYU-MIB.py b/ryu/services/snmp/mibs/instan

[Ryu-devel] [PATCH v2 2/6] services/snmp_agent: create snmp agent module

2013-05-17 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata --- Changes v1 -> v2: - added ryu/services/snmp/mib and ryu/services/snmp/mib/instances --- ryu/services/snmp/__init__.py| 15 +++ ryu/services/snmp/mibs/__init__.py | 15 +++ ryu/services/snmp/mibs/instances/__in

[Ryu-devel] [PATCH v2 0/6] snmp agent

2013-05-17 Thread Isaku Yamahata
Here is a v2 prototype of SNMP agent support using pysnmp. Ryu is able to send SNMP trap as notification originator. Right now it sends only coldStart trap on startup and specific traps on datapath enter/leave event. For other Ryu component to utilize SNMP agent, agentX-like API is desirable? tha

[Ryu-devel] [PATCH v2 6/6] snmp/agent: snmp agent support

2013-05-17 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata --- Changes v1 -> v2: - use RYU-MIB - populate datapath table on datapath enter/leave event --- ryu/services/snmp/agent.py | 286 1 file changed, 286 insertions(+) create mode 100644 ryu/services/snmp/agent.py diff --gi

[Ryu-devel] [PATCH v2 3/6] snmp/mib: MIB definitions specific to Ryu

2013-05-17 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata --- Changes v1 -> v2: - newly added --- ryu/services/snmp/mibs/RYU-MIB.txt | 149 1 file changed, 149 insertions(+) create mode 100644 ryu/services/snmp/mibs/RYU-MIB.txt diff --git a/ryu/services/snmp/mibs/RYU-MIB.txt b/ryu/se

[Ryu-devel] [PATCH v2 4/6] services/snmp/mib: RYU-MIB.py

2013-05-17 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata --- ryu/services/snmp/mibs/RYU-MIB.py | 71 + 1 file changed, 71 insertions(+) create mode 100644 ryu/services/snmp/mibs/RYU-MIB.py diff --git a/ryu/services/snmp/mibs/RYU-MIB.py b/ryu/services/snmp/mibs/RYU-MIB.py new file mo

[Ryu-devel] [PATCH v2 1/6] lib/dpid: helper functions converting dpid <-> bytes[8]

2013-05-17 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata --- ryu/lib/dpid.py | 13 + 1 file changed, 13 insertions(+) diff --git a/ryu/lib/dpid.py b/ryu/lib/dpid.py index 1224ae0..9a0141e 100644 --- a/ryu/lib/dpid.py +++ b/ryu/lib/dpid.py @@ -17,10 +17,15 @@ # Internal representation of datapath id is quad

Re: [Ryu-devel] Using OFPQueueGetConfigRequest

2013-05-17 Thread Philipp Aeschlimann
Sure I can, here we go... >From e442dea1f9ae2ce0fe31698e3e5b226041b8c2a0 Mon Sep 17 00:00:00 2001 From: Aeschlimann Philipp Date: Fri, 17 May 2013 11:18:44 +0200 Subject: [PATCH] Fix for OFPQueueGetConfigReply/Request in OFP13 Signed-off-by: Philipp Aeschlimann --- ryu/ofproto/ofproto_v1_3_par

Re: [Ryu-devel] [PATCH] SNMP agent support

2013-05-17 Thread Isaku Yamahata
On Fri, May 17, 2013 at 04:55:51PM +0900, YAMAMOTO Takashi wrote: > > +mib_sources = list(mib_builder.getMibSources()) > > +mib_sources.append(builder.DirMibSource(os.path.join( > > +os.path.basename(__file__), 'mibs'))) > > dirname? Oops that's right. thanks, -- yam

Re: [Ryu-devel] [PATCH] SNMP agent support

2013-05-17 Thread YAMAMOTO Takashi
> +mib_sources = list(mib_builder.getMibSources()) > +mib_sources.append(builder.DirMibSource(os.path.join( > +os.path.basename(__file__), 'mibs'))) dirname? YAMAMOTO Takashi -- AlienVault Uni