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 -S -t 1 -l warn
25 echo "Test failed: $L7VSADM -S -t 1 -l warn"
30 $L7VSADM -A -t 127.0.0.1:40001 -m sessionless
33 echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m sessionless 1"
36 #Add virtual Service Again
37 $L7VSADM -A -t 127.0.0.1:40001 -m sessionless
42 cat ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log
44 RET=`cat ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log | grep -e "SNMPv2-SMI::enterprises.32132.1.0.3.3 = STRING: \"[0-9]\{4\}/[0-9]\{2\}/[0-9]\{2\} [0-9]\{2\}:[0-9]\{2\}:[0-9]\{2\},VSD3.*"`
47 echo "Test failed: cat ${L7VS_LOG_DIR}/snmpagent-1-19-snmptrapd.log"