code: def pool_delete(storage_pool, logger):
      
      path = etree.fromstring(storage_pool.XMLDesc(0)).find('.//path').text
  
      volumes_delete(storage_pool, logger)
  
      try:
          storage_pool.destroy()
      except libvirt.libvirtError:
          logger.exception("Unable to delete storage pool.")
      try:
          if os.path.exists(path):
              shutil.rmtree(path)
      except EnvironmentError:
          logger.exception("Unable to delete storage pool folder.")
docs: Storage Pool deletion, removes all the created disk images within the pool and the pool itself.