icontrol 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/icontrol/arx/export.rb +4 -4
- data/lib/icontrol/arx/file_change_notification.rb +10 -10
- data/lib/icontrol/arx/policy.rb +6 -6
- data/lib/icontrol/arx/share.rb +4 -4
- data/lib/icontrol/arx/volume.rb +2 -2
- data/lib/icontrol/asm/object_params.rb +4 -4
- data/lib/icontrol/asm/policy.rb +36 -36
- data/lib/icontrol/asm/system_configuration.rb +6 -6
- data/lib/icontrol/asm/web_application.rb +10 -10
- data/lib/icontrol/asm/web_application_group.rb +4 -4
- data/lib/icontrol/base.rb +13 -2
- data/lib/icontrol/base/attributable.rb +1 -1
- data/lib/icontrol/base/icontrol_overlay.rb +2 -1
- data/lib/icontrol/base/icontrol_overlay/common.rb +20 -0
- data/lib/icontrol/base/{icontrol → icontrol_overlay}/local_lb/pool.rb +0 -0
- data/lib/icontrol/global_lb/application.rb +12 -12
- data/lib/icontrol/global_lb/data_center.rb +6 -6
- data/lib/icontrol/global_lb/dnssec_key.rb +24 -24
- data/lib/icontrol/global_lb/dnssec_zone.rb +8 -8
- data/lib/icontrol/global_lb/globals.rb +48 -48
- data/lib/icontrol/global_lb/link.rb +34 -34
- data/lib/icontrol/global_lb/monitor.rb +30 -30
- data/lib/icontrol/global_lb/pool.rb +52 -52
- data/lib/icontrol/global_lb/pool_member.rb +34 -34
- data/lib/icontrol/global_lb/region.rb +6 -6
- data/lib/icontrol/global_lb/rule.rb +4 -4
- data/lib/icontrol/global_lb/server.rb +36 -36
- data/lib/icontrol/global_lb/topology.rb +6 -6
- data/lib/icontrol/global_lb/virtual_server.rb +16 -16
- data/lib/icontrol/global_lb/wide_ip.rb +28 -28
- data/lib/icontrol/local_lb/klass.rb +48 -48
- data/lib/icontrol/local_lb/monitor.rb +28 -28
- data/lib/icontrol/local_lb/nat.rb +10 -10
- data/lib/icontrol/local_lb/node_address.rb +22 -22
- data/lib/icontrol/local_lb/pool.rb +42 -42
- data/lib/icontrol/local_lb/pool_member.rb +20 -20
- data/lib/icontrol/local_lb/profile_auth.rb +16 -16
- data/lib/icontrol/local_lb/profile_client_ssl.rb +54 -54
- data/lib/icontrol/local_lb/profile_diameter.rb +10 -10
- data/lib/icontrol/local_lb/profile_dns.rb +4 -4
- data/lib/icontrol/local_lb/profile_fast_http.rb +40 -40
- data/lib/icontrol/local_lb/profile_fast_l4.rb +46 -46
- data/lib/icontrol/local_lb/profile_ftp.rb +8 -8
- data/lib/icontrol/local_lb/profile_http.rb +118 -118
- data/lib/icontrol/local_lb/profile_http_class.rb +28 -28
- data/lib/icontrol/local_lb/profile_iiop.rb +10 -10
- data/lib/icontrol/local_lb/profile_one_connect.rb +12 -12
- data/lib/icontrol/local_lb/profile_persistence.rb +50 -50
- data/lib/icontrol/local_lb/profile_radius.rb +8 -8
- data/lib/icontrol/local_lb/profile_rtsp.rb +26 -26
- data/lib/icontrol/local_lb/profile_sctp.rb +42 -42
- data/lib/icontrol/local_lb/profile_server_ssl.rb +48 -48
- data/lib/icontrol/local_lb/profile_sip.rb +18 -18
- data/lib/icontrol/local_lb/profile_stream.rb +6 -6
- data/lib/icontrol/local_lb/profile_tcp.rb +74 -74
- data/lib/icontrol/local_lb/profile_udp.rb +14 -14
- data/lib/icontrol/local_lb/profile_user_statistic.rb +6 -6
- data/lib/icontrol/local_lb/profile_xml.rb +14 -14
- data/lib/icontrol/local_lb/ram_cache_information.rb +2 -2
- data/lib/icontrol/local_lb/rate_class.rb +122 -122
- data/lib/icontrol/local_lb/rule.rb +4 -4
- data/lib/icontrol/local_lb/snat.rb +14 -14
- data/lib/icontrol/local_lb/snat_pool.rb +6 -6
- data/lib/icontrol/local_lb/snat_pool_member.rb +4 -4
- data/lib/icontrol/local_lb/snat_translation_address.rb +16 -16
- data/lib/icontrol/local_lb/virtual_address.rb +14 -14
- data/lib/icontrol/local_lb/virtual_server.rb +66 -66
- data/lib/icontrol/lt_config/field.rb +24 -24
- data/lib/icontrol/lt_config/klass.rb +4 -4
- data/lib/icontrol/management/ccldap_configuration.rb +38 -38
- data/lib/icontrol/management/change_control.rb +22 -22
- data/lib/icontrol/management/crldp_configuration.rb +14 -14
- data/lib/icontrol/management/crldp_server.rb +8 -8
- data/lib/icontrol/management/event_notification.rb +2 -2
- data/lib/icontrol/management/event_subscription.rb +30 -30
- data/lib/icontrol/management/key_certificate.rb +66 -66
- data/lib/icontrol/management/ldap_configuration.rb +58 -58
- data/lib/icontrol/management/license_administration.rb +8 -8
- data/lib/icontrol/management/named.rb +16 -16
- data/lib/icontrol/management/ocsp_configuration.rb +6 -6
- data/lib/icontrol/management/ocsp_responder.rb +40 -40
- data/lib/icontrol/management/partition.rb +4 -4
- data/lib/icontrol/management/provision.rb +8 -8
- data/lib/icontrol/management/radius_configuration.rb +16 -16
- data/lib/icontrol/management/radius_server.rb +8 -8
- data/lib/icontrol/management/resource_record.rb +76 -76
- data/lib/icontrol/management/snmp_configuration.rb +142 -142
- data/lib/icontrol/management/tacacs_configuration.rb +20 -20
- data/lib/icontrol/management/user_management.rb +34 -34
- data/lib/icontrol/management/view.rb +8 -8
- data/lib/icontrol/management/zone.rb +14 -14
- data/lib/icontrol/networking/admin_ip.rb +30 -30
- data/lib/icontrol/networking/arp.rb +4 -4
- data/lib/icontrol/networking/i_session_advertised_route.rb +8 -8
- data/lib/icontrol/networking/i_session_local_interface.rb +14 -14
- data/lib/icontrol/networking/i_session_peer_discovery.rb +16 -16
- data/lib/icontrol/networking/i_session_remote_interface.rb +20 -20
- data/lib/icontrol/networking/interfaces.rb +26 -26
- data/lib/icontrol/networking/packet_filter.rb +14 -14
- data/lib/icontrol/networking/packet_filter_globals.rb +8 -8
- data/lib/icontrol/networking/port_mirror.rb +6 -6
- data/lib/icontrol/networking/profile_gre.rb +6 -6
- data/lib/icontrol/networking/profile_ipip.rb +2 -2
- data/lib/icontrol/networking/profile_wccpgre.rb +10 -10
- data/lib/icontrol/networking/route_domain.rb +12 -12
- data/lib/icontrol/networking/route_table.rb +22 -22
- data/lib/icontrol/networking/self_ip.rb +10 -10
- data/lib/icontrol/networking/self_ip_port_lockdown.rb +6 -6
- data/lib/icontrol/networking/stp_instance.rb +22 -22
- data/lib/icontrol/networking/trunk.rb +20 -20
- data/lib/icontrol/networking/tunnel.rb +14 -14
- data/lib/icontrol/networking/vlan.rb +26 -26
- data/lib/icontrol/networking/vlan_group.rb +28 -28
- data/lib/icontrol/system/cluster.rb +22 -22
- data/lib/icontrol/system/config_sync.rb +26 -26
- data/lib/icontrol/system/disk.rb +18 -18
- data/lib/icontrol/system/inet.rb +10 -10
- data/lib/icontrol/system/internal.rb +2 -2
- data/lib/icontrol/system/services.rb +10 -10
- data/lib/icontrol/system/software_management.rb +20 -20
- data/lib/icontrol/system/statistics.rb +22 -22
- data/lib/icontrol/system/system_info.rb +8 -8
- data/lib/icontrol/web_accelerator/applications.rb +4 -4
- data/lib/icontrol/web_accelerator/policies.rb +2 -2
- data/spec/icontrol/base/struct_spec.rb +11 -0
- data/spec/icontrol/common_spec.rb +11 -0
- metadata +9 -4
@@ -17,8 +17,8 @@ module IControl::LocalLB
|
|
17
17
|
# @param [Hash] opts
|
18
18
|
# @option opts [IControl::LocalLB::MatchPatternString[]] :patterns The lists of patterns (regular expressions or globs) to be added to the cookie match pattern list.
|
19
19
|
def add_cookie_match_pattern(opts)
|
20
|
-
check_params(opts,[:patterns])
|
21
|
-
super
|
20
|
+
opts = check_params(opts,[:patterns])
|
21
|
+
super(opts)
|
22
22
|
end
|
23
23
|
|
24
24
|
##
|
@@ -30,8 +30,8 @@ module IControl::LocalLB
|
|
30
30
|
# @param [Hash] opts
|
31
31
|
# @option opts [IControl::LocalLB::MatchPatternString[]] :patterns The lists of patterns (regular expressions or globs) to be added to the host match pattern list.
|
32
32
|
def add_header_match_pattern(opts)
|
33
|
-
check_params(opts,[:patterns])
|
34
|
-
super
|
33
|
+
opts = check_params(opts,[:patterns])
|
34
|
+
super(opts)
|
35
35
|
end
|
36
36
|
|
37
37
|
##
|
@@ -43,8 +43,8 @@ module IControl::LocalLB
|
|
43
43
|
# @param [Hash] opts
|
44
44
|
# @option opts [IControl::LocalLB::MatchPatternString[]] :patterns The lists of patterns (regular expressions or globs) to be added to the host match pattern list.
|
45
45
|
def add_host_match_pattern(opts)
|
46
|
-
check_params(opts,[:patterns])
|
47
|
-
super
|
46
|
+
opts = check_params(opts,[:patterns])
|
47
|
+
super(opts)
|
48
48
|
end
|
49
49
|
|
50
50
|
##
|
@@ -56,8 +56,8 @@ module IControl::LocalLB
|
|
56
56
|
# @param [Hash] opts
|
57
57
|
# @option opts [IControl::LocalLB::MatchPatternString[]] :patterns The lists of patterns (regular expressions or globs) to be added to the URI path match pattern list.
|
58
58
|
def add_path_match_pattern(opts)
|
59
|
-
check_params(opts,[:patterns])
|
60
|
-
super
|
59
|
+
opts = check_params(opts,[:patterns])
|
60
|
+
super(opts)
|
61
61
|
end
|
62
62
|
|
63
63
|
##
|
@@ -266,8 +266,8 @@ module IControl::LocalLB
|
|
266
266
|
# @param [Hash] opts
|
267
267
|
# @option opts [IControl::LocalLB::MatchPatternString[]] :patterns The lists of patterns (regular expressions or globs) to be removed from the cookie match pattern list.
|
268
268
|
def remove_cookie_match_pattern(opts)
|
269
|
-
check_params(opts,[:patterns])
|
270
|
-
super
|
269
|
+
opts = check_params(opts,[:patterns])
|
270
|
+
super(opts)
|
271
271
|
end
|
272
272
|
|
273
273
|
##
|
@@ -279,8 +279,8 @@ module IControl::LocalLB
|
|
279
279
|
# @param [Hash] opts
|
280
280
|
# @option opts [IControl::LocalLB::MatchPatternString[]] :patterns The lists of patterns (regular expressions or globs) to be added to the host match pattern list.
|
281
281
|
def remove_header_match_pattern(opts)
|
282
|
-
check_params(opts,[:patterns])
|
283
|
-
super
|
282
|
+
opts = check_params(opts,[:patterns])
|
283
|
+
super(opts)
|
284
284
|
end
|
285
285
|
|
286
286
|
##
|
@@ -292,8 +292,8 @@ module IControl::LocalLB
|
|
292
292
|
# @param [Hash] opts
|
293
293
|
# @option opts [IControl::LocalLB::MatchPatternString[]] :patterns The lists of patterns (regular expressions or globs) to be removed from the host match pattern list.
|
294
294
|
def remove_host_match_pattern(opts)
|
295
|
-
check_params(opts,[:patterns])
|
296
|
-
super
|
295
|
+
opts = check_params(opts,[:patterns])
|
296
|
+
super(opts)
|
297
297
|
end
|
298
298
|
|
299
299
|
##
|
@@ -305,8 +305,8 @@ module IControl::LocalLB
|
|
305
305
|
# @param [Hash] opts
|
306
306
|
# @option opts [IControl::LocalLB::MatchPatternString[]] :patterns The lists of patterns (regular expressions or globs) to be removed from the URI path match pattern list.
|
307
307
|
def remove_path_match_pattern(opts)
|
308
|
-
check_params(opts,[:patterns])
|
309
|
-
super
|
308
|
+
opts = check_params(opts,[:patterns])
|
309
|
+
super(opts)
|
310
310
|
end
|
311
311
|
|
312
312
|
##
|
@@ -329,8 +329,8 @@ module IControl::LocalLB
|
|
329
329
|
# @param [Hash] opts
|
330
330
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states to set.
|
331
331
|
def set_application_security_module_enabled_state(opts)
|
332
|
-
check_params(opts,[:states])
|
333
|
-
super
|
332
|
+
opts = check_params(opts,[:states])
|
333
|
+
super(opts)
|
334
334
|
end
|
335
335
|
|
336
336
|
##
|
@@ -383,8 +383,8 @@ module IControl::LocalLB
|
|
383
383
|
# @param [Hash] opts
|
384
384
|
# @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
|
385
385
|
def set_default_profile(opts)
|
386
|
-
check_params(opts,[:defaults])
|
387
|
-
super
|
386
|
+
opts = check_params(opts,[:defaults])
|
387
|
+
super(opts)
|
388
388
|
end
|
389
389
|
|
390
390
|
##
|
@@ -396,8 +396,8 @@ module IControl::LocalLB
|
|
396
396
|
# @param [Hash] opts
|
397
397
|
# @option opts [IControl::LocalLB::ProfileString] :pool_names The pool names.
|
398
398
|
def set_pool_name(opts)
|
399
|
-
check_params(opts,[:pool_names])
|
400
|
-
super
|
399
|
+
opts = check_params(opts,[:pool_names])
|
400
|
+
super(opts)
|
401
401
|
end
|
402
402
|
|
403
403
|
##
|
@@ -411,8 +411,8 @@ module IControl::LocalLB
|
|
411
411
|
# @param [Hash] opts
|
412
412
|
# @option opts [IControl::LocalLB::ProfileString] :redirect_locations The new locations to redirect to.
|
413
413
|
def set_redirect_location(opts)
|
414
|
-
check_params(opts,[:redirect_locations])
|
415
|
-
super
|
414
|
+
opts = check_params(opts,[:redirect_locations])
|
415
|
+
super(opts)
|
416
416
|
end
|
417
417
|
|
418
418
|
##
|
@@ -424,8 +424,8 @@ module IControl::LocalLB
|
|
424
424
|
# @param [Hash] opts
|
425
425
|
# @option opts [IControl::LocalLB::ProfileString] :urls The URLs to rewrite.
|
426
426
|
def set_rewrite_url(opts)
|
427
|
-
check_params(opts,[:urls])
|
428
|
-
super
|
427
|
+
opts = check_params(opts,[:urls])
|
428
|
+
super(opts)
|
429
429
|
end
|
430
430
|
|
431
431
|
##
|
@@ -437,8 +437,8 @@ module IControl::LocalLB
|
|
437
437
|
# @param [Hash] opts
|
438
438
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states to set.
|
439
439
|
def set_web_accelerator_module_enabled_state(opts)
|
440
|
-
check_params(opts,[:states])
|
441
|
-
super
|
440
|
+
opts = check_params(opts,[:states])
|
441
|
+
super(opts)
|
442
442
|
end
|
443
443
|
|
444
444
|
##
|
@@ -166,8 +166,8 @@ module IControl::LocalLB
|
|
166
166
|
# @param [Hash] opts
|
167
167
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified profiles.
|
168
168
|
def set_abort_on_timeout_state(opts)
|
169
|
-
check_params(opts,[:states])
|
170
|
-
super
|
169
|
+
opts = check_params(opts,[:states])
|
170
|
+
super(opts)
|
171
171
|
end
|
172
172
|
|
173
173
|
##
|
@@ -180,8 +180,8 @@ module IControl::LocalLB
|
|
180
180
|
# @param [Hash] opts
|
181
181
|
# @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
|
182
182
|
def set_default_profile(opts)
|
183
|
-
check_params(opts,[:defaults])
|
184
|
-
super
|
183
|
+
opts = check_params(opts,[:defaults])
|
184
|
+
super(opts)
|
185
185
|
end
|
186
186
|
|
187
187
|
##
|
@@ -193,8 +193,8 @@ module IControl::LocalLB
|
|
193
193
|
# @param [Hash] opts
|
194
194
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified profiles.
|
195
195
|
def set_persist_object_key_state(opts)
|
196
|
-
check_params(opts,[:states])
|
197
|
-
super
|
196
|
+
opts = check_params(opts,[:states])
|
197
|
+
super(opts)
|
198
198
|
end
|
199
199
|
|
200
200
|
##
|
@@ -206,8 +206,8 @@ module IControl::LocalLB
|
|
206
206
|
# @param [Hash] opts
|
207
207
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified profiles.
|
208
208
|
def set_persist_request_id_state(opts)
|
209
|
-
check_params(opts,[:states])
|
210
|
-
super
|
209
|
+
opts = check_params(opts,[:states])
|
210
|
+
super(opts)
|
211
211
|
end
|
212
212
|
|
213
213
|
##
|
@@ -219,8 +219,8 @@ module IControl::LocalLB
|
|
219
219
|
# @param [Hash] opts
|
220
220
|
# @option opts [IControl::LocalLB::ProfileULong] :timeouts The response timeouts.
|
221
221
|
def set_response_timeout(opts)
|
222
|
-
check_params(opts,[:timeouts])
|
223
|
-
super
|
222
|
+
opts = check_params(opts,[:timeouts])
|
223
|
+
super(opts)
|
224
224
|
end
|
225
225
|
|
226
226
|
##
|
@@ -179,8 +179,8 @@ module IControl::LocalLB
|
|
179
179
|
# @param [Hash] opts
|
180
180
|
# @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
|
181
181
|
def set_default_profile(opts)
|
182
|
-
check_params(opts,[:defaults])
|
183
|
-
super
|
182
|
+
opts = check_params(opts,[:defaults])
|
183
|
+
super(opts)
|
184
184
|
end
|
185
185
|
|
186
186
|
##
|
@@ -192,8 +192,8 @@ module IControl::LocalLB
|
|
192
192
|
# @param [Hash] opts
|
193
193
|
# @option opts [IControl::LocalLB::ProfileULong] :timeouts The idle timeouts for connections in the specified connection pools.
|
194
194
|
def set_idle_timeout(opts)
|
195
|
-
check_params(opts,[:timeouts])
|
196
|
-
super
|
195
|
+
opts = check_params(opts,[:timeouts])
|
196
|
+
super(opts)
|
197
197
|
end
|
198
198
|
|
199
199
|
##
|
@@ -205,8 +205,8 @@ module IControl::LocalLB
|
|
205
205
|
# @param [Hash] opts
|
206
206
|
# @option opts [IControl::LocalLB::ProfileULong] :maximum_ages The maximum age (in seconds) after which a connection should not be reused.
|
207
207
|
def set_maximum_age(opts)
|
208
|
-
check_params(opts,[:maximum_ages])
|
209
|
-
super
|
208
|
+
opts = check_params(opts,[:maximum_ages])
|
209
|
+
super(opts)
|
210
210
|
end
|
211
211
|
|
212
212
|
##
|
@@ -218,8 +218,8 @@ module IControl::LocalLB
|
|
218
218
|
# @param [Hash] opts
|
219
219
|
# @option opts [IControl::LocalLB::ProfileULong] :maximum_connections The maximum number of connections for the specified OneConnect profiles.
|
220
220
|
def set_maximum_connection(opts)
|
221
|
-
check_params(opts,[:maximum_connections])
|
222
|
-
super
|
221
|
+
opts = check_params(opts,[:maximum_connections])
|
222
|
+
super(opts)
|
223
223
|
end
|
224
224
|
|
225
225
|
##
|
@@ -231,8 +231,8 @@ module IControl::LocalLB
|
|
231
231
|
# @param [Hash] opts
|
232
232
|
# @option opts [IControl::LocalLB::ProfileULong] :maximum_reuses The maximum times the connections in the pool can be reused.
|
233
233
|
def set_maximum_reuse(opts)
|
234
|
-
check_params(opts,[:maximum_reuses])
|
235
|
-
super
|
234
|
+
opts = check_params(opts,[:maximum_reuses])
|
235
|
+
super(opts)
|
236
236
|
end
|
237
237
|
|
238
238
|
##
|
@@ -245,8 +245,8 @@ module IControl::LocalLB
|
|
245
245
|
# @param [Hash] opts
|
246
246
|
# @option opts [IControl::LocalLB::ProfileIPAddress] :source_masks The masks applied to the source addresses to determine eligibility for connection reuse.
|
247
247
|
def set_source_mask(opts)
|
248
|
-
check_params(opts,[:source_masks])
|
249
|
-
super
|
248
|
+
opts = check_params(opts,[:source_masks])
|
249
|
+
super(opts)
|
250
250
|
end
|
251
251
|
|
252
252
|
##
|
@@ -19,8 +19,8 @@ module IControl::LocalLB
|
|
19
19
|
# @param [Hash] opts
|
20
20
|
# @option opts [IControl::LocalLB::PersistenceMode] :modes The persistence modes for the specified profiles.
|
21
21
|
def create(opts)
|
22
|
-
check_params(opts,[:modes])
|
23
|
-
super
|
22
|
+
opts = check_params(opts,[:modes])
|
23
|
+
super(opts)
|
24
24
|
end
|
25
25
|
|
26
26
|
##
|
@@ -378,8 +378,8 @@ module IControl::LocalLB
|
|
378
378
|
# @param [Hash] opts
|
379
379
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified Persistence profiles.
|
380
380
|
def set_across_pool_state(opts)
|
381
|
-
check_params(opts,[:states])
|
382
|
-
super
|
381
|
+
opts = check_params(opts,[:states])
|
382
|
+
super(opts)
|
383
383
|
end
|
384
384
|
|
385
385
|
##
|
@@ -392,8 +392,8 @@ module IControl::LocalLB
|
|
392
392
|
# @param [Hash] opts
|
393
393
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified Persistence profiles.
|
394
394
|
def set_across_service_state(opts)
|
395
|
-
check_params(opts,[:states])
|
396
|
-
super
|
395
|
+
opts = check_params(opts,[:states])
|
396
|
+
super(opts)
|
397
397
|
end
|
398
398
|
|
399
399
|
##
|
@@ -406,8 +406,8 @@ module IControl::LocalLB
|
|
406
406
|
# @param [Hash] opts
|
407
407
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified Persistence profiles.
|
408
408
|
def set_across_virtual_state(opts)
|
409
|
-
check_params(opts,[:states])
|
410
|
-
super
|
409
|
+
opts = check_params(opts,[:states])
|
410
|
+
super(opts)
|
411
411
|
end
|
412
412
|
|
413
413
|
##
|
@@ -420,8 +420,8 @@ module IControl::LocalLB
|
|
420
420
|
# @param [Hash] opts
|
421
421
|
# @option opts [IControl::LocalLB::ProfileULong] :expirations The cookie expirations for the specified Persistence profiles.
|
422
422
|
def set_cookie_expiration(opts)
|
423
|
-
check_params(opts,[:expirations])
|
424
|
-
super
|
423
|
+
opts = check_params(opts,[:expirations])
|
424
|
+
super(opts)
|
425
425
|
end
|
426
426
|
|
427
427
|
##
|
@@ -434,8 +434,8 @@ module IControl::LocalLB
|
|
434
434
|
# @param [Hash] opts
|
435
435
|
# @option opts [IControl::LocalLB::ProfileULong] :lengths The cookie hash lengths for the specified Persistence profiles.
|
436
436
|
def set_cookie_hash_length(opts)
|
437
|
-
check_params(opts,[:lengths])
|
438
|
-
super
|
437
|
+
opts = check_params(opts,[:lengths])
|
438
|
+
super(opts)
|
439
439
|
end
|
440
440
|
|
441
441
|
##
|
@@ -448,8 +448,8 @@ module IControl::LocalLB
|
|
448
448
|
# @param [Hash] opts
|
449
449
|
# @option opts [IControl::LocalLB::ProfileULong] :offsets The cookie hash offsets for the specified Persistence profiles.
|
450
450
|
def set_cookie_hash_offset(opts)
|
451
|
-
check_params(opts,[:offsets])
|
452
|
-
super
|
451
|
+
opts = check_params(opts,[:offsets])
|
452
|
+
super(opts)
|
453
453
|
end
|
454
454
|
|
455
455
|
##
|
@@ -462,8 +462,8 @@ module IControl::LocalLB
|
|
462
462
|
# @param [Hash] opts
|
463
463
|
# @option opts [IControl::LocalLB::ProfileString] :cookie_names The cookie names for the specified Persistence profiles.
|
464
464
|
def set_cookie_name(opts)
|
465
|
-
check_params(opts,[:cookie_names])
|
466
|
-
super
|
465
|
+
opts = check_params(opts,[:cookie_names])
|
466
|
+
super(opts)
|
467
467
|
end
|
468
468
|
|
469
469
|
##
|
@@ -476,8 +476,8 @@ module IControl::LocalLB
|
|
476
476
|
# @param [Hash] opts
|
477
477
|
# @option opts [IControl::LocalLB::ProfileCookiePersistenceMethod] :methods The cookie persistence methods for the specified Persistence profiles.
|
478
478
|
def set_cookie_persistence_method(opts)
|
479
|
-
check_params(opts,[:methods])
|
480
|
-
super
|
479
|
+
opts = check_params(opts,[:methods])
|
480
|
+
super(opts)
|
481
481
|
end
|
482
482
|
|
483
483
|
##
|
@@ -490,8 +490,8 @@ module IControl::LocalLB
|
|
490
490
|
# @param [Hash] opts
|
491
491
|
# @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
|
492
492
|
def set_default_profile(opts)
|
493
|
-
check_params(opts,[:defaults])
|
494
|
-
super
|
493
|
+
opts = check_params(opts,[:defaults])
|
494
|
+
super(opts)
|
495
495
|
end
|
496
496
|
|
497
497
|
##
|
@@ -507,8 +507,8 @@ module IControl::LocalLB
|
|
507
507
|
# @param [Hash] opts
|
508
508
|
# @option opts [IControl::LocalLB::ProfileString] :patterns
|
509
509
|
def set_ending_hash_pattern(opts)
|
510
|
-
check_params(opts,[:patterns])
|
511
|
-
super
|
510
|
+
opts = check_params(opts,[:patterns])
|
511
|
+
super(opts)
|
512
512
|
end
|
513
513
|
|
514
514
|
##
|
@@ -524,8 +524,8 @@ module IControl::LocalLB
|
|
524
524
|
# @param [Hash] opts
|
525
525
|
# @option opts [IControl::LocalLB::ProfileULong] :lengths Hashed payload data length (bytes) for each specified persistence profile (default: 0). If zero, the hashed payload data is not specified by an offset and length.
|
526
526
|
def set_hash_length(opts)
|
527
|
-
check_params(opts,[:lengths])
|
528
|
-
super
|
527
|
+
opts = check_params(opts,[:lengths])
|
528
|
+
super(opts)
|
529
529
|
end
|
530
530
|
|
531
531
|
##
|
@@ -539,8 +539,8 @@ module IControl::LocalLB
|
|
539
539
|
# @param [Hash] opts
|
540
540
|
# @option opts [IControl::LocalLB::ProfilePersistence::ProfilePersistenceHashMethod] :methods Persistence method for each specified profile (default: PERSISTENCE_HASH_DEFAULT)
|
541
541
|
def set_hash_method(opts)
|
542
|
-
check_params(opts,[:methods])
|
543
|
-
super
|
542
|
+
opts = check_params(opts,[:methods])
|
543
|
+
super(opts)
|
544
544
|
end
|
545
545
|
|
546
546
|
##
|
@@ -554,8 +554,8 @@ module IControl::LocalLB
|
|
554
554
|
# @param [Hash] opts
|
555
555
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states Enabled state for more hashing for each specified persistence profile (default: disabled)
|
556
556
|
def set_hash_more_data_state(opts)
|
557
|
-
check_params(opts,[:states])
|
558
|
-
super
|
557
|
+
opts = check_params(opts,[:states])
|
558
|
+
super(opts)
|
559
559
|
end
|
560
560
|
|
561
561
|
##
|
@@ -570,8 +570,8 @@ module IControl::LocalLB
|
|
570
570
|
# @param [Hash] opts
|
571
571
|
# @option opts [IControl::LocalLB::ProfileULong] :offsets Payload data offset (bytes) to the start of the hashed data for each specified persistence profile (default: 0)
|
572
572
|
def set_hash_offset(opts)
|
573
|
-
check_params(opts,[:offsets])
|
574
|
-
super
|
573
|
+
opts = check_params(opts,[:offsets])
|
574
|
+
super(opts)
|
575
575
|
end
|
576
576
|
|
577
577
|
##
|
@@ -584,8 +584,8 @@ module IControl::LocalLB
|
|
584
584
|
# @param [Hash] opts
|
585
585
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified Persistence profiles.
|
586
586
|
def set_map_proxy_state(opts)
|
587
|
-
check_params(opts,[:states])
|
588
|
-
super
|
587
|
+
opts = check_params(opts,[:states])
|
588
|
+
super(opts)
|
589
589
|
end
|
590
590
|
|
591
591
|
##
|
@@ -597,8 +597,8 @@ module IControl::LocalLB
|
|
597
597
|
# @param [Hash] opts
|
598
598
|
# @option opts [IControl::LocalLB::ProfileIPAddress] :masks The masks for the specified Persistence profiles.
|
599
599
|
def set_mask(opts)
|
600
|
-
check_params(opts,[:masks])
|
601
|
-
super
|
600
|
+
opts = check_params(opts,[:masks])
|
601
|
+
super(opts)
|
602
602
|
end
|
603
603
|
|
604
604
|
##
|
@@ -613,8 +613,8 @@ module IControl::LocalLB
|
|
613
613
|
# @param [Hash] opts
|
614
614
|
# @option opts [IControl::LocalLB::ProfileULong] :sizes Maximum hashed data buffer size (bytes) for each specified persistence profile (default: 0)
|
615
615
|
def set_maximum_hash_buffer_size(opts)
|
616
|
-
check_params(opts,[:sizes])
|
617
|
-
super
|
616
|
+
opts = check_params(opts,[:sizes])
|
617
|
+
super(opts)
|
618
618
|
end
|
619
619
|
|
620
620
|
##
|
@@ -626,8 +626,8 @@ module IControl::LocalLB
|
|
626
626
|
# @param [Hash] opts
|
627
627
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states indicating whether to mirror persistence records.
|
628
628
|
def set_mirror_state(opts)
|
629
|
-
check_params(opts,[:states])
|
630
|
-
super
|
629
|
+
opts = check_params(opts,[:states])
|
630
|
+
super(opts)
|
631
631
|
end
|
632
632
|
|
633
633
|
##
|
@@ -640,8 +640,8 @@ module IControl::LocalLB
|
|
640
640
|
# @param [Hash] opts
|
641
641
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified Persistence profiles.
|
642
642
|
def set_msrdp_without_session_directory_state(opts)
|
643
|
-
check_params(opts,[:states])
|
644
|
-
super
|
643
|
+
opts = check_params(opts,[:states])
|
644
|
+
super(opts)
|
645
645
|
end
|
646
646
|
|
647
647
|
##
|
@@ -653,8 +653,8 @@ module IControl::LocalLB
|
|
653
653
|
# @param [Hash] opts
|
654
654
|
# @option opts [IControl::LocalLB::ProfilePersistenceMode] :modes The persistence modes for the specified profiles.
|
655
655
|
def set_persistence_mode(opts)
|
656
|
-
check_params(opts,[:modes])
|
657
|
-
super
|
656
|
+
opts = check_params(opts,[:modes])
|
657
|
+
super(opts)
|
658
658
|
end
|
659
659
|
|
660
660
|
##
|
@@ -667,8 +667,8 @@ module IControl::LocalLB
|
|
667
667
|
# @param [Hash] opts
|
668
668
|
# @option opts [IControl::LocalLB::ProfileString] :rules The UIE rules for the specified Persistence profiles.
|
669
669
|
def set_rule(opts)
|
670
|
-
check_params(opts,[:rules])
|
671
|
-
super
|
670
|
+
opts = check_params(opts,[:rules])
|
671
|
+
super(opts)
|
672
672
|
end
|
673
673
|
|
674
674
|
##
|
@@ -681,8 +681,8 @@ module IControl::LocalLB
|
|
681
681
|
# @param [Hash] opts
|
682
682
|
# @option opts [IControl::LocalLB::ProfileString] :sip_info_headers The sip_info headers for the specified Persistence profiles. Possible values are: 'Call-ID', 'To', 'From', 'SIP-ETag', 'Subject'.
|
683
683
|
def set_sip_info(opts)
|
684
|
-
check_params(opts,[:sip_info_headers])
|
685
|
-
super
|
684
|
+
opts = check_params(opts,[:sip_info_headers])
|
685
|
+
super(opts)
|
686
686
|
end
|
687
687
|
|
688
688
|
##
|
@@ -697,8 +697,8 @@ module IControl::LocalLB
|
|
697
697
|
# @param [Hash] opts
|
698
698
|
# @option opts [IControl::LocalLB::ProfileString] :patterns
|
699
699
|
def set_starting_hash_pattern(opts)
|
700
|
-
check_params(opts,[:patterns])
|
701
|
-
super
|
700
|
+
opts = check_params(opts,[:patterns])
|
701
|
+
super(opts)
|
702
702
|
end
|
703
703
|
|
704
704
|
##
|
@@ -711,8 +711,8 @@ module IControl::LocalLB
|
|
711
711
|
# @param [Hash] opts
|
712
712
|
# @option opts [IControl::LocalLB::ProfileULong] :timeouts The idle timeouts for the specified Persistence profiles.
|
713
713
|
def set_timeout(opts)
|
714
|
-
check_params(opts,[:timeouts])
|
715
|
-
super
|
714
|
+
opts = check_params(opts,[:timeouts])
|
715
|
+
super(opts)
|
716
716
|
end
|
717
717
|
|
718
718
|
##
|