[Ryu-devel] Basic application against a OF1.2 switch

2012-11-03 Thread Shivaram Mysore
Hello, I am trying to use Ryu against FlowForwarding.org LINC OpenFlow 1.2 switch. I have written this very basic application which does not work. What am I doing wrong? Any help is appreciated. import logging import struct import array from ryu.controller import handler from ryu.controller

Re: [Ryu-devel] Basic application against a OF1.2 switch

2012-11-04 Thread Shivaram Mysore
Hello, Thanks - I am able to send messages to the switch. Regards /Shivaram On Sun, Nov 4, 2012 at 4:55 AM, FUJITA Tomonori fujita.tomon...@lab.ntt.co.jp wrote: On Sat, 3 Nov 2012 22:52:41 -0700 Shivaram Mysore shivaram.mys...@gmail.com wrote: I am trying to use Ryu against

[Ryu-devel] How can I force ryu to use only OF1.2?

2012-12-12 Thread Shivaram Mysore
Hello, How can I force ryu to use only OpenFlow 1.2 protocol? For example, when I execute, % ryu-manager --verbose I want it communicate only OF 1.2. I have no problems enabling more flags to the command line. Thanks

Re: [Ryu-devel] How can I force ryu to use only OF1.2?

2012-12-12 Thread Shivaram Mysore
features_reqeust = datapath.ofproto_parser.OFPFeaturesRequest(datapath) --- On Wed, Dec 12, 2012 at 05:47:10PM -0800, Shivaram Mysore wrote: Thanks. But, that did not help. Here is the code import

Re: [Ryu-devel] How can I force ryu to use only OF1.2?

2012-12-12 Thread Shivaram Mysore
= datapath.ofproto_parser.OFPFeaturesRequest(datapath) --- On Wed, Dec 12, 2012 at 05:47:10PM -0800, Shivaram Mysore wrote: Thanks. But, that did not help. Here is the code import logging import struct

[Ryu-devel] problem with in_port in ofproto_v1_3_parser.py

2013-01-09 Thread Shivaram Mysore
Hello, I am running a simple flow learning application and I get the below error. I have a feeling that the fix as noted in https://github.com/rpt/ryu/commit/ebf7638aac4481762e10ec90958f1480761a3893could help resolve this issue: ryu/ofproto/ofproto_v1_3_parser.py - View file @

[Ryu-devel] Issues with Ryu Learning app

2013-03-26 Thread Shivaram Mysore
Hello, The Ryu learning switch app that we had written https://github.com/FlowForwarding/LINC-Switch/tree/master/scripts/ryu was working and now it is not. What has changed? ip-10-0-1-215:/usr/local/src/ryu # *pip install dispatcher* Downloading/unpacking dispatcher Downloading

Re: [Ryu-devel] Issues with Ryu Learning app

2013-03-26 Thread Shivaram Mysore
of l2_switch_v1_3.py would make it work again. thanks, On Tue, Mar 26, 2013 at 02:17:24PM -0700, Shivaram Mysore wrote: Hello, The Ryu learning switch app that we had written https://github.com/FlowForwarding/LINC-Switch/tree/master/scripts/ryu was working and now it is not. What has changed

[Ryu-devel] How to get multiple ryu applications working at the same time?

2013-03-30 Thread Shivaram Mysore
Hello, If I have multiple Ryu applications (say, l2_learn_switch.py, ofctl_rest.py, l2_firewall.py) that I want to run, how can I do it with ryu-manager? Thanks /Shivaram -- Own the Future-Intel(R) Level Up Game Demo

[Ryu-devel] request to reorganize ryu/app directory

2013-03-30 Thread Shivaram Mysore
Hello, ryu/app directory contains very good examples. It would be great if you had sub directories underneath that such as 1_0, 1_2, 1_3 to correspond against specific OF versions and include examples accordingly underneath that. This would enhance readability. Thanks /Shivaram

Re: [Ryu-devel] request to reorganize ryu/app directory

2013-03-31 Thread Shivaram Mysore
Then I would add any or all directory in addition to the ones proposed and save it there Thx /Shivaram ::Sent from my mobile device:: On Mar 31, 2013, at 1:34 AM, FUJITA Tomonori fujita.tomon...@lab.ntt.co.jp wrote: On Sat, 30 Mar 2013 10:55:17 -0700 Shivaram Mysore shivaram.mys

Re: [Ryu-devel] request to reorganize ryu/app directory

