{
    "name"  : "扩展卡检查",
    "problems" : {
        "slot" : {
            "desc"      : "【问题】本环境存在扩展卡异常（起不来冲突或者未正确install）需要确认扩展卡异常原因",
            "advice"    : "【建议】设备的扩展卡出现异常。建议设备下电重新插拔扩展卡。"
        }
    }
}
---------------------------code-------------------------------
res = cli("show slots")
if res.indexOf("cannot startup") != -1 || res.indexOf("conflict") != -1 || res.indexOf("uninstalled") != -1 :
    add_problem("slot")
    return "warn"
end

return "success"
