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:
parent
db27b8f171
commit
a776d026cb
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user