2013-03-31 Thread Shivaram Mysore
for each Thx /Shivaram ::Sent from my mobile device:: On Mar 31, 2013, at 5:04 AM, FUJITA Tomonori fujita.tomon...@lab.ntt.co.jp wrote: On Sun, 31 Mar 2013 04:57:48 -0700 Shivaram Mysore shivaram.mys...@gmail.com wrote: Then I would add any or all directory in addition to the ones proposed

[Ryu-devel] Issues with SSH fingerprint while using Ryu for of_config

2013-04-03 Thread Shivaram Mysore
Hello, I am trying to use of_config with Ryu against LINC switch and I get the below error. I tried to ssh to localhost and stored the fingerprint so that I can use it against the same, but, no luck. linux-acls:/usr/local/src/ryu # *bin/ryu-manager ryu/lib/of_config/capable_switch.py

[Ryu-devel] problems with REST firewall service

2013-04-09 Thread Shivaram Mysore
Hello, I am trying to get REST firewall service working LINC. LINC is running in OF 1.2 mode. I start the controller like this: linux-ksrb:/usr/local/src/linc/ryu # bin/ryu-manager --verbose ryu/app/rest_firewall.py ryu/lib/ofctl_v1_2.py ... ... connected socket:socket fileno=10

Re: [Ryu-devel] Issues with SSH fingerprint while using Ryu for of_config

2013-04-09 Thread Shivaram Mysore
I do a git pull and python setup.py install - just to make sure that I have all the latest versions. I will check on this patch soon. Thanks On Mon, Apr 8, 2013 at 10:27 PM, Isaku Yamahata yamah...@valinux.co.jpwrote: On Thu, Apr 04, 2013 at 06:48:12PM -0700, Shivaram Mysore wrote: Hello

Re: [Ryu-devel] [PATCH 1/3] setup.py: install xsd files

2013-04-09 Thread Shivaram Mysore
Yamahata-san, Thanks very much for a great write up. It is well written. Best Regards /Shivaram On Tue, Apr 9, 2013 at 9:02 PM, Isaku Yamahata yamah...@valinux.co.jpwrote: On Tue, Apr 09, 2013 at 09:34:06PM +0900, FUJITA Tomonori wrote: Thanks, applied all. btw, I still wait for you to

[Ryu-devel] Announcing LINC ISO image with support for Ryu OF Controller

2013-04-09 Thread Shivaram Mysore
Hello all, I have created a appliance ISO for installing and running LINC Switch with Ryu controller. This is a minimal OS with just enough packages. As these products are still in development and need bug fixes/patches, I have included instructions to git clone into right directories, etc.

Re: [Ryu-devel] [PATCH] ryu/app/rest_firewall.py: handling of no switch connection

2013-04-10 Thread Shivaram Mysore
if the fix addresses all the issues. thanks /Shivaram On Wed, Apr 10, 2013 at 6:59 PM, watanabe.fumitaka watanabe.fumita...@gmail.com wrote: This patch improves operation when there is no switch connection. Cc: Shivaram Mysore shivaram.mys...@gmail.com Signed-off-by: WATANABE Fumitaka

Re: [Ryu-devel] [PATCH] ryu/app/rest_firewall.py: handling of no switch connection

2013-04-10 Thread Shivaram Mysore
mode' message. so, I think the Switch features request(or reply) may be missing. Or your trace may be incomplete. If so, please send complete trace. Thanks. (2013年04月11日 11:21), Shivaram Mysore wrote: Hello, While this does take care of switch not connected case, I am not sure why

Re: [Ryu-devel] problems with REST firewall service

2013-04-12 Thread Shivaram Mysore
Issue for this is resolved. There was a bug on LINC side which is now fixed. I will post another email with instructions on how to get REST Firewall working with LINC Thanks for the help Regards /Shivaram On Tue, Apr 9, 2013 at 10:16 PM, 渡邊文隆 watanabe.fumit...@nttcom.co.jpwrote: Hi, I

[Ryu-devel] Getting Ryu REST Firewall Service to work with LINC

2013-04-12 Thread Shivaram Mysore
Hello all, Please find this document which details how to get REST firewall service working with LINC (running in OF 1.2 mode) https://github.com/FlowForwarding/LINC-Switch/blob/master/docs/example-REST-firewall.md There are still a couple of open issues with Ryu: 1. I could not delete an

Re: [Ryu-devel] [PATCH] ryu/app/rest_firewall.py: handling of no switch connection

