Hello, On Tue, 22 Jan 2013 11:38:46 +0800 "can." <[email protected]> wrote:
> 1) A sketch about the structure of ryu and how a message being > handled. For example, how a packet_in message, sent from switch, > through ryu, and finally reach user's app. I posted the patch to change the event handling. I plan to merge it soon. I'll write docs about it. > 2) How does the event mechanism work > If I want to raise an event, how do I do it; if I want to catch an event, how > do I do it. > Must I use the REST api? This is the same situation with 1) > 3) How to handle packets.(match, pack and parse) > There's a short article in the documents, but I think more examples > in ryu/app folder might be better. Have you checked example code in tests directory? You can find example code about OF12 all actions and matches. > For example, now I want to match IPv6 packets using nx_match of ovs, but I > can not figure it out by reading the examples, or by reading the documents, > or by reading the source code of nx_match.py. I tried: > rule = nx_match.ClsRule() > rule.set_ipv6_src(123) > but the IPv6 match condition seems to be ignored when I dump flow from ovs We don't have an example for Nicira Extentions match for ipv6 address however you can find one about OF1.2 match for ipv6 address in tests directory, test_add_flow_v12_matches.py. Thanks, ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
