On Wed, 19 Mar 2014 19:28:40 +0100
Windhya Rankothge <[email protected]> wrote:

> I have been working with POX controller for sometimes and I have moved to
> Ryu very recently.. In POX controller, If I run following code on the
> controller, it will add flows to the switch manually..
> 
> from pox.core import core
> import pox.openflow.libopenflow_01 as of
> from pox.lib.addresses import IPAddr
> 
> for connection in core.openflow.connections:
>              connection.send(of.ofp_flow_
> mod(action=of.ofp_action_output(port=2),priority=32,
>  match=of.ofp_match(dl_type=0x800,nw_src="10.0.0.1",nw_dst="10.0.0.2")))
> 
> Is there a similar way in Ryu ??

As I wrote in another mail, there is. You can find such examples in:

http://osrg.github.io/ryu/resources.html#books

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to