On Wed, 18 Jun 2014 16:16:44 +0900
ISHIDA Wataru <[email protected]> wrote:
> don't load RyuApps which is just imported and not defined in the module.
> for example, if we run the script "test.py" as shown below by
>
> $ ryu run test.py
>
> the past implementation loads and instantiates not only Test but also RyuApp
> and DPSet. this patch fix this wrong behavior
>
> test.py
> ===
>
> from ryu.base.app_manager import RyuApp
> from ryu.controller.dpset import DPSet
>
> class Test(RyuApp):
> _CONTEXTS = {'dpset' : DPSet}
>
> Signed-off-by: ISHIDA Wataru <[email protected]>
> ---
> ryu/base/app_manager.py | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
Applied, thanks!
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel