def create_device(self, name):

        ip = ip_lib.IPWrapper()
        tap_device = ip.add_tuntap(name)
        self.addCleanup(tap_device.link.delete)
        tap_device.link.set_up()
Handles a Python object being dragged over the tree.
dataset/ETHPy150Open openstack/neutron/neutron/tests/functional/agent/linux/test_tc_lib.py/TcLibTestCase.create_device--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/drop_editor.py/_DropEventFilter.dragEnterEvent