diff options
-rw-r--r-- | ryu/app/quantum_adapter.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ryu/app/quantum_adapter.py b/ryu/app/quantum_adapter.py index 29d063db..6f6090d6 100644 --- a/ryu/app/quantum_adapter.py +++ b/ryu/app/quantum_adapter.py @@ -363,9 +363,7 @@ class QuantumAdapter(app_manager.RyuApp): # can be disconnected for some reason. # TODO: configuration needed to tell that this dp is really # removed. - ovs_switch = self.dps.pop(dpid, None) - if ovs_switch: - ovs_switch.close() + self.dps.pop(dpid, None) @handler.set_ev_cls(dpset.EventPortAdd) def port_add_handler(self, ev): |