'Create a pair of veth devices with the specified names,
deleting any previous devices with those names.'

def _create_veth_pair(self, dev1_name, dev2_name):

    LOG.debug('Create    veth    pair,    port1:%(qvb)s,    port2:%(qvo)s', {'qvb': dev1_name, 'qvo': dev2_name})
    for dev in [dev1_name, dev2_name]:
        self._delete_net_dev(dev)
    host_network.ip_link_add_veth_pair(self._session, dev1_name, dev2_name)
    for dev in [dev1_name, dev2_name]:
        host_network.ip_link_set_dev(self._session, dev, 'up')
        host_network.ip_link_set_promisc(self._session, dev, 'on')
