@retry()
    def get_interface_target_dev(self, mac):
        """Get target device

        :type mac: String
            :rtype : String
        """
        xml_desc = ET.fromstring(self._libvirt_node.XMLDesc(0))
        target = xml_desc.find('.//mac[@address="%s"]/../target' % mac)
        if target is not None:
            return target.get('dev')


#    #LEGACY, TO REMOVE, NOT USED ANYWHERE
#    @retry()
#    def delete_all_snapshots(self):
#        """Delete all snapshots for node
#        """
#        domain = self._libvirt_node
#        for name in domain.snapshotListNames(
#                libvirt.VIR_DOMAIN_SNAPSHOT_LIST_ROOTS):
#            snapshot = self._get_snapshot(name)
#            snapshot.delete(libvirt.VIR_DOMAIN_SNAPSHOT_DELETE_CHILDREN)
dataset/ETHPy150Open openstack/fuel-devops/devops/driver/libvirt/libvirt_driver.py/LibvirtNode.get_interface_target_dev/original