def METHOD_NAME(clsname, version):
    base_cls_base = plugins.GatherPlugin
    cpt_cls_base = plugins.GatherNPlugin
    try:
        cpt_cls = select_version(cpt_cls_base, version)
    except ValueError:
        return
    bases = (CommonGatherPlugin,) + _get_bases(base_cls_base, version)
    return create_device_from_components(
        name=clsname,
        base_class=bases,
        class_kwargs={"version_of": CommonGatherPlugin, "version": version},
        **{f"gather_{j}": Cpt(cpt_cls, "", index=j) for j in range(1, 9)},
    )