'Notify nova about active port
Used when port was wired on the host other than port\'s current host
according to port binding. This happens during live migration.
In this case ml2 plugin skips port status update but we still we need
to notify nova.'

def notify_port_active_direct(self, port):

    if (not self._can_notify(port)):
        return
    port._notify_event = {'server_uuid': port.device_id, 'name': VIF_PLUGGED, 'status': 'completed', 'tag': port.id}
    self.send_port_status(None, None, port)
