'Return True if equal
Overide this.'

def _eq(self, other):

    for a in 'packet_in    port_status    flow_removed'.split():
        a += '_mask'
        if (getattr(self, a) != getattr(other, a)):
            return False
        a += '_slave'
        if (getattr(self, a) != getattr(other, a)):
            return False
    return True
