def METHOD_NAME(rbd: Rbd, pool_config):
    for each_config in ["ec_pool_config", "rep_pool_config"]:
        rbd.clean_up(dir_name=f"image_export_{each_config[0:2]}.raw")
        rbd.clean_up(pools=[f"{pool_config[each_config]['pool']}"])
    rbd.clean_up(dir_name="ceph-qe-scripts/")