@classmethod
    def delete_by_node_ids(cls, node_ids):
        db().query(NodeVolumes).filter(
            NodeVolumes.node_id.in_(node_ids)).delete(
                synchronize_session=False)
Deletes volumes by node id
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/volume_manager/objects/volumes.py/VolumeObject.delete_by_node_ids