9 echo "Test failed: $L7VSD"
14 $L7VSADM -A -t 127.0.0.1:40001 -m ip -Q 100K -q 100K
17 echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m ip -Q 100K -q 100K"
21 $L7VSADM -A -t 127.0.0.1:40002 -m ip -Q 100M -q 100M
24 echo "Test failed: $L7VSADM -A -t 127.0.0.1:40002 -m ip -Q 100M -q 100M"
30 EXPECT="Layer-7 Virtual Server version 3.0.1
34 l7vsd_network_qos warn
35 l7vsd_network_bandwidth warn
36 l7vsd_network_num_connection warn
37 l7vsd_network_access warn
39 l7vsd_virtualservice warn
40 l7vsd_virtualservice_thread warn
42 l7vsd_session_thread warn
44 l7vsd_sorryserver warn
46 l7vsd_replication warn
47 l7vsd_replication_sendthread warn
53 l7vsd_system_memory warn
54 l7vsd_system_endpoint warn
55 l7vsd_system_signal warn
56 l7vsd_system_environment warn
68 cache update interval none
70 last request date none
72 total GET requests none
73 total SET requests none
74 total trap counts none
76 Prot LocalAddress:Port ProtoMod Scheduler Protomod_opt_string
77 -> RemoteAddress:Port Forward Weight ActiveConn InactConn
78 TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0
88 Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M
90 TCP_DEFER_ACCEPT disable
95 Current Upload / Limit 0.000000 Mbps / 0.100000 Mbps
96 Current Download / Limit 0.000000 Mbps / 0.100000 Mbps
101 TCP 127.0.0.1:40002 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0
111 Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M
113 TCP_DEFER_ACCEPT disable
118 Current Upload / Limit 0.000000 Mbps / 100.000000 Mbps
119 Current Download / Limit 0.000000 Mbps / 100.000000 Mbps
121 HTTP Total Requests 0
123 HTTP POST Requests 0"
125 if [ "${RET}" != "${EXPECT}" ]
127 echo "Test failed: $L7VSADM -V -n"