summaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-09-04 12:19:35 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-09-05 09:23:35 +0900
commit222d6f1feedf17cabccff9e56bda44b58b8c08bf (patch)
tree4d7f68069f4ff0bad56beb0c08cb62e74539ef45 /bin
parent965c46a7a70641c9a791ca8d48a8d1df695bbebb (diff)
register OFP handlers via register_instance
No reason that we use register_cls() for ofp handlers. We can do with register_instance() with the others do. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ryu-manager3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ryu-manager b/bin/ryu-manager
index cfa56a0a..4d6c4908 100755
--- a/bin/ryu-manager
+++ b/bin/ryu-manager
@@ -51,6 +51,9 @@ def main():
log.init_log()
+ # always enable ofp for now.
+ FLAGS.app_lists += ['ryu.controller.ofp_handler']
+
if len(args) > 1:
FLAGS.app_lists += args[1:]