'process a flow removed event -- remove the matching flow from the table.'

def _handle_FlowRemoved(self, event):

    flow_removed = event.ofp
    for entry in self.flow_table.entries:
        if ((flow_removed.match == entry.match) and (flow_removed.priority == entry.priority)):
            self.flow_table.remove_entry(entry)
            self.raiseEvent(FlowTableModification(removed=[entry]))
            return EventHalt
    return EventContinue
