{
    "name"  : "硬盘挂载是否异常",
    "problems" : {
        "flowError" : {
            "desc"      : "【问题】硬盘未正常挂载。",
            "advice"    : "【建议】请下电后重新拔插硬盘，再重新上电查看。无法解决的话请联系400处理。"
        }
    }
}
---------------------------code-------------------------------

res1 = cli("show ver")
if res1.match(/EG2000K/ig)!=null :
    set_share_value("IsOrNotEG2000K","yes")
	return 'skip'
end

res = cli("show sata")
print res
flag = res.match(/\bInvalid\b/ig)
print flag
if flag != null :
	return 'skip'
end
resArr = res.match(/\d+/ig)
print resArr
if resArr == null :
    print 'warn'
	add_problem("flowError")
	return 'warn'
end
print 'success'
return 'success'