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
@@ -20,8 +20,8 @@ module IControl::LocalLB
|
|
20
20
|
# @param [Hash] opts
|
21
21
|
# @option opts [IControl::LocalLB::Rule::RuleDefinition] :rules The rules to create.
|
22
22
|
def create(opts)
|
23
|
-
check_params(opts,[:rules])
|
24
|
-
super
|
23
|
+
opts = check_params(opts,[:rules])
|
24
|
+
super(opts)
|
25
25
|
end
|
26
26
|
|
27
27
|
##
|
@@ -95,8 +95,8 @@ module IControl::LocalLB
|
|
95
95
|
# @param [Hash] opts
|
96
96
|
# @option opts [IControl::LocalLB::Rule::RuleDefinition] :rules The rules to modify.
|
97
97
|
def modify_rule(opts)
|
98
|
-
check_params(opts,[:rules])
|
99
|
-
super
|
98
|
+
opts = check_params(opts,[:rules])
|
99
|
+
super(opts)
|
100
100
|
end
|
101
101
|
|
102
102
|
##
|
@@ -27,8 +27,8 @@ module IControl::LocalLB
|
|
27
27
|
# @param [Hash] opts
|
28
28
|
# @option opts [IControl::LocalLB::SNAT::SNATOriginalAddress[]] :addresses The list of original addresses to add to the filters.
|
29
29
|
def add_original_address(opts)
|
30
|
-
check_params(opts,[:addresses])
|
31
|
-
super
|
30
|
+
opts = check_params(opts,[:addresses])
|
31
|
+
super(opts)
|
32
32
|
end
|
33
33
|
|
34
34
|
##
|
@@ -41,8 +41,8 @@ module IControl::LocalLB
|
|
41
41
|
# @option opts [IControl::LocalLB::SNAT::SNATOriginalAddress[]] :original_addresses The list of original client addresses used to filter traffic to the SNATs .
|
42
42
|
# @option opts [IControl::Common::VLANFilterList] :vlans The list of VLANs used to filter the client connections on ingress VLAN.
|
43
43
|
def create(opts)
|
44
|
-
check_params(opts,[:original_addresses,:vlans])
|
45
|
-
super
|
44
|
+
opts = check_params(opts,[:original_addresses,:vlans])
|
45
|
+
super(opts)
|
46
46
|
end
|
47
47
|
|
48
48
|
##
|
@@ -181,8 +181,8 @@ module IControl::LocalLB
|
|
181
181
|
# @param [Hash] opts
|
182
182
|
# @option opts [IControl::LocalLB::SNAT::SNATOriginalAddress[]] :addresses The list of original addresses to remove from the filters.
|
183
183
|
def remove_original_address(opts)
|
184
|
-
check_params(opts,[:addresses])
|
185
|
-
super
|
184
|
+
opts = check_params(opts,[:addresses])
|
185
|
+
super(opts)
|
186
186
|
end
|
187
187
|
|
188
188
|
##
|
@@ -204,8 +204,8 @@ module IControl::LocalLB
|
|
204
204
|
# @param [Hash] opts
|
205
205
|
# @option opts [IControl::Common::EnabledState] :states The connection mirror states to set.
|
206
206
|
def set_connection_mirror_state(opts)
|
207
|
-
check_params(opts,[:states])
|
208
|
-
super
|
207
|
+
opts = check_params(opts,[:states])
|
208
|
+
super(opts)
|
209
209
|
end
|
210
210
|
|
211
211
|
##
|
@@ -217,8 +217,8 @@ module IControl::LocalLB
|
|
217
217
|
# @param [Hash] opts
|
218
218
|
# @option opts [IControl::Common::SourcePortBehavior] :source_port_behaviors The source port behaviors to set.
|
219
219
|
def set_source_port_behavior(opts)
|
220
|
-
check_params(opts,[:source_port_behaviors])
|
221
|
-
super
|
220
|
+
opts = check_params(opts,[:source_port_behaviors])
|
221
|
+
super(opts)
|
222
222
|
end
|
223
223
|
|
224
224
|
##
|
@@ -231,8 +231,8 @@ module IControl::LocalLB
|
|
231
231
|
# @param [Hash] opts
|
232
232
|
# @option opts [IControl::LocalLB::SNAT::Translation] :targets The translation targets to set.
|
233
233
|
def set_translation_target(opts)
|
234
|
-
check_params(opts,[:targets])
|
235
|
-
super
|
234
|
+
opts = check_params(opts,[:targets])
|
235
|
+
super(opts)
|
236
236
|
end
|
237
237
|
|
238
238
|
##
|
@@ -244,8 +244,8 @@ module IControl::LocalLB
|
|
244
244
|
# @param [Hash] opts
|
245
245
|
# @option opts [IControl::Common::VLANFilterList] :vlans The list of VLANs used to filter the ingress VLAN.
|
246
246
|
def set_vlan(opts)
|
247
|
-
check_params(opts,[:vlans])
|
248
|
-
super
|
247
|
+
opts = check_params(opts,[:vlans])
|
248
|
+
super(opts)
|
249
249
|
end
|
250
250
|
|
251
251
|
##
|
@@ -18,8 +18,8 @@ module IControl::LocalLB
|
|
18
18
|
# @param [Hash] opts
|
19
19
|
# @option opts [String[]] :members The members to add to the specified SNAT pools.
|
20
20
|
def add_member(opts)
|
21
|
-
check_params(opts,[:members])
|
22
|
-
super
|
21
|
+
opts = check_params(opts,[:members])
|
22
|
+
super(opts)
|
23
23
|
end
|
24
24
|
|
25
25
|
##
|
@@ -31,8 +31,8 @@ module IControl::LocalLB
|
|
31
31
|
# @param [Hash] opts
|
32
32
|
# @option opts [String[]] :translation_addresses The translation addresses associated with the SNAT pools. If the referenced SNAT translation addresses do not exist, they are created automatically using the global SNAT defaults.
|
33
33
|
def create(opts)
|
34
|
-
check_params(opts,[:translation_addresses])
|
35
|
-
super
|
34
|
+
opts = check_params(opts,[:translation_addresses])
|
35
|
+
super(opts)
|
36
36
|
end
|
37
37
|
|
38
38
|
##
|
@@ -126,8 +126,8 @@ module IControl::LocalLB
|
|
126
126
|
# @param [Hash] opts
|
127
127
|
# @option opts [String[]] :members The members to remove from the specified SNAT pools.
|
128
128
|
def remove_member(opts)
|
129
|
-
check_params(opts,[:members])
|
130
|
-
super
|
129
|
+
opts = check_params(opts,[:members])
|
130
|
+
super(opts)
|
131
131
|
end
|
132
132
|
|
133
133
|
##
|
@@ -30,8 +30,8 @@ module IControl::LocalLB
|
|
30
30
|
# @param [Hash] opts
|
31
31
|
# @option opts [String[]] :members The SNATPool member addresses.
|
32
32
|
def statistics(opts)
|
33
|
-
check_params(opts,[:members])
|
34
|
-
super
|
33
|
+
opts = check_params(opts,[:members])
|
34
|
+
super(opts)
|
35
35
|
end
|
36
36
|
|
37
37
|
##
|
@@ -51,8 +51,8 @@ module IControl::LocalLB
|
|
51
51
|
# @param [Hash] opts
|
52
52
|
# @option opts [String[]] :members The SNATPool member addresses.
|
53
53
|
def reset_statistics(opts)
|
54
|
-
check_params(opts,[:members])
|
55
|
-
super
|
54
|
+
opts = check_params(opts,[:members])
|
55
|
+
super(opts)
|
56
56
|
end
|
57
57
|
|
58
58
|
##
|
@@ -18,8 +18,8 @@ module IControl::LocalLB
|
|
18
18
|
# @param [Hash] opts
|
19
19
|
# @option opts [long] :unit_ids The unit IDs associated with the translation addresses. If the unit ID of a translation address is not active on a BIG-IP, the BIG-IP does not respond to ARP requests or send gratuitous ARPs for that translation address.
|
20
20
|
def create(opts)
|
21
|
-
check_params(opts,[:unit_ids])
|
22
|
-
super
|
21
|
+
opts = check_params(opts,[:unit_ids])
|
22
|
+
super(opts)
|
23
23
|
end
|
24
24
|
|
25
25
|
##
|
@@ -179,8 +179,8 @@ module IControl::LocalLB
|
|
179
179
|
# @param [Hash] opts
|
180
180
|
# @option opts [IControl::Common::EnabledState] :states The ARP states to set.
|
181
181
|
def set_arp_state(opts)
|
182
|
-
check_params(opts,[:states])
|
183
|
-
super
|
182
|
+
opts = check_params(opts,[:states])
|
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::Common::ULong64] :limits The connection limits to set.
|
194
194
|
def set_connection_limit(opts)
|
195
|
-
check_params(opts,[:limits])
|
196
|
-
super
|
195
|
+
opts = check_params(opts,[:limits])
|
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::Common::EnabledState] :states Enable or disable the specified SNAT translation addresses.
|
207
207
|
def set_enabled_state(opts)
|
208
|
-
check_params(opts,[:states])
|
209
|
-
super
|
208
|
+
opts = check_params(opts,[:states])
|
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 [long] :timeouts The IP timeouts to set.
|
220
220
|
def set_ip_timeout(opts)
|
221
|
-
check_params(opts,[:timeouts])
|
222
|
-
super
|
221
|
+
opts = check_params(opts,[:timeouts])
|
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 [long] :timeouts The TCP timeouts to set.
|
233
233
|
def set_tcp_timeout(opts)
|
234
|
-
check_params(opts,[:timeouts])
|
235
|
-
super
|
234
|
+
opts = check_params(opts,[:timeouts])
|
235
|
+
super(opts)
|
236
236
|
end
|
237
237
|
|
238
238
|
##
|
@@ -244,8 +244,8 @@ module IControl::LocalLB
|
|
244
244
|
# @param [Hash] opts
|
245
245
|
# @option opts [long] :timeouts The UDP timeouts to set.
|
246
246
|
def set_udp_timeout(opts)
|
247
|
-
check_params(opts,[:timeouts])
|
248
|
-
super
|
247
|
+
opts = check_params(opts,[:timeouts])
|
248
|
+
super(opts)
|
249
249
|
end
|
250
250
|
|
251
251
|
##
|
@@ -257,8 +257,8 @@ module IControl::LocalLB
|
|
257
257
|
# @param [Hash] opts
|
258
258
|
# @option opts [long] :unit_ids The unit IDs to set.
|
259
259
|
def set_unit_id(opts)
|
260
|
-
check_params(opts,[:unit_ids])
|
261
|
-
super
|
260
|
+
opts = check_params(opts,[:unit_ids])
|
261
|
+
super(opts)
|
262
262
|
end
|
263
263
|
|
264
264
|
##
|
@@ -169,8 +169,8 @@ module IControl::LocalLB
|
|
169
169
|
# @param [Hash] opts
|
170
170
|
# @option opts [IControl::Common::EnabledState] :states The ARP states to set.
|
171
171
|
def set_arp_state(opts)
|
172
|
-
check_params(opts,[:states])
|
173
|
-
super
|
172
|
+
opts = check_params(opts,[:states])
|
173
|
+
super(opts)
|
174
174
|
end
|
175
175
|
|
176
176
|
##
|
@@ -182,8 +182,8 @@ module IControl::LocalLB
|
|
182
182
|
# @param [Hash] opts
|
183
183
|
# @option opts [IControl::Common::ULong64] :limits The connection limits to set.
|
184
184
|
def set_connection_limit(opts)
|
185
|
-
check_params(opts,[:limits])
|
186
|
-
super
|
185
|
+
opts = check_params(opts,[:limits])
|
186
|
+
super(opts)
|
187
187
|
end
|
188
188
|
|
189
189
|
##
|
@@ -195,8 +195,8 @@ module IControl::LocalLB
|
|
195
195
|
# @param [Hash] opts
|
196
196
|
# @option opts [IControl::Common::EnabledState] :states The enabled states to set.
|
197
197
|
def set_enabled_state(opts)
|
198
|
-
check_params(opts,[:states])
|
199
|
-
super
|
198
|
+
opts = check_params(opts,[:states])
|
199
|
+
super(opts)
|
200
200
|
end
|
201
201
|
|
202
202
|
##
|
@@ -210,8 +210,8 @@ module IControl::LocalLB
|
|
210
210
|
# @param [Hash] opts
|
211
211
|
# @option opts [IControl::Common::EnabledState] :states The states to set.
|
212
212
|
def set_is_floating_state(opts)
|
213
|
-
check_params(opts,[:states])
|
214
|
-
super
|
213
|
+
opts = check_params(opts,[:states])
|
214
|
+
super(opts)
|
215
215
|
end
|
216
216
|
|
217
217
|
##
|
@@ -223,8 +223,8 @@ module IControl::LocalLB
|
|
223
223
|
# @param [Hash] opts
|
224
224
|
# @option opts [IControl::Common::EnabledState] :states The route advertisement states to set.
|
225
225
|
def set_route_advertisement_state(opts)
|
226
|
-
check_params(opts,[:states])
|
227
|
-
super
|
226
|
+
opts = check_params(opts,[:states])
|
227
|
+
super(opts)
|
228
228
|
end
|
229
229
|
|
230
230
|
##
|
@@ -237,8 +237,8 @@ module IControl::LocalLB
|
|
237
237
|
# @param [Hash] opts
|
238
238
|
# @option opts [IControl::LocalLB::VirtualAddressStatusDependency] :scopes The status dependency scopes to set.
|
239
239
|
def set_status_dependency_scope(opts)
|
240
|
-
check_params(opts,[:scopes])
|
241
|
-
super
|
240
|
+
opts = check_params(opts,[:scopes])
|
241
|
+
super(opts)
|
242
242
|
end
|
243
243
|
|
244
244
|
##
|
@@ -250,8 +250,8 @@ module IControl::LocalLB
|
|
250
250
|
# @param [Hash] opts
|
251
251
|
# @option opts [long] :unit_ids The unit IDs to set.
|
252
252
|
def set_unit_id(opts)
|
253
|
-
check_params(opts,[:unit_ids])
|
254
|
-
super
|
253
|
+
opts = check_params(opts,[:unit_ids])
|
254
|
+
super(opts)
|
255
255
|
end
|
256
256
|
|
257
257
|
##
|
@@ -51,8 +51,8 @@ module IControl::LocalLB
|
|
51
51
|
# @param [Hash] opts
|
52
52
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerAuthentication[]] :profiles The authentication profiles to add to the virtual servers.
|
53
53
|
def add_authentication_profile(opts)
|
54
|
-
check_params(opts,[:profiles])
|
55
|
-
super
|
54
|
+
opts = check_params(opts,[:profiles])
|
55
|
+
super(opts)
|
56
56
|
end
|
57
57
|
|
58
58
|
##
|
@@ -64,8 +64,8 @@ module IControl::LocalLB
|
|
64
64
|
# @param [Hash] opts
|
65
65
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerClonePool[]] :clone_pools The clone pools to add to the virtual servers.
|
66
66
|
def add_clone_pool(opts)
|
67
|
-
check_params(opts,[:clone_pools])
|
68
|
-
super
|
67
|
+
opts = check_params(opts,[:clone_pools])
|
68
|
+
super(opts)
|
69
69
|
end
|
70
70
|
|
71
71
|
##
|
@@ -77,8 +77,8 @@ module IControl::LocalLB
|
|
77
77
|
# @param [Hash] opts
|
78
78
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerHttpClass[]] :profiles The HTTP class profiles to add to the virtual servers.
|
79
79
|
def add_httpclass_profile(opts)
|
80
|
-
check_params(opts,[:profiles])
|
81
|
-
super
|
80
|
+
opts = check_params(opts,[:profiles])
|
81
|
+
super(opts)
|
82
82
|
end
|
83
83
|
|
84
84
|
##
|
@@ -90,8 +90,8 @@ module IControl::LocalLB
|
|
90
90
|
# @param [Hash] opts
|
91
91
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerPersistence[]] :profiles The persistence profiles to add to the virtual servers.
|
92
92
|
def add_persistence_profile(opts)
|
93
|
-
check_params(opts,[:profiles])
|
94
|
-
super
|
93
|
+
opts = check_params(opts,[:profiles])
|
94
|
+
super(opts)
|
95
95
|
end
|
96
96
|
|
97
97
|
##
|
@@ -103,8 +103,8 @@ module IControl::LocalLB
|
|
103
103
|
# @param [Hash] opts
|
104
104
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerProfile[]] :profiles The profiles to add to the virtual servers.
|
105
105
|
def add_profile(opts)
|
106
|
-
check_params(opts,[:profiles])
|
107
|
-
super
|
106
|
+
opts = check_params(opts,[:profiles])
|
107
|
+
super(opts)
|
108
108
|
end
|
109
109
|
|
110
110
|
##
|
@@ -116,8 +116,8 @@ module IControl::LocalLB
|
|
116
116
|
# @param [Hash] opts
|
117
117
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerRule[]] :rules The rules to add to the virtual servers.
|
118
118
|
def add_rule(opts)
|
119
|
-
check_params(opts,[:rules])
|
120
|
-
super
|
119
|
+
opts = check_params(opts,[:rules])
|
120
|
+
super(opts)
|
121
121
|
end
|
122
122
|
|
123
123
|
##
|
@@ -133,8 +133,8 @@ module IControl::LocalLB
|
|
133
133
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerResource] :resources The resources associated with the virtual servers.
|
134
134
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerProfile[]] :profiles The profiles to associate with the virtual servers.
|
135
135
|
def create(opts)
|
136
|
-
check_params(opts,[:definitions,:wildmasks,:resources,:profiles])
|
137
|
-
super
|
136
|
+
opts = check_params(opts,[:definitions,:wildmasks,:resources,:profiles])
|
137
|
+
super(opts)
|
138
138
|
end
|
139
139
|
|
140
140
|
##
|
@@ -156,8 +156,8 @@ module IControl::LocalLB
|
|
156
156
|
# @param [Hash] opts
|
157
157
|
# @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 virtual server.
|
158
158
|
def delete_persistence_record(opts)
|
159
|
-
check_params(opts,[:persistence_modes])
|
160
|
-
super
|
159
|
+
opts = check_params(opts,[:persistence_modes])
|
160
|
+
super(opts)
|
161
161
|
end
|
162
162
|
|
163
163
|
##
|
@@ -395,8 +395,8 @@ module IControl::LocalLB
|
|
395
395
|
# @param [Hash] opts
|
396
396
|
# @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 virtual server.
|
397
397
|
def persistence_record(opts)
|
398
|
-
check_params(opts,[:persistence_modes])
|
399
|
-
super
|
398
|
+
opts = check_params(opts,[:persistence_modes])
|
399
|
+
super(opts)
|
400
400
|
end
|
401
401
|
|
402
402
|
##
|
@@ -623,8 +623,8 @@ module IControl::LocalLB
|
|
623
623
|
# @param [Hash] opts
|
624
624
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerAuthentication[]] :profiles The authentication profiles to remove from the virtual servers.
|
625
625
|
def remove_authentication_profile(opts)
|
626
|
-
check_params(opts,[:profiles])
|
627
|
-
super
|
626
|
+
opts = check_params(opts,[:profiles])
|
627
|
+
super(opts)
|
628
628
|
end
|
629
629
|
|
630
630
|
##
|
@@ -636,8 +636,8 @@ module IControl::LocalLB
|
|
636
636
|
# @param [Hash] opts
|
637
637
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerClonePool[]] :clone_pools The clone pools to remove from the virtual servers.
|
638
638
|
def remove_clone_pool(opts)
|
639
|
-
check_params(opts,[:clone_pools])
|
640
|
-
super
|
639
|
+
opts = check_params(opts,[:clone_pools])
|
640
|
+
super(opts)
|
641
641
|
end
|
642
642
|
|
643
643
|
##
|
@@ -649,8 +649,8 @@ module IControl::LocalLB
|
|
649
649
|
# @param [Hash] opts
|
650
650
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerHttpClass[]] :profiles The HTTP class profiles to remove from the virtual servers.
|
651
651
|
def remove_httpclass_profile(opts)
|
652
|
-
check_params(opts,[:profiles])
|
653
|
-
super
|
652
|
+
opts = check_params(opts,[:profiles])
|
653
|
+
super(opts)
|
654
654
|
end
|
655
655
|
|
656
656
|
##
|
@@ -662,8 +662,8 @@ module IControl::LocalLB
|
|
662
662
|
# @param [Hash] opts
|
663
663
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerPersistence[]] :profiles The persistence profiles to remove from the virtual servers.
|
664
664
|
def remove_persistence_profile(opts)
|
665
|
-
check_params(opts,[:profiles])
|
666
|
-
super
|
665
|
+
opts = check_params(opts,[:profiles])
|
666
|
+
super(opts)
|
667
667
|
end
|
668
668
|
|
669
669
|
##
|
@@ -675,8 +675,8 @@ module IControl::LocalLB
|
|
675
675
|
# @param [Hash] opts
|
676
676
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerProfile[]] :profiles The profiles to remove from the virtual servers.
|
677
677
|
def remove_profile(opts)
|
678
|
-
check_params(opts,[:profiles])
|
679
|
-
super
|
678
|
+
opts = check_params(opts,[:profiles])
|
679
|
+
super(opts)
|
680
680
|
end
|
681
681
|
|
682
682
|
##
|
@@ -688,8 +688,8 @@ module IControl::LocalLB
|
|
688
688
|
# @param [Hash] opts
|
689
689
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerRule[]] :rules The rules to remove from the virtual servers.
|
690
690
|
def remove_rule(opts)
|
691
|
-
check_params(opts,[:rules])
|
692
|
-
super
|
691
|
+
opts = check_params(opts,[:rules])
|
692
|
+
super(opts)
|
693
693
|
end
|
694
694
|
|
695
695
|
##
|
@@ -713,8 +713,8 @@ module IControl::LocalLB
|
|
713
713
|
# @param [Hash] opts
|
714
714
|
# @option opts [IControl::Common::EnabledState] :states The CMP enabled states to apply.
|
715
715
|
def set_cmp_enabled_state(opts)
|
716
|
-
check_params(opts,[:states])
|
717
|
-
super
|
716
|
+
opts = check_params(opts,[:states])
|
717
|
+
super(opts)
|
718
718
|
end
|
719
719
|
|
720
720
|
##
|
@@ -726,8 +726,8 @@ module IControl::LocalLB
|
|
726
726
|
# @param [Hash] opts
|
727
727
|
# @option opts [IControl::Common::ULong64] :limits The connection limits to set.
|
728
728
|
def set_connection_limit(opts)
|
729
|
-
check_params(opts,[:limits])
|
730
|
-
super
|
729
|
+
opts = check_params(opts,[:limits])
|
730
|
+
super(opts)
|
731
731
|
end
|
732
732
|
|
733
733
|
##
|
@@ -739,8 +739,8 @@ module IControl::LocalLB
|
|
739
739
|
# @param [Hash] opts
|
740
740
|
# @option opts [IControl::Common::EnabledState] :states The mirror connection states for the specified virtual servers.
|
741
741
|
def set_connection_mirror_state(opts)
|
742
|
-
check_params(opts,[:states])
|
743
|
-
super
|
742
|
+
opts = check_params(opts,[:states])
|
743
|
+
super(opts)
|
744
744
|
end
|
745
745
|
|
746
746
|
##
|
@@ -752,8 +752,8 @@ module IControl::LocalLB
|
|
752
752
|
# @param [Hash] opts
|
753
753
|
# @option opts [String] :default_pools The default pool names for the specified virtual servers.
|
754
754
|
def set_default_pool_name(opts)
|
755
|
-
check_params(opts,[:default_pools])
|
756
|
-
super
|
755
|
+
opts = check_params(opts,[:default_pools])
|
756
|
+
super(opts)
|
757
757
|
end
|
758
758
|
|
759
759
|
##
|
@@ -765,8 +765,8 @@ module IControl::LocalLB
|
|
765
765
|
# @param [Hash] opts
|
766
766
|
# @option opts [IControl::Common::IPPortDefinition] :destinations The destinations to set.
|
767
767
|
def set_destination(opts)
|
768
|
-
check_params(opts,[:destinations])
|
769
|
-
super
|
768
|
+
opts = check_params(opts,[:destinations])
|
769
|
+
super(opts)
|
770
770
|
end
|
771
771
|
|
772
772
|
##
|
@@ -778,8 +778,8 @@ module IControl::LocalLB
|
|
778
778
|
# @param [Hash] opts
|
779
779
|
# @option opts [IControl::Common::EnabledState] :states The enabled states to set.
|
780
780
|
def set_enabled_state(opts)
|
781
|
-
check_params(opts,[:states])
|
782
|
-
super
|
781
|
+
opts = check_params(opts,[:states])
|
782
|
+
super(opts)
|
783
783
|
end
|
784
784
|
|
785
785
|
##
|
@@ -791,8 +791,8 @@ module IControl::LocalLB
|
|
791
791
|
# @param [Hash] opts
|
792
792
|
# @option opts [String] :profile_names The persistence profiles to use for fallback persistence for the specified virtual servers.
|
793
793
|
def set_fallback_persistence_profile(opts)
|
794
|
-
check_params(opts,[:profile_names])
|
795
|
-
super
|
794
|
+
opts = check_params(opts,[:profile_names])
|
795
|
+
super(opts)
|
796
796
|
end
|
797
797
|
|
798
798
|
##
|
@@ -804,8 +804,8 @@ module IControl::LocalLB
|
|
804
804
|
# @param [Hash] opts
|
805
805
|
# @option opts [IControl::Common::ULong64] :scores The GTM score value to set
|
806
806
|
def set_gtm_score(opts)
|
807
|
-
check_params(opts,[:scores])
|
808
|
-
super
|
807
|
+
opts = check_params(opts,[:scores])
|
808
|
+
super(opts)
|
809
809
|
end
|
810
810
|
|
811
811
|
##
|
@@ -817,8 +817,8 @@ module IControl::LocalLB
|
|
817
817
|
# @param [Hash] opts
|
818
818
|
# @option opts [String] :last_hop_pools The last hop pools of the specified virtual servers. Empty strings remove the last hop pools from the specified virtual servers.
|
819
819
|
def set_last_hop_pool(opts)
|
820
|
-
check_params(opts,[:last_hop_pools])
|
821
|
-
super
|
820
|
+
opts = check_params(opts,[:last_hop_pools])
|
821
|
+
super(opts)
|
822
822
|
end
|
823
823
|
|
824
824
|
##
|
@@ -830,8 +830,8 @@ module IControl::LocalLB
|
|
830
830
|
# @param [Hash] opts
|
831
831
|
# @option opts [IControl::Common::ProtocolType] :protocols The protocols to set.
|
832
832
|
def set_protocol(opts)
|
833
|
-
check_params(opts,[:protocols])
|
834
|
-
super
|
833
|
+
opts = check_params(opts,[:protocols])
|
834
|
+
super(opts)
|
835
835
|
end
|
836
836
|
|
837
837
|
##
|
@@ -843,8 +843,8 @@ module IControl::LocalLB
|
|
843
843
|
# @param [Hash] opts
|
844
844
|
# @option opts [String] :rate_classes The rate classes used to rate limit the traffic.
|
845
845
|
def set_rate_class(opts)
|
846
|
-
check_params(opts,[:rate_classes])
|
847
|
-
super
|
846
|
+
opts = check_params(opts,[:rate_classes])
|
847
|
+
super(opts)
|
848
848
|
end
|
849
849
|
|
850
850
|
##
|
@@ -876,8 +876,8 @@ module IControl::LocalLB
|
|
876
876
|
# @param [Hash] opts
|
877
877
|
# @option opts [String] :snatpools The SNAT pools of the specified virtual servers.
|
878
878
|
def set_snat_pool(opts)
|
879
|
-
check_params(opts,[:snatpools])
|
880
|
-
super
|
879
|
+
opts = check_params(opts,[:snatpools])
|
880
|
+
super(opts)
|
881
881
|
end
|
882
882
|
|
883
883
|
##
|
@@ -889,8 +889,8 @@ module IControl::LocalLB
|
|
889
889
|
# @param [Hash] opts
|
890
890
|
# @option opts [IControl::Common::SourcePortBehavior] :source_port_behaviors The source port behaviors to set.
|
891
891
|
def set_source_port_behavior(opts)
|
892
|
-
check_params(opts,[:source_port_behaviors])
|
893
|
-
super
|
892
|
+
opts = check_params(opts,[:source_port_behaviors])
|
893
|
+
super(opts)
|
894
894
|
end
|
895
895
|
|
896
896
|
##
|
@@ -903,8 +903,8 @@ module IControl::LocalLB
|
|
903
903
|
# @param [Hash] opts
|
904
904
|
# @option opts [IControl::Common::EnabledState] :states The address translation states to apply.
|
905
905
|
def set_translate_address_state(opts)
|
906
|
-
check_params(opts,[:states])
|
907
|
-
super
|
906
|
+
opts = check_params(opts,[:states])
|
907
|
+
super(opts)
|
908
908
|
end
|
909
909
|
|
910
910
|
##
|
@@ -917,8 +917,8 @@ module IControl::LocalLB
|
|
917
917
|
# @param [Hash] opts
|
918
918
|
# @option opts [IControl::Common::EnabledState] :states The port translation states to apply.
|
919
919
|
def set_translate_port_state(opts)
|
920
|
-
check_params(opts,[:states])
|
921
|
-
super
|
920
|
+
opts = check_params(opts,[:states])
|
921
|
+
super(opts)
|
922
922
|
end
|
923
923
|
|
924
924
|
##
|
@@ -930,8 +930,8 @@ module IControl::LocalLB
|
|
930
930
|
# @param [Hash] opts
|
931
931
|
# @option opts [IControl::LocalLB::VirtualServer::VirtualServerType] :types The types to set.
|
932
932
|
def set_type(opts)
|
933
|
-
check_params(opts,[:types])
|
934
|
-
super
|
933
|
+
opts = check_params(opts,[:types])
|
934
|
+
super(opts)
|
935
935
|
end
|
936
936
|
|
937
937
|
##
|
@@ -943,8 +943,8 @@ module IControl::LocalLB
|
|
943
943
|
# @param [Hash] opts
|
944
944
|
# @option opts [IControl::Common::VLANFilterList] :vlans The VLAN names to add to the list of enabled/disabled VLANs .
|
945
945
|
def set_vlan(opts)
|
946
|
-
check_params(opts,[:vlans])
|
947
|
-
super
|
946
|
+
opts = check_params(opts,[:vlans])
|
947
|
+
super(opts)
|
948
948
|
end
|
949
949
|
|
950
950
|
##
|
@@ -956,8 +956,8 @@ module IControl::LocalLB
|
|
956
956
|
# @param [Hash] opts
|
957
957
|
# @option opts [String] :wildmasks The wildmasks for the specified virtual servers.
|
958
958
|
def set_wildmask(opts)
|
959
|
-
check_params(opts,[:wildmasks])
|
960
|
-
super
|
959
|
+
opts = check_params(opts,[:wildmasks])
|
960
|
+
super(opts)
|
961
961
|
end
|
962
962
|
|
963
963
|
##
|