OSDN Git Service

Bug fix. (Line 162: /usr/sbin/l7vsd -b => /usr/sbin/l7vsd)
[ultramonkey-l7/ultramonkey-l7-v3.git] / test / script / virtualservice / virtualservice-1.sh
index f3fe115..f869831 100755 (executable)
@@ -32,7 +32,7 @@ fi
 
 
 RET=`$L7VSADM -V`
-EXPECT="Layer-7 Virtual Server version 3.0.0-1
+EXPECT="Layer-7 Virtual Server version 3.0.0
 L7vsd Log Level:
 Category                       Level
 l7vsd_network                  warn
@@ -59,50 +59,50 @@ l7vsd_system_memory            warn
 l7vsd_system_endpoint          warn
 l7vsd_system_signal            warn
 l7vsd_system_environment       warn
-l7vsd_snmpbridge               warn
+l7vsd_snmpagent                info
 l7vsd_protocol                 warn
 l7vsd_schedule                 warn
 
 Replication Mode:
 SINGLE
 
-SNMPAgent Connection Status:
-non-connecting
-
-SNMPAgent Log Level:
-Category                       Level
-snmpagent_start_stop           warn
-snmpagent_manager_receive      warn
-snmpagent_manager_send         warn
-snmpagent_l7vsd_receive        warn
-snmpagent_l7vsd_send           warn
-snmpagent_logger               warn
-snmpagent_parameter            warn
-snmpagent_system               warn
-snmpagent_system_memory        warn
-snmpagent_system_endpoint      warn
-snmpagent_system_signal        warn
-snmpagent_system_environment   warn
+SNMPAgent:
+Agent Status                   inactive
+log trap status                none
+log trap level                 none
+cache update interval          none
+start date                     none
+last request date              none
+last trap date                 none
+total GET requests             none
+total SET requests             none
+total trap counts              none
 
 Prot LocalAddress:Port ProtoMod Scheduler Protomod_opt_string
-     SorryAddress:Port Sorry_cc Sorry_flag
-     QoS-up   Throughput-up
-     QoS-down Throughput-down
-     SSL_config_file
-     Socket option
-     Access_log_flag
-     Access_log_file
-     Access_log_rotate option
   -> RemoteAddress:Port           Forward Weight ActiveConn InactConn
-TCP localhost:40001 sessionless wrr --sorry-uri '/'
-    localhost:50001(Masq) 10 0
-    100000000 0
-    100000000 0
-    none
-    deferaccept,cork,quickackoff,nodelay
-    1
-    /var/log/l7vs/l7vsd_conn.log
-    --ac-rotate-type size --ac-rotate-max-backup-index 12 --ac-rotate-max-filesize 1M"
+TCP localhost:40001 sessionless wrr --sorry-uri '/' --statistic 0
+  Bypass Settings:
+    Sorry Server                  localhost:50001 Masq
+    Max Connection                10
+    Sorry Flag                    off
+  SSL Settings:
+    SSL Config File               none
+  Logging Settings:
+    Access Log                    on
+    Access Log File               /var/log/l7vs/l7vsd_conn.log
+    Access Log Rotate             --ac-rotate-type size --ac-rotate-max-backup-index 12 --ac-rotate-max-filesize 1M
+  Socket Settings:
+    TCP_DEFER_ACCEPT              enable
+    TCP_NODELAY                   enable
+    TCP_CORK                      enable
+    TCP_QUICKACK                  disable
+  Throughput:
+    Current Upload / Limit        0.000000 Mbps / 100.000000 Mbps
+    Current Download / Limit      0.000000 Mbps / 100.000000 Mbps
+  Statistics:
+    HTTP Total Requests           0
+    HTTP GET Requests             0
+    HTTP POST Requests            0"
 
 if [ "${RET}" != "${EXPECT}" ]
 then