7 \cp -f materials/snmpagent-1-19-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
10 ${SNMPTRAPD} -c ./materials/snmpagent-1-19-snmptrapd.conf -Lf ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log
16 echo "Test failed: $L7VSD"
22 $L7VSADM -A -t 127.0.0.1:40001 -m sessionless
25 echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m sessionless"
30 $L7VSADM -a -t 127.0.0.1:40001 -m sessionless -r 127.0.0.1:50001
33 echo "Test failed: $L7VSADM -a -t 127.0.0.1:40001 -m sessionless -r 127.0.0.1:50001"
39 RET=`cat ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log | grep -e "SNMPv2-SMI::enterprises.32132.1.0.2.4 = STRING: \"[0-9]\{4\}/[0-9]\{2\}/[0-9]\{2\} [0-9]\{2\}:[0-9]\{2\}:[0-9]\{2\},TRAP00020004,A real server was added.vs:127.0.0.1:40001,rs:127.0.0.1:50001"`
42 echo "Test failed: cat ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log"