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
@@ -16,6 +16,7 @@ require 'base/icontrol_overlay'
16
16
  require 'base/xml'
17
17
 
18
18
  Savon.log = false
19
+ HTTPI.log = false
19
20
  HTTPI::Adapter.use = :net_http
20
21
 
21
22
  # The idea is to create an object proxy to the web service client with the same structure
@@ -258,11 +259,21 @@ module IControl
258
259
  # Checks whether the correct params are passed.
259
260
  # It checks just if the needed params are passed (specified in params), if more params are passed, they go straight to the SOAP call
260
261
  def check_params(options,params)
261
- return NotEnoughParams unless (params - options.keys).empty?
262
+ # In this case we are being called passing a hash (or something like that), in this case
263
+ # we use the normal check when callong
264
+ if options.respond_to?(:keys)
265
+ return options
266
+ else
267
+ # now we are using the one parameter form, so there is no need to use a hash (we build it)
268
+ if params.size == 1
269
+ return {params.first => options}
270
+ else
271
+ raise NotEnoughParams
272
+ end
273
+ end
262
274
  end
263
275
 
264
276
  def method_missing(method_name,*args,&block)
265
-
266
277
  # When calling an instance method we first check whether there is an argument with
267
278
  # that name and return it. If that is not the case we fallback in the class default method but adding the instance as
268
279
  # argument (the id), cause thats the way the api works, passing the id
@@ -16,7 +16,7 @@ module IControl
16
16
  return @attributes[:type] || super
17
17
  end
18
18
 
19
- def initialize(attributes)
19
+ def initialize(attributes = {})
20
20
  @attributes = attributes || {}
21
21
  end
22
22
 
@@ -3,4 +3,5 @@
3
3
  # in the generated code, to be ablo to regenerate it when neccesary. So as
4
4
  # ruby allows open classes we use them to add functionality This file will load those files at boot time
5
5
  $LOAD_PATH.unshift(File.dirname(__FILE__))
6
- require 'icontrol/local_lb/pool'
6
+ require 'icontrol_overlay/local_lb/pool'
7
+ require 'icontrol_overlay/common'
@@ -0,0 +1,20 @@
1
+ module IControl
2
+ module Common
3
+ class ULong64 < IControl::Base::Struct
4
+ def to_f
5
+ retVal = 0.0
6
+ if @high >=0
7
+ retVal = @high << 32 & 0xffff0000
8
+ else
9
+ retVal = ((@high & 0x7fffffff) << 32) + (0x80000000 << 32)
10
+ end
11
+ if @low >=0
12
+ retVal += @low
13
+ else
14
+ retVal += ((@low & 0x7fffffff) + 0x7fffffff)
15
+ end
16
+ return retVal;
17
+ end
18
+ end
19
+ end
20
+ end
@@ -49,8 +49,8 @@ module IControl::GlobalLB
49
49
  # @param [Hash] opts
50
50
  # @option opts [IControl::GlobalLB::Application::ApplicationContextObject] :application_objects The list of application context objects.
51
51
  def disable_application_context_object(opts)
52
- check_params(opts,[:application_objects])
53
- super
52
+ opts = check_params(opts,[:application_objects])
53
+ super(opts)
54
54
  end
55
55
 
56
56
  ##
@@ -62,8 +62,8 @@ module IControl::GlobalLB
62
62
  # @param [Hash] opts
63
63
  # @option opts [IControl::GlobalLB::Application::ApplicationContextObject] :application_objects The list of application context objects.
64
64
  def enable_application_context_object(opts)
65
- check_params(opts,[:application_objects])
66
- super
65
+ opts = check_params(opts,[:application_objects])
66
+ super(opts)
67
67
  end
68
68
 
69
69
  ##
@@ -76,8 +76,8 @@ module IControl::GlobalLB
76
76
  # @param [Hash] opts
77
77
  # @option opts [IControl::GlobalLB::Application::ApplicationContextObject] :application_objects The list of application context objects.
78
78
  def application_context_status(opts)
79
- check_params(opts,[:application_objects])
80
- super
79
+ opts = check_params(opts,[:application_objects])
80
+ super(opts)
81
81
  end
82
82
 
83
83
  ##
