Hello, I reverted the master branch of github to an old version(before May.31 2012) and applied your 13 patches, then the topology discovery component seemed working.
Now I want to make the component work in the latest version, because I need the openflow IPv6 support from ryu. Though ryu code is pretty clean, I'm new to this project and need some help. 1. From my experience with ryu, the old version(version before May.31 2012) requires a class to contain a _CONTEXTS. I think there might be other differences in writing an app between the old and the latest version. So as you can recall, could you give me a list of such changes? 2. I can see that you changed 13 files. Some of their functions can be easily determined from their names. e.g. app/discovery.py(the main app), app/rest_discovery.py(rest api for topology discovery), lib/lldp.py(pack and unpack lldp). But other files are more difficult to understand as there're no per-file-comments included and no available documents. I just put them here to apply for an explanation: bin/ryu-client, app/client.py: What do these client things do? I mean not only in topology discovery, but also in ryu app/cbench.py: no clue, related to benchmark test? controller/* : I might also apply these changes to the latest version, so I need to understand them. I think maybe this is related to the architecture of ryu. 3. What's the event mechanism of ryu? I see a lot of "unhandled event" when run `ryu-manager --app_lists ryu.app.discovery.Discovery`. So how to raise and handle an event in ryu? I'd appreciate anyone who would help :) And thanks in advance. -- Best regards, Can Zhang Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On 2013年1月18日Friday at 上午9:22, can. wrote: > OK, I'll try. > Thanks. > > > -- > Best regards, > Can Zhang > > > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) > > > On 2013年1月18日Friday at 上午9:16, Isaku Yamahata wrote: > > > Oops sorry, please follow the thread of the mail. > > > > http://thread.gmane.org/gmane.network.ryu.devel/467 > > The 13 patches will be find. > > > > thanks, > > > > On Fri, Jan 18, 2013 at 09:14:02AM +0800, can. wrote: > > > Thanks Isaku. > > > But your link is a summary of the component. Where can I get the code? > > > > > > -- > > > Best regards, > > > Can Zhang > > > > > > > > > > > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) > > > > > > > > > On 2013年1月18日Friday at 上午8:38, Isaku Yamahata wrote: > > > > > > > Hi. > > > > > > > > The latest patch is v4 and available at > > > > http://article.gmane.org/gmane.network.ryu.devel/467 > > > > > > > > It hasn't been merged into the upstream Ryu yet. > > > > It's a bit outdated, so it needs to be updated and rebased. > > > > The updated patches will be appreciated. > > > > > > > > thanks, > > > > > > > > > > > > On Thu, Jan 17, 2013 at 12:01:48PM +0800, can. wrote: > > > > > Hi there, > > > > > > > > > > I downloaded and installed ryu from github, but I cannot find the > > > > > topology discovery components I expected. So please tell me how to > > > > > get the code and documents. > > > > > > > > > > > > > > > -- > > > > > Best regards, > > > > > Can Zhang > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > 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/learnmore_122712 > > > > > _______________________________________________ > > > > > Ryu-devel mailing list > > > > > [email protected] > > > > > (mailto:[email protected]) > > > > > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > yamahata > > > > > > > > > > > > > > > -- > > yamahata > ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
