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
@@ -42,8 +42,8 @@ module IControl::LocalLB
|
|
42
42
|
# @option opts [IControl::LocalLB::Monitor::MonitorTemplate] :templates The names and types of the new monitor templates to create.
|
43
43
|
# @option opts [IControl::LocalLB::Monitor::CommonAttributes] :template_attributes The basic template attributes used to create the new template.
|
44
44
|
def create_template(opts)
|
45
|
-
check_params(opts,[:templates,:template_attributes])
|
46
|
-
super
|
45
|
+
opts = check_params(opts,[:templates,:template_attributes])
|
46
|
+
super(opts)
|
47
47
|
end
|
48
48
|
|
49
49
|
##
|
@@ -76,8 +76,8 @@ module IControl::LocalLB
|
|
76
76
|
# @param [Hash] opts
|
77
77
|
# @option opts [IControl::LocalLB::MonitorInstance] :instances The monitor instances to get enable/disable states.
|
78
78
|
def instance_state(opts)
|
79
|
-
check_params(opts,[:instances])
|
80
|
-
super
|
79
|
+
opts = check_params(opts,[:instances])
|
80
|
+
super(opts)
|
81
81
|
end
|
82
82
|
|
83
83
|
##
|
@@ -139,8 +139,8 @@ module IControl::LocalLB
|
|
139
139
|
# @param [Hash] opts
|
140
140
|
# @option opts [IControl::LocalLB::Monitor::IntPropertyType] :property_types The property types from which to get values for the monitor templates.
|
141
141
|
def template_integer_property(opts)
|
142
|
-
check_params(opts,[:property_types])
|
143
|
-
super
|
142
|
+
opts = check_params(opts,[:property_types])
|
143
|
+
super(opts)
|
144
144
|
end
|
145
145
|
|
146
146
|
##
|
@@ -186,8 +186,8 @@ module IControl::LocalLB
|
|
186
186
|
# @param [Hash] opts
|
187
187
|
# @option opts [IControl::LocalLB::Monitor::StrPropertyType] :property_types The property types from which to get values for the monitor templates.
|
188
188
|
def template_string_property(opts)
|
189
|
-
check_params(opts,[:property_types])
|
190
|
-
super
|
189
|
+
opts = check_params(opts,[:property_types])
|
190
|
+
super(opts)
|
191
191
|
end
|
192
192
|
|
193
193
|
##
|
@@ -222,8 +222,8 @@ module IControl::LocalLB
|
|
222
222
|
# @param [Hash] opts
|
223
223
|
# @option opts [String] :property_names The user-defined string property names from which to get values for the monitor templates.
|
224
224
|
def template_user_defined_string_property(opts)
|
225
|
-
check_params(opts,[:property_names])
|
226
|
-
super
|
225
|
+
opts = check_params(opts,[:property_names])
|
226
|
+
super(opts)
|
227
227
|
end
|
228
228
|
|
229
229
|
##
|
@@ -278,8 +278,8 @@ module IControl::LocalLB
|
|
278
278
|
# @param [Hash] opts
|
279
279
|
# @option opts [IControl::LocalLB::MonitorInstanceState] :instance_states The monitor instances and their enabled/disabled states.
|
280
280
|
def set_instance_state(opts)
|
281
|
-
check_params(opts,[:instance_states])
|
282
|
-
super
|
281
|
+
opts = check_params(opts,[:instance_states])
|
282
|
+
super(opts)
|
283
283
|
end
|
284
284
|
|
285
285
|
##
|
@@ -293,8 +293,8 @@ module IControl::LocalLB
|
|
293
293
|
# @param [Hash] opts
|
294
294
|
# @option opts [IControl::Common::EnabledState] :states The manual resume states of the monitor templates.
|
295
295
|
def set_manual_resume_state(opts)
|
296
|
-
check_params(opts,[:states])
|
297
|
-
super
|
296
|
+
opts = check_params(opts,[:states])
|
297
|
+
super(opts)
|
298
298
|
end
|
299
299
|
|
300
300
|
##
|
@@ -308,8 +308,8 @@ module IControl::LocalLB
|
|
308
308
|
# @param [Hash] opts
|
309
309
|
# @option opts [IControl::LocalLB::MonitorIPPort] :destinations The destinations to set for the specified monitor templates.
|
310
310
|
def set_template_destination(opts)
|
311
|
-
check_params(opts,[:destinations])
|
312
|
-
super
|
311
|
+
opts = check_params(opts,[:destinations])
|
312
|
+
super(opts)
|
313
313
|
end
|
314
314
|
|
315
315
|
##
|
@@ -321,8 +321,8 @@ module IControl::LocalLB
|
|
321
321
|
# @param [Hash] opts
|
322
322
|
# @option opts [IControl::LocalLB::Monitor::IntegerValue] :values The property types and values to set for the monitor templates.
|
323
323
|
def set_template_integer_property(opts)
|
324
|
-
check_params(opts,[:values])
|
325
|
-
super
|
324
|
+
opts = check_params(opts,[:values])
|
325
|
+
super(opts)
|
326
326
|
end
|
327
327
|
|
328
328
|
##
|
@@ -335,8 +335,8 @@ module IControl::LocalLB
|
|
335
335
|
# @param [Hash] opts
|
336
336
|
# @option opts [boolean] :reverse_modes The reverse mode states of the monitor templates.
|
337
337
|
def set_template_reverse_mode(opts)
|
338
|
-
check_params(opts,[:reverse_modes])
|
339
|
-
super
|
338
|
+
opts = check_params(opts,[:reverse_modes])
|
339
|
+
super(opts)
|
340
340
|
end
|
341
341
|
|
342
342
|
##
|
@@ -351,8 +351,8 @@ module IControl::LocalLB
|
|
351
351
|
# @param [Hash] opts
|
352
352
|
# @option opts [IControl::Common::EnabledState] :states The enabled/disabled states of the monitor templates.
|
353
353
|
def set_template_state(opts)
|
354
|
-
check_params(opts,[:states])
|
355
|
-
super
|
354
|
+
opts = check_params(opts,[:states])
|
355
|
+
super(opts)
|
356
356
|
end
|
357
357
|
|
358
358
|
##
|
@@ -364,8 +364,8 @@ module IControl::LocalLB
|
|
364
364
|
# @param [Hash] opts
|
365
365
|
# @option opts [IControl::LocalLB::Monitor::StringValue] :values The property types and values to set for the monitor templates.
|
366
366
|
def set_template_string_property(opts)
|
367
|
-
check_params(opts,[:values])
|
368
|
-
super
|
367
|
+
opts = check_params(opts,[:values])
|
368
|
+
super(opts)
|
369
369
|
end
|
370
370
|
|
371
371
|
##
|
@@ -378,8 +378,8 @@ module IControl::LocalLB
|
|
378
378
|
# @param [Hash] opts
|
379
379
|
# @option opts [boolean] :transparent_modes The transparent mode states of the monitor templates.
|
380
380
|
def set_template_transparent_mode(opts)
|
381
|
-
check_params(opts,[:transparent_modes])
|
382
|
-
super
|
381
|
+
opts = check_params(opts,[:transparent_modes])
|
382
|
+
super(opts)
|
383
383
|
end
|
384
384
|
|
385
385
|
##
|
@@ -391,8 +391,8 @@ module IControl::LocalLB
|
|
391
391
|
# @param [Hash] opts
|
392
392
|
# @option opts [IControl::LocalLB::Monitor::UserDefinedStringValue] :values The string property names and values to set for the monitor templates.
|
393
393
|
def set_template_user_defined_string_property(opts)
|
394
|
-
check_params(opts,[:values])
|
395
|
-
super
|
394
|
+
opts = check_params(opts,[:values])
|
395
|
+
super(opts)
|
396
396
|
end
|
397
397
|
|
398
398
|
##
|
@@ -22,8 +22,8 @@ module IControl::LocalLB
|
|
22
22
|
# @option opts [long] :unit_ids The controller for the NATs in an active-active, redundant load balancer configuration.
|
23
23
|
# @option opts [IControl::Common::VLANFilterList] :vlans The list of VLANs used to filter the client connections on ingress VLAN.
|
24
24
|
def create(opts)
|
25
|
-
check_params(opts,[:unit_ids,:vlans])
|
26
|
-
super
|
25
|
+
opts = check_params(opts,[:unit_ids,:vlans])
|
26
|
+
super(opts)
|
27
27
|
end
|
28
28
|
|
29
29
|
##
|
@@ -151,8 +151,8 @@ module IControl::LocalLB
|
|
151
151
|
# @param [Hash] opts
|
152
152
|
# @option opts [IControl::Common::EnabledState] :states The ARP states to set.
|
153
153
|
def set_arp_state(opts)
|
154
|
-
check_params(opts,[:states])
|
155
|
-
super
|
154
|
+
opts = check_params(opts,[:states])
|
155
|
+
super(opts)
|
156
156
|
end
|
157
157
|
|
158
158
|
##
|
@@ -164,8 +164,8 @@ module IControl::LocalLB
|
|
164
164
|
# @param [Hash] opts
|
165
165
|
# @option opts [IControl::Common::EnabledState] :states Enable or disable the specified SNAT translation addresses.
|
166
166
|
def set_enabled_state(opts)
|
167
|
-
check_params(opts,[:states])
|
168
|
-
super
|
167
|
+
opts = check_params(opts,[:states])
|
168
|
+
super(opts)
|
169
169
|
end
|
170
170
|
|
171
171
|
##
|
@@ -177,8 +177,8 @@ module IControl::LocalLB
|
|
177
177
|
# @param [Hash] opts
|
178
178
|
# @option opts [long] :unit_ids The Unit IDs to set.
|
179
179
|
def set_unit_id(opts)
|
180
|
-
check_params(opts,[:unit_ids])
|
181
|
-
super
|
180
|
+
opts = check_params(opts,[:unit_ids])
|
181
|
+
super(opts)
|
182
182
|
end
|
183
183
|
|
184
184
|
##
|
@@ -190,8 +190,8 @@ module IControl::LocalLB
|
|
190
190
|
# @param [Hash] opts
|
191
191
|
# @option opts [IControl::Common::VLANFilterList] :vlans The VLAN names to add to the list of enabled/disabled VLANs .
|
192
192
|
def set_vlan(opts)
|
193
|
-
check_params(opts,[:vlans])
|
194
|
-
super
|
193
|
+
opts = check_params(opts,[:vlans])
|
194
|
+
super(opts)
|
195
195
|
end
|
196
196
|
|
197
197
|
##
|
@@ -22,8 +22,8 @@ module IControl::LocalLB
|
|
22
22
|
# @param [Hash] opts
|
23
23
|
# @option opts [long] :limits The connection limits.
|
24
24
|
def create(opts)
|
25
|
-
check_params(opts,[:limits])
|
26
|
-
super
|
25
|
+
opts = check_params(opts,[:limits])
|
26
|
+
super(opts)
|
27
27
|
end
|
28
28
|
|
29
29
|
##
|
@@ -101,8 +101,8 @@ module IControl::LocalLB
|
|
101
101
|
# @param [Hash] opts
|
102
102
|
# @option opts [IControl::LocalLB::MonitorIP] :addresses The node addresses.
|
103
103
|
def monitor_association(opts)
|
104
|
-
check_params(opts,[:addresses])
|
105
|
-
super
|
104
|
+
opts = check_params(opts,[:addresses])
|
105
|
+
super(opts)
|
106
106
|
end
|
107
107
|
|
108
108
|
##
|
@@ -115,8 +115,8 @@ module IControl::LocalLB
|
|
115
115
|
# @param [Hash] opts
|
116
116
|
# @option opts [IControl::LocalLB::MonitorIP] :addresses The node addresses.
|
117
117
|
def monitor_instance(opts)
|
118
|
-
check_params(opts,[:addresses])
|
119
|
-
super
|
118
|
+
opts = check_params(opts,[:addresses])
|
119
|
+
super(opts)
|
120
120
|
end
|
121
121
|
|
122
122
|
##
|
@@ -216,8 +216,8 @@ module IControl::LocalLB
|
|
216
216
|
# @param [Hash] opts
|
217
217
|
# @option opts [IControl::LocalLB::NodeAddress::MonitorAssociationRemoval] :monitor_associations The monitor association removal rules that will be used to remove the monitor associations for the specified node addresses.
|
218
218
|
def remove_monitor_association(opts)
|
219
|
-
check_params(opts,[:monitor_associations])
|
220
|
-
super
|
219
|
+
opts = check_params(opts,[:monitor_associations])
|
220
|
+
super(opts)
|
221
221
|
end
|
222
222
|
|
223
223
|
##
|
@@ -239,8 +239,8 @@ module IControl::LocalLB
|
|
239
239
|
# @param [Hash] opts
|
240
240
|
# @option opts [IControl::Common::ULong64] :limits The limits for the specified node addresses.
|
241
241
|
def set_connection_limit(opts)
|
242
|
-
check_params(opts,[:limits])
|
243
|
-
super
|
242
|
+
opts = check_params(opts,[:limits])
|
243
|
+
super(opts)
|
244
244
|
end
|
245
245
|
|
246
246
|
##
|
@@ -252,8 +252,8 @@ module IControl::LocalLB
|
|
252
252
|
# @param [Hash] opts
|
253
253
|
# @option opts [short] :dynamic_ratios The dynamic ratios for the specified node addresses.
|
254
254
|
def set_dynamic_ratio(opts)
|
255
|
-
check_params(opts,[:dynamic_ratios])
|
256
|
-
super
|
255
|
+
opts = check_params(opts,[:dynamic_ratios])
|
256
|
+
super(opts)
|
257
257
|
end
|
258
258
|
|
259
259
|
##
|
@@ -266,8 +266,8 @@ module IControl::LocalLB
|
|
266
266
|
# @param [Hash] opts
|
267
267
|
# @option opts [IControl::LocalLB::NodeAddress::MonitorAssociation] :monitor_associations The monitor associations that will be used to evaluate the specified node addresses.
|
268
268
|
def set_monitor_association(opts)
|
269
|
-
check_params(opts,[:monitor_associations])
|
270
|
-
super
|
269
|
+
opts = check_params(opts,[:monitor_associations])
|
270
|
+
super(opts)
|
271
271
|
end
|
272
272
|
|
273
273
|
##
|
@@ -280,8 +280,8 @@ module IControl::LocalLB
|
|
280
280
|
# @param [Hash] opts
|
281
281
|
# @option opts [IControl::Common::EnabledState] :states The availability states of the specified node addresses.
|
282
282
|
def set_monitor_state(opts)
|
283
|
-
check_params(opts,[:states])
|
284
|
-
super
|
283
|
+
opts = check_params(opts,[:states])
|
284
|
+
super(opts)
|
285
285
|
end
|
286
286
|
|
287
287
|
##
|
@@ -293,8 +293,8 @@ module IControl::LocalLB
|
|
293
293
|
# @param [Hash] opts
|
294
294
|
# @option opts [long] :ratios The ratios to be set.
|
295
295
|
def set_ratio(opts)
|
296
|
-
check_params(opts,[:ratios])
|
297
|
-
super
|
296
|
+
opts = check_params(opts,[:ratios])
|
297
|
+
super(opts)
|
298
298
|
end
|
299
299
|
|
300
300
|
##
|
@@ -306,8 +306,8 @@ module IControl::LocalLB
|
|
306
306
|
# @param [Hash] opts
|
307
307
|
# @option opts [String] :names The screen names to be set.
|
308
308
|
def set_screen_name(opts)
|
309
|
-
check_params(opts,[:names])
|
310
|
-
super
|
309
|
+
opts = check_params(opts,[:names])
|
310
|
+
super(opts)
|
311
311
|
end
|
312
312
|
|
313
313
|
##
|
@@ -319,8 +319,8 @@ module IControl::LocalLB
|
|
319
319
|
# @param [Hash] opts
|
320
320
|
# @option opts [IControl::Common::EnabledState] :states The new session enabled states of the specified node addresses.
|
321
321
|
def set_session_enabled_state(opts)
|
322
|
-
check_params(opts,[:states])
|
323
|
-
super
|
322
|
+
opts = check_params(opts,[:states])
|
323
|
+
super(opts)
|
324
324
|
end
|
325
325
|
|
326
326
|
##
|
@@ -21,8 +21,8 @@ module IControl::LocalLB
|
|
21
21
|
# @param [Hash] opts
|
22
22
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The members to add to the pools.
|
23
23
|
def add_member(opts)
|
24
|
-
check_params(opts,[:members])
|
25
|
-
super
|
24
|
+
opts = check_params(opts,[:members])
|
25
|
+
super(opts)
|
26
26
|
end
|
27
27
|
|
28
28
|
##
|
@@ -35,8 +35,8 @@ module IControl::LocalLB
|
|
35
35
|
# @option opts [IControl::LocalLB::LBMethod] :lb_methods The load balancing methods to use for the pools.
|
36
36
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The lists of initial members of the pools.
|
37
37
|
def create(opts)
|
38
|
-
check_params(opts,[:lb_methods,:members])
|
39
|
-
super
|
38
|
+
opts = check_params(opts,[:lb_methods,:members])
|
39
|
+
super(opts)
|
40
40
|
end
|
41
41
|
|
42
42
|
##
|
@@ -58,8 +58,8 @@ module IControl::LocalLB
|
|
58
58
|
# @param [Hash] opts
|
59
59
|
# @option opts [IControl::LocalLB::PersistenceMode] :persistence_modes The persistence modes from which we delete the persistence records. If the specified persistence mode is PERSIST_MODE_NONE, then all persistence records regardless of persistence mode will be deleted for that pool.
|
60
60
|
def delete_persistence_record(opts)
|
61
|
-
check_params(opts,[:persistence_modes])
|
62
|
-
super
|
61
|
+
opts = check_params(opts,[:persistence_modes])
|
62
|
+
super(opts)
|
63
63
|
end
|
64
64
|
|
65
65
|
##
|
@@ -294,8 +294,8 @@ module IControl::LocalLB
|
|
294
294
|
# @param [Hash] opts
|
295
295
|
# @option opts [IControl::LocalLB::PersistenceMode] :persistence_modes The persistence modes from which we retrieve the persistence records. If the specified persistence mode is PERSIST_MODE_NONE, then all persistence records regardless of persistence mode will be returned for that pool.
|
296
296
|
def persistence_record(opts)
|
297
|
-
check_params(opts,[:persistence_modes])
|
298
|
-
super
|
297
|
+
opts = check_params(opts,[:persistence_modes])
|
298
|
+
super(opts)
|
299
299
|
end
|
300
300
|
|
301
301
|
##
|
@@ -371,8 +371,8 @@ module IControl::LocalLB
|
|
371
371
|
# @param [Hash] opts
|
372
372
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The members to delete from the pools.
|
373
373
|
def remove_member(opts)
|
374
|
-
check_params(opts,[:members])
|
375
|
-
super
|
374
|
+
opts = check_params(opts,[:members])
|
375
|
+
super(opts)
|
376
376
|
end
|
377
377
|
|
378
378
|
##
|
@@ -406,8 +406,8 @@ module IControl::LocalLB
|
|
406
406
|
# @param [Hash] opts
|
407
407
|
# @option opts [IControl::LocalLB::ServiceDownAction] :actions The action to take when the node goes down for the specified pools.
|
408
408
|
def set_action_on_service_down(opts)
|
409
|
-
check_params(opts,[:actions])
|
410
|
-
super
|
409
|
+
opts = check_params(opts,[:actions])
|
410
|
+
super(opts)
|
411
411
|
end
|
412
412
|
|
413
413
|
##
|
@@ -419,8 +419,8 @@ module IControl::LocalLB
|
|
419
419
|
# @param [Hash] opts
|
420
420
|
# @option opts [IControl::Common::EnabledState] :states The NAT allow/disallow states of the specified pools.
|
421
421
|
def set_allow_nat_state(opts)
|
422
|
-
check_params(opts,[:states])
|
423
|
-
super
|
422
|
+
opts = check_params(opts,[:states])
|
423
|
+
super(opts)
|
424
424
|
end
|
425
425
|
|
426
426
|
##
|
@@ -432,8 +432,8 @@ module IControl::LocalLB
|
|
432
432
|
# @param [Hash] opts
|
433
433
|
# @option opts [IControl::Common::EnabledState] :states The SNAT allow/disallow states of the specified pools.
|
434
434
|
def set_allow_snat_state(opts)
|
435
|
-
check_params(opts,[:states])
|
436
|
-
super
|
435
|
+
opts = check_params(opts,[:states])
|
436
|
+
super(opts)
|
437
437
|
end
|
438
438
|
|
439
439
|
##
|
@@ -445,8 +445,8 @@ module IControl::LocalLB
|
|
445
445
|
# @param [Hash] opts
|
446
446
|
# @option opts [long] :values The client IP ToS values.
|
447
447
|
def set_client_ip_tos(opts)
|
448
|
-
check_params(opts,[:values])
|
449
|
-
super
|
448
|
+
opts = check_params(opts,[:values])
|
449
|
+
super(opts)
|
450
450
|
end
|
451
451
|
|
452
452
|
##
|
@@ -458,8 +458,8 @@ module IControl::LocalLB
|
|
458
458
|
# @param [Hash] opts
|
459
459
|
# @option opts [long] :values The client-side link QoS values.
|
460
460
|
def set_client_link_qos(opts)
|
461
|
-
check_params(opts,[:values])
|
462
|
-
super
|
461
|
+
opts = check_params(opts,[:values])
|
462
|
+
super(opts)
|
463
463
|
end
|
464
464
|
|
465
465
|
##
|
@@ -471,8 +471,8 @@ module IControl::LocalLB
|
|
471
471
|
# @param [Hash] opts
|
472
472
|
# @option opts [long] :unit_ids The gateway failsafe unit IDs of the specified pools.
|
473
473
|
def set_gateway_failsafe_unit_id(opts)
|
474
|
-
check_params(opts,[:unit_ids])
|
475
|
-
super
|
474
|
+
opts = check_params(opts,[:unit_ids])
|
475
|
+
super(opts)
|
476
476
|
end
|
477
477
|
|
478
478
|
##
|
@@ -484,8 +484,8 @@ module IControl::LocalLB
|
|
484
484
|
# @param [Hash] opts
|
485
485
|
# @option opts [IControl::LocalLB::LBMethod] :lb_methods The load balancing methods to use for the pools.
|
486
486
|
def set_lb_method(opts)
|
487
|
-
check_params(opts,[:lb_methods])
|
488
|
-
super
|
487
|
+
opts = check_params(opts,[:lb_methods])
|
488
|
+
super(opts)
|
489
489
|
end
|
490
490
|
|
491
491
|
##
|
@@ -497,8 +497,8 @@ module IControl::LocalLB
|
|
497
497
|
# @param [Hash] opts
|
498
498
|
# @option opts [long] :values The minimum active member counts of the specified pools.
|
499
499
|
def set_minimum_active_member(opts)
|
500
|
-
check_params(opts,[:values])
|
501
|
-
super
|
500
|
+
opts = check_params(opts,[:values])
|
501
|
+
super(opts)
|
502
502
|
end
|
503
503
|
|
504
504
|
##
|
@@ -510,8 +510,8 @@ module IControl::LocalLB
|
|
510
510
|
# @param [Hash] opts
|
511
511
|
# @option opts [long] :values The minimum UP member counts of the specified pools.
|
512
512
|
def set_minimum_up_member(opts)
|
513
|
-
check_params(opts,[:values])
|
514
|
-
super
|
513
|
+
opts = check_params(opts,[:values])
|
514
|
+
super(opts)
|
515
515
|
end
|
516
516
|
|
517
517
|
##
|
@@ -524,8 +524,8 @@ module IControl::LocalLB
|
|
524
524
|
# @param [Hash] opts
|
525
525
|
# @option opts [IControl::Common::HAAction] :actions The actions to be taken if the minimum number of members required to be UP for the specified pools is not met.
|
526
526
|
def set_minimum_up_member_action(opts)
|
527
|
-
check_params(opts,[:actions])
|
528
|
-
super
|
527
|
+
opts = check_params(opts,[:actions])
|
528
|
+
super(opts)
|
529
529
|
end
|
530
530
|
|
531
531
|
##
|
@@ -538,8 +538,8 @@ module IControl::LocalLB
|
|
538
538
|
# @param [Hash] opts
|
539
539
|
# @option opts [IControl::Common::EnabledState] :states The minimum UP member states of the specified pools.
|
540
540
|
def set_minimum_up_member_enabled_state(opts)
|
541
|
-
check_params(opts,[:states])
|
542
|
-
super
|
541
|
+
opts = check_params(opts,[:states])
|
542
|
+
super(opts)
|
543
543
|
end
|
544
544
|
|
545
545
|
##
|
@@ -552,8 +552,8 @@ module IControl::LocalLB
|
|
552
552
|
# @param [Hash] opts
|
553
553
|
# @option opts [IControl::LocalLB::Pool::MonitorAssociation] :monitor_associations The monitor associations that will be used to evaluate the specified pools.
|
554
554
|
def set_monitor_association(opts)
|
555
|
-
check_params(opts,[:monitor_associations])
|
556
|
-
super
|
555
|
+
opts = check_params(opts,[:monitor_associations])
|
556
|
+
super(opts)
|
557
557
|
end
|
558
558
|
|
559
559
|
##
|
@@ -565,8 +565,8 @@ module IControl::LocalLB
|
|
565
565
|
# @param [Hash] opts
|
566
566
|
# @option opts [long] :values The server IP ToS values.
|
567
567
|
def set_server_ip_tos(opts)
|
568
|
-
check_params(opts,[:values])
|
569
|
-
super
|
568
|
+
opts = check_params(opts,[:values])
|
569
|
+
super(opts)
|
570
570
|
end
|
571
571
|
|
572
572
|
##
|
@@ -578,8 +578,8 @@ module IControl::LocalLB
|
|
578
578
|
# @param [Hash] opts
|
579
579
|
# @option opts [long] :values The server link QoS values.
|
580
580
|
def set_server_link_qos(opts)
|
581
|
-
check_params(opts,[:values])
|
582
|
-
super
|
581
|
+
opts = check_params(opts,[:values])
|
582
|
+
super(opts)
|
583
583
|
end
|
584
584
|
|
585
585
|
##
|
@@ -591,8 +591,8 @@ module IControl::LocalLB
|
|
591
591
|
# @param [Hash] opts
|
592
592
|
# @option opts [long] :simple_timeouts The simple timeouts.
|
593
593
|
def set_simple_timeout(opts)
|
594
|
-
check_params(opts,[:simple_timeouts])
|
595
|
-
super
|
594
|
+
opts = check_params(opts,[:simple_timeouts])
|
595
|
+
super(opts)
|
596
596
|
end
|
597
597
|
|
598
598
|
##
|
@@ -605,8 +605,8 @@ module IControl::LocalLB
|
|
605
605
|
# @param [Hash] opts
|
606
606
|
# @option opts [long] :values The ramp-up times.
|
607
607
|
def set_slow_ramp_time(opts)
|
608
|
-
check_params(opts,[:values])
|
609
|
-
super
|
608
|
+
opts = check_params(opts,[:values])
|
609
|
+
super(opts)
|
610
610
|
end
|
611
611
|
|
612
612
|
##
|