@@ -152,8 +152,8 @@ module IControl::GlobalLB
152
152
  # @param [Hash] opts
153
153
  # @option opts [IControl::GlobalLB::AvailabilityDependency] :values The availability dependency for the specified applications.
154
154
  def set_availability_dependency(opts)
155
- check_params(opts,[:values])
156
- super
155
+ opts = check_params(opts,[:values])
156
+ super(opts)
157
157
  end
158
158
 
159
159
  ##
@@ -165,8 +165,8 @@ module IControl::GlobalLB
165
165
  # @param [Hash] opts
166
166
  # @option opts [IControl::Common::EnabledState] :states The states to set for the applications.
167
167
  def set_persistence_state(opts)
168
- check_params(opts,[:states])
169
- super
168
+ opts = check_params(opts,[:states])
169
+ super(opts)
170
170
  end
171
171
 
172
172
  ##
@@ -178,8 +178,8 @@ module IControl::GlobalLB
178
178
  # @param [Hash] opts
179
179
  # @option opts [long] :values The persistence TTLs of the specified applications.
180
180
  def set_persistence_ttl(opts)
181
- check_params(opts,[:values])
182
- super
181
+ opts = check_params(opts,[:values])
182
+ super(opts)
183
183
  end
184
184
 
185
185
  ##
@@ -172,8 +172,8 @@ module IControl::GlobalLB
172
172
  # @param [Hash] opts
173
173
  # @option opts [String] :contacts The contact information.
174
174
  def set_contact_information(opts)
175
- check_params(opts,[:contacts])
176
- super
175
+ opts = check_params(opts,[:contacts])
176
+ super(opts)
177
177
  end
178
178
 
179
179
  ##
@@ -185,8 +185,8 @@ module IControl::GlobalLB
185
185
  # @param [Hash] opts
186
186
  # @option opts [IControl::Common::EnabledState] :states The enabled states to set.
187
187
  def set_enabled_state(opts)
188
- check_params(opts,[:states])
189
- super
188
+ opts = check_params(opts,[:states])
189
+ super(opts)
190
190
  end
191
191
 
192
192
  ##
@@ -198,8 +198,8 @@ module IControl::GlobalLB
198
198
  # @param [Hash] opts
199
199
  # @option opts [String] :locations The location information.
200
200
  def set_location_information(opts)
201
- check_params(opts,[:locations])
202
- super
201
+ opts = check_params(opts,[:locations])
202
+ super(opts)
203
203
  end
204
204
 
205
205
  ##
@@ -37,8 +37,8 @@ module IControl::GlobalLB
37
37
  # @option opts [IControl::GlobalLB::DNSSECKey::KeyAlgorithm] :algorithms Digital signature algorithm (See KeyAlgorithm ) for each specified key
38
38
  # @option opts [IControl::Common::EnabledState] :fips Specifies whether the FIPS device should be used for storing and retrieving the keys
39
39
  def create(opts)
40
- check_params(opts,[:sizes,:types,:algorithms,:fips])
41
- super
40
+ opts = check_params(opts,[:sizes,:types,:algorithms,:fips])
41
+ super(opts)
42
42
  end
43
43
 
44
44
  ##
@@ -130,8 +130,8 @@ module IControl::GlobalLB
130
130
  # @param [Hash] opts
131
131
  # @option opts [IControl::Common::ULong64[]] :generations Identifiers for the key generations to query for each specified DNSSEC key
132
132
  def generation_expiration_time(opts)
133
- check_params(opts,[:generations])
134
- super
133
+ opts = check_params(opts,[:generations])
134
+ super(opts)
135
135
  end
136
136
 
137
137
  ##
@@ -144,8 +144,8 @@ module IControl::GlobalLB
144
144
  # @param [Hash] opts
145
145
  # @option opts [IControl::Common::ULong64[]] :generations Identifiers for the key generations to query for each specified DNSSEC key
146
146
  def generation_public_text(opts)
147
- check_params(opts,[:generations])
148
- super
147
+ opts = check_params(opts,[:generations])
148
+ super(opts)
149
149
  end
150
150
 
151
151
  ##
@@ -158,8 +158,8 @@ module IControl::GlobalLB
158
158
  # @param [Hash] opts
