diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2013-03-12 14:28:33 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-03-18 07:57:31 +0900 |
commit | 134334137f26e53bdacd43e9660ca3700dbab230 (patch) | |
tree | 96c6dc0f78fbc6ad8530ecf4e0cbbf7bdc572da5 | |
parent | 5cff2a36309eafa65a6d31e020d9949c49a0c102 (diff) |
tunnel_port_updater: g/c _LOCK
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/app/tunnel_port_updater.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ryu/app/tunnel_port_updater.py b/ryu/app/tunnel_port_updater.py index da88b5f8..18ec0799 100644 --- a/ryu/app/tunnel_port_updater.py +++ b/ryu/app/tunnel_port_updater.py @@ -350,7 +350,6 @@ class TunnelPortUpdater(app_manager.RyuApp): 'network': network.Network, 'tunnels': tunnels.Tunnels, } - _LOCK = 'lock' def __init__(self, *args, **kwargs): super(TunnelPortUpdater, self).__init__(args, kwargs) @@ -366,8 +365,6 @@ class TunnelPortUpdater(app_manager.RyuApp): self.network_api.update_network( _TUNNEL_TYPE_TO_NW_ID[self.tunnel_type]) - setattr(self, self._LOCK, gevent.coros.Semaphore()) - def _ovsdb_update(self, dpid, ovsdb_addr, ovs_tunnel_addr): self.logger.debug('_ovsdb_update %s %s %s', dpid_lib.dpid_to_str(dpid), ovsdb_addr, |