'Create volume group from volume group or volume group snapshot.'

@proxy._trace_time
def create_group_from_src(self, context, group, volumes, group_snapshot, sorted_snapshots, source_group, sorted_source_vols):

    if utils.is_group_a_cg_snapshot_type(group):
        return self._create_consistencygroup_from_src(context, group, volumes, group_snapshot, sorted_snapshots, source_group, sorted_source_vols)
    else:
        raise NotImplementedError()
