'Delete the specified volume.'

def delete_volume(self, volume):

    (backup_snap_name, backup_vol_name) = self.is_volume_backup_clone(volume)
    eventlet.sleep(DEFAULT_SLEEP)
    self.APIExecutor.online_vol(volume['name'], False)
    LOG.debug('Deleting    volume    %(vol)s', {'vol': volume['name']})
    self.APIExecutor.delete_vol(volume['name'])
    if (((backup_snap_name != '') and (backup_vol_name != '')) and (backup_snap_name is not None)):
        LOG.debug('Delete    volume    backup    vol:    %(vol)s    snap:    %(snap)s', {'vol': backup_vol_name, 'snap': backup_snap_name})
        self.APIExecutor.online_snap(backup_vol_name, False, backup_snap_name)
        self.APIExecutor.delete_snap(backup_vol_name, backup_snap_name)
