diff options
Diffstat (limited to 'bin/ryu-manager')
-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 = [] |