'Plug a VIF_TYPE_TAP virtual interface.'

def plug_tap(self, instance, vif):

    dev = self.get_vif_devname(vif)
    mac = vif['details'].get(network_model.VIF_DETAILS_TAP_MAC_ADDRESS)
    linux_net.create_tap_dev(dev, mac)
    network = vif.get('network')
    mtu = (network.get_meta('mtu') if network else None)
    linux_net._set_device_mtu(dev, mtu)
