{
    "name"  : "流控是否有针对这个用户丢包",
    "problems" : {
        "lossPacket" : {
            "desc"      : "【问题】“应用名称（根据命令结果呈现）”存在阻断流量",
            "advice"    : "【建议】请检查流控策略配置"
        }
    }
}
---------------------------code-------------------------------
userNoNetIp = precondition('userNoNetIp')
cmd = "show flow application global ip " + userNoNetIp
response = cli(cmd)
results = response.split(/\r?\n/)

if results.length < 7 :
   return "success"
end 

i = 7
while i < (results.length - 1):
    resultTmp = results[i]
    resultTmp = resultTmp.trim()
    arr = resultTmp.split(/\s+/)
    j = 0
    while j < arr.length:
        flow = arr[j]
        if flow != 0 :
            add_problem("lossPacket")
            return "warn"
        end
        j = j + 1
    end
    i = i + 3
end

return "success"
