def METHOD_NAME(**kw):
    log.info("Starting RBD mirroring test case - CEPH-9515")
    """verify for parent snapshot deletion of a clone having a snapshot (deep flatten)
    on the image that is getting mirrored to remote cluster.
    Args:
        **kw: test data
        Example::
            config:
                ec_pool_config:
                    imagesize: 2G
                    io_total: 200M
                rep_pool_config:
                    imagesize: 2G
                    io_total: 200M
    Returns:
        0 - if test case pass
        1 - it test case fails
    """
    mirror_obj = rbd_mirror_config(**kw)
    if mirror_obj:
        if "rep_rbdmirror" in mirror_obj:
            log.info("Executing test on replicated pool")
            if test_mirror_delete_parent_snap(
                mirror_obj.get("rep_rbdmirror"), "rep_pool_config", **kw
            ):
                return 1
        if "ec_rbdmirror" in mirror_obj:
            log.info("Executing test on ec pool")
            if test_mirror_delete_parent_snap(
                mirror_obj.get("ec_rbdmirror"), "ec_pool_config", **kw
            ):
                return 1
    return 0