def METHOD_NAME(module, config):
    """
    @summary:  Read all running vlan members with sonic-cfggen.
    @param module: The AnsibleModule object
    @param config: The retrieved vlan config
    @return: None
    """
    rc, stdout, stderr = module.run_command(
        'sonic-cfggen -d --var-json \"VLAN_MEMBER\"')
    if rc != 0:
        module.fail_json(msg='Failed to get DUT running config, rc=%s, stdout=%s, stderr=%s' % (
            rc, stdout, stderr))
    try:
        vlan_config = module.from_json(stdout)
        for k, v in vlan_config.items():
            vlan_intf = k.split('|')
            if len(vlan_intf) < 2:
                continue
            if 'members' not in config[vlan_intf[0]]:
                config[vlan_intf[0]]['members'] = {}
            config[vlan_intf[0]]['members'].update(
                {vlan_intf[1]: {"tagging_mode": v['tagging_mode']}}
            )
    except Exception as e:
        module.fail_json(
            msg='Failed to parse config from output of "sonic-cfggen -d --var-json VLAN_MEMBER", err=' + str(e))