'Unplug a VIF_TYPE_TAP virtual interface.'

def unplug_tap(self, instance, vif):

    dev = self.get_vif_devname(vif)
    try:
        linux_net.delete_net_dev(dev)
    except processutils.ProcessExecutionError:
        LOG.exception(_('Failed    while    unplugging    vif'), instance=instance)
