diff options
Diffstat (limited to 'ryu/app/tunnel_port_updater.py')
-rw-r--r-- | ryu/app/tunnel_port_updater.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ryu/app/tunnel_port_updater.py b/ryu/app/tunnel_port_updater.py index 3c1f5c8c..0e8da305 100644 --- a/ryu/app/tunnel_port_updater.py +++ b/ryu/app/tunnel_port_updater.py @@ -245,11 +245,12 @@ class TunnelDP(object): # serialize requests to this OVS DP _RequestUpdateRemote = collections.namedtuple('_RequestUpdateRemote', - ('remote_dpid', 'remote_ip')) - _RequestAddTunnelPort = collections.namedtuple('_RequestAddTunnelPort', ('remote_dpid', 'remote_ip')) + _RequestAddTunnelPort = collections.namedtuple('_RequestAddTunnelPort', + ('remote_dpid', + 'remote_ip')) _RequestDelTunnelPort = collections.namedtuple('_RequestDelTunnelPort', - ('remote_ip')) + ('remote_ip')) class _RequestClose(object): pass @@ -325,8 +326,8 @@ class TunnelDPSet(dict): pass -#import collections -#class TunnelRequests(collections.defaultdict(set)): +# import collections +# class TunnelRequests(collections.defaultdict(set)): class TunnelRequests(dict): def add(self, dpid0, dpid1): self.setdefault(dpid0, set()).add(dpid1) |