'Delete live volume associated with volume.
:param api: Dell REST API object.
:param volume: Cinder Volume object
:return: True if we actually deleted something. False for everything
else.'

def _delete_live_volume(self, api, volume):

    replication_driver_data = volume.get('replication_driver_data')
    if replication_driver_data:
        ssnstrings = self._split_driver_data(replication_driver_data)
        if ssnstrings:
            ssn = int(ssnstrings[0])
            sclivevolume = api.get_live_volume(volume.get('provider_id'), volume.get('id'))
            if (sclivevolume and (sclivevolume.get('secondaryScSerialNumber') == ssn) and api.delete_live_volume(sclivevolume, True)):
                LOG.info("%(vname)s's    replication    live    volume    has    been    deleted    from    storage    Center    %(sc)s,", {'vname': volume.get('id'), 'sc': ssn})
                return True
    LOG.warning('Unable    to    delete    %s    live    volume.', volume.get('id'))
    return False
