diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-11-24 03:21:21 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-11-25 17:48:21 +0900 |
commit | 1593025b9fd3d2acb3e25a42293e6b52c9e767d2 (patch) | |
tree | 62537d0af652cce5747df8ac97726461c0530abc | |
parent | cafb17781b0666f88dc9cddd24c3e2f946062b46 (diff) |
run OFP if no application is specified
Keep the old behavior.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rwxr-xr-x | ryu/cmd/manager.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ryu/cmd/manager.py b/ryu/cmd/manager.py index 82dc60a1..a2912e5d 100755 --- a/ryu/cmd/manager.py +++ b/ryu/cmd/manager.py @@ -62,6 +62,9 @@ def main(): log.init_log() 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.load_apps(app_lists) |