icontrol 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. data/lib/icontrol/arx/export.rb +4 -4
  2. data/lib/icontrol/arx/file_change_notification.rb +10 -10
  3. data/lib/icontrol/arx/policy.rb +6 -6
  4. data/lib/icontrol/arx/share.rb +4 -4
  5. data/lib/icontrol/arx/volume.rb +2 -2
  6. data/lib/icontrol/asm/object_params.rb +4 -4
  7. data/lib/icontrol/asm/policy.rb +36 -36
  8. data/lib/icontrol/asm/system_configuration.rb +6 -6
  9. data/lib/icontrol/asm/web_application.rb +10 -10
  10. data/lib/icontrol/asm/web_application_group.rb +4 -4
  11. data/lib/icontrol/base.rb +13 -2
  12. data/lib/icontrol/base/attributable.rb +1 -1
  13. data/lib/icontrol/base/icontrol_overlay.rb +2 -1
  14. data/lib/icontrol/base/icontrol_overlay/common.rb +20 -0
  15. data/lib/icontrol/base/{icontrol → icontrol_overlay}/local_lb/pool.rb +0 -0
  16. data/lib/icontrol/global_lb/application.rb +12 -12
  17. data/lib/icontrol/global_lb/data_center.rb +6 -6
  18. data/lib/icontrol/global_lb/dnssec_key.rb +24 -24
  19. data/lib/icontrol/global_lb/dnssec_zone.rb +8 -8
  20. data/lib/icontrol/global_lb/globals.rb +48 -48
  21. data/lib/icontrol/global_lb/link.rb +34 -34
  22. data/lib/icontrol/global_lb/monitor.rb +30 -30
  23. data/lib/icontrol/global_lb/pool.rb +52 -52
  24. data/lib/icontrol/global_lb/pool_member.rb +34 -34
  25. data/lib/icontrol/global_lb/region.rb +6 -6
  26. data/lib/icontrol/global_lb/rule.rb +4 -4
  27. data/lib/icontrol/global_lb/server.rb +36 -36
  28. data/lib/icontrol/global_lb/topology.rb +6 -6
  29. data/lib/icontrol/global_lb/virtual_server.rb +16 -16
  30. data/lib/icontrol/global_lb/wide_ip.rb +28 -28
  31. data/lib/icontrol/local_lb/klass.rb +48 -48
  32. data/lib/icontrol/local_lb/monitor.rb +28 -28
  33. data/lib/icontrol/local_lb/nat.rb +10 -10
  34. data/lib/icontrol/local_lb/node_address.rb +22 -22
  35. data/lib/icontrol/local_lb/pool.rb +42 -42
  36. data/lib/icontrol/local_lb/pool_member.rb +20 -20
  37. data/lib/icontrol/local_lb/profile_auth.rb +16 -16
  38. data/lib/icontrol/local_lb/profile_client_ssl.rb +54 -54
  39. data/lib/icontrol/local_lb/profile_diameter.rb +10 -10
  40. data/lib/icontrol/local_lb/profile_dns.rb +4 -4
  41. data/lib/icontrol/local_lb/profile_fast_http.rb +40 -40
  42. data/lib/icontrol/local_lb/profile_fast_l4.rb +46 -46
  43. data/lib/icontrol/local_lb/profile_ftp.rb +8 -8
  44. data/lib/icontrol/local_lb/profile_http.rb +118 -118
  45. data/lib/icontrol/local_lb/profile_http_class.rb +28 -28
  46. data/lib/icontrol/local_lb/profile_iiop.rb +10 -10
  47. data/lib/icontrol/local_lb/profile_one_connect.rb +12 -12
  48. data/lib/icontrol/local_lb/profile_persistence.rb +50 -50
  49. data/lib/icontrol/local_lb/profile_radius.rb +8 -8
  50. data/lib/icontrol/local_lb/profile_rtsp.rb +26 -26
  51. data/lib/icontrol/local_lb/profile_sctp.rb +42 -42
  52. data/lib/icontrol/local_lb/profile_server_ssl.rb +48 -48
  53. data/lib/icontrol/local_lb/profile_sip.rb +18 -18
  54. data/lib/icontrol/local_lb/profile_stream.rb +6 -6
  55. data/lib/icontrol/local_lb/profile_tcp.rb +74 -74
  56. data/lib/icontrol/local_lb/profile_udp.rb +14 -14
  57. data/lib/icontrol/local_lb/profile_user_statistic.rb +6 -6
  58. data/lib/icontrol/local_lb/profile_xml.rb +14 -14
  59. data/lib/icontrol/local_lb/ram_cache_information.rb +2 -2
  60. data/lib/icontrol/local_lb/rate_class.rb +122 -122
  61. data/lib/icontrol/local_lb/rule.rb +4 -4
  62. data/lib/icontrol/local_lb/snat.rb +14 -14
  63. data/lib/icontrol/local_lb/snat_pool.rb +6 -6
  64. data/lib/icontrol/local_lb/snat_pool_member.rb +4 -4
  65. data/lib/icontrol/local_lb/snat_translation_address.rb +16 -16
  66. data/lib/icontrol/local_lb/virtual_address.rb +14 -14
  67. data/lib/icontrol/local_lb/virtual_server.rb +66 -66
  68. data/lib/icontrol/lt_config/field.rb +24 -24
  69. data/lib/icontrol/lt_config/klass.rb +4 -4
  70. data/lib/icontrol/management/ccldap_configuration.rb +38 -38
  71. data/lib/icontrol/management/change_control.rb +22 -22
  72. data/lib/icontrol/management/crldp_configuration.rb +14 -14
  73. data/lib/icontrol/management/crldp_server.rb +8 -8
  74. data/lib/icontrol/management/event_notification.rb +2 -2
  75. data/lib/icontrol/management/event_subscription.rb +30 -30
  76. data/lib/icontrol/management/key_certificate.rb +66 -66
  77. data/lib/icontrol/management/ldap_configuration.rb +58 -58
  78. data/lib/icontrol/management/license_administration.rb +8 -8
  79. data/lib/icontrol/management/named.rb +16 -16
  80. data/lib/icontrol/management/ocsp_configuration.rb +6 -6
  81. data/lib/icontrol/management/ocsp_responder.rb +40 -40
  82. data/lib/icontrol/management/partition.rb +4 -4
  83. data/lib/icontrol/management/provision.rb +8 -8
  84. data/lib/icontrol/management/radius_configuration.rb +16 -16
  85. data/lib/icontrol/management/radius_server.rb +8 -8
  86. data/lib/icontrol/management/resource_record.rb +76 -76
  87. data/lib/icontrol/management/snmp_configuration.rb +142 -142
  88. data/lib/icontrol/management/tacacs_configuration.rb +20 -20
  89. data/lib/icontrol/management/user_management.rb +34 -34
  90. data/lib/icontrol/management/view.rb +8 -8
  91. data/lib/icontrol/management/zone.rb +14 -14
  92. data/lib/icontrol/networking/admin_ip.rb +30 -30
  93. data/lib/icontrol/networking/arp.rb +4 -4
  94. data/lib/icontrol/networking/i_session_advertised_route.rb +8 -8
  95. data/lib/icontrol/networking/i_session_local_interface.rb +14 -14
  96. data/lib/icontrol/networking/i_session_peer_discovery.rb +16 -16
  97. data/lib/icontrol/networking/i_session_remote_interface.rb +20 -20
  98. data/lib/icontrol/networking/interfaces.rb +26 -26
  99. data/lib/icontrol/networking/packet_filter.rb +14 -14
  100. data/lib/icontrol/networking/packet_filter_globals.rb +8 -8
  101. data/lib/icontrol/networking/port_mirror.rb +6 -6
  102. data/lib/icontrol/networking/profile_gre.rb +6 -6
  103. data/lib/icontrol/networking/profile_ipip.rb +2 -2
  104. data/lib/icontrol/networking/profile_wccpgre.rb +10 -10
  105. data/lib/icontrol/networking/route_domain.rb +12 -12
  106. data/lib/icontrol/networking/route_table.rb +22 -22
  107. data/lib/icontrol/networking/self_ip.rb +10 -10
  108. data/lib/icontrol/networking/self_ip_port_lockdown.rb +6 -6
  109. data/lib/icontrol/networking/stp_instance.rb +22 -22
  110. data/lib/icontrol/networking/trunk.rb +20 -20
  111. data/lib/icontrol/networking/tunnel.rb +14 -14
  112. data/lib/icontrol/networking/vlan.rb +26 -26
  113. data/lib/icontrol/networking/vlan_group.rb +28 -28
  114. data/lib/icontrol/system/cluster.rb +22 -22
  115. data/lib/icontrol/system/config_sync.rb +26 -26
  116. data/lib/icontrol/system/disk.rb +18 -18
  117. data/lib/icontrol/system/inet.rb +10 -10
  118. data/lib/icontrol/system/internal.rb +2 -2
  119. data/lib/icontrol/system/services.rb +10 -10
  120. data/lib/icontrol/system/software_management.rb +20 -20
  121. data/lib/icontrol/system/statistics.rb +22 -22
  122. data/lib/icontrol/system/system_info.rb +8 -8
  123. data/lib/icontrol/web_accelerator/applications.rb +4 -4
  124. data/lib/icontrol/web_accelerator/policies.rb +2 -2
  125. data/spec/icontrol/base/struct_spec.rb +11 -0
  126. data/spec/icontrol/common_spec.rb +11 -0
  127. metadata +9 -4
@@ -190,8 +190,8 @@ module IControl::LocalLB
190
190
  # @param [Hash] opts
191
191
  # @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified UDP profiles.
192
192
  def set_allow_no_payload_state(opts)
193
- check_params(opts,[:states])
194
- super
193
+ opts = check_params(opts,[:states])
194
+ super(opts)
195
195
  end
196
196
 
197
197
  ##
@@ -203,8 +203,8 @@ module IControl::LocalLB
203
203
  # @param [Hash] opts
204
204
  # @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified UDP profiles.
205
205
  def set_datagram_lb_state(opts)
206
- check_params(opts,[:states])
207
- super
206
+ opts = check_params(opts,[:states])
207
+ super(opts)
208
208
  end
209
209
 
210
210
  ##
@@ -217,8 +217,8 @@ module IControl::LocalLB
217
217
  # @param [Hash] opts
218
218
  # @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
219
219
  def set_default_profile(opts)
220
- check_params(opts,[:defaults])
221
- super
220
+ opts = check_params(opts,[:defaults])
221
+ super(opts)
222
222
  end
223
223
 
224
224
  ##
@@ -230,8 +230,8 @@ module IControl::LocalLB
230
230
  # @param [Hash] opts
231
231
  # @option opts [IControl::LocalLB::ProfileULong] :timeouts The idle timeout for the specified UDP profiles.
232
232
  def set_idle_timeout(opts)
233
- check_params(opts,[:timeouts])
234
- super
233
+ opts = check_params(opts,[:timeouts])
234
+ super(opts)
235
235
  end
236
236
 
237
237
  ##
@@ -243,8 +243,8 @@ module IControl::LocalLB
243
243
  # @param [Hash] opts
244
244
  # @option opts [IControl::LocalLB::ProfileULong] :values The client-side IP TOS values.
245
245
  def set_ip_tos_to_client(opts)
246
- check_params(opts,[:values])
247
- super
246
+ opts = check_params(opts,[:values])
247
+ super(opts)
248
248
  end
249
249
 
250
250
  ##
@@ -256,8 +256,8 @@ module IControl::LocalLB
256
256
  # @param [Hash] opts
257
257
  # @option opts [IControl::LocalLB::ProfileULong] :values The client-side link QoS values.
258
258
  def set_link_qos_to_client(opts)
259
- check_params(opts,[:values])
260
- super
259
+ opts = check_params(opts,[:values])
260
+ super(opts)
261
261
  end
262
262
 
263
263
  ##
@@ -270,8 +270,8 @@ module IControl::LocalLB
270
270
  # @param [Hash] opts
271
271
  # @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified UDP profiles.
272
272
  def set_no_checksum_state(opts)
273
- check_params(opts,[:states])
274
- super
273
+ opts = check_params(opts,[:states])
274
+ super(opts)
275
275
  end
276
276
 
277
277
  ##
@@ -95,8 +95,8 @@ module IControl::LocalLB
95
95
  # @param [Hash] opts
96
96
  # @option opts [IControl::LocalLB::ProfileUserStatistic::UserStatisticKey[]] :statistic_keys The statistic keys used to index the statistic names. Each "inner" sequence of statistic keys corresponds to a profile specified in profile_names.
97
97
  def statistic_name(opts)
98
- check_params(opts,[:statistic_keys])
99
- super
98
+ opts = check_params(opts,[:statistic_keys])
99
+ super(opts)
100
100
  end
101
101
 
102
102
  ##
@@ -154,8 +154,8 @@ module IControl::LocalLB
154
154
  # @param [Hash] opts
155
155
  # @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
156
156
  def set_default_profile(opts)
157
- check_params(opts,[:defaults])
158
- super
157
+ opts = check_params(opts,[:defaults])
158
+ super(opts)
159
159
  end
160
160
 
161
161
  ##
@@ -167,8 +167,8 @@ module IControl::LocalLB
167
167
  # @param [Hash] opts
168
168
  # @option opts [IControl::LocalLB::ProfileUserStatistic::UserStatisticName[]] :statistic_names The user-defined statistic names in the specified profiles. Each "inner" sequence of statistic names corresponds to a profile specified in profile_names.
169
169
  def set_statistic_name(opts)
170
- check_params(opts,[:statistic_names])
171
- super
170
+ opts = check_params(opts,[:statistic_names])
171
+ super(opts)
172
172
  end
173
173
 
174
174
  ##
@@ -24,8 +24,8 @@ module IControl::LocalLB
24
24
  # @param [Hash] opts
25
25
  # @option opts [IControl::LocalLB::ProfileXML::NamespaceMapping[]] :namespace_mappings The lists of namespace mappings to be added to the namespace mappings list for each of the XML profiles respectively.
26
26
  def add_namespace_mappings(opts)
27
- check_params(opts,[:namespace_mappings])
28
- super
27
+ opts = check_params(opts,[:namespace_mappings])
28
+ super(opts)
29
29
  end
30
30
 
31
31
  ##
@@ -40,8 +40,8 @@ module IControl::LocalLB
40
40
  # @param [Hash] opts
41
41
  # @option opts [String[]] :xpath_queries The lists of XPath queries to be added to the XPath queries list of each XML profile respectively.
42
42
  def add_xpath_queries(opts)
43
- check_params(opts,[:xpath_queries])
44
- super
43
+ opts = check_params(opts,[:xpath_queries])
44
+ super(opts)
45
45
  end
46
46
 
47
47
  ##
@@ -212,8 +212,8 @@ module IControl::LocalLB
212
212
  # @param [Hash] opts
213
213
  # @option opts [IControl::LocalLB::ProfileXML::NamespaceMapping[]] :namespace_mappings The lists of namespace mappings to be removed from each of the XML profiles respectively.
214
214
  def remove_namespace_mappings(opts)
215
- check_params(opts,[:namespace_mappings])
216
- super
215
+ opts = check_params(opts,[:namespace_mappings])
216
+ super(opts)
217
217
  end
218
218
 
219
219
  ##
@@ -225,8 +225,8 @@ module IControl::LocalLB
225
225
  # @param [Hash] opts
226
226
  # @option opts [String[]] :xpath_queries The lists of XPath queries to be removed from the XPath queries list of each XML profile respectively.
227
227
  def remove_xpath_queries(opts)
228
- check_params(opts,[:xpath_queries])
229
- super
228
+ opts = check_params(opts,[:xpath_queries])
229
+ super(opts)
230
230
  end
231
231
 
232
232
  ##
@@ -248,8 +248,8 @@ module IControl::LocalLB
248
248
  # @param [Hash] opts
249
249
  # @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified profiles.
250
250
  def set_abort_on_error_state(opts)
251
- check_params(opts,[:states])
252
- super
251
+ opts = check_params(opts,[:states])
252
+ super(opts)
253
253
  end
254
254
 
255
255
  ##
@@ -262,8 +262,8 @@ module IControl::LocalLB
262
262
  # @param [Hash] opts
263
263
  # @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
264
264
  def set_default_profile(opts)
265
- check_params(opts,[:defaults])
266
- super
265
+ opts = check_params(opts,[:defaults])
266
+ super(opts)
267
267
  end
268
268
 
269
269
  ##
@@ -275,8 +275,8 @@ module IControl::LocalLB
275
275
  # @param [Hash] opts
276
276
  # @option opts [IControl::LocalLB::ProfileULong] :sizes The maximum buffer sizes.
277
277
  def set_maximum_buffer_size(opts)
278
- check_params(opts,[:sizes])
279
- super
278
+ opts = check_params(opts,[:sizes])
279
+ super(opts)
280
280
  end
281
281
 
282
282
  ##
@@ -48,8 +48,8 @@ module IControl::LocalLB
48
48
  # @param [Hash] opts
49
49
  # @option opts [boolean] :exact_match Whether to look for an exact match for host and uri. If exact, you must specify host and uri in the key. If non-exact, host and uri can be a subset of the text in a matched entry during the search.
50
50
  def evict_ramcache_entry_v2(opts)
51
- check_params(opts,[:exact_match])
52
- super
51
+ opts = check_params(opts,[:exact_match])
52
+ super(opts)
53
53
  end
54
54
 
55
55
  ##
@@ -37,8 +37,8 @@ module IControl::LocalLB
37
37
  # @param [Hash] opts
38
38
  # @option opts [IControl::LocalLB::RateClass::RateUnit] :base_rates The base rates at which the maximum throughput to allot to traffic handled by the Rate Classes. Packets in excess of the posted rate will be dropped.
39
39
  def create(opts)
40
- check_params(opts,[:base_rates])
41
- super
40
+ opts = check_params(opts,[:base_rates])
41
+ super(opts)
42
42
  end
43
43
 
44
44
  ##
@@ -54,8 +54,8 @@ module IControl::LocalLB
54
54
  # @option opts [String] :drop_policies Names of the drop policies to create
55
55
  # @option opts [IControl::LocalLB::RateClass::DropPolicyType] :types Type for each created drop policy
56
56
  def create_drop_policy(opts)
57
- check_params(opts,[:drop_policies,:types])
58
- super
57
+ opts = check_params(opts,[:drop_policies,:types])
58
+ super(opts)
59
59
  end
60
60
 
61
61
  ##
@@ -68,8 +68,8 @@ module IControl::LocalLB
68
68
  # @option opts [String] :queues Names of the queueing methods to create
69
69
  # @option opts [IControl::LocalLB::RateClass::QueueType] :types Type for each created queueing method
70
70
  def create_queueing_method(opts)
71
- check_params(opts,[:queues,:types])
72
- super
71
+ opts = check_params(opts,[:queues,:types])
72
+ super(opts)
73
73
  end
74
74
 
75
75
  ##
@@ -81,8 +81,8 @@ module IControl::LocalLB
81
81
  # @param [Hash] opts
82
82
  # @option opts [String] :policies Names of the shaping policies to create
83
83
  def create_shaping_policy(opts)
84
- check_params(opts,[:policies])
85
- super
84
+ opts = check_params(opts,[:policies])
85
+ super(opts)
86
86
  end
87
87
 
88
88
  ##
@@ -134,8 +134,8 @@ module IControl::LocalLB
134
134
  # @param [Hash] opts
135
135
  # @option opts [String] :drop_policies Names of the drop policies to delete
136
136
  def delete_drop_policy(opts)
137
- check_params(opts,[:drop_policies])
138
- super
137
+ opts = check_params(opts,[:drop_policies])
138
+ super(opts)
139
139
  end
140
140
 
141
141
  ##
@@ -147,8 +147,8 @@ module IControl::LocalLB
147
147
  # @param [Hash] opts
148
148
  # @option opts [String] :queues Names of the queueing methods to delete
149
149
  def delete_queueing_method(opts)
150
- check_params(opts,[:queues])
151
- super
150
+ opts = check_params(opts,[:queues])
151
+ super(opts)
152
152
  end
153
153
 
154
154
  ##
@@ -170,8 +170,8 @@ module IControl::LocalLB
170
170
  # @param [Hash] opts
171
171
  # @option opts [String] :policies Names of the shaping policies to delete
172
172
  def delete_shaping_policy(opts)
173
- check_params(opts,[:policies])
174
- super
173
+ opts = check_params(opts,[:policies])
174
+ super(opts)
175
175
  end
176
176
 
177
177
  ##
@@ -272,8 +272,8 @@ module IControl::LocalLB
272
272
  # @param [Hash] opts
273
273
  # @option opts [String] :drop_policies Names of the drop policies to query
274
274
  def drop_policy_average_packet_size(opts)
275
- check_params(opts,[:drop_policies])
276
- super
275
+ opts = check_params(opts,[:drop_policies])
276
+ super(opts)
277
277
  end
278
278
 
279
279
  ##
@@ -286,8 +286,8 @@ module IControl::LocalLB
286
286
  # @param [Hash] opts
287
287
  # @option opts [String] :drop_policies Names of the drop policies to query
288
288
  def drop_policy_drop_limit_factor(opts)
289
- check_params(opts,[:drop_policies])
290
- super
289
+ opts = check_params(opts,[:drop_policies])
290
+ super(opts)
291
291
  end
292
292
 
293
293
  ##
@@ -312,8 +312,8 @@ module IControl::LocalLB
312
312
  # @param [Hash] opts
313
313
  # @option opts [String] :drop_policies Names of the drop policies to query
314
314
  def drop_policy_maximum_active_connections(opts)
315
- check_params(opts,[:drop_policies])
316
- super
315
+ opts = check_params(opts,[:drop_policies])
316
+ super(opts)
317
317
  end
318
318
 
319
319
  ##
@@ -328,8 +328,8 @@ module IControl::LocalLB
328
328
  # @param [Hash] opts
329
329
  # @option opts [String] :drop_policies Names of the drop policies to query
330
330
  def drop_policy_maximum_probability(opts)
331
- check_params(opts,[:drop_policies])
332
- super
331
+ opts = check_params(opts,[:drop_policies])
332
+ super(opts)
333
333
  end
334
334
 
335
335
  ##
@@ -342,8 +342,8 @@ module IControl::LocalLB
342
342
  # @param [Hash] opts
343
343
  # @option opts [String] :drop_policies Names of the drop policies to query
344
344
  def drop_policy_maximum_queue_size(opts)
345
- check_params(opts,[:drop_policies])
346
- super
345
+ opts = check_params(opts,[:drop_policies])
346
+ super(opts)
347
347
  end
348
348
 
349
349
  ##
@@ -358,8 +358,8 @@ module IControl::LocalLB
358
358
  # @param [Hash] opts
359
359
  # @option opts [String] :drop_policies Names of the drop policies to query
360
360
  def drop_policy_maximum_queue_threshold(opts)
361
- check_params(opts,[:drop_policies])
362
- super
361
+ opts = check_params(opts,[:drop_policies])
362
+ super(opts)
363
363
  end
364
364
 
365
365
  ##
@@ -374,8 +374,8 @@ module IControl::LocalLB
374
374
  # @param [Hash] opts
375
375
  # @option opts [String] :drop_policies Names of the drop policies to query
376
376
  def drop_policy_minimum_queue_threshold(opts)
377
- check_params(opts,[:drop_policies])
378
- super
377
+ opts = check_params(opts,[:drop_policies])
378
+ super(opts)
379
379
  end
380
380
 
381
381
  ##
@@ -388,8 +388,8 @@ module IControl::LocalLB
388
388
  # @param [Hash] opts
389
389
  # @option opts [String] :drop_policies Names of the drop policies to query
390
390
  def drop_policy_no_drop_limit_factor(opts)
391
- check_params(opts,[:drop_policies])
392
- super
391
+ opts = check_params(opts,[:drop_policies])
392
+ super(opts)
393
393
  end
394
394
 
395
395
  ##
@@ -402,8 +402,8 @@ module IControl::LocalLB
402
402
  # @param [Hash] opts
403
403
  # @option opts [String] :drop_policies Names of the drop policies to query
404
404
  def drop_policy_type(opts)
405
- check_params(opts,[:drop_policies])
406
- super
405
+ opts = check_params(opts,[:drop_policies])
406
+ super(opts)
407
407
  end
408
408
 
409
409
  ##
@@ -417,8 +417,8 @@ module IControl::LocalLB
417
417
  # @param [Hash] opts
418
418
  # @option opts [String] :drop_policies Names of the drop policies to query
419
419
  def drop_policy_weight(opts)
420
- check_params(opts,[:drop_policies])
421
- super
420
+ opts = check_params(opts,[:drop_policies])
421
+ super(opts)
422
422
  end
423
423
 
424
424
  ##
@@ -505,8 +505,8 @@ module IControl::LocalLB
505
505
  # @param [Hash] opts
506
506
  # @option opts [String] :queues Names of the queueing methods to query
507
507
  def queueing_method_bucket_count(opts)
508
- check_params(opts,[:queues])
509
- super
508
+ opts = check_params(opts,[:queues])
509
+ super(opts)
510
510
  end
511
511
 
512
512
  ##
@@ -520,8 +520,8 @@ module IControl::LocalLB
520
520
  # @param [Hash] opts
521
521
  # @option opts [String] :queues Names of the queueing methods to query
522
522
  def queueing_method_bucket_size(opts)
523
- check_params(opts,[:queues])
524
- super
523
+ opts = check_params(opts,[:queues])
524
+ super(opts)
525
525
  end
526
526
 
527
527
  ##
@@ -545,8 +545,8 @@ module IControl::LocalLB
545
545
  # @param [Hash] opts
546
546
  # @option opts [String] :queues Names of the queueing methods to query
547
547
  def queueing_method_maximum_queue_size(opts)
548
- check_params(opts,[:queues])
549
- super
548
+ opts = check_params(opts,[:queues])
549
+ super(opts)
550
550
  end
551
551
 
552
552
  ##
@@ -559,8 +559,8 @@ module IControl::LocalLB
559
559
  # @param [Hash] opts
560
560
  # @option opts [String] :queues Names of the queueing methods to query
561
561
  def queueing_method_minimum_queue_size(opts)
562
- check_params(opts,[:queues])
563
- super
562
+ opts = check_params(opts,[:queues])
563
+ super(opts)
564
564
  end
565
565
 
566
566
  ##
@@ -574,8 +574,8 @@ module IControl::LocalLB
574
574
  # @param [Hash] opts
575
575
  # @option opts [String] :queues Names of the queueing methods to query
576
576
  def queueing_method_perturbation_interval(opts)
577
- check_params(opts,[:queues])
578
- super
577
+ opts = check_params(opts,[:queues])
578
+ super(opts)
579
579
  end
580
580
 
581
581
  ##
@@ -589,8 +589,8 @@ module IControl::LocalLB
589
589
  # @param [Hash] opts
590
590
  # @option opts [String] :queues Names of the queueing methods to query
591
591
  def queueing_method_type(opts)
592
- check_params(opts,[:queues])
593
- super
592
+ opts = check_params(opts,[:queues])
593
+ super(opts)
594
594
  end
595
595
 
596
596
  ##
@@ -616,8 +616,8 @@ module IControl::LocalLB
616
616
  # @param [Hash] opts
617
617
  # @option opts [String] :policies Names of the shaping policies to query
618
618
  def shaping_policy_burst_size(opts)
619
- check_params(opts,[:policies])
620
- super
619
+ opts = check_params(opts,[:policies])
620
+ super(opts)
621
621
  end
622
622
 
623
623
  ##
@@ -631,8 +631,8 @@ module IControl::LocalLB
631
631
  # @param [Hash] opts
632
632
  # @option opts [String] :policies Names of the shaping policies to query
633
633
  def shaping_policy_drop_policy(opts)
634
- check_params(opts,[:policies])
635
- super
634
+ opts = check_params(opts,[:policies])
635
+ super(opts)
636
636
  end
637
637
 
638
638
  ##
@@ -657,8 +657,8 @@ module IControl::LocalLB
657
657
  # @param [Hash] opts
658
658
  # @option opts [String] :policies Names of the shaping policies to query
659
659
  def shaping_policy_percent_of_parent_base_rate(opts)
660
- check_params(opts,[:policies])
661
- super
660
+ opts = check_params(opts,[:policies])
661
+ super(opts)
662
662
  end
663
663
 
664
664
  ##
@@ -672,8 +672,8 @@ module IControl::LocalLB
672
672
  # @param [Hash] opts
673
673
  # @option opts [String] :policies Names of the shaping policies to query
674
674
  def shaping_policy_percent_of_parent_ceiling_rate(opts)
675
- check_params(opts,[:policies])
676
- super
675
+ opts = check_params(opts,[:policies])
676
+ super(opts)
677
677
  end
678
678
 
679
679
  ##
@@ -688,8 +688,8 @@ module IControl::LocalLB
688
688
  # @param [Hash] opts
689
689
  # @option opts [String] :policies Names of the shaping policies to query
690
690
  def shaping_policy_queueing_method(opts)
691
- check_params(opts,[:policies])
692
- super
691
+ opts = check_params(opts,[:policies])
692
+ super(opts)
693
693
  end
694
694
 
695
695
  ##
@@ -732,8 +732,8 @@ module IControl::LocalLB
732
732
  # @param [Hash] opts
733
733
  # @option opts [IControl::LocalLB::RateClass::RateUnit] :rates The base rates to set for the rate classes.
734
734
  def set_base_rate(opts)
735
- check_params(opts,[:rates])
736
- super
735
+ opts = check_params(opts,[:rates])
736
+ super(opts)
737
737
  end
738
738
 
739
739
  ##
@@ -746,8 +746,8 @@ module IControl::LocalLB
746
746
  # @param [Hash] opts
747
747
  # @option opts [long] :burst_sizes The burst sizes to set for the rate classes.
748
748
  def set_burst_size(opts)
749
- check_params(opts,[:burst_sizes])
750
- super
749
+ opts = check_params(opts,[:burst_sizes])
750
+ super(opts)
751
751
  end
752
752
 
753
753
  ##
@@ -764,8 +764,8 @@ module IControl::LocalLB
764
764
  # @param [Hash] opts
765
765
  # @option opts [IControl::LocalLB::RateClass::RateUnit] :rates The ceiling rates to set for the rate classes.
766
766
  def set_ceiling_rate(opts)
767
- check_params(opts,[:rates])
768
- super
767
+ opts = check_params(opts,[:rates])
768
+ super(opts)
769
769
  end
770
770
 
771
771
  ##
@@ -778,8 +778,8 @@ module IControl::LocalLB
778
778
  # @param [Hash] opts
779
779
  # @option opts [IControl::LocalLB::RateClass::DirectionType] :direction_types The direction types to set for the rate classes.
780
780
  def set_direction(opts)
781
- check_params(opts,[:direction_types])
782
- super
781
+ opts = check_params(opts,[:direction_types])
782
+ super(opts)
783
783
  end
784
784
 
785
785
  ##
@@ -792,8 +792,8 @@ module IControl::LocalLB
792
792
  # @param [Hash] opts
793
793
  # @option opts [String] :vlans Name of the egress VLAN for each specified rate filter class (default: none, i.e., this must be specified)
794
794
  def set_direction_vlan(opts)
795
- check_params(opts,[:vlans])
796
- super
795
+ opts = check_params(opts,[:vlans])
796
+ super(opts)
797
797
  end
798
798
 
799
799
  ##
@@ -811,8 +811,8 @@ module IControl::LocalLB
811
811
  # @param [Hash] opts
812
812
  # @option opts [String] :policies Name of the drop policy for each specified rate filter class (default: "tail")
813
813
  def set_drop_policy(opts)
814
- check_params(opts,[:policies])
815
- super
814
+ opts = check_params(opts,[:policies])
815
+ super(opts)
816
816
  end
817
817
 
818
818
  ##
@@ -826,8 +826,8 @@ module IControl::LocalLB
826
826
  # @option opts [String] :drop_policies Names of the drop policies to modify
827
827
  # @option opts [long] :mtus Average packet (MTU) size for each specified drop policy (maximum: 10000 default: zero)
828
828
  def set_drop_policy_average_packet_size(opts)
829
- check_params(opts,[:drop_policies,:mtus])
830
- super
829
+ opts = check_params(opts,[:drop_policies,:mtus])
830
+ super(opts)
831
831
  end
832
832
 
833
833
  ##
@@ -841,8 +841,8 @@ module IControl::LocalLB
841
841
  # @option opts [String] :drop_policies Names of the drop policies to modify
842
842
  # @option opts [long] :factors Drop limit factor for each specified drop policy (arbitrary units 0-400, default: zero)
843
843
  def set_drop_policy_drop_limit_factor(opts)
844
- check_params(opts,[:drop_policies,:factors])
845
- super
844
+ opts = check_params(opts,[:drop_policies,:factors])
845
+ super(opts)
846
846
  end
847
847
 
848
848
  ##
@@ -856,8 +856,8 @@ module IControl::LocalLB
856
856
  # @option opts [String] :drop_policies Names of the drop policies to modify
857
857
  # @option opts [long] :max_conns Maximum number of connections for each specified drop policy (maximum: 10000. default: zero (disables the active connection limitation))
858
858
  def set_drop_policy_maximum_active_connections(opts)
859
- check_params(opts,[:drop_policies,:max_conns])
860
- super
859
+ opts = check_params(opts,[:drop_policies,:max_conns])
860
+ super(opts)
861
861
  end
862
862
 
863
863
  ##
@@ -872,8 +872,8 @@ module IControl::LocalLB
872
872
  # @option opts [String] :drop_policies Names of the drop policies to modify
873
873
  # @option opts [long] :probabilities Maximum probability (percent) for each specified drop policy (default: zero)
874
874
  def set_drop_policy_maximum_probability(opts)
875
- check_params(opts,[:drop_policies,:probabilities])
876
- super
875
+ opts = check_params(opts,[:drop_policies,:probabilities])
876
+ super(opts)
877
877
  end
878
878
 
879
879
  ##
@@ -888,8 +888,8 @@ module IControl::LocalLB
888
888
  # @option opts [String] :drop_policies Names of the drop policies to modify
889
889
  # @option opts [long] :max_sizes Maximum queue size for each specified drop policy (bytes) (default: zero)
890
890
  def set_drop_policy_maximum_queue_size(opts)
891
- check_params(opts,[:drop_policies,:max_sizes])
892
- super
891
+ opts = check_params(opts,[:drop_policies,:max_sizes])
892
+ super(opts)
893
893
  end
894
894
 
895
895
  ##
@@ -904,8 +904,8 @@ module IControl::LocalLB
904
904
  # @option opts [String] :drop_policies Names of the drop policies to modify
905
905
  # @option opts [long] :thresholds Queue length above which packets are dropped for each specified drop policy (default: zero)
906
906
  def set_drop_policy_maximum_queue_threshold(opts)
907
- check_params(opts,[:drop_policies,:thresholds])
908
- super
907
+ opts = check_params(opts,[:drop_policies,:thresholds])
908
+ super(opts)
909
909
  end
910
910
 
911
911
  ##
@@ -920,8 +920,8 @@ module IControl::LocalLB
920
920
  # @option opts [String] :drop_policies Names of the drop policies to modify
921
921
  # @option opts [long] :thresholds Queue length below which packets are not dropped for each specified drop policy (default: zero)
922
922
  def set_drop_policy_minimum_queue_threshold(opts)
923
- check_params(opts,[:drop_policies,:thresholds])
924
- super
923
+ opts = check_params(opts,[:drop_policies,:thresholds])
924
+ super(opts)
925
925
  end
926
926
 
927
927
  ##
@@ -935,8 +935,8 @@ module IControl::LocalLB
935
935
  # @option opts [String] :drop_policies Names of the drop policies to modify
936
936
  # @option opts [long] :factors No-drop limit factor for each specified drop policy (arbitrary units 0-100, default: zero)
937
937
  def set_drop_policy_no_drop_limit_factor(opts)
938
- check_params(opts,[:drop_policies,:factors])
939
- super
938
+ opts = check_params(opts,[:drop_policies,:factors])
939
+ super(opts)
940
940
  end
941
941
 
942
942
  ##
@@ -950,8 +950,8 @@ module IControl::LocalLB
950
950
  # @option opts [String] :drop_policies Names of the drop policies to modify
951
951
  # @option opts [IControl::LocalLB::RateClass::DropPolicyType] :types Drop policy type for each specified drop policy (default: DROP_TAIL)
952
952
  def set_drop_policy_type(opts)
953
- check_params(opts,[:drop_policies,:types])
954
- super
953
+ opts = check_params(opts,[:drop_policies,:types])
954
+ super(opts)
955
955
  end
956
956
 
957
957
  ##
@@ -965,8 +965,8 @@ module IControl::LocalLB
965
965
  # @option opts [String] :drop_policies Names of the drop policies to modify
966
966
  # @option opts [long] :weights Weight used to calculate the average queue length for each specified drop policy (valid: 0, 64, 128, 256, 512. default: zero).
967
967
  def set_drop_policy_weight(opts)
968
- check_params(opts,[:drop_policies,:weights])
969
- super
968
+ opts = check_params(opts,[:drop_policies,:weights])
969
+ super(opts)
970
970
  end
971
971
 
972
972
  ##
@@ -981,8 +981,8 @@ module IControl::LocalLB
981
981
  # @param [Hash] opts
982
982
  # @option opts [String] :parents The parent rate class names.
983
983
  def set_parent(opts)
984
- check_params(opts,[:parents])
985
- super
984
+ opts = check_params(opts,[:parents])
985
+ super(opts)
986
986
  end
987
987
 
988
988
  ##
@@ -995,8 +995,8 @@ module IControl::LocalLB
995
995
  # @param [Hash] opts
996
996
  # @option opts [long] :percents Percent of the parent's base rate for each specified rate filter class (default: zero, i.e., the base rate is specified as bandwidth (see set_base_rate))
997
997
  def set_percent_of_parent_base_rate(opts)
998
- check_params(opts,[:percents])
999
- super
998
+ opts = check_params(opts,[:percents])
999
+ super(opts)
1000
1000
  end
1001
1001
 
1002
1002
  ##
@@ -1010,8 +1010,8 @@ module IControl::LocalLB
1010
1010
  # @param [Hash] opts
1011
1011
  # @option opts [long] :percents Percent of the parent's ceiling rate for each specified rate filter class (default: zero, i.e., the ceiling rate is specified as bandwidth (see set_ceiling_rate)
1012
1012
  def set_percent_of_parent_ceiling_rate(opts)
1013
- check_params(opts,[:percents])
1014
- super
1013
+ opts = check_params(opts,[:percents])
1014
+ super(opts)
1015
1015
  end
1016
1016
 
1017
1017
  ##
@@ -1024,8 +1024,8 @@ module IControl::LocalLB
1024
1024
  # @param [Hash] opts
1025
1025
  # @option opts [IControl::LocalLB::RateClass::QueueType] :queue_types The queue types to set for the rate classes.
1026
1026
  def set_queue_type(opts)
1027
- check_params(opts,[:queue_types])
1028
- super
1027
+ opts = check_params(opts,[:queue_types])
1028
+ super(opts)
1029
1029
  end
1030
1030
 
1031
1031
  ##
@@ -1043,8 +1043,8 @@ module IControl::LocalLB
1043
1043
  # @param [Hash] opts
1044
1044
  # @option opts [String] :methods Name of the queueing method object for each specified rate filter class (default: "sfq")
1045
1045
  def set_queueing_method(opts)
1046
- check_params(opts,[:methods])
1047
- super
1046
+ opts = check_params(opts,[:methods])
1047
+ super(opts)
1048
1048
  end
1049
1049
 
1050
1050
  ##
@@ -1058,8 +1058,8 @@ module IControl::LocalLB
1058
1058
  # @option opts [String] :queues Names of the queueing methods to modify
1059
1059
  # @option opts [long] :bucket_counts Number of buckets for each specified queueing method (valid: 0, 16, 32, 64, 128, 256, 512, 1024 default: zero)
1060
1060
  def set_queueing_method_bucket_count(opts)
1061
- check_params(opts,[:queues,:bucket_counts])
1062
- super
1061
+ opts = check_params(opts,[:queues,:bucket_counts])
1062
+ super(opts)
1063
1063
  end
1064
1064
 
1065
1065
  ##
@@ -1073,8 +1073,8 @@ module IControl::LocalLB
1073
1073
  # @option opts [String] :queues Names of the queueing methods to modify
1074
1074
  # @option opts [long] :bucket_sizes Bucket size (bytes) for each specified queueing method (default: zero)