159
159
  # @option opts [IControl::Common::ULong64[]] :generations Identifiers for the key generations to query for each specified DNSSEC key
160
160
  def generation_rollover_time(opts)
161
- check_params(opts,[:generations])
162
- super
161
+ opts = check_params(opts,[:generations])
162
+ super(opts)
163
163
  end
164
164
 
165
165
  ##
@@ -257,8 +257,8 @@ module IControl::GlobalLB
257
257
  # @param [Hash] opts
258
258
  # @option opts [IControl::Common::EnabledState] :states Enabled state for each specified DNSSEC key (default: enabled)
259
259
  def set_enabled_state(opts)
260
- check_params(opts,[:states])
261
- super
260
+ opts = check_params(opts,[:states])
261
+ super(opts)
262
262
  end
263
263
 
264
264
  ##
@@ -272,8 +272,8 @@ module IControl::GlobalLB
272
272
  # @param [Hash] opts
273
273
  # @option opts [long] :times Expiration period (seconds) for each specified DNSSEC key (default: zero - never expires)
274
274
  def set_expiration_period(opts)
275
- check_params(opts,[:times])
276
- super
275
+ opts = check_params(opts,[:times])
276
+ super(opts)
277
277
  end
278
278
 
279
279
  ##
@@ -288,8 +288,8 @@ module IControl::GlobalLB
288
288
  # @option opts [IControl::Common::ULong64[]] :generations Identifiers for the key generations to modify for each specified DNSSEC key
289
289
  # @option opts [IControl::Common::TimeStamp[]] :times Expiration date and time for each specified DNSSEC key generation (default: as specified in the key)
290
290
  def set_generation_expiration_time(opts)
291
- check_params(opts,[:generations,:times])
292
- super
291
+ opts = check_params(opts,[:generations,:times])
292
+ super(opts)
293
293
  end
294
294
 
295
295
  ##
@@ -304,8 +304,8 @@ module IControl::GlobalLB
304
304
  # @option opts [IControl::Common::ULong64[]] :generations Identifiers for the key generations to modify for each specified DNSSEC key
305
305
  # @option opts [IControl::Common::TimeStamp[]] :times Rollover date and time for each specified DNSSEC key generation (default: as specified in the key)
306
306
  def set_generation_rollover_time(opts)
307
- check_params(opts,[:generations,:times])
308
- super
307
+ opts = check_params(opts,[:generations,:times])
308
+ super(opts)
309
309
  end
310
310
 
311
311
  ##
@@ -319,8 +319,8 @@ module IControl::GlobalLB
319
319
  # @param [Hash] opts
320
320
  # @option opts [long] :times Rollover period (seconds) for each specified DNSSEC key (default: zero - one-shot key (never rolls over))
321
321
  def set_rollover_period(opts)
322
- check_params(opts,[:times])
323
- super
322
+ opts = check_params(opts,[:times])
323
+ super(opts)
324
324
  end
325
325
 
326
326
  ##
@@ -335,8 +335,8 @@ module IControl::GlobalLB
335
335
  # @param [Hash] opts
336
336
  # @option opts [long] :times Signature publication period (seconds) for each specified DNSSEC key (default: zero - standard BIND value)
337
337
  def set_signature_publication_period(opts)
338
- check_params(opts,[:times])
339
- super
338
+ opts = check_params(opts,[:times])
339
+ super(opts)
340
340
  end
341
341
 
342
342
  ##
@@ -350,8 +350,8 @@ module IControl::GlobalLB
350
350
  # @param [Hash] opts
351
351
  # @option opts [long] :times Signature validity period (seconds) for each specified DNSSEC key (default: zero - standard BIND value)
352
352
  def set_signature_validity_period(opts)
353
- check_params(opts,[:times])
354
- super
353
+ opts = check_params(opts,[:times])
354
+ super(opts)
355
355
  end
356
356
 
357
357
  ##
@@ -363,8 +363,8 @@ module IControl::GlobalLB
363
363
  # @param [Hash] opts
364
364
  # @option opts [long] :times DNSKEY record Time To Live (TTL) (seconds) for each specified DNSSEC key (default: 86400 (1 day))
365
365
  def set_time_to_live(opts)
