Thanks for your reply,
I have used some samples in the ryu/ryu/app such as simple_switch.py. It
still have unhandled events of EventDispatcherChange and EventQueueCreate,
but I guess that the reason is that the sample didn't handle those events.
Is it correct? Because, after that it prints out many packets information
like datapath id, mac, etc..
By the way, are there any more detailed tutorial on how to write ryu
application? I think it will be helpful for me really.
Thank you.
On 24 September 2012 15:06, FUJITA Tomonori
<[email protected]>wrote:
> Hi, thanks for using Ryu,
>
> On Mon, 24 Sep 2012 10:04:07 +0700
> Dinh Khai Nguyen <[email protected]> wrote:
>
> > I'm new to openVswitch and Ryu. There is a description about using Ryu
> > Network Operating System with OpenStack as Openflow controller in Ryu 1.2
> > documentation. However, this instruction is a little bit complicated for
> a
> > newbie like me, so I'm thinking about using openVswitch directly with Ryu
> > without OpenStack. Hence, I install Ryu using source from github, then I
>
> Yeah, that's a good idea.
>
> > install OpenVswitch 1.4.0 follows the instruction at
> > http://networkstatic.net/openflow-openvswitch-lab/.
> >
> > After that, I run ryu-manager from terminal, it shows: "Loading app
> > ryu.controller.ofp_handler. Instantiating app
> ryu.controller.ofp_handler".
> > Then I run 'ovs-vsctl set-controller br-int 127.0.0.1:6633' in another
> > terminal and I have:
> > "Bridge br-int
> > Controller "tcp:127.0.0.1:6633"
> > is_connected: true
> > Port "eth0"
> > Interface "eth0"
> > Port br-int
> > Interface br-int
> > type: internal
> > "
> >
> > However, there is the problem that the ryu controller shows unhandled
> > events at <ryu.controller.dispatcher.EventQueueCreate>,
> > <ryu.controller.dispatcher.EventDispatcherChange>,
> > <ryu.controller.ofp_event.EventOFPPacketIn>.
> >
> > So my question is that, how could I resolve the issues remaining?
> > Thanks for advance.
>
> Actually, looks like Ryu and OVS successfully connected in your
> environment. You just run Ryu without any Ryu application so Ryu does
> nothing. As you see, Ryu got a OFP PacketIn message. A Ryu application
> is supposed to do something interesting for such message. If you are
> interested in writing Ryu applications, check out:
>
> http://osrg.github.com/ryu/doc/developing.html
>
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel