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::GlobalLB
|
|
42
42
|
# @param [Hash] opts
|
43
43
|
# @option opts [IControl::GlobalLB::PoolMember::MemberDependency[]] :dependencies The dependency list of VSes that the specified pool members depend on.
|
44
44
|
def add_dependency(opts)
|
45
|
-
check_params(opts,[:dependencies])
|
46
|
-
super
|
45
|
+
opts = check_params(opts,[:dependencies])
|
46
|
+
super(opts)
|
47
47
|
end
|
48
48
|
|
49
49
|
##
|
@@ -67,8 +67,8 @@ module IControl::GlobalLB
|
|
67
67
|
# @param [Hash] opts
|
68
68
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
69
69
|
def dependency(opts)
|
70
|
-
check_params(opts,[:members])
|
71
|
-
super
|
70
|
+
opts = check_params(opts,[:members])
|
71
|
+
super(opts)
|
72
72
|
end
|
73
73
|
|
74
74
|
##
|
@@ -81,8 +81,8 @@ module IControl::GlobalLB
|
|
81
81
|
# @param [Hash] opts
|
82
82
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
83
83
|
def enabled_state(opts)
|
84
|
-
check_params(opts,[:members])
|
85
|
-
super
|
84
|
+
opts = check_params(opts,[:members])
|
85
|
+
super(opts)
|
86
86
|
end
|
87
87
|
|
88
88
|
##
|
@@ -95,8 +95,8 @@ module IControl::GlobalLB
|
|
95
95
|
# @param [Hash] opts
|
96
96
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
97
97
|
def limit(opts)
|
98
|
-
check_params(opts,[:members])
|
99
|
-
super
|
98
|
+
opts = check_params(opts,[:members])
|
99
|
+
super(opts)
|
100
100
|
end
|
101
101
|
|
102
102
|
##
|
@@ -121,8 +121,8 @@ module IControl::GlobalLB
|
|
121
121
|
# @param [Hash] opts
|
122
122
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
123
123
|
def object_status(opts)
|
124
|
-
check_params(opts,[:members])
|
125
|
-
super
|
124
|
+
opts = check_params(opts,[:members])
|
125
|
+
super(opts)
|
126
126
|
end
|
127
127
|
|
128
128
|
##
|
@@ -135,8 +135,8 @@ module IControl::GlobalLB
|
|
135
135
|
# @param [Hash] opts
|
136
136
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
137
137
|
def order(opts)
|
138
|
-
check_params(opts,[:members])
|
139
|
-
super
|
138
|
+
opts = check_params(opts,[:members])
|
139
|
+
super(opts)
|
140
140
|
end
|
141
141
|
|
142
142
|
##
|
@@ -149,8 +149,8 @@ module IControl::GlobalLB
|
|
149
149
|
# @param [Hash] opts
|
150
150
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
151
151
|
def ratio(opts)
|
152
|
-
check_params(opts,[:members])
|
153
|
-
super
|
152
|
+
opts = check_params(opts,[:members])
|
153
|
+
super(opts)
|
154
154
|
end
|
155
155
|
|
156
156
|
##
|
@@ -163,8 +163,8 @@ module IControl::GlobalLB
|
|
163
163
|
# @param [Hash] opts
|
164
164
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The members to get statistics from.
|
165
165
|
def statistics(opts)
|
166
|
-
check_params(opts,[:members])
|
167
|
-
super
|
166
|
+
opts = check_params(opts,[:members])
|
167
|
+
super(opts)
|
168
168
|
end
|
169
169
|
|
170
170
|
##
|
@@ -184,8 +184,8 @@ module IControl::GlobalLB
|
|
184
184
|
# @param [Hash] opts
|
185
185
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members to remove the dependencies from. These pool members will no longer have any dependency on any other virtual servers.
|
186
186
|
def remove_all_dependencies(opts)
|
187
|
-
check_params(opts,[:members])
|
188
|
-
super
|
187
|
+
opts = check_params(opts,[:members])
|
188
|
+
super(opts)
|
189
189
|
end
|
190
190
|
|
191
191
|
##
|
@@ -198,8 +198,8 @@ module IControl::GlobalLB
|
|
198
198
|
# @param [Hash] opts
|
199
199
|
# @option opts [IControl::GlobalLB::PoolMember::MemberDependency[]] :dependencies The dependency list of VSes that the specified pool members depend on.
|
200
200
|
def remove_dependency(opts)
|
201
|
-
check_params(opts,[:dependencies])
|
202
|
-
super
|
201
|
+
opts = check_params(opts,[:dependencies])
|
202
|
+
super(opts)
|
203
203
|
end
|
204
204
|
|
205
205
|
##
|
@@ -216,8 +216,8 @@ module IControl::GlobalLB
|
|
216
216
|
# @param [Hash] opts
|
217
217
|
# @option opts [IControl::GlobalLB::PoolMember::MemberMonitorAssociationRemoval[]] :monitor_associations The monitor association removal rules that will be used to remove the monitor associations for the specified pool members.
|
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
|
##
|
@@ -229,8 +229,8 @@ module IControl::GlobalLB
|
|
229
229
|
# @param [Hash] opts
|
230
230
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The members to get statistics from.
|
231
231
|
def reset_statistics(opts)
|
232
|
-
check_params(opts,[:members])
|
233
|
-
super
|
232
|
+
opts = check_params(opts,[:members])
|
233
|
+
super(opts)
|
234
234
|
end
|
235
235
|
|
236
236
|
##
|
@@ -242,8 +242,8 @@ module IControl::GlobalLB
|
|
242
242
|
# @param [Hash] opts
|
243
243
|
# @option opts [IControl::GlobalLB::PoolMember::MemberEnabledState[]] :states The members and the states to be set.
|
244
244
|
def set_enabled_state(opts)
|
245
|
-
check_params(opts,[:states])
|
246
|
-
super
|
245
|
+
opts = check_params(opts,[:states])
|
246
|
+
super(opts)
|
247
247
|
end
|
248
248
|
|
249
249
|
##
|
@@ -255,8 +255,8 @@ module IControl::GlobalLB
|
|
255
255
|
# @param [Hash] opts
|
256
256
|
# @option opts [IControl::GlobalLB::PoolMember::MemberMetricLimit[]] :limits The pool members' metric limits.
|
257
257
|
def set_limit(opts)
|
258
|
-
check_params(opts,[:limits])
|
259
|
-
super
|
258
|
+
opts = check_params(opts,[:limits])
|
259
|
+
super(opts)
|
260
260
|
end
|
261
261
|
|
262
262
|
##
|
@@ -269,8 +269,8 @@ module IControl::GlobalLB
|
|
269
269
|
# @param [Hash] opts
|
270
270
|
# @option opts [IControl::GlobalLB::PoolMember::MemberMonitorAssociation[]] :monitor_associations The monitor associations that will be used to evaluate the specified pool members.
|
271
271
|
def set_monitor_association(opts)
|
272
|
-
check_params(opts,[:monitor_associations])
|
273
|
-
super
|
272
|
+
opts = check_params(opts,[:monitor_associations])
|
273
|
+
super(opts)
|
274
274
|
end
|
275
275
|
|
276
276
|
##
|
@@ -282,8 +282,8 @@ module IControl::GlobalLB
|
|
282
282
|
# @param [Hash] opts
|
283
283
|
# @option opts [IControl::GlobalLB::PoolMember::MemberOrder[]] :orders The members and the orders to be set.
|
284
284
|
def set_order(opts)
|
285
|
-
check_params(opts,[:orders])
|
286
|
-
super
|
285
|
+
opts = check_params(opts,[:orders])
|
286
|
+
super(opts)
|
287
287
|
end
|
288
288
|
|
289
289
|
##
|
@@ -295,8 +295,8 @@ module IControl::GlobalLB
|
|
295
295
|
# @param [Hash] opts
|
296
296
|
# @option opts [IControl::GlobalLB::PoolMember::MemberRatio[]] :ratios The members and the ratios to be set.
|
297
297
|
def set_ratio(opts)
|
298
|
-
check_params(opts,[:ratios])
|
299
|
-
super
|
298
|
+
opts = check_params(opts,[:ratios])
|
299
|
+
super(opts)
|
300
300
|
end
|
301
301
|
|
302
302
|
##
|
@@ -18,8 +18,8 @@ module IControl::GlobalLB
|
|
18
18
|
# @param [Hash] opts
|
19
19
|
# @option opts [IControl::GlobalLB::Region::RegionItem[]] :items The region items to be added to the region definitions.
|
20
20
|
def add_region_item(opts)
|
21
|
-
check_params(opts,[:items])
|
22
|
-
super
|
21
|
+
opts = check_params(opts,[:items])
|
22
|
+
super(opts)
|
23
23
|
end
|
24
24
|
|
25
25
|
##
|
@@ -31,8 +31,8 @@ module IControl::GlobalLB
|
|
31
31
|
# @param [Hash] opts
|
32
32
|
# @option opts [IControl::GlobalLB::Region::RegionItem[]] :items The region items that make up the region definitions.
|
33
33
|
def create(opts)
|
34
|
-
check_params(opts,[:items])
|
35
|
-
super
|
34
|
+
opts = check_params(opts,[:items])
|
35
|
+
super(opts)
|
36
36
|
end
|
37
37
|
|
38
38
|
##
|
@@ -104,8 +104,8 @@ module IControl::GlobalLB
|
|
104
104
|
# @param [Hash] opts
|
105
105
|
# @option opts [IControl::GlobalLB::Region::RegionItem[]] :items The region items to be removed from the region definitions.
|
106
106
|
def remove_region_item(opts)
|
107
|
-
check_params(opts,[:items])
|
108
|
-
super
|
107
|
+
opts = check_params(opts,[:items])
|
108
|
+
super(opts)
|
109
109
|
end
|
110
110
|
|
111
111
|
##
|
@@ -20,8 +20,8 @@ module IControl::GlobalLB
|
|
20
20
|
# @param [Hash] opts
|
21
21
|
# @option opts [IControl::GlobalLB::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::GlobalLB
|
|
95
95
|
# @param [Hash] opts
|
96
96
|
# @option opts [IControl::GlobalLB::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
|
##
|
@@ -24,8 +24,8 @@ module IControl::GlobalLB
|
|
24
24
|
# @param [Hash] opts
|
25
25
|
# @option opts [IControl::GlobalLB::Server::ServerIPDefinition] :ips The IP addresses to add to the servers.
|
26
26
|
def add_ip(opts)
|
27
|
-
check_params(opts,[:ips])
|
28
|
-
super
|
27
|
+
opts = check_params(opts,[:ips])
|
28
|
+
super(opts)
|
29
29
|
end
|
30
30
|
|
31
31
|
##
|
@@ -38,8 +38,8 @@ module IControl::GlobalLB
|
|
38
38
|
# @option opts [IControl::GlobalLB::ServerType] :types The server types.
|
39
39
|
# @option opts [String] :data_centers The data centers associated with the servers.
|
40
40
|
def create(opts)
|
41
|
-
check_params(opts,[:types,:data_centers])
|
42
|
-
super
|
41
|
+
opts = check_params(opts,[:types,:data_centers])
|
42
|
+
super(opts)
|
43
43
|
end
|
44
44
|
|
45
45
|
##
|
@@ -198,8 +198,8 @@ module IControl::GlobalLB
|
|
198
198
|
# @param [Hash] opts
|
199
199
|
# @option opts [String] :server_names The names of the servers.
|
200
200
|
def monitor_association(opts)
|
201
|
-
check_params(opts,[:server_names])
|
202
|
-
super
|
201
|
+
opts = check_params(opts,[:server_names])
|
202
|
+
super(opts)
|
203
203
|
end
|
204
204
|
|
205
205
|
##
|
@@ -245,8 +245,8 @@ module IControl::GlobalLB
|
|
245
245
|
# @param [Hash] opts
|
246
246
|
# @option opts [String] :server_names The names of the servers.
|
247
247
|
def statistics(opts)
|
248
|
-
check_params(opts,[:server_names])
|
249
|
-
super
|
248
|
+
opts = check_params(opts,[:server_names])
|
249
|
+
super(opts)
|
250
250
|
end
|
251
251
|
|
252
252
|
##
|
@@ -266,8 +266,8 @@ module IControl::GlobalLB
|
|
266
266
|
# @param [Hash] opts
|
267
267
|
# @option opts [IControl::GlobalLB::Server::ServerIPDefinition] :ips The IP addresses to remove from the servers.
|
268
268
|
def remove_ip(opts)
|
269
|
-
check_params(opts,[:ips])
|
270
|
-
super
|
269
|
+
opts = check_params(opts,[:ips])
|
270
|
+
super(opts)
|
271
271
|
end
|
272
272
|
|
273
273
|
##
|
@@ -281,8 +281,8 @@ module IControl::GlobalLB
|
|
281
281
|
# @param [Hash] opts
|
282
282
|
# @option opts [String] :server_names The names of the servers.
|
283
283
|
def remove_monitor_association(opts)
|
284
|
-
check_params(opts,[:server_names])
|
285
|
-
super
|
284
|
+
opts = check_params(opts,[:server_names])
|
285
|
+
super(opts)
|
286
286
|
end
|
287
287
|
|
288
288
|
##
|
@@ -294,8 +294,8 @@ module IControl::GlobalLB
|
|
294
294
|
# @param [Hash] opts
|
295
295
|
# @option opts [String] :server_names The names of the servers.
|
296
296
|
def reset_statistics(opts)
|
297
|
-
check_params(opts,[:server_names])
|
298
|
-
super
|
297
|
+
opts = check_params(opts,[:server_names])
|
298
|
+
super(opts)
|
299
299
|
end
|
300
300
|
|
301
301
|
##
|
@@ -308,8 +308,8 @@ module IControl::GlobalLB
|
|
308
308
|
# @param [Hash] opts
|
309
309
|
# @option opts [IControl::Common::EnabledState] :states The states to set.
|
310
310
|
def set_allow_path_state(opts)
|
311
|
-
check_params(opts,[:states])
|
312
|
-
super
|
311
|
+
opts = check_params(opts,[:states])
|
312
|
+
super(opts)
|
313
313
|
end
|
314
314
|
|
315
315
|
##
|
@@ -321,8 +321,8 @@ module IControl::GlobalLB
|
|
321
321
|
# @param [Hash] opts
|
322
322
|
# @option opts [IControl::Common::EnabledState] :states The states to set.
|
323
323
|
def set_allow_service_check_state(opts)
|
324
|
-
check_params(opts,[:states])
|
325
|
-
super
|
324
|
+
opts = check_params(opts,[:states])
|
325
|
+
super(opts)
|
326
326
|
end
|
327
327
|
|
328
328
|
##
|
@@ -335,8 +335,8 @@ module IControl::GlobalLB
|
|
335
335
|
# @param [Hash] opts
|
336
336
|
# @option opts [IControl::Common::EnabledState] :states The states to set.
|
337
337
|
def set_allow_snmp_state(opts)
|
338
|
-
check_params(opts,[:states])
|
339
|
-
super
|
338
|
+
opts = check_params(opts,[:states])
|
339
|
+
super(opts)
|
340
340
|
end
|
341
341
|
|
342
342
|
##
|
@@ -349,8 +349,8 @@ module IControl::GlobalLB
|
|
349
349
|
# @param [Hash] opts
|
350
350
|
# @option opts [IControl::GlobalLB::AutoConfigurationState] :states The states to set.
|
351
351
|
def set_auto_configuration_state(opts)
|
352
|
-
check_params(opts,[:states])
|
353
|
-
super
|
352
|
+
opts = check_params(opts,[:states])
|
353
|
+
super(opts)
|
354
354
|
end
|
355
355
|
|
356
356
|
##
|
@@ -362,8 +362,8 @@ module IControl::GlobalLB
|
|
362
362
|
# @param [Hash] opts
|
363
363
|
# @option opts [String] :data_centers The names of the new data centers.
|
364
364
|
def set_data_center(opts)
|
365
|
-
check_params(opts,[:data_centers])
|
366
|
-
super
|
365
|
+
opts = check_params(opts,[:data_centers])
|
366
|
+
super(opts)
|
367
367
|
end
|
368
368
|
|
369
369
|
##
|
@@ -375,8 +375,8 @@ module IControl::GlobalLB
|
|
375
375
|
# @param [Hash] opts
|
376
376
|
# @option opts [IControl::Common::EnabledState] :states The states to set.
|
377
377
|
def set_enabled_state(opts)
|
378
|
-
check_params(opts,[:states])
|
379
|
-
super
|
378
|
+
opts = check_params(opts,[:states])
|
379
|
+
super(opts)
|
380
380
|
end
|
381
381
|
|
382
382
|
##
|
@@ -388,8 +388,8 @@ module IControl::GlobalLB
|
|
388
388
|
# @param [Hash] opts
|
389
389
|
# @option opts [IControl::GlobalLB::Server::ServerMetricLimit] :limits The servers' metric limits.
|
390
390
|
def set_limit(opts)
|
391
|
-
check_params(opts,[:limits])
|
392
|
-
super
|
391
|
+
opts = check_params(opts,[:limits])
|
392
|
+
super(opts)
|
393
393
|
end
|
394
394
|
|
395
395
|
##
|
@@ -402,8 +402,8 @@ module IControl::GlobalLB
|
|
402
402
|
# @param [Hash] opts
|
403
403
|
# @option opts [IControl::GlobalLB::AutoConfigurationState] :states The states to set.
|
404
404
|
def set_link_auto_configuration_state(opts)
|
405
|
-
check_params(opts,[:states])
|
406
|
-
super
|
405
|
+
opts = check_params(opts,[:states])
|
406
|
+
super(opts)
|
407
407
|
end
|
408
408
|
|
409
409
|
##
|
@@ -416,8 +416,8 @@ module IControl::GlobalLB
|
|
416
416
|
# @param [Hash] opts
|
417
417
|
# @option opts [IControl::GlobalLB::Server::MonitorAssociation] :monitor_associations The monitor associations that will be used to evaluate the specified servers.
|
418
418
|
def set_monitor_association(opts)
|
419
|
-
check_params(opts,[:monitor_associations])
|
420
|
-
super
|
419
|
+
opts = check_params(opts,[:monitor_associations])
|
420
|
+
super(opts)
|
421
421
|
end
|
422
422
|
|
423
423
|
##
|
@@ -429,8 +429,8 @@ module IControl::GlobalLB
|
|
429
429
|
# @param [Hash] opts
|
430
430
|
# @option opts [String] :addresses The prober addresses
|
431
431
|
def set_prober_address(opts)
|
432
|
-
check_params(opts,[:addresses])
|
433
|
-
super
|
432
|
+
opts = check_params(opts,[:addresses])
|
433
|
+
super(opts)
|
434
434
|
end
|
435
435
|
|
436
436
|
##
|
@@ -442,8 +442,8 @@ module IControl::GlobalLB
|
|
442
442
|
# @param [Hash] opts
|
443
443
|
# @option opts [IControl::GlobalLB::ServerType] :types The server types to set.
|
444
444
|
def set_server_type(opts)
|
445
|
-
check_params(opts,[:types])
|
446
|
-
super
|
445
|
+
opts = check_params(opts,[:types])
|
446
|
+
super(opts)
|
447
447
|
end
|
448
448
|
|
449
449
|
##
|
@@ -20,8 +20,8 @@ module IControl::GlobalLB
|
|
20
20
|
# @option opts [long] :weights The weights for the records.
|
21
21
|
# @option opts [long] :orders The sort orders for the records. These sort orders are used when longest match sorting is not available.
|
22
22
|
def create(opts)
|
23
|
-
check_params(opts,[:weights,:orders])
|
24
|
-
super
|
23
|
+
opts = check_params(opts,[:weights,:orders])
|
24
|
+
super(opts)
|
25
25
|
end
|
26
26
|
|
27
27
|
##
|
@@ -95,8 +95,8 @@ module IControl::GlobalLB
|
|
95
95
|
# @param [Hash] opts
|
96
96
|
# @option opts [long] :orders The sort orders to set.
|
97
97
|
def set_order(opts)
|
98
|
-
check_params(opts,[:orders])
|
99
|
-
super
|
98
|
+
opts = check_params(opts,[:orders])
|
99
|
+
super(opts)
|
100
100
|
end
|
101
101
|
|
102
102
|
##
|
@@ -108,8 +108,8 @@ module IControl::GlobalLB
|
|
108
108
|
# @param [Hash] opts
|
109
109
|
# @option opts [long] :weights The weights to set.
|
110
110
|
def set_weight(opts)
|
111
|
-
check_params(opts,[:weights])
|
112
|
-
super
|
111
|
+
opts = check_params(opts,[:weights])
|
112
|
+
super(opts)
|
113
113
|
end
|
114
114
|
|
115
115
|
##
|