366
- check_params(opts,[:times])
367
- super
366
+ opts = check_params(opts,[:times])
367
+ super(opts)
368
368
  end
369
369
 
370
370
 
@@ -21,8 +21,8 @@ module IControl::GlobalLB
21
21
  # @param [Hash] opts
22
22
  # @option opts [String[]] :keys Names of DNSSEC keys to add to each specified DNSSEC zone
23
23
  def add_key(opts)
24
- check_params(opts,[:keys])
25
- super
24
+ opts = check_params(opts,[:keys])
25
+ super(opts)
26
26
  end
27
27
 
28
28
  ##
@@ -34,8 +34,8 @@ module IControl::GlobalLB
34
34
  # @param [Hash] opts
35
35
  # @option opts [String[]] :keys DNSSEC key names for each specified DNSSEC zone
36
36
  def create(opts)
37
- check_params(opts,[:keys])
38
- super
37
+ opts = check_params(opts,[:keys])
38
+ super(opts)
39
39
  end
40
40
 
41
41
  ##
@@ -129,8 +129,8 @@ module IControl::GlobalLB
129
129
  # @param [Hash] opts
130
130
  # @option opts [String[]] :keys Names of DNSSEC keys to delete from each specified DNSSEC zone
131
131
  def remove_key(opts)
132
- check_params(opts,[:keys])
133
- super
132
+ opts = check_params(opts,[:keys])
133
+ super(opts)
134
134
  end
135
135
 
136
136
  ##
@@ -143,8 +143,8 @@ module IControl::GlobalLB
143
143
  # @param [Hash] opts
144
144
  # @option opts [IControl::Common::EnabledState] :states Enabled/disabled state for each specified DNSSEC zone (default: enabled)
145
145
  def set_enabled_state(opts)
146
- check_params(opts,[:states])
147
- super
146
+ opts = check_params(opts,[:states])
147
+ super(opts)
148
148
  end
149
149
 
150
150
 
@@ -566,8 +566,8 @@ module IControl::GlobalLB
566
566
  # @param [Hash] opts
567
567
  # @option opts [boolean] :v6 A boolean indicating which CIDR mask to get, the mask used for protocol IPv4 or IPv6 .
568
568
  def static_persistence_cidr_mask(opts)
569
- check_params(opts,[:v6])
570
- super
569
+ opts = check_params(opts,[:v6])
570
+ super(opts)
571
571
  end
572
572
 
573
573
  ##
@@ -740,8 +740,8 @@ module IControl::GlobalLB
740
740
  # @param [Hash] opts
741
741
  # @option opts [IControl::Common::EnabledState] :state The state to set.
742
742
  def set_aol_aware_state(opts)
743
- check_params(opts,[:state])
744
- super
743
+ opts = check_params(opts,[:state])
744
+ super(opts)
745
745
  end
746
746
 
747
747
  ##
@@ -754,8 +754,8 @@ module IControl::GlobalLB
754
754
  # @param [Hash] opts
755
755
  # @option opts [IControl::Common::EnabledState] :state The state to set.
756
756
  def set_auto_configure_state(opts)
757
- check_params(opts,[:state])
758
- super
757
+ opts = check_params(opts,[:state])
758
+ super(opts)
759
759
  end
760
760
 
761
761
  ##
@@ -768,8 +768,8 @@ module IControl::GlobalLB
768
768
  # @param [Hash] opts
769
769
  # @option opts [IControl::Common::EnabledState] :state The state to set.
770
770
  def set_auto_sync_state(opts)
771
- check_params(opts,[:state])
772
- super
771
+ opts = check_params(opts,[:state])
772
+ super(opts)
773
773
  end
774
774
 
775
775
  ##
@@ -781,8 +781,8 @@ module IControl::GlobalLB
781
781
  # @param [Hash] opts
782
782
  # @option opts [IControl::Common::EnabledState] :state The state to set.
783
783
  def set_cache_ldns_state(opts)
784
- check_params(opts,[:state])
785
- super
784
+ opts = check_params(opts,[:state])
785
+ super(opts)
786
786
  end
787
787
 
788
788
  ##
@@ -795,8 +795,8 @@ module IControl::GlobalLB
795
795
  # @param [Hash] opts
796
796
  # @option opts [IControl::Common::EnabledState] :state The state to set.
