'Just a helper to add a volume to a group.
:param api: Dell SC API opbject.
:param scvolume: Dell SC Volume object.
:param volume: Cinder Volume object.
:returns: Nothing.'

def _add_volume_to_group(self, api, scvolume, volume):

    if (scvolume and volume.get('group_id')):
        profile = api.find_replay_profile(volume.get('group_id'))
        if profile:
            api.update_cg_volumes(profile, [volume])
