{
    "name"  : "报文是否送达设备",
    "problems" : {
        "messageLost" : {
            "desc"      : "【问题】PC的报文未送达设备",
            "advice"    : "【建议】请检查PC到设备的通路，报文是否被中间设备丢弃"
        }
    }
}
---------------------------code-------------------------------
#报文是否送达设备
STARTNUM = 1
dev_manage_ip = precondition('dev_manage_ip')
manage_dev_ip = precondition('manage_dev_ip')
print 'user ip' + manage_dev_ip
cmd = "show ip f f | in " + dev_manage_ip
response = cli(cmd)
print response
re = response.match(manage_dev_ip)
print re
if re == null :
    add_problem('messageLost')
	print 'warn'
    return 'warn'
end
print 'success'
return 'success'


