summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xbin/ryu-manager5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/ryu-manager b/bin/ryu-manager
index f154bfef..03b1b79f 100755
--- a/bin/ryu-manager
+++ b/bin/ryu-manager
@@ -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)