'Finds a Dell cg replay by replayid string and expires it.
Once marked for expiration we do not return the replay as a snapshot
even though it might still exist.  (Backend requirements.)
:param cg_name: Consistency Group name.  This is the ReplayProfileName.
:param replayid: Name to search for.  This is a portion of the snapshot
ID as we do not have space for the entire GUID in the
replay description.
:returns: Boolean for success or failure.'

def delete_cg_replay(self, profile, replayid):

    self.cg_except_on_no_support()
    LOG.debug('Expiring    consistency    group    replay    %s', replayid)
    replays = self._find_cg_replays(profile, replayid)
    for replay in replays:
        instanceid = self._get_id(replay)
        LOG.debug('Expiring    replay    %s', instanceid)
        r = self.client.post(('StorageCenter/ScReplay/%s/Expire' % instanceid), {}, True)
        if (not self._check_result(r)):
            return False
    return True
