run OFP if no application is specified
Keep the old behavior. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
cafb17781b
commit
1593025b9f
@ -62,6 +62,9 @@ def main():
|
|||||||
log.init_log()
|
log.init_log()
|
||||||
|
|
||||||
app_lists = CONF.app_lists + CONF.app
|
app_lists = CONF.app_lists + CONF.app
|
||||||
|
# keep old behaivor, run ofp if no application is specified.
|
||||||
|
if not app_lists:
|
||||||
|
app_lists = ['ryu.controller.ofp_handler']
|
||||||
|
|
||||||
app_mgr = AppManager.get_instance()
|
app_mgr = AppManager.get_instance()
|
||||||
app_mgr.load_apps(app_lists)
|
app_mgr.load_apps(app_lists)
|
||||||
|
Loading…
Reference in New Issue
Block a user