9 echo "Test failed: $L7VSD"
14 $L7VSADM -A -t localhost:40001 -m ip -u 100
17 echo "Test failed: $L7VSADM -A -t localhost:40001 -m ip -u 100"
23 EXPECT="Layer-7 Virtual Server version 3.0.0
27 l7vsd_network_qos warn
28 l7vsd_network_bandwidth warn
29 l7vsd_network_num_connection warn
30 l7vsd_network_access warn
32 l7vsd_virtualservice warn
33 l7vsd_virtualservice_thread warn
35 l7vsd_session_thread warn
37 l7vsd_sorryserver warn
39 l7vsd_replication warn
40 l7vsd_replication_sendthread warn
46 l7vsd_system_memory warn
47 l7vsd_system_endpoint warn
48 l7vsd_system_signal warn
49 l7vsd_system_environment warn
61 cache update interval none
63 last request date none
65 total GET requests none
66 total SET requests none
67 total trap counts none
69 Prot LocalAddress:Port ProtoMod Scheduler Protomod_opt_string
70 -> RemoteAddress:Port Forward Weight ActiveConn InactConn
71 TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0
81 Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M
83 TCP_DEFER_ACCEPT disable
88 Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
89 Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
94 if [ "${RET}" != "${EXPECT}" ]
96 echo "Test failed: $L7VSADM -V"
100 $L7VSADM -E -t localhost:40001 -m ip -u 0
103 echo "Test failed: $L7VSADM -E -t localhost:40001 -m ip -u 0"
108 EXPECT="Layer-7 Virtual Server version 3.0.0
112 l7vsd_network_qos warn
113 l7vsd_network_bandwidth warn
114 l7vsd_network_num_connection warn
115 l7vsd_network_access warn
116 l7vsd_mainthread warn
117 l7vsd_virtualservice warn
118 l7vsd_virtualservice_thread warn
120 l7vsd_session_thread warn
121 l7vsd_realserver warn
122 l7vsd_sorryserver warn
124 l7vsd_replication warn
125 l7vsd_replication_sendthread warn
129 l7vsd_start_stop warn
131 l7vsd_system_memory warn
132 l7vsd_system_endpoint warn
133 l7vsd_system_signal warn
134 l7vsd_system_environment warn
143 Agent Status inactive
146 cache update interval none
148 last request date none
150 total GET requests none
151 total SET requests none
152 total trap counts none
154 Prot LocalAddress:Port ProtoMod Scheduler Protomod_opt_string
155 -> RemoteAddress:Port Forward Weight ActiveConn InactConn
156 TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0
166 Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M
168 TCP_DEFER_ACCEPT disable
173 Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
174 Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
176 HTTP Total Requests 0
178 HTTP POST Requests 0"
179 if [ "${RET}" != "${EXPECT}" ]
181 echo "Test failed: $L7VSADM -V"