def send_vdp_port_event(self, port_uuid, mac, net_uuid,<EOL>segmentation_id, status, oui):
try:<EOL><INDENT>with self.ovs_vdp_lock:<EOL><INDENT>ret = self.send_vdp_port_event_internal(port_uuid, mac,<EOL>net_uuid,<EOL>segmentation_id,<EOL>status, oui)<EOL>return ret<EOL><DEDENT><DEDENT>except Exception as e:<EOL><INDENT>LOG.error("<STR_LIT>" % str(e))<EOL>return {'<STR_LIT:result>': False, '<STR_LIT>': str(e)}<EOL><DEDENT>
Send vNIC UP/Down event to VDP.

        :param port: a ovslib.VifPort object.
        :param net_uuid: the net_uuid this port is to be associated with.
        :param segmentation_id: the VID for 'vlan' or tunnel ID for 'tunnel'
        :param status: Type of port event. 'up' or 'down'