def group_update_db(context, group, host, cluster_name):
 group.update({'host': host, 'updated_at': timeutils.utcnow(), 'cluster_name': cluster_name})
 group.save()
 return group

def group_update_db ( context , group , host , cluster_name ) : group . update ( { 'host' : host , 'updated_at' : timeutils . utcnow ( ) , 'cluster_name' : cluster_name } ) group . save ( ) return group
set the host and the scheduled_at field of a consistencygroup .