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

2018-03-08 Thread Shivaram Mysore
in the agent. > > On Fri, Mar 9, 2018 at 9:49 AM, Shivaram Mysore > wrote: > >> Hi Suresh >> Call this as an openflow agent. I really want to use openflow only. I >> am not interested in snmp. >> >> Thanks >> >> /Shivaram >> ::Sen

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 straight forward implementation.

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

2018-03-08 Thread Shivaram Mysore
>> 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 AM, Shivaram Mysore > <mailto:shivaram.mys...@gm

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

2018-03-07 Thread Shivaram Mysore
quot;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 for example Ryu API usage where Ryu

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

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

2017-09-16 Thread Shivaram Mysore
ori wrote: > > On Sat, 16 Sep 2017 21:55:17 -0700 > Shivaram Mysore 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? > > Anyone can register own package on pypi site.

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 wrote: > > On Fri, 15 Sep 2017 09:51:29 -0700 > Shiva

[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 & Reg

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

2017-08-01 Thread Shivaram Mysore
e 'length' field in options, RFC4861 says that: > > The value 0 is invalid. Nodes MUST > silently discard an ND packet that contains an > option with length zero. > > So we should raise an exception when receiving such invalid packets. > I will make a patch. &g

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 le

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

2017-08-01 Thread Shivaram Mysore
gt; > Thanks, > Fujimoto > > > On 2017年08月02日 06:10, Shivaram Mysore wrote: > > 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 - plea

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

[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! http://sdm.link/slashdot___

[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

[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
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-in or example application for DH

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

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

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

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

2013-06-09 Thread Shivaram Mysore
d message from the controller: > {ofp_message,3,packet_out,2442493000,{ofp_packet_out,no_buffer,1,[{ofp_action_output,14,flood,0}],<<>>}} > > > Thanks > Gandhi > > > > On 9 June 2013 20:17, Shivaram Mysore wrote: > >> It looks like you are using the LINC switch i

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 wrote: > > > When I st

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

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

2013-04-15 Thread Shivaram Mysore
526 LINC rules are deleted correctly. Thanks /Shivaram On Sun, Apr 14, 2013 at 6:33 PM, watanabe.fumitaka < watanabe.fumita...@gmail.com> wrote: > Hello Shivaram, > > > 1. I could not delete an installed rule > > Please send command as follows. > > curl -X DELE

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

2013-04-12 Thread Shivaram Mysore
g(self, > version, msg_type, msg_len, xid, > buf) > -#LOG.debug('queue msg %s cls %s', msg, msg.__class__) > + LOG.debug('queue msg %s cls %s', msg, msg.__class__) > ev = ofp_ev

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

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

2013-04-12 Thread Shivaram Mysore
tp://localhost:8080/firewall/module/enable > > 404 Not Found > > The resource could not be found. > > > REST command's path is wrong. > Please send command as follows. > > PUT http://localhost:8080/firewall/module/enable/all > PUT http://localhost:8080

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

2013-04-10 Thread Shivaram Mysore
hyPort(port_no=65534, hw_addr='&\xaa*\xaclC', > name='s1\x00\x00\x00\x00\x00\**x00\x00\x00\x00\x00\x00\x00\**x00\x00', > config=0, state=0, curr=0, advertised=0, supported=0, peer=0) > move onto main mode > EVENT ofp_event->dpset EventOFPStateChange > DPSE

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

2013-04-10 Thread Shivaram Mysore
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 > Signed-off-by: WATANABE Fu

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

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 wrote: > On Tue, Apr 09, 2013 at 09:34:06PM +0900, FUJITA Tomonori wrote: > > Thanks, applied all. btw, I still wait for you to add a doc about how >

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 wrote: > On Thu, Apr 04, 2013 at 06:48:12PM -0700, Shivaram Mysore wrote: > > Hello, > >

[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: address:('10.48.11.196', 39920)

[Ryu-devel] issue with OF 1.3 and dpset.py

2013-04-05 Thread Shivaram Mysore
Hello, OpenFlow 1.3+ does not have ports. Hence, As per* ryu/controller/ofp_handler.py*, we have: 188 # hacky workaround, will be removed. OF1.3 doesn't have 189 # ports. An application should not depend on them. But there 190 # might be such bad applications so keep thi

[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/tests/i

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

2013-03-31 Thread Shivaram Mysore
having _1_2 or _1_3 for each Thx /Shivaram ::Sent from my mobile device:: On Mar 31, 2013, at 5:04 AM, FUJITA Tomonori wrote: > On Sun, 31 Mar 2013 04:57:48 -0700 > Shivaram Mysore wrote: > >> Then I would add "any" or "all" directory in addition to the

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 wrote: > On Sat, 30 Mar 2013 10:55:17 -0700 > Shivaram Mysore wrote: > >&

[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] Getting REST service to work with Ryu

2013-03-30 Thread Shivaram Mysore
Thank you Fujita-san. But, this rest works with OF 1.0. Is there one for OF 1.3.1 ? Thanks /Shivaram On Fri, Mar 29, 2013 at 11:52 PM, FUJITA Tomonori < fujita.tomon...@lab.ntt.co.jp> wrote: > Hi, > > On Fri, 29 Mar 2013 19:42:03 -0700 > Shivaram Mysore wrote: > >

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

[Ryu-devel] Getting REST service to work with Ryu

2013-03-29 Thread Shivaram Mysore
Hello, I have Ryu currently controlling LINC OpenFlow Switch. I install necessary flows via application. Instead I want to do something like this: # ryu/ryu-manager rest.py Assume LINC switch is connected to Ryu now. I should now be able to add a flow via curl # curl -i -H "Accept: applicati

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

2013-03-26 Thread Shivaram Mysore
y 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 > >

[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 dispatcher-1

[Ryu-devel] Prototype of Certificate provisioning on OF-Capable Switches

2013-02-14 Thread Shivaram Mysore
Hello Ryu Community, FlowForwarding.org's LINC OF-Capable switch has implemented the support for TLS between the switch and the controllers. You can find the new version of LINC on github/master, also tagged as 1.1.1. https://github.com/FlowForwarding/LINC-Switch/tree/1.1.1

[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 @ ebf7638

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

2012-12-12 Thread Shivaram Mysore
D > > > +error_msg.code = datapath.ofproto.OFPHFC_INCOMPATIBLE > > > +error_msg.data = 'no compatible version found: ' > > > +'controller 0x%x switch 0x%x' % ( > > > +ev.datapath.ofproto.OFP_VERSION, msg.version) > > > +datapath.send_

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

2012-12-12 Thread Shivaram Mysore
sion found: ' > > +'controller 0x%x switch 0x%x' % ( > > +ev.datapath.ofproto.OFP_VERSION, msg.version) > > +datapath.send_msg(error_msg) > > +return > > + > > +datapath.set_version(version) > > > >

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

2012-12-12 Thread Shivaram Mysore
Thanks. But, that did not help. Here is the code import logging import struct import array from ryu.controller import handler from ryu.controller import ofp_event from ryu.ofproto import ofproto_v1_2 from ryu.ofproto import ofproto_v1_2_parser from ryu.base import app_manager LOG = logging.get

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

[Ryu-devel] Ryu application guidance

2012-11-28 Thread Shivaram Mysore
Hello, I have written some very basic and simple OF 1.2 applications for Ryu which I am running against LINC (www.flowforwarding.org). Once I run the application (ex. add flow), I have to CNTRL+C to get out of the same - which means I get out of controller connectivity to switch (not my desire).

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 wrote: > > > I am trying to use Ryu against Fl

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