diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-01-23 18:06:35 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-01-24 10:12:05 +0900 |
commit | cc97a585052d3262d9f4809966e25a3b746d62eb (patch) | |
tree | 2cd839c0628b4ff23745d0fa1845375e2e8bd3fb | |
parent | c9325a22c020266f0f4285e70c31985632db82b1 (diff) |
dpset: start up dpset if there are subscribers of dpset events
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/controller/dpset.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ryu/controller/dpset.py b/ryu/controller/dpset.py index 54c9b5a5..b6be118c 100644 --- a/ryu/controller/dpset.py +++ b/ryu/controller/dpset.py @@ -231,3 +231,6 @@ class DPSet(app_manager.RyuApp): Raises KeyError if no such a datapath connected to this controller. """ return self.port_state[dpid].values() + + +handler.register_service('ryu.controller.dpset') |