icontrol 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,62 @@
1
+ module IControl
2
+
3
+ class ArrayMapper
4
+ def self.map_object(result)
5
+ case result[:array_type]
6
+ when /string/ then result[:item]
7
+ when /iControl:LocalLB\.ProfileMatchPatternStringArray/ then map_object(result[:item][:values])
8
+ when /iControl:LocalLB\.MatchPatternString/ then [result[:item]].flatten.compact
9
+ when /iControl:Common\.IPPortDefinition\[\]/ then [result[:item][:item]].flatten.map{|i| IControl::LocalLB::PoolMember.new(i)}
10
+ when /iControl:LocalLB.LBMethod/ then [result[:item]].flatten
11
+ when /VirtualServerProfileAttribute\[\]/ then [result[:item][:item]].flatten.map{|i| IControl::LocalLB::VirtualServer::ProfileAttribute.new(i) }
12
+ when /iControl:LocalLB.VirtualServer.VirtualServerHttpClass\[\]/ then [result[:item][:item]].flatten.compact.sort{|a,b| a[:priority] <=> b[:priority]}.map{ |i| IControl::LocalLB::ProfileHttpClass.new(i)}
13
+ when /iControl:LocalLB\.ProfileString\[/ then [result[:item]].flatten.map do |i|
14
+ if i[:value].class == String
15
+ IControl::LocalLB::Pool.new(i.merge({:id => i[:value] }))
16
+ end
17
+ end.compact
18
+ when /iControl:LocalLB\.PoolMember\.MemberObjectStatus\[\]\[/ then [result[:item][:item]].map do |j|
19
+ IControl::LocalLB::PoolMember.new( j[:member].merge(:status => j[:object_status]) )
20
+ end
21
+ when /iControl:LocalLB\.Pool\.MonitorAssociation\[/ then IControl::LocalLB::MonitorRule.from_xml(result[:item][:monitor_rule])
22
+ when /iControl:LocalLB\.ObjectStatus\[/ then (result[:item])
23
+ when /iControl:LocalLB.VirtualServer.VirtualServerType\[/ then IControl::LocalLB::VirtualServer::Type.from_string(result[:item])
24
+ when /iControl:LocalLB.VirtualServer.VirtualServerCMPEnableMode\[/ then IControl::LocalLB::VirtualServer::CMPEnableMode.from_string(result[:item])
25
+ when /iControl:Common\.IPPortDefinition\[/ then IControl::Common::IPPortDefinition.new(result[:item])
26
+ when /iControl:Common.ProtocolType\[/ then IControl::Common::ProtocolType.from_string(result[:item])
27
+ when /iControl:Common.EnabledState\[/ then IControl::Common::EnabledState.from_string(result[:item])
28
+ when /iControl:Common.ULong64\[\d+\]/ then IControl::Common::ULong64.new(result[:item])
29
+ when /iControl:Common.SourcePortBehavior\[\d+\]/ then IControl::Common::SourcePortBehavior.from_string(result[:item])
30
+ when /iControl:LocalLB.HardwareAccelerationMode\[/ then IControl::LocalLB::HardwareAccelerationMode.from_string(result[:item])
31
+ when /iControl:LocalLB.SnatType\[/ then IControl::LocalLB::SnatType.from_string(result[:item])
32
+ when /iControl:Common.VLANFilterList\[/ then IControl::Common::VLANFilterList.new(result[:item])
33
+ when /iControl:LocalLB.VirtualServer.VirtualServerPersistence\[\]\[\d+\]/ then result[:item][:item] && IControl::LocalLB::VirtualServer::Persistence.new(result[:item][:item])
34
+ when /iControl:LocalLB.VirtualServer.VirtualServerRule\[\]\[\d+\]/ then [result[:item][:item]].flatten.compact.map{ |i| IControl::LocalLB::VirtualServerRule.new(i) }
35
+ when /iControl:LocalLB.VirtualServer.VirtualServerClonePool\[\]\[\d+\]/ then [result[:item][:item]].flatten.compact.map{ |i| IControl::LocalLB::VirtualServer::ClonePool.new(i) }
36
+ when /iControl:LocalLB.VirtualServer.VirtualServerStatisticEntry\[/ then IControl::LocalLB::VirtualServer::StatisticEntry.from_xml(result)
37
+ when /iControl:LocalLB.VirtualServer.VirtualServerAuthentication\[/ then [result[:item][:item]].flatten.compact.sort{|a,b| a[:priority] <=> b[:priority]}.map{ |i| IControl::LocalLB::ProfileAuth.new(i)}
38
+ when /y:boolean\[/ then result[:item]
39
+ when /iControl:LocalLB.VirtualServer.VirtualServerModuleScore\[/ then result[:item][:item] && IControl::LocalLB::VirtualServer::ModuleScore.new(result[:item])
40
+
41
+ else
42
+ raise "No type matching found (#{result[:array_type]})"
43
+ end
44
+ end
45
+ end
46
+
47
+
48
+ class StatMapper
49
+ def self.map_object(result)
50
+ ArrayMapper.map_object(result[:statistics])
51
+ end
52
+ end
53
+
54
+ MAPPINGS = { "A:Array" => ArrayMapper, "iControl:LocalLB.VirtualServer.VirtualServerStatistics" => StatMapper }
55
+
56
+ class Mappings
57
+ def self.map_object(return_object)
58
+ return MAPPINGS[return_object[:type]].map_object(return_object) if return_object.is_a?(Hash)
59
+ return return_object
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,508 @@
1
+ module IControl::Common
2
+ class StatisticType
3
+ include IControl::ConstDefiner
4
+ contants = [:STATISTIC_NO_NODE_ERRORS,
5
+ :STATISTIC_MINIMUM_CONNECTION_DURATION,
6
+ :STATISTIC_MEAN_CONNECTION_DURATION,
7
+ :STATISTIC_MAXIMUM_CONNECTION_DURATION,
8
+ :STATISTIC_TOTAL_REQUESTS,
9
+ :STATISTIC_TOTAL_PVA_ASSISTED_CONNECTIONS,
10
+ :STATISTIC_CURRENT_PVA_ASSISTED_CONNECTIONS,
11
+ :STATISTIC_TIMEOUTS,
12
+ :STATISTIC_COLLISIONS,
13
+ :STATISTIC_DROPPED_PACKETS_IN,
14
+ :STATISTIC_DROPPED_PACKETS_OUT,
15
+ :STATISTIC_DROPPED_PACKETS_TOTAL,
16
+ :STATISTIC_ERRORS_IN,
17
+ :STATISTIC_ERRORS_OUT,
18
+ :STATISTIC_TM_TOTAL_CYCLES,
19
+ :STATISTIC_TM_IDLE_CYCLES,
20
+ :STATISTIC_TM_SLEEP_CYCLES,
21
+ :STATISTIC_MAINTENANCE_MODE_DENIALS,
22
+ :STATISTIC_VIRTUAL_ADDRESS_MAXIMUM_CONNECTION_DENIALS,
23
+ :STATISTIC_VIRTUAL_SERVER_MAXIMUM_CONNECTION_DENIALS,
24
+ :STATISTIC_VIRTUAL_SERVER_NON_SYN_DENIALS,
25
+ :STATISTIC_NO_HANDLER_DENIALS,
26
+ :STATISTIC_LICENSE_DENIALS,
27
+ :STATISTIC_CONNECTION_FAILED_MEMORY_ERRORS,
28
+ :STATISTIC_ACTIVE_CPU_COUNT,
29
+ :STATISTIC_MULTI_PROCESSOR_MODE,
30
+ :STATISTIC_MEMORY_TOTAL_BYTES,
31
+ :STATISTIC_MEMORY_USED_BYTES,
32
+ :STATISTIC_IP_TRANSMITTED_PACKETS,
33
+ :STATISTIC_IP_RECEIVED_PACKETS,
34
+ :STATISTIC_IP_DROPPED_PACKETS,
35
+ :STATISTIC_IP_TRANSMITTED_FRAGMENTS,
36
+ :STATISTIC_IP_DROPPED_TRANSMITTED_FRAGMENTS,
37
+ :STATISTIC_IP_RECEIVED_FRAGMENTS,
38
+ :STATISTIC_IP_DROPPED_RECEIVED_FRAGMENTS,
39
+ :STATISTIC_IP_REASSEMBLED_PACKETS,
40
+ :STATISTIC_IP_INVALID_CHECKSUM_ERRORS,
41
+ :STATISTIC_IP_INVALID_LENGTH_ERRORS,
42
+ :STATISTIC_IP_MEMORY_ERRORS,
43
+ :STATISTIC_IP_RETRANSMITTED_ERRORS,
44
+ :STATISTIC_IP_INVALID_PROTOCOL_ERRORS,
45
+ :STATISTIC_IP_OPTIONS_ERRORS,
46
+ :STATISTIC_IP_REASSEMBLED_TOO_LONG_ERRORS,
47
+ :STATISTIC_IPV6_TRANSMITTED_PACKETS,
48
+ :STATISTIC_IPV6_RECEIVED_PACKETS,
49
+ :STATISTIC_IPV6_DROPPED_PACKETS,
50
+ :STATISTIC_IPV6_TRANSMITTED_FRAGMENTS,
51
+ :STATISTIC_IPV6_DROPPED_TRANSMITTED_FRAGMENTS,
52
+ :STATISTIC_IPV6_RECEIVED_FRAGMENTS,
53
+ :STATISTIC_IPV6_DROPPED_RECEIVED_FRAGMENTS,
54
+ :STATISTIC_IPV6_REASSEMBLED_PACKETS,
55
+ :STATISTIC_IPV6_INVALID_CHECKSUM_ERRORS,
56
+ :STATISTIC_IPV6_INVALID_LENGTH_ERRORS,
57
+ :STATISTIC_IPV6_MEMORY_ERRORS,
58
+ :STATISTIC_IPV6_RETRANSMITTED_ERRORS,
59
+ :STATISTIC_IPV6_INVALID_PROTOCOL_ERRORS,
60
+ :STATISTIC_IPV6_OPTIONS_ERRORS,
61
+ :STATISTIC_IPV6_REASSEMBLED_TOO_LONG_ERRORS,
62
+ :STATISTIC_ICMP_TRANSMITTED_PACKETS,
63
+ :STATISTIC_ICMP_RETRANSMITTED_PACKETS,
64
+ :STATISTIC_ICMP_RECEIVED_PACKETS,
65
+ :STATISTIC_ICMP_FORWARDED_PACKETS,
66
+ :STATISTIC_ICMP_DROPPED_PACKETS,
67
+ :STATISTIC_ICMP_INVALID_CHECKSUM_ERRORS,
68
+ :STATISTIC_ICMP_INVALID_LENGTH_ERRORS,
69
+ :STATISTIC_ICMP_MEMORY_ERRORS,
70
+ :STATISTIC_ICMP_RETRANSMITTED_ERRORS,
71
+ :STATISTIC_ICMP_INVALID_PROTOCOL_ERRORS,
72
+ :STATISTIC_ICMP_OPTIONS_ERRORS,
73
+ :STATISTIC_ICMP_OTHER_ERRORS,
74
+ :STATISTIC_ICMPV6_TRANSMITTED_PACKETS,
75
+ :STATISTIC_ICMPV6_RETRANSMITTED_PACKETS,
76
+ :STATISTIC_ICMPV6_RECEIVED_PACKETS,
77
+ :STATISTIC_ICMPV6_FORWARDED_PACKETS,
78
+ :STATISTIC_ICMPV6_DROPPED_PACKETS,
79
+ :STATISTIC_ICMPV6_INVALID_CHECKSUM_ERRORS,
80
+ :STATISTIC_ICMPV6_INVALID_LENGTH_ERRORS,
81
+ :STATISTIC_ICMPV6_MEMORY_ERRORS,
82
+ :STATISTIC_ICMPV6_RETRANSMITTED_ERRORS,
83
+ :STATISTIC_ICMPV6_INVALID_PROTOCOL_ERRORS,
84
+ :STATISTIC_ICMPV6_OPTIONS_ERRORS,
85
+ :STATISTIC_ICMPV6_OTHER_ERRORS,
86
+ :STATISTIC_UDP_OPEN_CONNECTIONS,
87
+ :STATISTIC_UDP_ACCEPTED_CONNECTIONS,
88
+ :STATISTIC_UDP_ACCEPT_FAILURES,
89
+ :STATISTIC_UDP_ESTABLISHED_CONNECTIONS,
90
+ :STATISTIC_UDP_CONNECTION_FAILURES,
91
+ :STATISTIC_UDP_EXPIRED_CONNECTIONS,
92
+ :STATISTIC_UDP_TRANSMITTED_DATAGRAMS,
93
+ :STATISTIC_UDP_RECEIVED_DATAGRAMS,
94
+ :STATISTIC_UDP_RECEIVED_MALFORMED_DATAGRAMS,
95
+ :STATISTIC_UDP_RECEIVED_UNREACHABLE_ICMP_DATAGRAMS,
96
+ :STATISTIC_UDP_RECEIVED_BAD_CHECKSUM_DATAGRAMS,
97
+ :STATISTIC_UDP_RECEIVED_NO_CHECKSUM_DATAGRAMS,
98
+ :STATISTIC_TCP_OPEN_CONNECTIONS,
99
+ :STATISTIC_TCP_CLOSE_WAIT_CONNECTIONS,
100
+ :STATISTIC_TCP_FIN_WAIT_CONNECTIONS,
101
+ :STATISTIC_TCP_TIME_WAIT_CONNECTIONS,
102
+ :STATISTIC_TCP_ACCEPTED_CONNECTIONS,
103
+ :STATISTIC_TCP_ACCEPT_FAILURES,
104
+ :STATISTIC_TCP_ESTABLISHED_CONNECTIONS,
105
+ :STATISTIC_TCP_CONNECTION_FAILURES,
106
+ :STATISTIC_TCP_EXPIRED_CONNECTIONS,
107
+ :STATISTIC_TCP_ABANDONED_CONNECTIONS,
108
+ :STATISTIC_TCP_RECEIVED_RESETS,
109
+ :STATISTIC_TCP_RECEIVED_BAD_CHECKSUMS,
110
+ :STATISTIC_TCP_RECEIVED_BAD_SEGMENTS,
111
+ :STATISTIC_TCP_RECEIVED_OUT_OF_ORDER_SEGMENTS,
112
+ :STATISTIC_TCP_RECEIVED_SYN_COOKIES,
113
+ :STATISTIC_TCP_RECEIVED_BAD_SYN_COOKIES,
114
+ :STATISTIC_TCP_SYN_CACHE_OVERFLOWS,
115
+ :STATISTIC_TCP_RETRANSMITTED_SEGMENTS,
116
+ :STATISTIC_BYTES_IN,
117
+ :STATISTIC_BYTES_OUT,
118
+ :STATISTIC_PACKETS_IN,
119
+ :STATISTIC_PACKETS_OUT,
120
+ :STATISTIC_MULTICASTS_IN,
121
+ :STATISTIC_MULTICASTS_OUT,
122
+ :STATISTIC_EPHEMERAL_BYTES_IN,
123
+ :STATISTIC_EPHEMERAL_BYTES_OUT,
124
+ :STATISTIC_EPHEMERAL_PACKETS_IN,
125
+ :STATISTIC_EPHEMERAL_PACKETS_OUT,
126
+ :STATISTIC_EPHEMERAL_CURRENT_CONNECTIONS,
127
+ :STATISTIC_EPHEMERAL_MAXIMUM_CONNECTIONS,
128
+ :STATISTIC_EPHEMERAL_TOTAL_CONNECTIONS,
129
+ :STATISTIC_CLIENT_SIDE_BYTES_IN,
130
+ :STATISTIC_CLIENT_SIDE_BYTES_OUT,
131
+ :STATISTIC_CLIENT_SIDE_PACKETS_IN,
132
+ :STATISTIC_CLIENT_SIDE_PACKETS_OUT,
133
+ :STATISTIC_CLIENT_SIDE_CURRENT_CONNECTIONS,
134
+ :STATISTIC_CLIENT_SIDE_MAXIMUM_CONNECTIONS,
135
+ :STATISTIC_CLIENT_SIDE_TOTAL_CONNECTIONS,
136
+ :STATISTIC_PVA_CLIENT_SIDE_BYTES_IN,
137
+ :STATISTIC_PVA_CLIENT_SIDE_BYTES_OUT,
138
+ :STATISTIC_PVA_CLIENT_SIDE_PACKETS_IN,
139
+ :STATISTIC_PVA_CLIENT_SIDE_PACKETS_OUT,
140
+ :STATISTIC_PVA_CLIENT_SIDE_CURRENT_CONNECTIONS,
141
+ :STATISTIC_PVA_CLIENT_SIDE_MAXIMUM_CONNECTIONS,
142
+ :STATISTIC_PVA_CLIENT_SIDE_TOTAL_CONNECTIONS,
143
+ :STATISTIC_SERVER_SIDE_BYTES_IN,
144
+ :STATISTIC_SERVER_SIDE_BYTES_OUT,
145
+ :STATISTIC_SERVER_SIDE_PACKETS_IN,
146
+ :STATISTIC_SERVER_SIDE_PACKETS_OUT,
147
+ :STATISTIC_SERVER_SIDE_CURRENT_CONNECTIONS,
148
+ :STATISTIC_SERVER_SIDE_MAXIMUM_CONNECTIONS,
149
+ :STATISTIC_SERVER_SIDE_TOTAL_CONNECTIONS,
150
+ :STATISTIC_PVA_SERVER_SIDE_BYTES_IN,
151
+ :STATISTIC_PVA_SERVER_SIDE_BYTES_OUT,
152
+ :STATISTIC_PVA_SERVER_SIDE_PACKETS_IN,
153
+ :STATISTIC_PVA_SERVER_SIDE_PACKETS_OUT,
154
+ :STATISTIC_PVA_SERVER_SIDE_CURRENT_CONNECTIONS,
155
+ :STATISTIC_PVA_SERVER_SIDE_MAXIMUM_CONNECTIONS,
156
+ :STATISTIC_PVA_SERVER_SIDE_TOTAL_CONNECTIONS,
157
+ :STATISTIC_PACKET_FILTER_HITS,
158
+ :STATISTIC_STREAM_REPLACEMENTS,
159
+ :STATISTIC_ONECONNECT_CURRENT_IDLE_CONNECTIONS,
160
+ :STATISTIC_ONECONNECT_MAXIMUM_IDLE_CONNECTIONS,
161
+ :STATISTIC_ONECONNECT_TOTAL_REUSES,
162
+ :STATISTIC_ONECONNECT_NEW_CONNECTIONS,
163
+ :STATISTIC_RATE_CLASS_BYTES_AT_BASE_RATE,
164
+ :STATISTIC_RATE_CLASS_BYTES_DURING_BURST,
165
+ :STATISTIC_RATE_CLASS_BYTES_DROPPED,
166
+ :STATISTIC_RATE_CLASS_BYTES_QUEUED,
167
+ :STATISTIC_RATE_CLASS_BYTES_PER_SEC,
168
+ :STATISTIC_RULE_FAILURES,
169
+ :STATISTIC_RULE_ABORTS,
170
+ :STATISTIC_RULE_TOTAL_EXECUTIONS,
171
+ :STATISTIC_RULE_AVERAGE_CYCLES,
172
+ :STATISTIC_RULE_MAXIMUM_CYCLES,
173
+ :STATISTIC_RULE_MINIMUM_CYCLES,
174
+ :STATISTIC_HTTP_COOKIE_PERSIST_INSERTS,
175
+ :STATISTIC_HTTP_2XX_RESPONSES,
176
+ :STATISTIC_HTTP_3XX_RESPONSES,
177
+ :STATISTIC_HTTP_4XX_RESPONSES,
178
+ :STATISTIC_HTTP_5XX_RESPONSES,
179
+ :STATISTIC_HTTP_TOTAL_REQUESTS,
180
+ :STATISTIC_HTTP_GET_REQUESTS,
181
+ :STATISTIC_HTTP_POST_REQUESTS,
182
+ :STATISTIC_HTTP_V9_REQUESTS,
183
+ :STATISTIC_HTTP_V10_REQUESTS,
184
+ :STATISTIC_HTTP_V11_REQUESTS,
185
+ :STATISTIC_HTTP_V9_RESPONSES,
186
+ :STATISTIC_HTTP_V10_RESPONSES,
187
+ :STATISTIC_HTTP_V11_RESPONSES,
188
+ :STATISTIC_HTTP_MAXIMUM_KEEPALIVE_REQUESTS,
189
+ :STATISTIC_HTTP_BUCKET_1K_RESPONSES,
190
+ :STATISTIC_HTTP_BUCKET_4K_RESPONSES,
191
+ :STATISTIC_HTTP_BUCKET_16K_RESPONSES,
192
+ :STATISTIC_HTTP_BUCKET_32K_RESPONSES,
193
+ :STATISTIC_HTTP_BUCKET_64K_RESPONSES,
194
+ :STATISTIC_HTTP_PRE_COMPRESSION_BYTES,
195
+ :STATISTIC_HTTP_POST_COMPRESSION_BYTES,
196
+ :STATISTIC_HTTP_NULL_COMPRESSION_BYTES,
197
+ :STATISTIC_HTTP_HTML_PRE_COMPRESSION_BYTES,
198
+ :STATISTIC_HTTP_HTML_POST_COMPRESSION_BYTES,
199
+ :STATISTIC_HTTP_CSS_PRE_COMPRESSION_BYTES,
200
+ :STATISTIC_HTTP_CSS_POST_COMPRESSION_BYTES,
201
+ :STATISTIC_HTTP_JS_PRE_COMPRESSION_BYTES,
202
+ :STATISTIC_HTTP_JS_POST_COMPRESSION_BYTES,
203
+ :STATISTIC_HTTP_XML_PRE_COMPRESSION_BYTES,
204
+ :STATISTIC_HTTP_XML_POST_COMPRESSION_BYTES,
205
+ :STATISTIC_HTTP_SGML_PRE_COMPRESSION_BYTES,
206
+ :STATISTIC_HTTP_SGML_POST_COMPRESSION_BYTES,
207
+ :STATISTIC_HTTP_PLAIN_PRE_COMPRESSION_BYTES,
208
+ :STATISTIC_HTTP_PLAIN_POST_COMPRESSION_BYTES,
209
+ :STATISTIC_HTTP_OCTET_PRE_COMPRESSION_BYTES,
210
+ :STATISTIC_HTTP_OCTET_POST_COMPRESSION_BYTES,
211
+ :STATISTIC_HTTP_IMAGE_PRE_COMPRESSION_BYTES,
212
+ :STATISTIC_HTTP_IMAGE_POST_COMPRESSION_BYTES,
213
+ :STATISTIC_HTTP_VIDEO_PRE_COMPRESSION_BYTES,
214
+ :STATISTIC_HTTP_VIDEO_POST_COMPRESSION_BYTES,
215
+ :STATISTIC_HTTP_AUDIO_PRE_COMPRESSION_BYTES,
216
+ :STATISTIC_HTTP_AUDIO_POST_COMPRESSION_BYTES,
217
+ :STATISTIC_HTTP_OTHER_PRE_COMPRESSION_BYTES,
218
+ :STATISTIC_HTTP_OTHER_POST_COMPRESSION_BYTES,
219
+ :STATISTIC_SSL_CACHE_CURRENT_ENTRIES,
220
+ :STATISTIC_SSL_CACHE_MAXIMUM_ENTRIES,
221
+ :STATISTIC_SSL_CACHE_OVERFLOWS,
222
+ :STATISTIC_SSL_CIPHER_ADH_KEY_EXCHANGE,
223
+ :STATISTIC_SSL_CIPHER_DH_DSS_KEY_EXCHANGE,
224
+ :STATISTIC_SSL_CIPHER_DH_RSA_KEY_EXCHANGE,
225
+ :STATISTIC_SSL_CIPHER_DSS_KEY_EXCHANGE,
226
+ :STATISTIC_SSL_CIPHER_EDH_DSS_KEY_EXCHANGE,
227
+ :STATISTIC_SSL_CIPHER_EDH_RSA_KEY_EXCHANGE,
228
+ :STATISTIC_SSL_CIPHER_RSA_KEY_EXCHANGE,
229
+ :STATISTIC_SSL_CIPHER_NULL_BULK,
230
+ :STATISTIC_SSL_CIPHER_AES_BULK,
231
+ :STATISTIC_SSL_CIPHER_DES_BULK,
232
+ :STATISTIC_SSL_CIPHER_IDEA_BULK,
233
+ :STATISTIC_SSL_CIPHER_RC2_BULK,
234
+ :STATISTIC_SSL_CIPHER_RC4_BULK,
235
+ :STATISTIC_SSL_CIPHER_NULL_DIGEST,
236
+ :STATISTIC_SSL_CIPHER_MD5_DIGEST,
237
+ :STATISTIC_SSL_CIPHER_SHA_DIGEST,
238
+ :STATISTIC_SSL_PROTOCOL_SSLV2,
239
+ :STATISTIC_SSL_PROTOCOL_SSLV3,
240
+ :STATISTIC_SSL_PROTOCOL_TLSV1,
241
+ :STATISTIC_SSL_COMMON_CURRENT_CONNECTIONS,
242
+ :STATISTIC_SSL_COMMON_MAXIMUM_CONNECTIONS,
243
+ :STATISTIC_SSL_COMMON_CURRENT_NATIVE_CONNECTIONS,
244
+ :STATISTIC_SSL_COMMON_MAXIMUM_NATIVE_CONNECTIONS,
245
+ :STATISTIC_SSL_COMMON_TOTAL_NATIVE_CONNECTIONS,
246
+ :STATISTIC_SSL_COMMON_CURRENT_COMPATIBLE_MODE_CONNECTIONS,
247
+ :STATISTIC_SSL_COMMON_MAXIMUM_COMPATIBLE_MODE_CONNECTIONS,
248
+ :STATISTIC_SSL_COMMON_TOTAL_COMPATIBLE_MODE_CONNECTIONS,
249
+ :STATISTIC_SSL_COMMON_ENCRYPTED_BYTES_IN,
250
+ :STATISTIC_SSL_COMMON_ENCRYPTED_BYTES_OUT,
251
+ :STATISTIC_SSL_COMMON_DECRYPTED_BYTES_IN,
252
+ :STATISTIC_SSL_COMMON_DECRYPTED_BYTES_OUT,
253
+ :STATISTIC_SSL_COMMON_RECORDS_IN,
254
+ :STATISTIC_SSL_COMMON_RECORDS_OUT,
255
+ :STATISTIC_SSL_COMMON_FULLY_HW_ACCELERATED_CONNECTIONS,
256
+ :STATISTIC_SSL_COMMON_PARTIALLY_HW_ACCELERATED_CONNECTIONS,
257
+ :STATISTIC_SSL_COMMON_NON_HW_ACCELERATED_CONNECTIONS,
258
+ :STATISTIC_SSL_COMMON_PREMATURE_DISCONNECTS,
259
+ :STATISTIC_SSL_COMMON_MIDSTREAM_RENEGOTIATIONS,
260
+ :STATISTIC_SSL_COMMON_SESSION_CACHE_CURRENT_ENTRIES,
261
+ :STATISTIC_SSL_COMMON_SESSION_CACHE_HITS,
262
+ :STATISTIC_SSL_COMMON_SESSION_CACHE_LOOKUPS,
263
+ :STATISTIC_SSL_COMMON_SESSION_CACHE_OVERFLOWS,
264
+ :STATISTIC_SSL_COMMON_SESSION_CACHE_INVALIDATIONS,
265
+ :STATISTIC_SSL_COMMON_VALID_PEER_CERTIFICATES,
266
+ :STATISTIC_SSL_COMMON_INVALID_PEER_CERTIFICATES,
267
+ :STATISTIC_SSL_COMMON_NO_PEER_CERTIFICATES,
268
+ :STATISTIC_SSL_COMMON_HANDSHAKE_FAILURES,
269
+ :STATISTIC_SSL_COMMON_BAD_RECORDS,
270
+ :STATISTIC_SSL_COMMON_FATAL_ALERTS,
271
+ :STATISTIC_AUTH_TOTAL_SESSIONS,
272
+ :STATISTIC_AUTH_CURRENT_SESSIONS,
273
+ :STATISTIC_AUTH_MAXIMUM_SESSIONS,
274
+ :STATISTIC_AUTH_SUCCESS_RESULTS,
275
+ :STATISTIC_AUTH_FAILURE_RESULTS,
276
+ :STATISTIC_AUTH_WANT_CREDENTIAL_RESULTS,
277
+ :STATISTIC_AUTH_ERROR_RESULTS,
278
+ :STATISTIC_XML_TOTAL_ERRORS,
279
+ :STATISTIC_FAST_HTTP_CLIENT_SYN_COOKIES,
280
+ :STATISTIC_FAST_HTTP_CLIENT_ACCEPTS,
281
+ :STATISTIC_FAST_HTTP_SERVER_CONNECTS,
282
+ :STATISTIC_FAST_HTTP_CONNECTION_POOL_CURRENT_SIZE,
283
+ :STATISTIC_FAST_HTTP_CONNECTION_POOL_MAXIMUM_SIZE,
284
+ :STATISTIC_FAST_HTTP_CONNECTION_POOL_REUSES,
285
+ :STATISTIC_FAST_HTTP_CONNECTION_POOL_EXHAUSTED,
286
+ :STATISTIC_FAST_HTTP_TOTAL_REQUESTS,
287
+ :STATISTIC_FAST_HTTP_UNBUFFERED_REQUESTS,
288
+ :STATISTIC_FAST_HTTP_GET_REQUESTS,
289
+ :STATISTIC_FAST_HTTP_POST_REQUESTS,
290
+ :STATISTIC_FAST_HTTP_V9_REQUESTS,
291
+ :STATISTIC_FAST_HTTP_V10_REQUESTS,
292
+ :STATISTIC_FAST_HTTP_V11_REQUESTS,
293
+ :STATISTIC_FAST_HTTP_2XX_RESPONSES,
294
+ :STATISTIC_FAST_HTTP_3XX_RESPONSES,
295
+ :STATISTIC_FAST_HTTP_4XX_RESPONSES,
296
+ :STATISTIC_FAST_HTTP_5XX_RESPONSES,
297
+ :STATISTIC_FAST_HTTP_REQUEST_PARSE_ERRORS,
298
+ :STATISTIC_FAST_HTTP_RESPONSE_PARSE_ERRORS,
299
+ :STATISTIC_FAST_HTTP_CLIENTSIDE_BAD_SEGMENTS,
300
+ :STATISTIC_FAST_HTTP_SERVERSIDE_BAD_SEGMENTS,
301
+ :STATISTIC_FAST_HTTP_PIPELINED_REQUESTS,
302
+ :STATISTIC_SSL_COMMON_NOT_SSL_HANDSHAKE_FAILURES,
303
+ :STATISTIC_HTTP_RAM_CACHE_HITS,
304
+ :STATISTIC_HTTP_RAM_CACHE_MISSES,
305
+ :STATISTIC_HTTP_RAM_CACHE_TOTAL_MISSES,
306
+ :STATISTIC_HTTP_RAM_CACHE_HIT_BYTES,
307
+ :STATISTIC_HTTP_RAM_CACHE_MISS_BYTES,
308
+ :STATISTIC_HTTP_RAM_CACHE_TOTAL_MISS_BYTES,
309
+ :STATISTIC_HTTP_RAM_CACHE_SIZE,
310
+ :STATISTIC_HTTP_RAM_CACHE_COUNT,
311
+ :STATISTIC_HTTP_RAM_CACHE_EVICTIONS,
312
+ :STATISTIC_VCOMPRESSION_QUEUED_BYTES,
313
+ :STATISTIC_VCOMPRESSION_PRE_COMPRESSION_BYTES,
314
+ :STATISTIC_VCOMPRESSION_POST_COMPRESSION_BYTES,
315
+ :STATISTIC_VCOMPRESSION_TOTAL_STREAMS,
316
+ :STATISTIC_VCOMPRESSION_CURRENT_STREAMS,
317
+ :STATISTIC_IIOP_TOTAL_REQUESTS,
318
+ :STATISTIC_IIOP_TOTAL_RESPONSES,
319
+ :STATISTIC_IIOP_TOTAL_CANCELS,
320
+ :STATISTIC_IIOP_TOTAL_ERRORS,
321
+ :STATISTIC_IIOP_TOTAL_FRAGMENTS,
322
+ :STATISTIC_RTSP_TOTAL_REQUESTS,
323
+ :STATISTIC_RTSP_TOTAL_RESPONSES,
324
+ :STATISTIC_RTSP_TOTAL_ERRORS,
325
+ :STATISTIC_RTSP_TOTAL_INTERLEAVED_DATA,
326
+ :STATISTIC_GTM_METRICS_CPU_USAGE,
327
+ :STATISTIC_GTM_METRICS_MEMORY_AVAILABLE,
328
+ :STATISTIC_GTM_METRICS_BITS_PER_SECOND_IN,
329
+ :STATISTIC_GTM_METRICS_BITS_PER_SECOND_OUT,
330
+ :STATISTIC_GTM_METRICS_PACKETS_PER_SECOND_IN,
331
+ :STATISTIC_GTM_METRICS_PACKETS_PER_SECOND_OUT,
332
+ :STATISTIC_GTM_METRICS_TOTAL_CONNECTIONS,
333
+ :STATISTIC_GTM_METRICS_TOTAL_CONNECTION_RATE,
334
+ :STATISTIC_GTM_LINK_TOTAL_BIT_RATE,
335
+ :STATISTIC_GTM_LINK_TOTAL_GATEWAY_BIT_RATE,
336
+ :STATISTIC_GTM_LINK_INBOUND_GATEWAY_BIT_RATE,
337
+ :STATISTIC_GTM_LINK_OUTBOUND_GATEWAY_BIT_RATE,
338
+ :STATISTIC_GTM_LINK_TOTAL_VS_BIT_RATE,
339
+ :STATISTIC_GTM_LINK_INBOUND_VS_BIT_RATE,
340
+ :STATISTIC_GTM_LINK_OUTBOUND_VS_BIT_RATE,
341
+ :STATISTIC_GTM_LINK_TOTAL_INBOUND_BIT_RATE,
342
+ :STATISTIC_GTM_LINK_TOTAL_OUTBOUND_BIT_RATE,
343
+ :STATISTIC_GTM_LINK_LCS_OUT,
344
+ :STATISTIC_GTM_LINK_LCS_IN,
345
+ :STATISTIC_GTM_POOL_PREFERRED_LB_METHODS,
346
+ :STATISTIC_GTM_POOL_ALTERNATE_LB_METHODS,
347
+ :STATISTIC_GTM_POOL_FALLBACK_LB_METHODS,
348
+ :STATISTIC_GTM_POOL_DROPPED_CONNECTIONS,
349
+ :STATISTIC_GTM_POOL_EXPLICIT_IP,
350
+ :STATISTIC_GTM_POOL_RETURN_TO_DNS,
351
+ :STATISTIC_GTM_POOL_MEMBER_PREFERRED_LB_METHODS,
352
+ :STATISTIC_GTM_POOL_MEMBER_ALTERNATE_LB_METHODS,
353
+ :STATISTIC_GTM_POOL_MEMBER_FALLBACK_LB_METHODS,
354
+ :STATISTIC_GTM_SERVER_VS_PICKS,
355
+ :STATISTIC_GTM_VIRTUAL_SERVER_PICKS,
356
+ :STATISTIC_GTM_WIDEIP_REQUESTS,
357
+ :STATISTIC_GTM_WIDEIP_RESOLUTIONS,
358
+ :STATISTIC_GTM_WIDEIP_PERSISTED,
359
+ :STATISTIC_GTM_WIDEIP_PREFERRED_LB_METHODS,
360
+ :STATISTIC_GTM_WIDEIP_ALTERNATE_LB_METHODS,
361
+ :STATISTIC_GTM_WIDEIP_FALLBACK_LB_METHODS,
362
+ :STATISTIC_GTM_WIDEIP_DROPPED_CONNECTIONS,
363
+ :STATISTIC_GTM_WIDEIP_EXPLICIT_IP,
364
+ :STATISTIC_GTM_WIDEIP_RETURN_TO_DNS,
365
+ :STATISTIC_GTM_MEMORY_TOTAL_BYTES,
366
+ :STATISTIC_GTM_MEMORY_USED_BYTES,
367
+ :STATISTIC_GTM_IQUERY_RECONNECTS,
368
+ :STATISTIC_GTM_IQUERY_RECEIVED_BYTES,
369
+ :STATISTIC_GTM_IQUERY_SENT_BYTES,
370
+ :STATISTIC_GTM_BACKLOGGED_SENDS,
371
+ :STATISTIC_GTM_DROPPED_BYTES,
372
+ :STATISTIC_GTM_PATH_CURRENT_RTT,
373
+ :STATISTIC_GTM_PATH_AVERAGE_RTT,
374
+ :STATISTIC_GTM_PATH_CURRENT_HOPS,
375
+ :STATISTIC_GTM_PATH_AVERAGE_HOPS,
376
+ :STATISTIC_GTM_PATH_CURRENT_COMPENSATION_RATE,
377
+ :STATISTIC_GTM_PATH_AVERAGE_COMPENSATION_RATE,
378
+ :STATISTIC_GTM_LDNS_REQUESTS,
379
+ :STATISTIC_HTTPCLASS_COOKIE_PERSIST_INSERTS,
380
+ :STATISTIC_HTTPCLASS_2XX_RESPONSES,
381
+ :STATISTIC_HTTPCLASS_3XX_RESPONSES,
382
+ :STATISTIC_HTTPCLASS_4XX_RESPONSES,
383
+ :STATISTIC_HTTPCLASS_5XX_RESPONSES,
384
+ :STATISTIC_HTTPCLASS_TOTAL_REQUESTS,
385
+ :STATISTIC_HTTPCLASS_GET_REQUESTS,
386
+ :STATISTIC_HTTPCLASS_POST_REQUESTS,
387
+ :STATISTIC_HTTPCLASS_V9_REQUESTS,
388
+ :STATISTIC_HTTPCLASS_V10_REQUESTS,
389
+ :STATISTIC_HTTPCLASS_V11_REQUESTS,
390
+ :STATISTIC_HTTPCLASS_V9_RESPONSES,
391
+ :STATISTIC_HTTPCLASS_V10_RESPONSES,
392
+ :STATISTIC_HTTPCLASS_V11_RESPONSES,
393
+ :STATISTIC_HTTPCLASS_MAXIMUM_KEEPALIVE_REQUESTS,
394
+ :STATISTIC_HTTPCLASS_BUCKET_1K_RESPONSES,
395
+ :STATISTIC_HTTPCLASS_BUCKET_4K_RESPONSES,
396
+ :STATISTIC_HTTPCLASS_BUCKET_16K_RESPONSES,
397
+ :STATISTIC_HTTPCLASS_BUCKET_32K_RESPONSES,
398
+ :STATISTIC_HTTPCLASS_BUCKET_64K_RESPONSES,
399
+ :STATISTIC_HTTPCLASS_PRE_COMPRESSION_BYTES,
400
+ :STATISTIC_HTTPCLASS_POST_COMPRESSION_BYTES,
401
+ :STATISTIC_HTTPCLASS_NULL_COMPRESSION_BYTES,
402
+ :STATISTIC_HTTPCLASS_HTML_PRE_COMPRESSION_BYTES,
403
+ :STATISTIC_HTTPCLASS_HTML_POST_COMPRESSION_BYTES,
404
+ :STATISTIC_HTTPCLASS_CSS_PRE_COMPRESSION_BYTES,
405
+ :STATISTIC_HTTPCLASS_CSS_POST_COMPRESSION_BYTES,
406
+ :STATISTIC_HTTPCLASS_JS_PRE_COMPRESSION_BYTES,
407
+ :STATISTIC_HTTPCLASS_JS_POST_COMPRESSION_BYTES,
408
+ :STATISTIC_HTTPCLASS_XML_PRE_COMPRESSION_BYTES,
409
+ :STATISTIC_HTTPCLASS_XML_POST_COMPRESSION_BYTES,
410
+ :STATISTIC_HTTPCLASS_SGML_PRE_COMPRESSION_BYTES,
411
+ :STATISTIC_HTTPCLASS_SGML_POST_COMPRESSION_BYTES,
412
+ :STATISTIC_HTTPCLASS_PLAIN_PRE_COMPRESSION_BYTES,
413
+ :STATISTIC_HTTPCLASS_PLAIN_POST_COMPRESSION_BYTES,
414
+ :STATISTIC_HTTPCLASS_OCTET_PRE_COMPRESSION_BYTES,
415
+ :STATISTIC_HTTPCLASS_OCTET_POST_COMPRESSION_BYTES,
416
+ :STATISTIC_HTTPCLASS_IMAGE_PRE_COMPRESSION_BYTES,
417
+ :STATISTIC_HTTPCLASS_IMAGE_POST_COMPRESSION_BYTES,
418
+ :STATISTIC_HTTPCLASS_VIDEO_PRE_COMPRESSION_BYTES,
419
+ :STATISTIC_HTTPCLASS_VIDEO_POST_COMPRESSION_BYTES,
420
+ :STATISTIC_HTTPCLASS_AUDIO_PRE_COMPRESSION_BYTES,
421
+ :STATISTIC_HTTPCLASS_AUDIO_POST_COMPRESSION_BYTES,
422
+ :STATISTIC_HTTPCLASS_OTHER_PRE_COMPRESSION_BYTES,
423
+ :STATISTIC_HTTPCLASS_OTHER_POST_COMPRESSION_BYTES,
424
+ :STATISTIC_HTTPCLASS_RAM_CACHE_HITS,
425
+ :STATISTIC_HTTPCLASS_RAM_CACHE_MISSES,
426
+ :STATISTIC_HTTPCLASS_RAM_CACHE_TOTAL_MISSES,
427
+ :STATISTIC_HTTPCLASS_RAM_CACHE_HIT_BYTES,
428
+ :STATISTIC_HTTPCLASS_RAM_CACHE_MISS_BYTES,
429
+ :STATISTIC_HTTPCLASS_RAM_CACHE_TOTAL_MISS_BYTES,
430
+ :STATISTIC_SCTP_ACCEPTS,
431
+ :STATISTIC_SCTP_FAILED_ACCEPT,
432
+ :STATISTIC_SCTP_CONNECTIONS,
433
+ :STATISTIC_SCTP_FAILED_CONNECTION,
434
+ :STATISTIC_SCTP_EXPIRED_CONNECTIONS,
435
+ :STATISTIC_SCTP_ABANDONED_CONNECTIONS,
436
+ :STATISTIC_SCTP_RESETS,
437
+ :STATISTIC_SCTP_BAD_CHECKSUMS,
438
+ :STATISTIC_SCTP_COOKIES,
439
+ :STATISTIC_SCTP_BAD_COOKIES,
440
+ :STATISTIC_GTM_LINK_PATHS,
441
+ :STATISTIC_GTM_TOTAL_LDNSES,
442
+ :STATISTIC_GTM_TOTAL_PATHS,
443
+ :STATISTIC_HARDWARE_SYN_COOKIES_GENERATED,
444
+ :STATISTIC_HARDWARE_SYN_COOKIES_DETECTED,
445
+ :STATISTIC_FASTL4_OPEN_CONNECTIONS,
446
+ :STATISTIC_FASTL4_ACCEPTED_CONNECTIONS,
447
+ :STATISTIC_FASTL4_ACCEPT_FAILURES,
448
+ :STATISTIC_FASTL4_EXPIRED_CONNECTIONS,
449
+ :STATISTIC_FASTL4_RECEIVED_BAD_PACKET,
450
+ :STATISTIC_FASTL4_ACCEPTED_ICMP_UNREACH_OR_TCP_RST,
451
+ :STATISTIC_FASTL4_ACCEPTED_TCP_RST_OUT_OF_WIN,
452
+ :STATISTIC_FASTL4_RECEIVED_BAD_CHECKSUMS,
453
+ :STATISTIC_FASTL4_RECEIVED_BAD_TXERR,
454
+ :STATISTIC_FASTL4_RECEIVED_SYN_COOKIES_ISSUED,
455
+ :STATISTIC_FASTL4_RECEIVED_SYN_COOKIES_ACCEPTED,
456
+ :STATISTIC_FASTL4_RECEIVED_SYN_COOKIES_REJECTED,
457
+ :STATISTIC_FASTL4_RECEIVED_SYN_COOKIES_SYN_TO_SERVER_RETRANS,
458
+ :STATISTIC_TM_PID,
459
+ :STATISTIC_TM_CPU,
460
+ :STATISTIC_TM_TMID,
461
+ :STATISTIC_TM_NPUS,
462
+ :STATISTIC_TM_CMP_CONN_REDIRECTED,
463
+ :STATISTIC_CPU_COUNT,
464
+ :STATISTIC_CPU_INFO_CPU_ID,
465
+ :STATISTIC_CPU_INFO_USER,
466
+ :STATISTIC_CPU_INFO_NICED,
467
+ :STATISTIC_CPU_INFO_SYSTEM,
468
+ :STATISTIC_CPU_INFO_IDLE,
469
+ :STATISTIC_CPU_INFO_IRQ,
470
+ :STATISTIC_CPU_INFO_SOFTIRQ,
471
+ :STATISTIC_CPU_INFO_IOWAIT,
472
+ :STATISTIC_CPU_INFO_USAGE_RATIO,
473
+ :STATISTIC_SIP_REQUESTS,
474
+ :STATISTIC_SIP_RESPONSES,
475
+ :STATISTIC_SIP_BAD_MESSAGES,
476
+ :STATISTIC_SIP_DROPS,
477
+ :STATISTIC_CPU_INFO_FIVE_SEC_AVG_USER,
478
+ :STATISTIC_CPU_INFO_FIVE_SEC_AVG_NICED,
479
+ :STATISTIC_CPU_INFO_FIVE_SEC_AVG_SYSTEM,
480
+ :STATISTIC_CPU_INFO_FIVE_SEC_AVG_IDLE,
481
+ :STATISTIC_CPU_INFO_FIVE_SEC_AVG_IRQ,
482
+ :STATISTIC_CPU_INFO_FIVE_SEC_AVG_SOFTIRQ,
483
+ :STATISTIC_CPU_INFO_FIVE_SEC_AVG_IOWAIT,
484
+ :STATISTIC_CPU_INFO_FIVE_SEC_AVG_USAGE_RATIO,
485
+ :STATISTIC_CPU_INFO_ONE_MIN_AVG_USER,
486
+ :STATISTIC_CPU_INFO_ONE_MIN_AVG_NICED,
487
+ :STATISTIC_CPU_INFO_ONE_MIN_AVG_SYSTEM,
488
+ :STATISTIC_CPU_INFO_ONE_MIN_AVG_IDLE,
489
+ :STATISTIC_CPU_INFO_ONE_MIN_AVG_IRQ,
490
+ :STATISTIC_CPU_INFO_ONE_MIN_AVG_SOFTIRQ,
491
+ :STATISTIC_CPU_INFO_ONE_MIN_AVG_IOWAIT,
492
+ :STATISTIC_CPU_INFO_ONE_MIN_AVG_USAGE_RATIO,
493
+ :STATISTIC_CPU_INFO_FIVE_MIN_AVG_USER,
494
+ :STATISTIC_CPU_INFO_FIVE_MIN_AVG_NICED,
495
+ :STATISTIC_CPU_INFO_FIVE_MIN_AVG_SYSTEM,
496
+ :STATISTIC_CPU_INFO_FIVE_MIN_AVG_IDLE,
497
+ :STATISTIC_CPU_INFO_FIVE_MIN_AVG_IRQ,
498
+ :STATISTIC_CPU_INFO_FIVE_MIN_AVG_SOFTIRQ,
499
+ :STATISTIC_CPU_INFO_FIVE_MIN_AVG_IOWAIT,
500
+ :STATISTIC_CPU_INFO_FIVE_MIN_AVG_USAGE_RATIO,
501
+ :STATISTIC_TM_SLOT_ID,
502
+ :STATISTIC_GTM_METRICS_VIRTUAL_SERVER_SCORE,
503
+ :PROFILE_CONTEXT_TYPE_ALL,
504
+ :PROFILE_CONTEXT_TYPE_CLIENT,
505
+ :PROFILE_CONTEXT_TYPE_SERVER ]
506
+ declare_constants contants, StatisticType
507
+ end
508
+ end