diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-09-04 12:19:35 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-09-05 09:23:35 +0900 |
commit | 222d6f1feedf17cabccff9e56bda44b58b8c08bf (patch) | |
tree | 4d7f68069f4ff0bad56beb0c08cb62e74539ef45 /bin | |
parent | 965c46a7a70641c9a791ca8d48a8d1df695bbebb (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-x | bin/ryu-manager | 3 |
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:] |