'Deletes a consistency group.'

def delete_consistencygroup(self, context, group, volumes):

    self.client.req('consistency-groups', 'DELETE', name=group['id'], ver='v2')
    volumes_model_update = []
    for volume in volumes:
        self.delete_volume(volume)
        update_item = {'id': volume['id'], 'status': 'deleted'}
        volumes_model_update.append(update_item)
    model_update = {'status': group['status']}
    return (model_update, volumes_model_update)
