summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2014-06-18 16:16:44 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-06-19 08:41:51 +0900
commitc7701728041afc24ae19c2f88d361d4cb86059f9 (patch)
treef79b76796f3f32b15ad38b08db526fdda2df12c3 /doc
parent03731ad04cab7746e095c44934fbdee3f1134ea0 (diff)
app_manager: prevent loading unnecessary RyuApps
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 <ishida.wataru@lab.ntt.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions