{
    "name"  : "是否硬件问题导致供电异常",
    "precondition" : ["name", "type"],
    "problems" : {
        "no_pd69200" : {
            "desc"      : "【问题】说明对应的PD69200芯片未扫到",
            "advice"    : "【建议】更换设备"
        },
        "other" : {
            "desc"      : "【问题】该调试dump信息比较多，且需要结合现象分析",
            "advice"    : "【建议】收集给研发支持"
        }

    }
}
---------------------------code-------------------------------
type = precondition('type')
if type != 'copper':
    add_reason('非电口类型的端口不需要进行该项诊断')
    return 'skip'
end

cli('run-system-shell')
model = get_device_model()
cli('at', '@')
load_cmd = 'load poepd_ssa'
res = cli(load_cmd, '@')
if res.search(/Server poepd_ssa not published/i) != -1 || model.search(/s2910-24gt4sfp-up-e/i) != -1:
    load_cmd = 'load ssa_poe'
    cli(load_cmd, '@')
end

cli('ut debug chip 1', '@')
sleep(2000)
res = cli('ut dump_system_status', '@')
cli('quit')
cli('cat mp/proxy/defout/ssa_process')

cli('at', '@')
cli(load_cmd, '@')
cli('ut debug chip 0', '@')
cli('quit')
cli('exit')

#todo 对res 进行解析
return 'success'
