ryu-manager: stop modifying CONF.app_list

to make cli show-options a little prettier.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
YAMAMOTO Takashi 2013-03-05 13:18:01 +09:00 committed by FUJITA Tomonori
parent db27b8f171
commit a776d026cb

View File

@ -58,11 +58,10 @@ def main():
log.init_log()
# always enable ofp for now.
CONF.app_lists += ['ryu.controller.ofp_handler']
CONF.app_lists += CONF.app
app_lists = CONF.app_lists + CONF.app + ['ryu.controller.ofp_handler']
app_mgr = AppManager()
app_mgr.load_apps(CONF.app_lists)
app_mgr.load_apps(app_lists)
contexts = app_mgr.create_contexts()
app_mgr.instantiate_apps(**contexts)