> On Wed, 28 Aug 2013 15:37:24 +0900 (JST)
> [email protected] (YAMAMOTO Takashi) wrote:
> 
>>> On Wed, 28 Aug 2013 12:45:12 +0900 (JST)
>>> [email protected] (YAMAMOTO Takashi) wrote:
>>> 
>>>> i don't think the patch makes sense.
>>>> 
>>>> the real problem is that your command ends up with importing
>>>> two copies of switches module.  you can avoid the problem by:
>>>>     ryu-manager --verbose --observe-links ryu.topology.switches
>>> 
>>> I guess that we had better to support passing a file name as a command
>>> line option. Here is a workaround.
>> 
>> if we want to support it, it's better to try to avoid double-import
>> in the first place.  how about this?
> 
> I think that catching a double-import exception is more reliable than
> guessing if a module is loaded or not by using the name. The latter
> approach means that theoretically it might wrongly assume that the
> module is already loaded and use the wrong module. Practially, it
> works, I guess. I merged this though.

i agree.
but unfortunately there's no "double-import exception" in general.

YAMAMOTO Takashi

> 
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to