797
797
  def set_check_dynamic_dependency_state(opts)
798
- check_params(opts,[:state])
799
- super
798
+ opts = check_params(opts,[:state])
799
+ super(opts)
800
800
  end
801
801
 
802
802
  ##
@@ -808,8 +808,8 @@ module IControl::GlobalLB
808
808
  # @param [Hash] opts
809
809
  # @option opts [IControl::Common::EnabledState] :state The state to set.
810
810
  def set_check_static_dependency_state(opts)
811
- check_params(opts,[:state])
812
- super
811
+ opts = check_params(opts,[:state])
812
+ super(opts)
813
813
  end
814
814
 
815
815
  ##
@@ -821,8 +821,8 @@ module IControl::GlobalLB
821
821
  # @param [Hash] opts
822
822
  # @option opts [IControl::GlobalLB::LBMethod] :lb_method The LB method to set.
823
823
  def set_default_alternate_lb_method(opts)
824
- check_params(opts,[:lb_method])
825
- super
824
+ opts = check_params(opts,[:lb_method])
825
+ super(opts)
826
826
  end
827
827
 
828
828
  ##
@@ -834,8 +834,8 @@ module IControl::GlobalLB
834
834
  # @param [Hash] opts
835
835
  # @option opts [IControl::GlobalLB::LBMethod] :lb_method The LB method to set.
836
836
  def set_default_fallback_lb_method(opts)
837
- check_params(opts,[:lb_method])
838
- super
837
+ opts = check_params(opts,[:lb_method])
838
+ super(opts)
839
839
  end
840
840
 
841
841
  ##
@@ -884,8 +884,8 @@ module IControl::GlobalLB
884
884
  # @param [Hash] opts
885
885
  # @option opts [IControl::Common::EnabledState] :state The state to set.
886
886
  def set_drain_request_state(opts)
887
- check_params(opts,[:state])
888
- super
887
+ opts = check_params(opts,[:state])
888
+ super(opts)
889
889
  end
890
890
 
891
891
  ##
@@ -897,8 +897,8 @@ module IControl::GlobalLB
897
897
  # @param [Hash] opts
898
898
  # @option opts [IControl::Common::EnabledState] :state The state to set.
899
899
  def set_dump_topology_state(opts)
900
- check_params(opts,[:state])
901
- super
900
+ opts = check_params(opts,[:state])
901
+ super(opts)
902
902
  end
903
903
 
904
904
  ##
@@ -910,8 +910,8 @@ module IControl::GlobalLB
910
910
  # @param [Hash] opts
911
911
  # @option opts [IControl::Common::EnabledState] :state The state to set.
912
912
  def set_fb_respect_acl_state(opts)
913
- check_params(opts,[:state])
914
- super
913
+ opts = check_params(opts,[:state])
914
+ super(opts)
915
915
  end
916
916
 
917
917
  ##
@@ -924,8 +924,8 @@ module IControl::GlobalLB
924
924
  # @param [Hash] opts
925
925
  # @option opts [IControl::Common::EnabledState] :state The state to set.
926
926
  def set_fb_respect_dependency_state(opts)
927
- check_params(opts,[:state])
928
- super
927
+ opts = check_params(opts,[:state])
928
+ super(opts)
929
929
  end
930
930
 
931
931
  ##
@@ -950,8 +950,8 @@ module IControl::GlobalLB
950
950
  # @param [Hash] opts
951
951
  # @option opts [IControl::GlobalLB::LDNSProbeProtocol] :protocols The probe protocols to set.
952
952
  def set_ldns_probe_protocols(opts)
953
- check_params(opts,[:protocols])
954
- super
953
+ opts = check_params(opts,[:protocols])
954
+ super(opts)
955
955
  end
956
956
 
957
957
  ##
@@ -967,8 +967,8 @@ module IControl::GlobalLB
967
967
  # @param [Hash] opts
968
968
  # @option opts [IControl::Common::EnabledState] :state The state to set.
969
969
  def set_link_compensate_inbound_state(opts)
970
- check_params(opts,[:state])
971
- super
970
+ opts = check_params(opts,[:state])
971
+ super(opts)
972
972
  end
973
973
 
974
974
  ##