1075
1075
  def set_queueing_method_bucket_size(opts)
1076
- check_params(opts,[:queues,:bucket_sizes])
1077
- super
1076
+ opts = check_params(opts,[:queues,:bucket_sizes])
1077
+ super(opts)
1078
1078
  end
1079
1079
 
1080
1080
  ##
@@ -1087,8 +1087,8 @@ module IControl::LocalLB
1087
1087
  # @option opts [String] :queues Names of the queueing methods to modify
1088
1088
  # @option opts [long] :max_sizes Maximum queue size (bytes) for each specified queueing method (default: zero)
1089
1089
  def set_queueing_method_maximum_queue_size(opts)
1090
- check_params(opts,[:queues,:max_sizes])
1091
- super
1090
+ opts = check_params(opts,[:queues,:max_sizes])
1091
+ super(opts)
1092
1092
  end
1093
1093
 
1094
1094
  ##
@@ -1101,8 +1101,8 @@ module IControl::LocalLB
1101
1101
  # @option opts [String] :queues Names of the queueing methods to modify
1102
1102
  # @option opts [long] :min_sizes Minimum queue size (bytes) for each specified queueing method (default: zero)
1103
1103
  def set_queueing_method_minimum_queue_size(opts)
1104
- check_params(opts,[:queues,:min_sizes])
1105
- super
1104
+ opts = check_params(opts,[:queues,:min_sizes])
1105
+ super(opts)
1106
1106
  end
1107
1107
 
1108
1108
  ##
@@ -1116,8 +1116,8 @@ module IControl::LocalLB
1116
1116
  # @option opts [String] :queues Names of the queueing methods to modify
1117
1117
  # @option opts [long] :intervals Perturbation interval (seconds) for each specified queueing method (default: 10sec)
1118
1118
  def set_queueing_method_perturbation_interval(opts)
1119
- check_params(opts,[:queues,:intervals])
1120
- super
1119
+ opts = check_params(opts,[:queues,:intervals])
1120
+ super(opts)
1121
1121
  end
1122
1122
 
1123
1123
  ##
@@ -1131,8 +1131,8 @@ module IControl::LocalLB
1131
1131
  # @option opts [String] :queues Names of the queueing methods to modify
1132
1132
  # @option opts [IControl::LocalLB::RateClass::QueueType] :types Queueing method type for each specified queueing method (default: none, i.e., this must be specified)
1133
1133
  def set_queueing_method_type(opts)
1134
- check_params(opts,[:queues,:types])
1135
- super
1134
+ opts = check_params(opts,[:queues,:types])
1135
+ super(opts)
1136
1136
  end
1137
1137
 
1138
1138
  ##
@@ -1149,8 +1149,8 @@ module IControl::LocalLB
1149
1149
  # @param [Hash] opts
1150
1150
  # @option opts [String] :policies Name of the shaping policy object for each specified rate filter class (default: none)
1151
1151
  def set_shaping_policy(opts)
1152
- check_params(opts,[:policies])
1153
- super
1152
+ opts = check_params(opts,[:policies])
1153
+ super(opts)
1154
1154
  end
1155
1155
 
1156
1156
  ##
@@ -1164,8 +1164,8 @@ module IControl::LocalLB
1164
1164
  # @option opts [String] :policies Names of the shaping policies to modify
1165
1165
  # @option opts [long] :burst_sizes Burst size (bytes) for each specified shaping policy
1166
1166
  def set_shaping_policy_burst_size(opts)
1167
- check_params(opts,[:policies,:burst_sizes])
1168
- super
1167
+ opts = check_params(opts,[:policies,:burst_sizes])
1168
+ super(opts)
1169
1169
  end
1170
1170
 
1171
1171
  ##
@@ -1182,8 +1182,8 @@ module IControl::LocalLB
1182
1182
  # @option opts [String] :policies Names of the shaping policies to modify
1183
1183
  # @option opts [String] :drop_policies Name of the drop policy for each specified shaping policy (default: "tail")
1184
1184
  def set_shaping_policy_drop_policy(opts)
1185
- check_params(opts,[:policies,:drop_policies])
1186
- super
1185
+ opts = check_params(opts,[:policies,:drop_policies])
1186
+ super(opts)
1187
1187
  end
1188
1188
 
1189
1189
  ##
@@ -1198,8 +1198,8 @@ module IControl::LocalLB
1198
1198
  # @option opts [String] :policies Names of the shaping policies to modify
1199
1199
  # @option opts [long] :percents Percent of parent base rates for each specified shaping policy (default: zero)
1200
1200
  def set_shaping_policy_percent_of_parent_base_rate(opts)
1201
- check_params(opts,[:policies,:percents])
1202
- super
1201
+ opts = check_params(opts,[:policies,:percents])
1202
+ super(opts)
1203
1203
  end
1204
1204
 
1205
1205
  ##
@@ -1214,8 +1214,8 @@ module IControl::LocalLB
1214
1214
  # @option opts [String] :policies Names of the shaping policies to modify
1215
1215
  # @option opts [long] :percents Percent of parent base rates (default: zero) for each specified shaping policy
1216
1216
  def set_shaping_policy_percent_of_parent_ceiling_rate(opts)
1217
- check_params(opts,[:policies,:percents])
1218
- super
1217
+ opts = check_params(opts,[:policies,:percents])
1218
+ super(opts)
1219
1219
  end
1220
1220
 
1221
1221
  ##
@@ -1233,8 +1233,8 @@ module IControl::LocalLB
1233
1233
  # @option opts [String] :policies Names of the shaping policies to modify
1234
1234
  # @option opts [String] :methods Name of the queueing method object for each shaping policy (default: "sfq")
1235
1235
  def set_shaping_policy_queueing_method(opts)
1236
- check_params(opts,[:policies,:methods])
1237
- super
1236
+ opts = check_params(opts,[:policies,:methods])
1237
+ super(opts)
1238
1238
  end
1239
1239
 
1240
1240
  ##