##### COMPONENT NAME
cnos_linkagg

https://docs.ansible.com/ansible/devel/modules/network_maintained.html#network-supported

Specifically:
https://docs.ansible.com/ansible/latest/modules/cnos_linkagg_module.html#cnos-linkagg-module

should be modified to be community supported (not fully supported).

Thanks!
obj = []
    aggregate = module.params.get('aggregate')
    if aggregate:
        for item in aggregate:
            for key in item:
                if item.get(key) is None:
                    item[key] = module.params[key]
            d = item.copy()
            d['group'] = str(d['group'])
            obj.append(d)
    else:
        obj.append({
            'group': str(module.params['group']),
            'mode': module.params['mode'],
            'members': module.params['members'],
            'state': module.params['state']
        })
    return obj
def parse_mode(module, config, group, member):