Skip to content

Commit

Permalink
Merge pull request #3432 from anarkiwi/nodel
Browse files Browse the repository at this point in the history
Don't do a delete all on disconnect.
  • Loading branch information
anarkiwi committed Jan 21, 2020
2 parents 1569ecf + ad4359f commit 10d4fe6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions faucet/valve.py
Original file line number Diff line number Diff line change
Expand Up @@ -1853,8 +1853,6 @@ def ryu_send_flows(local_flow_msgs):
ryu_dp.send_msg(flow_msg)

if flow_msgs is None:
# Attempt flow table cleanup on disconnect (but no way to guarantee result).
ryu_send_flows(self._delete_all_valve_flows())
self.datapath_disconnect()
ryu_dp.close()
else:
Expand Down

0 comments on commit 10d4fe6

Please sign in to comment.