mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 20:36:10 +02:00
app_manager: print event flow for --verbose
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
589601c2a5
commit
d7163b5463
@ -88,7 +88,12 @@ class RyuApp(object):
|
||||
|
||||
def send_event(self, name, ev):
|
||||
if name in SERVICE_BRICKS:
|
||||
LOG.debug("EVENT %s->%s %s" %
|
||||
(self.name, name, ev.__class__.__name__))
|
||||
SERVICE_BRICKS[name]._send_event(ev)
|
||||
else:
|
||||
LOG.debug("EVENT LOST %s->%s %s" %
|
||||
(self.name, name, ev.__class__.__name__))
|
||||
|
||||
def send_event_to_observers(self, ev):
|
||||
for observer in self.get_observers(ev):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user