{
    "name"  : "用户流量是否走不同的线路出去",
    "problems" : {
        "flowLine" : {
            "desc"      : "【问题】用户流量走不同的线路出去",
            "advice"    : "【建议】请检查DNS及应用路由配置"
        }
    }
}
---------------------------code-------------------------------
userNoNetIp = precondition('userNoNetIp')
cmd = "show ip f f | in " + userNoNetIp
response = cli(cmd)
results = response.split(/\r?\n/)

#装载NAT转换后的公网源IP
natSourchIPArr = []
i = 1
while i < (results.length - 1):
    resultTmp = results[i]
    resultTmp = resultTmp.trim()
    arr = resultTmp.split(/\s+/)
    #1,判断Nat转换后的公网源IP是否存在
    natSourchIP = arr[2]
    if natSourchIP.indexOf("(") != -1 && natSourchIP.indexOf(".") != -1:
        natSourchIPArr.push(natSourchIP)      
    end
    i = i + 1
end

j = 1
while j < natSourchIPArr.length:
    natSourchIPFirst = natSourchIPArr[0]
    natSourchIPTmp = natSourchIPArr[j]
    if natSourchIPFirst != natSourchIPTmp:
        add_problem("flowLine")
        return "warn"
    end
    j = j + 1
end

return "success"
