- app/event_dumper
- controller/dispatcher
- controller/mac_to_network
- controller/mac_to_port
- app/simple_switch

Signed-off-by: Isaku Yamahata <[email protected]>
---
 ryu/app/event_dumper.py          |    1 +
 ryu/app/simple_switch.py         |    1 +
 ryu/controller/dispatcher.py     |    2 ++
 ryu/controller/mac_to_network.py |    1 +
 ryu/controller/mac_to_port.py    |    1 +
 5 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ryu/app/event_dumper.py b/ryu/app/event_dumper.py
index ca6b5fd..4e0afc9 100644
--- a/ryu/app/event_dumper.py
+++ b/ryu/app/event_dumper.py
@@ -30,6 +30,7 @@ gflags.DEFINE_multistring('dump_dispatcher', [],
 
 class EventDumper(object):
     def __init__(self, *_args, **_kwargs):
+        super(EventDumper, self).__init__()
         # EventDispatcher can be created and cloned before us.
         # So register it explicitly
         for ev_q in dispatcher.EventQueue.all_instances():
diff --git a/ryu/app/simple_switch.py b/ryu/app/simple_switch.py
index 0d3436e..99b5893 100644
--- a/ryu/app/simple_switch.py
+++ b/ryu/app/simple_switch.py
@@ -35,6 +35,7 @@ LOG = logging.getLogger('ryu.app.simple_switch')
 
 class SimpleSwitch(object):
     def __init__(self, *_args, **_kwargs):
+        super(SimpleSwitch, self).__init__()
         self.mac2port = mac_to_port.MacToPortTable()
 
     @set_ev_cls(ofp_event.EventOFPPacketIn, MAIN_DISPATCHER)
diff --git a/ryu/controller/dispatcher.py b/ryu/controller/dispatcher.py
index 35afb9f..76299a8 100644
--- a/ryu/controller/dispatcher.py
+++ b/ryu/controller/dispatcher.py
@@ -41,6 +41,7 @@ class EventQueue(TrackInstances):
             ev_q.queue(ev)
 
     def __init__(self, name, dispatcher, aux=None):
+        super(EventQueue, self).__init__()
         self.name = name
         self._dispatcher = dispatcher.clone()
         self.is_dispatching = False
@@ -111,6 +112,7 @@ class EventQueue(TrackInstances):
 
 class EventDispatcher(TrackInstances):
     def __init__(self, name):
+        super(EventDispatcher, self).__init__()
         self.parent = None
         self.children = set()
         self.name = name
diff --git a/ryu/controller/mac_to_network.py b/ryu/controller/mac_to_network.py
index bc18929..e6cd0ec 100644
--- a/ryu/controller/mac_to_network.py
+++ b/ryu/controller/mac_to_network.py
@@ -23,6 +23,7 @@ LOG = logging.getLogger('ryu.controller.mac_to_network')
 
 class MacToNetwork(object):
     def __init__(self, nw):
+        super(MacToNetwork, self).__init__()
         self.mac_to_net = {}
         self.dpid = {}
         self.nw = nw
diff --git a/ryu/controller/mac_to_port.py b/ryu/controller/mac_to_port.py
index f1db80f..63cb313 100644
--- a/ryu/controller/mac_to_port.py
+++ b/ryu/controller/mac_to_port.py
@@ -23,6 +23,7 @@ class MacToPortTable(object):
     """MAC addr <-> (dpid, port name)"""
 
     def __init__(self):
+        super(MacToPortTable, self).__init__()
         self.mac_to_port = {}
 
     def dpid_add(self, dpid):
-- 
1.7.1.1


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to