2013-04-12 Thread Shivaram Mysore
) self.ofp_brick.send_event_to_**observers(ev, self.state) -- 1.7.10.4 (2013年04月11日 14:01), Shivaram Mysore wrote: Hello, That is all the trace that I get. From the switch I do see that Switch Features reply was sent, but, not shown on console when I use the REST

[Ryu-devel] Ryu tutorials presentatation

2013-04-20 Thread Shivaram Mysore
Hello, Would it be possible to please post links to presentations/videos, etc of Ryu tutorial that was provided @ ONS 2013? Thanks /Shivaram -- Precog is a next-generation analytics platform capable of advanced

Re: [Ryu-devel] error on starting the controller

2013-06-09 Thread Shivaram Mysore
It looks like you are using the LINC switch in v1.3 mode but the Ryu switch application is for v1.2 OpenFlow. Thanks On Sun, Jun 9, 2013 at 4:44 PM, FUJITA Tomonori fujita.tomon...@lab.ntt.co.jp wrote: Hi, On Sun, 9 Jun 2013 14:55:39 -0500 Gandhimathi Velusamy mathiy...@gmail.com wrote:

[Ryu-devel] Ryu plugin for CloudStack?

2013-07-13 Thread Shivaram Mysore
Hello, Is there a Ryu plugin for CloudStack similar to OpenStack? Thanks Regards /Shivaram -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from

[Ryu-devel] Mininet for FlowForwarding.org/LINC OpenFlow Switch now supported

2013-10-07 Thread Shivaram Mysore
Hello all, FlowForwarding.Org's LINC OpenFlow Switch [1] is now supported on Mininet [2]. For questions, please post them on linc-dev@flowforwarding.orgmailing list. [1] http://www.FlowForwarding.Org [2] https://github.com/FlowForwarding/mininet Thanks Regards /Shivaram

[Ryu-devel] using RyuApp.CONF

2015-10-10 Thread Shivaram Mysore
Hello, Can you please help me to locate more documentation about RyuApp.conf and how it can be used by a Ryu application? Can this file be placed as /etc/ryu/RyuApp.conf? how can we use this in a Ryu application? Should each application have its own conf file? Thanks /Shivaram

[Ryu-devel] How to pip install ryu as ryu:ryu uid:guid

2015-10-11 Thread Shivaram Mysore
Hi, How can I install do: *# pip install ryu * but, with *ryu:ryu* as *uid:gid*. My objective is to run *ryu-manager* as* ryu:ryu* for security purpose. Thanks & Regards /Shivaram --

[Ryu-devel] Ryu and Quagga

2015-12-20 Thread Shivaram Mysore
Hi, How can I get quagga like features using Ryu? Basically, if we want to use Ryu as a Openflow controller for a white box, how can I get the routing, etc functionality programmed into the White box using Ryu? Thanks /Shivaram

[Ryu-devel] Ryu & pyodbc integration

2016-05-25 Thread Shivaram Mysore
Hello, Has anyone done ryu and python odbc driver integration so that flows can be stored in a database? Thanks! -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to

[Ryu-devel] Faucet v1.3 released

2017-01-05 Thread Shivaram Mysore
Hello, This may be of interest to Ryu community ... Faucet is an application written on top of Ryu with a goal to do a drop-in replacement of a L2/L3 switch with SDN functionality. http://FaucetSDN.org https://github.com/REANNZ/faucet Installation - *pip install ryu-faucet* Cheers /Shivaram

Re: [Ryu-devel] how to setup DHCP v4/v6 relay with Ryu

2017-01-04 Thread Shivaram Mysore
<iwase.yusu...@gmail.com> wrote: > Hi, > > > On 2017年01月04日 13:08, Shivaram Mysore wrote: > > Hello, > > I want to use the new DHCP code in Ryu to act as a DHCP relay to be used > with Ryu. Any pointers as to how I could do this? > > AFAIK, there is no built-i

[Ryu-devel] how to setup DHCP v4/v6 relay with Ryu

2017-01-03 Thread Shivaram Mysore
Hello, I want to use the new DHCP code in Ryu to act as a DHCP relay to be used with Ryu. Any pointers as to how I could do this? Thanks & Regards /Shivaram -- Check out the vibrant tech community on one of the world's

Re: [Ryu-devel] [PATCH] packet/icmpv6: Fix parsing undefined nd_option fails