@@ -984,8 +984,8 @@ module IControl::GlobalLB
984
984
  # @param [Hash] opts
985
985
  # @option opts [IControl::Common::EnabledState] :state The state to set.
986
986
  def set_link_compensate_outbound_state(opts)
987
- check_params(opts,[:state])
988
- super
987
+ opts = check_params(opts,[:state])
988
+ super(opts)
989
989
  end
990
990
 
991
991
  ##
@@ -1120,8 +1120,8 @@ module IControl::GlobalLB
1120
1120
  # @param [Hash] opts
1121
1121
  # @option opts [IControl::Common::EnabledState] :state The state to set.
1122
1122
  def set_paths_never_die_state(opts)
1123
- check_params(opts,[:state])
1124
- super
1123
+ opts = check_params(opts,[:state])
1124
+ super(opts)
1125
1125
  end
1126
1126
 
1127
1127
  ##
@@ -1144,8 +1144,8 @@ module IControl::GlobalLB
1144
1144
  # @param [Hash] opts
1145
1145
  # @option opts [IControl::Common::EnabledState] :state The state to set.
1146
1146
  def set_probe_disabled_object_state(opts)
1147
- check_params(opts,[:state])
1148
- super
1147
+ opts = check_params(opts,[:state])
1148
+ super(opts)
1149
1149
  end
1150
1150
 
1151
1151
  ##
@@ -1267,8 +1267,8 @@ module IControl::GlobalLB
1267
1267
  # @param [Hash] opts
1268
1268
  # @option opts [IControl::Common::EnabledState] :state The state to set.
1269
1269
  def set_reset_ripeness_state(opts)
1270
- check_params(opts,[:state])
1271
- super
1270
+ opts = check_params(opts,[:state])
1271
+ super(opts)
1272
1272
  end
1273
1273
 
1274
1274
  ##
@@ -1310,8 +1310,8 @@ module IControl::GlobalLB
1310
1310
  # @param [Hash] opts
1311
1311
  # @option opts [boolean] :v6 A boolean indicating which CIDR mask to affect, the mask used for protocol IPv4 or IPv6 .
1312
1312
  def set_static_persistence_cidr_mask(opts)
1313
- check_params(opts,[:v6])
1314
- super
1313
+ opts = check_params(opts,[:v6])
1314
+ super(opts)
1315
1315
  end
1316
1316
 
1317
1317
  ##
@@ -1323,8 +1323,8 @@ module IControl::GlobalLB
1323
1323
  # @param [Hash] opts
1324
1324
  # @option opts [String] :sync_group_name The sync group name to set.
1325
1325
  def set_sync_group_name(opts)
1326
- check_params(opts,[:sync_group_name])
1327
- super
1326
+ opts = check_params(opts,[:sync_group_name])
1327
+ super(opts)
1328
1328
  end
1329
1329
 
1330
1330
  ##
@@ -1337,8 +1337,8 @@ module IControl::GlobalLB
1337
1337
  # @param [Hash] opts
1338
1338
  # @option opts [IControl::Common::EnabledState] :state The state to set.
1339
1339
  def set_sync_named_configuration_state(opts)
1340
- check_params(opts,[:state])
1341
- super
1340
+ opts = check_params(opts,[:state])
1341
+ super(opts)
1342
1342
  end
1343
1343
 
1344
1344
  ##
@@ -1427,8 +1427,8 @@ module IControl::GlobalLB
1427
1427
  # @param [Hash] opts
1428
1428
  # @option opts [IControl::Common::EnabledState] :state The state to set.
1429
1429
  def set_topology_longest_match_state(opts)
1430
- check_params(opts,[:state])
1431
- super
1430
+ opts = check_params(opts,[:state])
1431
+ super(opts)
1432
1432
  end
1433
1433
 
1434
1434
  ##
@@ -1461,8 +1461,8 @@ module IControl::GlobalLB
1461
1461
  # @param [Hash] opts
1462
1462
  # @option opts [IControl::Common::EnabledState] :state The state to set.
1463
1463
  def set_use_recursion_bit_state(opts)
1464
- check_params(opts,[:state])
1465
- super
1464
+ opts = check_params(opts,[:state])
1465
+ super(opts)
1466
1466
  end
1467
1467
 
1468
1468