diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2012-01-31 16:45:07 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-02-01 08:55:50 +0900 |
commit | c16b232f38a64121ab23251b5b40f7d9fde575b2 (patch) | |
tree | e5307342c1660f26fbac719c291eb367fcc81987 /bin | |
parent | e66a04e80e565f193e43a05aa20a8a3202171b92 (diff) |
app: event dumper application
This app dumps events occurred in specified dispatcher.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ryu-manager | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/ryu-manager b/bin/ryu-manager index e8350fe9..61df86c6 100755 --- a/bin/ryu-manager +++ b/bin/ryu-manager @@ -28,17 +28,19 @@ log.earlyInitLog(logging.DEBUG) from ryu import flags from ryu import utils +from ryu.app import wsapi from ryu.base.app_manager import AppManager from ryu.controller import controller -from ryu.app import wsapi -from ryu.app import rest +from ryu.controller import dpset from ryu.controller import network FLAGS = gflags.FLAGS gflags.DEFINE_multistring('app_lists', ['ryu.app.simple_isolation.SimpleIsolation', - 'ryu.app.rest.restapi'], + 'ryu.app.rest.restapi', + # 'ryu.app.event_dumper.EventDumper', + ], 'application module name to run') @@ -48,9 +50,10 @@ def main(): log.initLog() nw = network.network() + dpset_ = dpset.create_dpset() app_mgr = AppManager() - app_mgr.load_apps(FLAGS.app_lists, network=nw) + app_mgr.load_apps(FLAGS.app_lists, network=nw, dpset=dpset_) services = [] |