diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-11-17 09:42:01 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-11-17 15:37:29 +0900 |
commit | 73ae9dd1092423254e986ba037f61c9bca60bdf8 (patch) | |
tree | 0dbb7910f7256d10eb12fa4ee9cc8658263914d8 /.gitignore | |
parent | 47f1d195389337842e2e64d08c9a663266395c11 (diff) |
solve application dependency via @set_ev_cls
Currently, ryu always starts ofp application because ryu doesn't know
applications that an user specifies needs ofp application or not. So
you can't run two ryu instances even if one of them doesn't use ofp
application because two instances tries to listen the same port.
The root problem is that there is no way to represent dependency
between applications. The patch to invent our own json format to
represent such was proposed ago but I'm still not sure we really need
such complicity.
This tries to solve the problem simply. A module defining events for
an application calls register_service() to declare which application
generates the events, e.g., ofp_event.py call register_service() with
'ofp_handler' argument. If an application starts including @set_ev_cls
for ofp_event, ryu-manager starts ofp application (ofp_handler).
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions