Signed-off-by: OHMURA Kei <ohmura....@lab.ntt.co.jp>
---
 ryu/topology/dumper.py |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ryu/topology/dumper.py b/ryu/topology/dumper.py
index 8aafc62..da676f5 100644
--- a/ryu/topology/dumper.py
+++ b/ryu/topology/dumper.py
@@ -22,6 +22,7 @@ import time
 from ryu.base import app_manager
 from ryu.controller.handler import set_ev_handler
 from ryu.topology import event
+from ryu.topology import switches
 
 LOG = logging.getLogger(__name__)
 
@@ -29,6 +30,9 @@ LOG = logging.getLogger(__name__)
 class DiscoveryEventDumper(app_manager.RyuApp):
     ''' This app dumps discovery events
     '''
+    _CONTEXTS = {
+        'switches': switches.Switches,
+    }
 
     def __init__(self, *args, **kwargs):
         super(DiscoveryEventDumper, self).__init__(*args, **kwargs)
-- 
1.7.9.5


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to