{
    "name"  : "检测WDS进程是否加载",
    "precondition" : ["name"],
    "problems" : {
        "problem1" : {
            "desc"      : "【问题】AP不支持桥接功能"
        },
		"problem2" : {
            "desc"      : "【问题】可以手动加载WDS功能",
            "advice"    : "【建议】手动加载"
        }
        "problem3" : {
            "desc"      : "【问题】匹配到，但是依然无法配置",
            "advice"    : "【建议】收集版本信息供研发分析"
        }
    }
}
---------------------------code-------------------------------
cli('run-system-shell')
result = cli('ps -e | grep wds')
reg = (/wds_proc/)
if reg.test(result) :
	add_problem('problem3')
    return 'warn'
else :
    cli('run-system-shell')
    cli('cd /sbin')
    result = cli('ls -l | grep wds')
    reg = (/wvas_wds.elf/)
    if !reg.test(result) :
        add_problem('problem1')
        return 'warn'
    else :
        add_problem('problem2')
        cli('./wvas_wds.elf &')
        return 'warn'
    end
end

	
	
