{
    "name"  : "检测是否能正确学习到下一跳的ARP",
    "problems" : {
        "conflict" : {
            "desc"      : "【问题】未学习到下一跳的ARP",
            "advice"    : "【建议】检查下一跳的链路状态是否正确"
        }
    }
}

---------------------------code------------------------------- 
STARTNUM = 2
nextStep1Ip = precondition('nextStep1Ip')
print nextStep1Ip
cmd = 'show arp | inc ' + nextStep1Ip
response = cli(cmd)
print response
results = response.split(/\r?\n/ig)
i=STARTNUM
	if results.length < 3:
		add_problem("conflict")
        return 'warn'
	end
return 'success'

