From 239eab323ed95a870edc1c5114b467a64a528325 Mon Sep 17 00:00:00 2001 From: 6638678 <6638678@1ed66053-1c2d-0410-8867-f7571e6e31d3> Date: Wed, 6 Oct 2010 02:27:35 +0000 Subject: [PATCH] Change l7vsadm -V format git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-ramiel-epoll-cond@10332 1ed66053-1c2d-0410-8867-f7571e6e31d3 --- test/script/l7vsadm/l7vsadm-2-1-1-1.sh | 2 +- test/script/l7vsadm/l7vsadm-3-2-6.sh | 38 +-- test/script/l7vsadm/l7vsadm-4-1-14.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-15.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-17.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-1-18.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-1-20.sh | 142 +++++----- test/script/l7vsadm/l7vsadm-4-1-21.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-23.sh | 143 +++++----- test/script/l7vsadm/l7vsadm-4-1-24.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-27-1.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-27-2.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-27-3.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-1-27-4.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-1-28.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-31-1.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-31-2.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-31-3.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-1-31-4.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-1-32.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-1-35.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-36-1.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-1-36-2.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-1-38.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-40.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-1-43.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-1-48.sh | 71 ++--- test/script/l7vsadm/l7vsadm-4-1-49.sh | 166 +++++++----- test/script/l7vsadm/l7vsadm-4-1-50.sh | 166 +++++++----- test/script/l7vsadm/l7vsadm-4-1-6.sh | 103 ++++---- test/script/l7vsadm/l7vsadm-4-3-1.sh | 140 +++++----- test/script/l7vsadm/l7vsadm-4-3-14.sh | 141 +++++----- test/script/l7vsadm/l7vsadm-4-3-16.sh | 140 +++++----- test/script/l7vsadm/l7vsadm-4-3-17.sh | 140 +++++----- test/script/l7vsadm/l7vsadm-4-3-19.sh | 140 +++++----- test/script/l7vsadm/l7vsadm-4-3-2.sh | 141 +++++----- test/script/l7vsadm/l7vsadm-4-3-20.sh | 140 +++++----- test/script/l7vsadm/l7vsadm-4-3-22.sh | 141 +++++----- test/script/l7vsadm/l7vsadm-4-3-23.sh | 140 +++++----- test/script/l7vsadm/l7vsadm-4-3-26-1.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-3-26-2.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-3-26-3.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-3-26-4.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-3-27.sh | 140 +++++----- test/script/l7vsadm/l7vsadm-4-3-30-1.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-3-30-2.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-3-30-3.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-3-30-4.sh | 70 ++--- test/script/l7vsadm/l7vsadm-4-3-36.sh | 332 +++++++++++++++--------- test/script/l7vsadm/l7vsadm-4-3-37.sh | 332 +++++++++++++++--------- test/script/l7vsadm/l7vsadm-4-3-39.sh | 332 +++++++++++++++--------- test/script/l7vsadm/l7vsadm-7-1-6.sh | 4 +- test/script/l7vsadm/l7vsadm-8-1-1.sh | 97 +++++++ test/script/l7vsadm/l7vsadm-8-1-2.sh | 4 +- test/script/l7vsadm/l7vsadm-8-1-4.sh | 4 +- test/script/l7vsadm/l7vsadm-9-1-1.sh | 17 +- test/script/l7vsadm/l7vsadm-9-1-2.sh | 16 +- test/script/library-parameter/parameter-73.sh | 4 +- test/script/library-parameter/parameter-75.sh | 8 +- test/script/library-parameter/parameter-80-1.sh | 4 +- test/script/library-parameter/parameter-80-2.sh | 4 +- test/script/library-parameter/parameter-81.sh | 4 +- test/script/library-parameter/parameter-82-1.sh | 4 +- test/script/library-parameter/parameter-82-2.sh | 4 +- test/script/library-parameter/parameter-83-1.sh | 4 +- test/script/library-parameter/parameter-83-2.sh | 4 +- test/script/library-parameter/parameter-83-3.sh | 4 +- test/script/library-parameter/parameter-83-4.sh | 4 +- test/script/library-parameter/parameter-86.sh | 4 +- test/script/library-parameter/parameter-87.sh | 4 +- test/script/library-parameter/parameter-91.sh | 4 +- test/script/library-parameter/parameter-92.sh | 4 +- test/script/library-parameter/parameter-93.sh | 4 +- test/script/module-protocol-ip/ip-39.sh | 4 +- test/script/session/session-43.sh | 72 ++--- test/script/session/session-44.sh | 72 ++--- test/script/session/session-45.sh | 72 ++--- test/script/session/session-46.sh | 73 +++--- test/script/session/session-47.sh | 72 ++--- test/script/session/session-48.sh | 73 +++--- test/script/session/session-49.sh | 72 ++--- test/script/session/session-50.sh | 72 ++--- test/script/session/session-51.sh | 72 ++--- test/script/session/session-52.sh | 72 ++--- test/script/session/session-53.sh | 72 ++--- test/script/session/session-54.sh | 72 ++--- test/script/session/session-55.sh | 72 ++--- test/script/session/session-56.sh | 72 ++--- test/script/session/session-57.sh | 72 ++--- test/script/session/session-58.sh | 72 ++--- test/script/session/session-59.sh | 72 ++--- test/script/session/session-60.sh | 72 ++--- test/script/session/session-61.sh | 72 ++--- test/script/session/session-62.sh | 72 ++--- test/script/session/session-63.sh | 72 ++--- test/script/session/session-64.sh | 72 ++--- test/script/session/session-67.sh | 72 ++--- test/script/virtualservice/virtualservice-29.sh | 1 + test/umtest.sh | 6 +- 99 files changed, 3840 insertions(+), 3380 deletions(-) create mode 100755 test/script/l7vsadm/l7vsadm-8-1-1.sh diff --git a/test/script/l7vsadm/l7vsadm-2-1-1-1.sh b/test/script/l7vsadm/l7vsadm-2-1-1-1.sh index afdf9408..22fff891 100755 --- a/test/script/l7vsadm/l7vsadm-2-1-1-1.sh +++ b/test/script/l7vsadm/l7vsadm-2-1-1-1.sh @@ -19,7 +19,7 @@ then exit 1 fi -RET=`cat ${L7VS_LOG_DIR}/l7vsadm.log` #| grep "\[WARN\] l7vsadm_common ADM33100009 Command wait value too long. Use default value."` +RET=`cat ${L7VS_LOG_DIR}/l7vsadm.log` # | grep "\[WARN\] l7vsadm_common ADM33100009 Command wait value too long. Use default value."` echo "$RET" exit 1 if [ -z "${RET}" ] diff --git a/test/script/l7vsadm/l7vsadm-3-2-6.sh b/test/script/l7vsadm/l7vsadm-3-2-6.sh index ddfaf06a..dcc5780b 100755 --- a/test/script/l7vsadm/l7vsadm-3-2-6.sh +++ b/test/script/l7vsadm/l7vsadm-3-2-6.sh @@ -39,40 +39,26 @@ 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" if [ "${RET}" != "${EXPECT}" ] diff --git a/test/script/l7vsadm/l7vsadm-4-1-14.sh b/test/script/l7vsadm/l7vsadm-4-1-14.sh index 96edd1fe..a85c6286 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-14.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-14.sh @@ -47,50 +47,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-15.sh b/test/script/l7vsadm/l7vsadm-4-1-15.sh index 5584ee33..c99943f1 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-15.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-15.sh @@ -47,50 +47,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 100000 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 100000 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-17.sh b/test/script/l7vsadm/l7vsadm-4-1-17.sh index ce972c83..f0e6a59c 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-17.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-17.sh @@ -46,50 +46,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 100 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 100 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then diff --git a/test/script/l7vsadm/l7vsadm-4-1-18.sh b/test/script/l7vsadm/l7vsadm-4-1-18.sh index bc17a1db..6bc13798 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-18.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-18.sh @@ -46,50 +46,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 rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then diff --git a/test/script/l7vsadm/l7vsadm-4-1-20.sh b/test/script/l7vsadm/l7vsadm-4-1-20.sh index a661cccf..234a1654 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-20.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-20.sh @@ -57,50 +57,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" @@ -142,50 +143,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-21.sh b/test/script/l7vsadm/l7vsadm-4-1-21.sh index 27d33394..fdbfa49b 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-21.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-21.sh @@ -47,50 +47,51 @@ 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 rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-23.sh b/test/script/l7vsadm/l7vsadm-4-1-23.sh index 55e0447d..16b1ab95 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-23.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-23.sh @@ -47,50 +47,51 @@ 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 rr --sorry-uri '/' - none 0 1 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" @@ -104,7 +105,6 @@ then exit 1 fi - RET=`$L7VSADM -V` EXPECT="Layer-7 Virtual Server version 3.0.0 L7vsd Log Level: @@ -133,50 +133,51 @@ 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 rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-24.sh b/test/script/l7vsadm/l7vsadm-4-1-24.sh index 27d33394..fdbfa49b 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-24.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-24.sh @@ -47,50 +47,51 @@ 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 rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-27-1.sh b/test/script/l7vsadm/l7vsadm-4-1-27-1.sh index 2e423d65..abcac382 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-27-1.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-27-1.sh @@ -47,50 +47,51 @@ 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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-27-2.sh b/test/script/l7vsadm/l7vsadm-4-1-27-2.sh index 196dbf57..15c37299 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-27-2.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-27-2.sh @@ -47,50 +47,51 @@ 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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-27-3.sh b/test/script/l7vsadm/l7vsadm-4-1-27-3.sh index b3768642..1b257776 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-27-3.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-27-3.sh @@ -47,50 +47,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-27-4.sh b/test/script/l7vsadm/l7vsadm-4-1-27-4.sh index c3ae1cb9..2922b554 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-27-4.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-27-4.sh @@ -47,50 +47,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-28.sh b/test/script/l7vsadm/l7vsadm-4-1-28.sh index 27d33394..fdbfa49b 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-28.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-28.sh @@ -47,50 +47,51 @@ 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 rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-31-1.sh b/test/script/l7vsadm/l7vsadm-4-1-31-1.sh index 1ff228f1..8d141524 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-31-1.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-31-1.sh @@ -47,50 +47,51 @@ 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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-31-2.sh b/test/script/l7vsadm/l7vsadm-4-1-31-2.sh index 867dd240..3b3dc4ee 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-31-2.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-31-2.sh @@ -47,50 +47,51 @@ 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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-31-3.sh b/test/script/l7vsadm/l7vsadm-4-1-31-3.sh index d5c822ef..9be76a4d 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-31-3.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-31-3.sh @@ -47,50 +47,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-31-4.sh b/test/script/l7vsadm/l7vsadm-4-1-31-4.sh index 55483177..776b476e 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-31-4.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-31-4.sh @@ -47,50 +47,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-1-32.sh b/test/script/l7vsadm/l7vsadm-4-1-32.sh index b4dac55b..bc3fe73a 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-32.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-32.sh @@ -47,50 +47,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-35.sh b/test/script/l7vsadm/l7vsadm-4-1-35.sh index b4dac55b..aaf8e19b 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-35.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-35.sh @@ -47,50 +47,51 @@ 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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-36-1.sh b/test/script/l7vsadm/l7vsadm-4-1-36-1.sh index 5c2b0686..b9624442 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-36-1.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-36-1.sh @@ -47,50 +47,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - deferaccept,nodelay,cork,quickackon - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT enable + TCP_NODELAY enable + TCP_CORK enable + TCP_QUICKACK enable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-36-2.sh b/test/script/l7vsadm/l7vsadm-4-1-36-2.sh index 458948be..85ba1544 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-36-2.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-36-2.sh @@ -47,50 +47,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - deferaccept,nodelay,cork,quickackoff - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT enable + TCP_NODELAY enable + TCP_CORK enable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-38.sh b/test/script/l7vsadm/l7vsadm-4-1-38.sh index b4dac55b..aaf8e19b 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-38.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-38.sh @@ -47,50 +47,51 @@ 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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-40.sh b/test/script/l7vsadm/l7vsadm-4-1-40.sh index b4dac55b..bc3fe73a 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-40.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-40.sh @@ -47,50 +47,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-43.sh b/test/script/l7vsadm/l7vsadm-4-1-43.sh index 523ec82f..cb2b3093 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-43.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-43.sh @@ -46,50 +46,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 1 - /var/log/l7vs/access_virtualservice.log - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log on + Access Log File ${L7VS_LOG_DIR}/access_virtualservice.log + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then diff --git a/test/script/l7vsadm/l7vsadm-4-1-48.sh b/test/script/l7vsadm/l7vsadm-4-1-48.sh index 87baf458..09eae00e 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-48.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-48.sh @@ -56,50 +56,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-49.sh b/test/script/l7vsadm/l7vsadm-4-1-49.sh index 0ade8ebc..5b62f834 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-49.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-49.sh @@ -87,77 +87,119 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-50.sh b/test/script/l7vsadm/l7vsadm-4-1-50.sh index 2c2e7285..f135ff88 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-50.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-50.sh @@ -87,77 +87,119 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-1-6.sh b/test/script/l7vsadm/l7vsadm-4-1-6.sh index 1cc3fe4e..8b9d394f 100755 --- a/test/script/l7vsadm/l7vsadm-4-1-6.sh +++ b/test/script/l7vsadm/l7vsadm-4-1-6.sh @@ -53,59 +53,74 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 100000000 0 - 1000000 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' - none 0 0 - 100000000 0 - 1000000 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps + Current Download / Limit 0.000000 Mbps / 8.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps + Current Download / Limit 0.000000 Mbps / 8.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-3-1.sh b/test/script/l7vsadm/l7vsadm-4-3-1.sh index 0f888a81..714bba5b 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-1.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-1.sh @@ -58,50 +58,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - /var/log/l7vs/access_log - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File /var/log/l7vs/access_log + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" @@ -145,50 +145,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 127.0.0.1:40001 ip lc --timeout 3600 --no-reschedule --sorry-uri '/' - 127.0.0.1:50001(Tproxy) 200 1 - 1000000 0 - 1000000 0 - none - none - 1 - /var/log/l7vs/access_log - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip lc --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Tproxy + Max Connection 200 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log on + Access Log File /var/log/l7vs/access_log + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 8.000000 Mbps + Current Download / Limit 0.000000 Mbps / 8.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-3-14.sh b/test/script/l7vsadm/l7vsadm-4-3-14.sh index bebe6f11..3c9887fa 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-14.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-14.sh @@ -47,51 +47,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" - +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" @@ -133,50 +132,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 1 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then diff --git a/test/script/l7vsadm/l7vsadm-4-3-16.sh b/test/script/l7vsadm/l7vsadm-4-3-16.sh index 84a04aef..a1429cc0 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-16.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-16.sh @@ -47,50 +47,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 100 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 100 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" @@ -132,50 +132,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-3-17.sh b/test/script/l7vsadm/l7vsadm-4-3-17.sh index 8f46dae9..b60668a1 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-17.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-17.sh @@ -58,50 +58,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" @@ -143,50 +143,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 1 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-3-19.sh b/test/script/l7vsadm/l7vsadm-4-3-19.sh index 685d16ae..af19c1ce 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-19.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-19.sh @@ -58,50 +58,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" @@ -143,50 +143,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-3-2.sh b/test/script/l7vsadm/l7vsadm-4-3-2.sh index 094511b2..8f74cfe7 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-2.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-2.sh @@ -58,50 +58,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - /var/log/l7vs/access_log - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File /var/log/l7vs/access_log + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" @@ -145,50 +145,51 @@ 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 127.0.0.1:40001 ip lc --timeout 3600 --no-reschedule --sorry-uri '/' - 127.0.0.1:50001(Masq) 200 1 - 1000000 0 - 1000000 0 - none - none - 1 - /var/log/l7vs/access_log - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip lc --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 200 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log on + Access Log File /var/log/l7vs/access_log + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 8.000000 Mbps + Current Download / Limit 0.000000 Mbps / 8.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-3-20.sh b/test/script/l7vsadm/l7vsadm-4-3-20.sh index 519ff838..e1fa1e31 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-20.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-20.sh @@ -47,50 +47,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 1 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" @@ -132,50 +132,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 127.0.0.1:40001 ip wrr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 1 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip wrr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-3-22.sh b/test/script/l7vsadm/l7vsadm-4-3-22.sh index b8515619..d88ad757 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-22.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-22.sh @@ -46,50 +46,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 1 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" @@ -131,50 +131,51 @@ 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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-3-23.sh b/test/script/l7vsadm/l7vsadm-4-3-23.sh index b38b50db..dec177b5 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-23.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-23.sh @@ -46,50 +46,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 100000000 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" @@ -131,50 +131,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 1 - 100000000 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-3-26-1.sh b/test/script/l7vsadm/l7vsadm-4-3-26-1.sh index fa46006e..e7422919 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-26-1.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-26-1.sh @@ -54,50 +54,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-3-26-2.sh b/test/script/l7vsadm/l7vsadm-4-3-26-2.sh index be6d3476..faea5f4b 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-26-2.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-26-2.sh @@ -54,50 +54,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-3-26-3.sh b/test/script/l7vsadm/l7vsadm-4-3-26-3.sh index e7043eed..f82b0a6d 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-26-3.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-26-3.sh @@ -54,50 +54,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-3-26-4.sh b/test/script/l7vsadm/l7vsadm-4-3-26-4.sh index c691a30e..4d62f808 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-26-4.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-26-4.sh @@ -54,50 +54,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-3-27.sh b/test/script/l7vsadm/l7vsadm-4-3-27.sh index aff013ba..061eb5e8 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-27.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-27.sh @@ -46,50 +46,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 100000000 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 800.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" @@ -131,50 +131,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 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 1 - 0 0 - 100000000 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 800.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-3-30-1.sh b/test/script/l7vsadm/l7vsadm-4-3-30-1.sh index ff8a9206..bae912d5 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-30-1.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-30-1.sh @@ -54,50 +54,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-3-30-2.sh b/test/script/l7vsadm/l7vsadm-4-3-30-2.sh index 62151bb9..a3df0b0a 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-30-2.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-30-2.sh @@ -54,50 +54,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-3-30-3.sh b/test/script/l7vsadm/l7vsadm-4-3-30-3.sh index cad567f5..3ae2ff65 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-30-3.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-30-3.sh @@ -54,50 +54,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-3-30-4.sh b/test/script/l7vsadm/l7vsadm-4-3-30-4.sh index 1d5c9956..7b4d1d91 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-30-4.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-30-4.sh @@ -54,50 +54,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 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP localhost:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/l7vsadm/l7vsadm-4-3-36.sh b/test/script/l7vsadm/l7vsadm-4-3-36.sh index cedd4b68..373e4e05 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-36.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-36.sh @@ -87,77 +87,119 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" @@ -220,77 +262,119 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-3-37.sh b/test/script/l7vsadm/l7vsadm-4-3-37.sh index f7d651f1..46eb29a4 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-37.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-37.sh @@ -87,77 +87,119 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" @@ -220,77 +262,119 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-4-3-39.sh b/test/script/l7vsadm/l7vsadm-4-3-39.sh index 5058e4d5..d5661767 100755 --- a/test/script/l7vsadm/l7vsadm-4-3-39.sh +++ b/test/script/l7vsadm/l7vsadm-4-3-39.sh @@ -87,77 +87,119 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Masq) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Tproxy) 0 0 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Masq + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Tproxy + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" @@ -220,77 +262,119 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Masq) 0 1 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Masq) 0 1 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' - ${SorryServer1_ADDR}:${SorryServer1_PORT}(Tproxy) 0 1 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M -TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' - ${SorryServer2_ADDR}:${SorryServer2_PORT}(Tproxy) 0 1 - 0 0 - 0 0 - none - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M" +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Masq + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40002 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Masq + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40003 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server 127.0.0.1:50001 Tproxy + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0 +TCP 127.0.0.1:40004 sessionless rr --sorry-uri '/' --statistic 0 + Bypass Settings: + Sorry Server [::1]:50002 Tproxy + Max Connection 0 + Sorry Flag on + SSL Settings: + SSL Config File none + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V -n" diff --git a/test/script/l7vsadm/l7vsadm-7-1-6.sh b/test/script/l7vsadm/l7vsadm-7-1-6.sh index 7c3c1d73..1e34a49e 100755 --- a/test/script/l7vsadm/l7vsadm-7-1-6.sh +++ b/test/script/l7vsadm/l7vsadm-7-1-6.sh @@ -36,7 +36,7 @@ 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" if [ "${RET}" != "${EXPECT}" ] @@ -77,7 +77,7 @@ l7vsd_system_memory error l7vsd_system_endpoint error l7vsd_system_signal error l7vsd_system_environment error -l7vsd_snmpbridge error +l7vsd_snmpagent error l7vsd_protocol error l7vsd_schedule error" if [ "${RET}" != "${EXPECT}" ] diff --git a/test/script/l7vsadm/l7vsadm-8-1-1.sh b/test/script/l7vsadm/l7vsadm-8-1-1.sh new file mode 100755 index 00000000..b029a637 --- /dev/null +++ b/test/script/l7vsadm/l7vsadm-8-1-1.sh @@ -0,0 +1,97 @@ +#!/bin/bash + +. ${SET_DEFAULT_CONF} + +#Add Service +$L7VSD +if [ $? -ne 0 ] +then + echo "Test failed: $L7VSD" + exit 1 +fi +usleep 100000 + +$L7VSADM -L -c all -l fatal +if [ $? -ne 0 ] +then + echo "Test failed: $L7VSADM -L -c all -l fatal" + exit 1 +fi + +RET=`$L7VSADM -V 2>&1 | grep -e "^l7vsd"` +EXPECT="l7vsd_network fatal +l7vsd_network_qos fatal +l7vsd_network_bandwidth fatal +l7vsd_network_num_connection fatal +l7vsd_network_access fatal +l7vsd_mainthread fatal +l7vsd_virtualservice fatal +l7vsd_virtualservice_thread fatal +l7vsd_session fatal +l7vsd_session_thread fatal +l7vsd_realserver fatal +l7vsd_sorryserver fatal +l7vsd_module fatal +l7vsd_replication fatal +l7vsd_replication_sendthread fatal +l7vsd_parameter fatal +l7vsd_logger fatal +l7vsd_command fatal +l7vsd_start_stop fatal +l7vsd_system fatal +l7vsd_system_memory fatal +l7vsd_system_endpoint fatal +l7vsd_system_signal fatal +l7vsd_system_environment fatal +l7vsd_snmpagent fatal +l7vsd_protocol fatal +l7vsd_schedule fatal" +if [ "${RET}" != "${EXPECT}" ] +then + echo "Test failed: $L7VSADM -V | grep l7vs" + exit 1 +fi + +$L7VSADM -P -r logger +if [ $? -ne 0 ] +then + echo "Test failed: $L7VSADM --parameter --reload logger" + exit 1 +fi + +RET=`$L7VSADM -V 2>&1 | grep -e "^l7vsd"` +EXPECT="l7vsd_network warn +l7vsd_network_qos warn +l7vsd_network_bandwidth warn +l7vsd_network_num_connection warn +l7vsd_network_access warn +l7vsd_mainthread warn +l7vsd_virtualservice warn +l7vsd_virtualservice_thread warn +l7vsd_session warn +l7vsd_session_thread warn +l7vsd_realserver warn +l7vsd_sorryserver warn +l7vsd_module warn +l7vsd_replication warn +l7vsd_replication_sendthread warn +l7vsd_parameter warn +l7vsd_logger warn +l7vsd_command warn +l7vsd_start_stop warn +l7vsd_system warn +l7vsd_system_memory warn +l7vsd_system_endpoint warn +l7vsd_system_signal warn +l7vsd_system_environment warn +l7vsd_snmpagent info +l7vsd_protocol warn +l7vsd_schedule warn" +if [ "${RET}" != "${EXPECT}" ] +then + echo "Test failed: $L7VSADM -V | grep l7vsd" + exit 1 +fi + +exit 0 + diff --git a/test/script/l7vsadm/l7vsadm-8-1-2.sh b/test/script/l7vsadm/l7vsadm-8-1-2.sh index f7bd330b..df8d55a2 100755 --- a/test/script/l7vsadm/l7vsadm-8-1-2.sh +++ b/test/script/l7vsadm/l7vsadm-8-1-2.sh @@ -43,7 +43,7 @@ l7vsd_system_memory fatal l7vsd_system_endpoint fatal l7vsd_system_signal fatal l7vsd_system_environment fatal -l7vsd_snmpbridge fatal +l7vsd_snmpagent fatal l7vsd_protocol fatal l7vsd_schedule fatal" if [ "${RET}" != "${EXPECT}" ] @@ -84,7 +84,7 @@ 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" if [ "${RET}" != "${EXPECT}" ] diff --git a/test/script/l7vsadm/l7vsadm-8-1-4.sh b/test/script/l7vsadm/l7vsadm-8-1-4.sh index 9d5e7493..a7b46293 100755 --- a/test/script/l7vsadm/l7vsadm-8-1-4.sh +++ b/test/script/l7vsadm/l7vsadm-8-1-4.sh @@ -43,7 +43,7 @@ l7vsd_system_memory fatal l7vsd_system_endpoint fatal l7vsd_system_signal fatal l7vsd_system_environment fatal -l7vsd_snmpbridge fatal +l7vsd_snmpagent fatal l7vsd_protocol fatal l7vsd_schedule fatal" if [ "${RET}" != "${EXPECT}" ] @@ -84,7 +84,7 @@ 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" if [ "${RET}" != "${EXPECT}" ] diff --git a/test/script/l7vsadm/l7vsadm-9-1-1.sh b/test/script/l7vsadm/l7vsadm-9-1-1.sh index 9cc56e58..a1bef826 100755 --- a/test/script/l7vsadm/l7vsadm-9-1-1.sh +++ b/test/script/l7vsadm/l7vsadm-9-1-1.sh @@ -12,7 +12,6 @@ fi usleep 100000 RET=`$L7VSADM --help` -echo "$RET" EXPECT="Usage: l7vsadm -A -t service-address -m proto-module [module-args] [-s scheduler] [-u connection-count] [-b sorry-server] [-T|M] @@ -31,7 +30,8 @@ EXPECT="Usage: l7vsadm -R -f l7vsadm -R -d l7vsadm -L -c log-category -l log-level - l7vsadm -S -c log-category -l log-level + l7vsadm -S [-f snmp-flag] [-i update-interval] [-t log-trap-flag] [-l log-trap-level] + l7vsadm -S -r [-t service-address -m proto-module] l7vsadm -P -r reload-parameter l7vsadm -l [-n] l7vsadm -V [-n] @@ -57,13 +57,13 @@ Commands: Options: --tcp-service -t service-address service-address is host:port - --proto-module -m proto-module protocol module name and module argument + --proto-module -m proto-module protocol module name and module argment [module-args] --scheduler -s scheduler one of rr,lc,wrr --upper -u connection-count maximum number of connections --bypass -b sorry-server sorry server address is host:port --tproxy -T set sorry server connection to IP transparent mode. - --masq -M set sorry server connection to IP masquerade mode. + --masq -M set sorry server connection to IP masquarade mode. --flag -f sorry-flag sorry status set to virtual service --qos-up -Q QoSval-up QoS Threshold(bps) set to real server direction --qos-down -q QoSval-down QoS Threshold(bps) set to client direction @@ -75,14 +75,19 @@ Options: --real-server -r server-address server-address is host:port --weight -w weight scheduling weight set to real server --tproxy -T set real server connection to IP transparent mode. - --masq -M set real server connection to IP masquerade mode. + --masq -M set real server connection to IP masquarade mode. --switch -s replication-switch start or stop replication --force -f force replication start --dump -d dump replication memory --category -c log-category set log category for l7vsd or SNMP Agent --level -l log-level set log level for l7vsd or SNMP Agent --reload -r reload-parameter reload specified config parameter - --numeric -n list the table in numeric" + --numeric -n list the table in numeric + --flag -f snmp-flag start or stop snmp function 0(off) 1(on) + --interval -i update-interval set collect snmp cache collect interval(s) + --logtrap -t log-trap-flag start or stop log trap function 0(off) 1(on) + --logtraplevel -l log-trap-level set log trap level for snmp + --refresh -r clear statistic info for snmp" if [ "${RET}" != "${EXPECT}" ] then diff --git a/test/script/l7vsadm/l7vsadm-9-1-2.sh b/test/script/l7vsadm/l7vsadm-9-1-2.sh index f4e0016e..112cea93 100755 --- a/test/script/l7vsadm/l7vsadm-9-1-2.sh +++ b/test/script/l7vsadm/l7vsadm-9-1-2.sh @@ -30,7 +30,8 @@ EXPECT="Usage: l7vsadm -R -f l7vsadm -R -d l7vsadm -L -c log-category -l log-level - l7vsadm -S -c log-category -l log-level + l7vsadm -S [-f snmp-flag] [-i update-interval] [-t log-trap-flag] [-l log-trap-level] + l7vsadm -S -r [-t service-address -m proto-module] l7vsadm -P -r reload-parameter l7vsadm -l [-n] l7vsadm -V [-n] @@ -56,13 +57,13 @@ Commands: Options: --tcp-service -t service-address service-address is host:port - --proto-module -m proto-module protocol module name and module argument + --proto-module -m proto-module protocol module name and module argment [module-args] --scheduler -s scheduler one of rr,lc,wrr --upper -u connection-count maximum number of connections --bypass -b sorry-server sorry server address is host:port --tproxy -T set sorry server connection to IP transparent mode. - --masq -M set sorry server connection to IP masquerade mode. + --masq -M set sorry server connection to IP masquarade mode. --flag -f sorry-flag sorry status set to virtual service --qos-up -Q QoSval-up QoS Threshold(bps) set to real server direction --qos-down -q QoSval-down QoS Threshold(bps) set to client direction @@ -74,14 +75,19 @@ Options: --real-server -r server-address server-address is host:port --weight -w weight scheduling weight set to real server --tproxy -T set real server connection to IP transparent mode. - --masq -M set real server connection to IP masquerade mode. + --masq -M set real server connection to IP masquarade mode. --switch -s replication-switch start or stop replication --force -f force replication start --dump -d dump replication memory --category -c log-category set log category for l7vsd or SNMP Agent --level -l log-level set log level for l7vsd or SNMP Agent --reload -r reload-parameter reload specified config parameter - --numeric -n list the table in numeric" + --numeric -n list the table in numeric + --flag -f snmp-flag start or stop snmp function 0(off) 1(on) + --interval -i update-interval set collect snmp cache collect interval(s) + --logtrap -t log-trap-flag start or stop log trap function 0(off) 1(on) + --logtraplevel -l log-trap-level set log trap level for snmp + --refresh -r clear statistic info for snmp" if [ "${RET}" != "${EXPECT}" ] then diff --git a/test/script/library-parameter/parameter-73.sh b/test/script/library-parameter/parameter-73.sh index a050799d..9f82400d 100755 --- a/test/script/library-parameter/parameter-73.sh +++ b/test/script/library-parameter/parameter-73.sh @@ -19,8 +19,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/SSL Config File/ { print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-75.sh b/test/script/library-parameter/parameter-75.sh index fdc11938..3c4d2f4e 100755 --- a/test/script/library-parameter/parameter-75.sh +++ b/test/script/library-parameter/parameter-75.sh @@ -25,16 +25,16 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44432/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44432/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-80-1.sh b/test/script/library-parameter/parameter-80-1.sh index e136abf2..ffa2f573 100755 --- a/test/script/library-parameter/parameter-80-1.sh +++ b/test/script/library-parameter/parameter-80-1.sh @@ -19,8 +19,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-80-2.sh b/test/script/library-parameter/parameter-80-2.sh index 0752e581..bb50eadb 100755 --- a/test/script/library-parameter/parameter-80-2.sh +++ b/test/script/library-parameter/parameter-80-2.sh @@ -19,8 +19,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-81.sh b/test/script/library-parameter/parameter-81.sh index eb98045a..913f6a2b 100755 --- a/test/script/library-parameter/parameter-81.sh +++ b/test/script/library-parameter/parameter-81.sh @@ -19,8 +19,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-82-1.sh b/test/script/library-parameter/parameter-82-1.sh index 1c2c6246..f4699afd 100755 --- a/test/script/library-parameter/parameter-82-1.sh +++ b/test/script/library-parameter/parameter-82-1.sh @@ -19,8 +19,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-82-2.sh b/test/script/library-parameter/parameter-82-2.sh index b8ae940d..7600d532 100755 --- a/test/script/library-parameter/parameter-82-2.sh +++ b/test/script/library-parameter/parameter-82-2.sh @@ -26,8 +26,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-83-1.sh b/test/script/library-parameter/parameter-83-1.sh index f8e1168d..195f6274 100755 --- a/test/script/library-parameter/parameter-83-1.sh +++ b/test/script/library-parameter/parameter-83-1.sh @@ -19,8 +19,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-83-2.sh b/test/script/library-parameter/parameter-83-2.sh index 0159718f..89329fb5 100755 --- a/test/script/library-parameter/parameter-83-2.sh +++ b/test/script/library-parameter/parameter-83-2.sh @@ -26,8 +26,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-83-3.sh b/test/script/library-parameter/parameter-83-3.sh index 30f2a1de..3b626026 100755 --- a/test/script/library-parameter/parameter-83-3.sh +++ b/test/script/library-parameter/parameter-83-3.sh @@ -26,8 +26,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-83-4.sh b/test/script/library-parameter/parameter-83-4.sh index 2d5bec35..12db4a48 100755 --- a/test/script/library-parameter/parameter-83-4.sh +++ b/test/script/library-parameter/parameter-83-4.sh @@ -26,8 +26,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-86.sh b/test/script/library-parameter/parameter-86.sh index 3de419d4..c5f943c6 100755 --- a/test/script/library-parameter/parameter-86.sh +++ b/test/script/library-parameter/parameter-86.sh @@ -19,8 +19,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-87.sh b/test/script/library-parameter/parameter-87.sh index c850300c..afe195fd 100755 --- a/test/script/library-parameter/parameter-87.sh +++ b/test/script/library-parameter/parameter-87.sh @@ -19,8 +19,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-91.sh b/test/script/library-parameter/parameter-91.sh index f6465203..a796a4c8 100755 --- a/test/script/library-parameter/parameter-91.sh +++ b/test/script/library-parameter/parameter-91.sh @@ -19,8 +19,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-92.sh b/test/script/library-parameter/parameter-92.sh index 0e5e8ff5..b620b4d0 100755 --- a/test/script/library-parameter/parameter-92.sh +++ b/test/script/library-parameter/parameter-92.sh @@ -19,8 +19,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/library-parameter/parameter-93.sh b/test/script/library-parameter/parameter-93.sh index 22dbbf04..959b20b4 100755 --- a/test/script/library-parameter/parameter-93.sh +++ b/test/script/library-parameter/parameter-93.sh @@ -19,8 +19,8 @@ then exit 1 fi -RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; print $0 }' ` -EXPECT=" /etc/l7vs/sslproxy/sslproxy.target.cf" +RET=`$L7VSADM -V | awk '/TCP localhost:44431/ { getline; getline; getline; getline; getline; getline; print $4 }' ` +EXPECT="/etc/l7vs/sslproxy/sslproxy.target.cf" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: $L7VSADM -V" diff --git a/test/script/module-protocol-ip/ip-39.sh b/test/script/module-protocol-ip/ip-39.sh index 536903dd..6784eedb 100755 --- a/test/script/module-protocol-ip/ip-39.sh +++ b/test/script/module-protocol-ip/ip-39.sh @@ -30,14 +30,14 @@ then fi RET=`$L7VSADM -V -n | grep "TCP 127.0.0.1:40001"` -if [ "$RET" != "TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/$STR'" ] +if [ "$RET" != "TCP 127.0.0.1:40001 ip rr --timeout 3600 --no-reschedule --sorry-uri '/$STR' --statistic 0" ] then echo "Test failed: $L7VSADM -V -n | grep TCP 127.0.0.1:40001" exit 1 fi RET=`$L7VSADM -V -n | grep "TCP 127.0.0.1:40002"` -if [ "$RET" != "TCP 127.0.0.1:40002 ip rr --timeout 3600 --no-reschedule --sorry-uri '/$STR'" ] +if [ "$RET" != "TCP 127.0.0.1:40002 ip rr --timeout 3600 --no-reschedule --sorry-uri '/$STR' --statistic 0" ] then echo "Test failed: $L7VSADM -V -n | grep TCP 127.0.0.1:40002" exit 1 diff --git a/test/script/session/session-43.sh b/test/script/session/session-43.sh index 56472873..b45f5826 100755 --- a/test/script/session/session-43.sh +++ b/test/script/session/session-43.sh @@ -67,51 +67,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-44.sh b/test/script/session/session-44.sh index 9545ffe1..7a565ee2 100755 --- a/test/script/session/session-44.sh +++ b/test/script/session/session-44.sh @@ -68,51 +68,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-45.sh b/test/script/session/session-45.sh index 99c1d7d0..3a236317 100755 --- a/test/script/session/session-45.sh +++ b/test/script/session/session-45.sh @@ -67,51 +67,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-46.sh b/test/script/session/session-46.sh index 21cc7b99..d701e1d4 100755 --- a/test/script/session/session-46.sh +++ b/test/script/session/session-46.sh @@ -67,51 +67,52 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" + if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-47.sh b/test/script/session/session-47.sh index e20379a9..2f87c276 100755 --- a/test/script/session/session-47.sh +++ b/test/script/session/session-47.sh @@ -67,51 +67,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-48.sh b/test/script/session/session-48.sh index e598271e..925e7a60 100755 --- a/test/script/session/session-48.sh +++ b/test/script/session/session-48.sh @@ -67,57 +67,56 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" exit 1 fi - RET=`wget -qO- -t 1 -T 1 https://127.0.0.1:40001/ --no-check-certificate --secure-protocol=SSLv2` if [ $? -eq 0 ] then diff --git a/test/script/session/session-49.sh b/test/script/session/session-49.sh index 79169e61..15e3c285 100755 --- a/test/script/session/session-49.sh +++ b/test/script/session/session-49.sh @@ -67,51 +67,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-50.sh b/test/script/session/session-50.sh index 031e11b8..8ec639d5 100755 --- a/test/script/session/session-50.sh +++ b/test/script/session/session-50.sh @@ -69,51 +69,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-51.sh b/test/script/session/session-51.sh index fc88c6b7..67a03b01 100755 --- a/test/script/session/session-51.sh +++ b/test/script/session/session-51.sh @@ -68,51 +68,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-52.sh b/test/script/session/session-52.sh index 53069983..0147c827 100755 --- a/test/script/session/session-52.sh +++ b/test/script/session/session-52.sh @@ -68,51 +68,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-53.sh b/test/script/session/session-53.sh index fbdfce9d..c47eca42 100755 --- a/test/script/session/session-53.sh +++ b/test/script/session/session-53.sh @@ -71,51 +71,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-54.sh b/test/script/session/session-54.sh index 86ade2da..f0cc001e 100755 --- a/test/script/session/session-54.sh +++ b/test/script/session/session-54.sh @@ -69,51 +69,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-55.sh b/test/script/session/session-55.sh index 20687ea3..81fd3ec3 100755 --- a/test/script/session/session-55.sh +++ b/test/script/session/session-55.sh @@ -74,51 +74,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-56.sh b/test/script/session/session-56.sh index 8f4d93fe..3d8c6381 100755 --- a/test/script/session/session-56.sh +++ b/test/script/session/session-56.sh @@ -69,51 +69,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-57.sh b/test/script/session/session-57.sh index c2e751c6..6cbb3e83 100755 --- a/test/script/session/session-57.sh +++ b/test/script/session/session-57.sh @@ -69,51 +69,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-58.sh b/test/script/session/session-58.sh index ddf05ca9..dcfc485d 100755 --- a/test/script/session/session-58.sh +++ b/test/script/session/session-58.sh @@ -70,51 +70,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-59.sh b/test/script/session/session-59.sh index 3fffb5f5..cdca5861 100755 --- a/test/script/session/session-59.sh +++ b/test/script/session/session-59.sh @@ -69,51 +69,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-60.sh b/test/script/session/session-60.sh index 1d5228b9..7de5db3d 100755 --- a/test/script/session/session-60.sh +++ b/test/script/session/session-60.sh @@ -70,51 +70,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-61.sh b/test/script/session/session-61.sh index a27b40a2..8895488a 100755 --- a/test/script/session/session-61.sh +++ b/test/script/session/session-61.sh @@ -69,51 +69,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-62.sh b/test/script/session/session-62.sh index b1bd6492..5b75e93f 100755 --- a/test/script/session/session-62.sh +++ b/test/script/session/session-62.sh @@ -69,51 +69,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-63.sh b/test/script/session/session-63.sh index 6f9c5c1d..70e2c864 100755 --- a/test/script/session/session-63.sh +++ b/test/script/session/session-63.sh @@ -69,51 +69,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-64.sh b/test/script/session/session-64.sh index 2cbd1dd4..50342f8c 100755 --- a/test/script/session/session-64.sh +++ b/test/script/session/session-64.sh @@ -69,51 +69,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/session/session-67.sh b/test/script/session/session-67.sh index 4780c3c7..601dcaa1 100755 --- a/test/script/session/session-67.sh +++ b/test/script/session/session-67.sh @@ -69,51 +69,51 @@ 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 127.0.0.1:40001 sessionless rr --sorry-uri '/' - none 0 0 - 0 0 - 0 0 - /etc/l7vs/sslproxy/sslproxy.target.cf - none - 0 - none - --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M - -> 127.0.0.1:50001 Masq 1 0 0 " +TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0 + -> 127.0.0.1:50001 Masq 1 0 0 + Bypass Settings: + Sorry Server none + Max Connection 0 + Sorry Flag off + SSL Settings: + SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf + Logging Settings: + Access Log off + Access Log File none + Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M + Socket Settings: + TCP_DEFER_ACCEPT disable + TCP_NODELAY disable + TCP_CORK disable + TCP_QUICKACK disable + Throughput: + Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps + Current Download / Limit 0.000000 Mbps / 0.000000 Mbps + Statistics: + HTTP Total Requests 0 + HTTP GET Requests 0 + HTTP POST Requests 0" if [ "${RET}" != "${EXPECT}" ] then echo "Test failed: l7vsadm -V -n" diff --git a/test/script/virtualservice/virtualservice-29.sh b/test/script/virtualservice/virtualservice-29.sh index 80c9e397..9d2c9d91 100755 --- a/test/script/virtualservice/virtualservice-29.sh +++ b/test/script/virtualservice/virtualservice-29.sh @@ -83,6 +83,7 @@ then echo "Test failed: kill ${CONNECT1}" exit 1 fi +sleep 1 #Connect RET=`$WGET -t 1 -qO- http://127.0.0.1:40001/` diff --git a/test/umtest.sh b/test/umtest.sh index db7caed8..6e0596ed 100755 --- a/test/umtest.sh +++ b/test/umtest.sh @@ -200,10 +200,8 @@ LOG "Test scripts end." ################### # Aftertreatment ################### -# Stop UltraMonkey-L7. -#. ${STOP_MONKEY} -# Restore log and config files. -. ${RESTORE_FILE} +# Return log and config files. +. ${RETURN_FILE} # Delete temp directory rm -rf ${TMP_DIR} exit 0 -- 2.11.0