2017-08-01 Thread Shivaram Mysore
ets. > I will make a patch. > > Thanks, > Fujimoto > >> On 2017年08月02日 12:13, Shivaram Mysore wrote: >> Hello, >> >> The patch from Bill was suggesting something like this: >> >> if cls_ is not None: >> option = cls

Re: [Ryu-devel] [PATCH] packet/icmpv6: Fix parsing undefined nd_option fails

2017-08-01 Thread Shivaram Mysore
Hello, The patch from Bill was suggesting something like this: if cls_ is not None: option = cls_.parser(buf, offset) else: -option = buf[offset:offset + (length * 8 - 2)] +assert length > 0 # avoid infinite loop when

[Ryu-devel] Bug in ryu/lib/icmpv6.py

2017-08-01 Thread Shivaram Mysore
Hello, In trying to resolve a SSL connectivity issue per https://list.waikato.ac.nz/pipermail/faucet-dev/2017-August/000200.html we found a bug in Ryu packet parser code - please see the entire thread Bill (CCed) isolated the problem to be in ryu/lib/packet/icmpv6.py and provided a possible fix

[Ryu-devel] ryu 4.14?

2017-05-29 Thread Shivaram Mysore
When will the new version of Ryu be released? Thanks -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

[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.

[Ryu-devel] Ryu and tests in packaging

2017-09-15 Thread Shivaram Mysore
Hello, Currently Ryu pip package contains tests. Can we move tests to say, ryu-tests package? This will greatly reduce the package size and dependencies. Size of the package and dependencies make a huge difference for running Ryu inside of a container as resources are constrained. Thanks &

Re: [Ryu-devel] Ryu and tests in packaging

2017-09-16 Thread Shivaram Mysore
ori <to...@acm.org> wrote: > > On Sat, 16 Sep 2017 21:55:17 -0700 > Shivaram Mysore <shivaram.mys...@gmail.com> wrote: > >> Is there a way that we could do this if folks don't want openstack neutron >> support? >> May be we can have ryu-lite? > > A

Re: [Ryu-devel] Ryu and tests in packaging

2017-09-16 Thread Shivaram Mysore
Thanks. Is there a way that we could do this if folks don't want openstack neutron support? May be we can have ryu-lite? /Shivaram ::Sent from my mobile device:: > On Sep 16, 2017, at 9:30 PM, FUJITA Tomonori <to...@acm.org> wrote: > > On Fri, 15 Sep 2017 09:51:29 -0700 &g

[Ryu-devel] example code Openflow client talking to Ryu controller

2018-03-07 Thread Shivaram Mysore
Hi, I am looking for example Ryu API usage where Ryu framework is used to construct a Openflow message sent to Ryu controller. Use case is that I just want to send say, network statistics to Ryu Openflow controller where I have a Ryu application that is listening to Openflow stats and meter

Re: [Ryu-devel] example code Openflow client talking to Ryu controller

2018-03-07 Thread Shivaram Mysore
you need to > implement > "serialize()" method on the stats "reply" message parser class to send > them to > another controller. > > Thanks, > Iwase > > > > On 2018年03月08日 13:02, Shivaram Mysore wrote: > >> Hi, >> I am looking fo

Re: [Ryu-devel] example code Openflow client talking to Ryu controller

2018-03-08 Thread Shivaram Mysore
your Ryu app? > > Thanks, > Iwase > > >> On 2018年03月08日 14:53, knet solutions wrote: >> I think, you are trying to implement the openflow agent for the NIC card. >> In my perspective ,its not related to Controller stuff. >> On Thu, Mar 8, 2018 at 10:14

Re: [Ryu-devel] example code Openflow client talking to Ryu controller

2018-03-08 Thread Shivaram Mysore
Hi Suresh Call this as an openflow agent. I really want to use openflow only. I am not interested in snmp. Thanks /Shivaram ::Sent from my mobile device:: > On Mar 8, 2018, at 8:16 PM, knet solutions wrote: > > + It can be pull or poll mechanism. its quite

Re: [Ryu-devel] example code Openflow client talking to Ryu controller

2018-03-08 Thread Shivaram Mysore
he mandatory Openflow messages in the agent. > > On Fri, Mar 9, 2018 at 9:49 AM, Shivaram Mysore <shivaram.mys...@gmail.com > > wrote: > >> Hi Suresh >> Call this as an openflow agent. I really want to use openflow only. I >> am not interested in snmp. >&