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
@@ -70,8 +70,8 @@ module IControl::System
70
70
  # @param [Hash] opts
71
71
  # @option opts [String] :ip_addresses The list of IP addresses to translate into hostnames.
72
72
  def ip_to_hostname(opts)
73
- check_params(opts,[:ip_addresses])
74
- super
73
+ opts = check_params(opts,[:ip_addresses])
74
+ super(opts)
75
75
  end
76
76
 
77
77
  ##
@@ -86,8 +86,8 @@ module IControl::System
86
86
  # @param [Hash] opts
87
87
  # @option opts [String] :service_names The list of hostnames to translate into IP addresses
88
88
  def service_name_to_service_number(opts)
89
- check_params(opts,[:service_names])
90
- super
89
+ opts = check_params(opts,[:service_names])
90
+ super(opts)
91
91
  end
92
92
 
93
93
  ##
@@ -102,8 +102,8 @@ module IControl::System
102
102
  # @param [Hash] opts
103
103
  # @option opts [long] :services The list of service numbers to translate into service names.
104
104
  def service_number_to_service_name(opts)
105
- check_params(opts,[:services])
106
- super
105
+ opts = check_params(opts,[:services])
106
+ super(opts)
107
107
  end
108
108
 
109
109
  ##
@@ -115,8 +115,8 @@ module IControl::System
115
115
  # @param [Hash] opts
116
116
  # @option opts [String] :hostname The new hostname to set.
117
117
  def set_hostname(opts)
118
- check_params(opts,[:hostname])
119
- super
118
+ opts = check_params(opts,[:hostname])
119
+ super(opts)
120
120
  end
121
121
 
122
122
  ##
@@ -128,8 +128,8 @@ module IControl::System
128
128
  # @param [Hash] opts
129
129
  # @option opts [String] :ntp_addresses The IP addresses/host names of valid NTP servers.
130
130
  def set_ntp_server_address(opts)
131
- check_params(opts,[:ntp_addresses])
132
- super
131
+ opts = check_params(opts,[:ntp_addresses])
132
+ super(opts)
133
133
  end
134
134
 
135
135
 
@@ -36,8 +36,8 @@ module IControl::System
36
36
  # @option opts [String] :addresses Addresses to test
37
37
  # @option opts [long] :ports Ports to test
38
38
  def test_connection(opts)
39
- check_params(opts,[:addresses,:ports])
40
- super
39
+ opts = check_params(opts,[:addresses,:ports])
40
+ super(opts)
41
41
  end
42
42
 
43
43
  ##
@@ -93,8 +93,8 @@ module IControl::System
93
93
  # @param [Hash] opts
94
94
  # @option opts [long] :seconds_to_reboot The number of seconds before the reboot takes place.
95
95
  def reboot_system(opts)
96
- check_params(opts,[:seconds_to_reboot])
97
- super
96
+ opts = check_params(opts,[:seconds_to_reboot])
97
+ super(opts)
98
98
  end
99
99
 
100
100
  ##
@@ -109,8 +109,8 @@ module IControl::System
109
109
  # @param [Hash] opts
110
110
  # @option opts [IControl::System::Services::ServiceAction] :service_action The action for the services to take.
111
111
  def set_all_services(opts)
112
- check_params(opts,[:service_action])
113
- super
112
+ opts = check_params(opts,[:service_action])
113
+ super(opts)
114
114
  end
115
115
 
116
116
  ##
@@ -123,8 +123,8 @@ module IControl::System
123
123
  # @param [Hash] opts
124
124
  # @option opts [IControl::System::Services::ServiceAction] :service_action The action for the services to take.
125
125
  def set_service(opts)
126
- check_params(opts,[:service_action])
127
- super
126
+ opts = check_params(opts,[:service_action])
127
+ super(opts)
128
128
  end
129
129
 
130
130
  ##
@@ -137,8 +137,8 @@ module IControl::System
137
137
  # @param [Hash] opts
138
138
  # @option opts [IControl::System::Services::SSHAccess] :access Access structure indicating enable/disable state of the SSH service and an address range allowed to access the device via ssh.
139
139
  def set_ssh_access(opts)
140
- check_params(opts,[:access])
141
- super
140
+ opts = check_params(opts,[:access])
141
+ super(opts)
142
142
  end
143
143
 
144
144
  ##
@@ -150,8 +150,8 @@ module IControl::System
150
150
  # @param [Hash] opts
151
151
  # @option opts [IControl::System::Services::SSHAccess_v2] :access Access structure indicating enable/disable state of the SSH service and an address range allowed to access the device via ssh.
152
152
  def set_ssh_access_v2(opts)
153
- check_params(opts,[:access])
154
- super
153
+ opts = check_params(opts,[:access])
154
+ super(opts)
155
155
  end
156
156
 
157
157
  ##
@@ -47,8 +47,8 @@ module IControl::System
47
47
  # @param [Hash] opts
48
48
  # @option opts [String] :image_filenames are the images you want to delete.
49
49
  def delete_software_image(opts)
50
- check_params(opts,[:image_filenames])
51
- super
50
+ opts = check_params(opts,[:image_filenames])
51
+ super(opts)
52
52
  end
53
53
 
54
54
  ##
@@ -77,8 +77,8 @@ module IControl::System
77
77
  # @param [Hash] opts
78
78
  # @option opts [boolean] :save_active_config The boolean indicating whether we should backup the configuration on the active boot location for the installer.
79
79
  def boot_image_information(opts)
80
- check_params(opts,[:save_active_config])
81
- super
80
+ opts = check_params(opts,[:save_active_config])
81
+ super(opts)
82
82
  end
83
83
 
84
84
  ##
@@ -130,8 +130,8 @@ module IControl::System
130
130
  # @param [Hash] opts
131
131
  # @option opts [IControl::System::SoftwareManagement::InstallationID] :installation_ids What locations do you want percent complete.
132
132
  def live_install_completion(opts)
133
- check_params(opts,[:installation_ids])
134
- super
133
+ opts = check_params(opts,[:installation_ids])
134
+ super(opts)
135
135
  end
136
136
 
137
137
  ##
@@ -200,8 +200,8 @@ module IControl::System
200
200
  # @param [Hash] opts
201
201
  # @option opts [IControl::System::SoftwareManagement::InstallationID] :installation_ids Locations for which you want software status.
202
202
  def software_status(opts)
203
- check_params(opts,[:installation_ids])
204
- super
203
+ opts = check_params(opts,[:installation_ids])
204
+ super(opts)
205
205
  end
206
206
 
207
207
  ##
@@ -233,8 +233,8 @@ module IControl::System
233
233
  # @option opts [String] :hotfix_files The names of the hotfix files to be installed. These hotfix files must already exist on the system.
234
234
  # @option opts [boolean] :reboot_system The flag to indicate whether to reboot the system after the hotfixes have been installed.
235
235
  def install_hotfix(opts)
236
- check_params(opts,[:hotfix_files,:reboot_system])
237
- super
236
+ opts = check_params(opts,[:hotfix_files,:reboot_system])
237
+ super(opts)
238
238
  end
239
239
 
240
240
  ##
@@ -248,8 +248,8 @@ module IControl::System
248
248
  # @option opts [String] :hotfix_files The names of the hotfix files to be installed. These hotfix files must already exist on the system.
249
249
  # @option opts [boolean] :reboot_system The flag to indicate whether to reboot the system after the hotfixes have been installed.
250
250
  def install_hotfix_no_daemons(opts)
251
- check_params(opts,[:hotfix_files,:reboot_system])
252
- super
251
+ opts = check_params(opts,[:hotfix_files,:reboot_system])
252
+ super(opts)
253
253
  end
254
254
 
255
255
  ##
@@ -264,8 +264,8 @@ module IControl::System
264
264
  # @option opts [String] :version The version of product (ex: 10.0.0)
265
265
  # @option opts [String] :build
266
266
  def install_software_image(opts)
267
- check_params(opts,[:install_volume,:product,:version,:build])
268
- super
267
+ opts = check_params(opts,[:install_volume,:product,:version,:build])
268
+ super(opts)
269
269
  end
270
270
 
271
271
  ##
@@ -278,8 +278,8 @@ module IControl::System
278
278
  # @param [Hash] opts
279
279
  # @option opts [char] :boot_image_information The boot image information file data.
280
280
  def set_boot_image_information(opts)
281
- check_params(opts,[:boot_image_information])
282
- super
281
+ opts = check_params(opts,[:boot_image_information])
282
+ super(opts)
283
283
  end
284
284
 
285
285
  ##
@@ -292,8 +292,8 @@ module IControl::System
292
292
  # @param [Hash] opts
293
293
  # @option opts [String] :location The boot location name. Short-form names such as CF1 .1, HD1 .1, HD1 .2
294
294
  def set_boot_location(opts)
295
- check_params(opts,[:location])
296
- super
295
+ opts = check_params(opts,[:location])
296
+ super(opts)
297
297
  end
298
298
 
299
299
  ##
@@ -307,8 +307,8 @@ module IControl::System
307
307
  # @param [Hash] opts
308
308
  # @option opts [String] :location The boot location name. Short-form names such as CF1 .1, HD1 .1, HD1 .2
309
309
  def set_cluster_boot_location(opts)
310
- check_params(opts,[:location])
311
- super
310
+ opts = check_params(opts,[:location])
311
+ super(opts)
312
312
  end
313
313
 
314
314
  ##
@@ -245,8 +245,8 @@ module IControl::System
245
245
  # @param [Hash] opts
246
246
  # @option opts [String] :addresses The iQueries to get the statistics from.
247
247
  def gtm_iquery_statistics(opts)
248
- check_params(opts,[:addresses])
249
- super
248
+ opts = check_params(opts,[:addresses])
249
+ super(opts)
250
250
  end
251
251
 
252
252
  ##
@@ -281,8 +281,8 @@ module IControl::System
281
281
  # @param [Hash] opts
282
282
  # @option opts [IControl::System::Statistics::GtmPathStatisticObjectID] :object_names The link or DC names to get the statistics from.
283
283
  def gtm_path_statistics(opts)
284
- check_params(opts,[:object_names])
285
- super
284
+ opts = check_params(opts,[:object_names])
285
+ super(opts)
286
286
  end
287
287
 
288
288
  ##
@@ -296,8 +296,8 @@ module IControl::System
296
296
  # @param [Hash] opts
297
297
  # @option opts [String] :host_ids The host ids for which to get statistics.
298
298
  def host_statistics(opts)
299
- check_params(opts,[:host_ids])
300
- super
299
+ opts = check_params(opts,[:host_ids])
300
+ super(opts)
301
301
  end
302
302
 
303
303
  ##
@@ -423,8 +423,8 @@ module IControl::System
423
423
  # @param [Hash] opts
424
424
  # @option opts [IControl::System::Statistics::PerformanceStatisticQuery] :objects The list of graphs or tables to get the statistics for.
425
425
  def performance_graph_csv_statistics(opts)
426
- check_params(opts,[:objects])
427
- super
426
+ opts = check_params(opts,[:objects])
427
+ super(opts)
428
428
  end
429
429
 
430
430
  ##
@@ -459,8 +459,8 @@ module IControl::System
459
459
  # @param [Hash] opts
460
460
  # @option opts [IControl::System::Statistics::PerformanceStatisticQuery] :tables The list of tables to get the statistics for.
461
461
  def performance_table_statistics(opts)
462
- check_params(opts,[:tables])
463
- super
462
+ opts = check_params(opts,[:tables])
463
+ super(opts)
464
464
  end
465
465
 
466
466
  ##
@@ -473,8 +473,8 @@ module IControl::System
473
473
  # @param [Hash] opts
474
474
  # @option opts [String] :pva_ids The PVA ids for which to get statistics.
475
475
  def pva_statistics(opts)
476
- check_params(opts,[:pva_ids])
477
- super
476
+ opts = check_params(opts,[:pva_ids])
477
+ super(opts)
478
478
  end
479
479
 
480
480
  ##
@@ -559,8 +559,8 @@ module IControl::System
559
559
  # @param [Hash] opts
560
560
  # @option opts [String] :tmm_ids The TMOS processing agent ids for which to get statistics.
561
561
  def tmm_statistics(opts)
562
- check_params(opts,[:tmm_ids])
563
- super
562
+ opts = check_params(opts,[:tmm_ids])
563
+ super(opts)
564
564
  end
565
565
 
566
566
  ##
@@ -593,8 +593,8 @@ module IControl::System
593
593
  # @param [Hash] opts
594
594
  # @option opts [String] :device_names The virtual compression devices to get the statistics from.
595
595
  def virtual_compression_statistics(opts)
596
- check_params(opts,[:device_names])
597
- super
596
+ opts = check_params(opts,[:device_names])
597
+ super(opts)
598
598
  end
599
599
 
600
600
  ##
@@ -719,8 +719,8 @@ module IControl::System
719
719
  # @param [Hash] opts
720
720
  # @option opts [String] :addresses The iQueries indicated by their addresses. If "addresses" list if empty, then all iQuery statistics regardless of address will be reset..
721
721
  def reset_gtm_iquery_statistics(opts)
722
- check_params(opts,[:addresses])
723
- super
722
+ opts = check_params(opts,[:addresses])
723
+ super(opts)
724
724
  end
725
725
 
726
726
  ##
@@ -742,8 +742,8 @@ module IControl::System
742
742
  # @param [Hash] opts
743
743
  # @option opts [IControl::System::Statistics::GtmPathStatisticObjectID] :object_names The link or DC names to reset the statistics. If "object_names" is empty, then statistics for all paths under "ldns_ips" will be reset. Note that if "ldns_ips" and "object_names" are both empty, then all path statistics will be reset.
744
744
  def reset_gtm_path_statistics(opts)
745
- check_params(opts,[:object_names])
746
- super
745
+ opts = check_params(opts,[:object_names])
746
+ super(opts)
747
747
  end
748
748
 
749
749
  ##
@@ -895,8 +895,8 @@ module IControl::System
895
895
  # @param [Hash] opts
896
896
  # @option opts [String] :device_names The names of the virtual compression devices. If devices_names list if empty, then all virtual compression statistics regardless of device will be reset.
897
897
  def reset_virtual_compression_statistics(opts)
898
- check_params(opts,[:device_names])
899
- super
898
+ opts = check_params(opts,[:device_names])
899
+ super(opts)
900
900
  end
901
901
 
902
902
  ##
@@ -18,8 +18,8 @@ module IControl::System
18
18
  # @option opts [long] :duration_sec Time for how long the system should keep the lock. The lock will be automatically released when duration time is over.
19
19
  # @option opts [String] :comment Additional user oriented information about this lock.
20
20
  def acquire_lock(opts)
21
- check_params(opts,[:duration_sec,:comment])
22
- super
21
+ opts = check_params(opts,[:duration_sec,:comment])
22
+ super(opts)
23
23
  end
24
24
 
25
25
  ##
@@ -87,8 +87,8 @@ module IControl::System
87
87
  # @param [Hash] opts
88
88
  # @option opts [String] :host_ids A list of host ids for which to get CPU usage extended information.
89
89
  def cpu_usage_extended_information(opts)
90
- check_params(opts,[:host_ids])
91
- super
90
+ opts = check_params(opts,[:host_ids])
91
+ super(opts)
92
92
  end
93
93
 
94
94
  ##
@@ -195,8 +195,8 @@ module IControl::System
195
195
  # @param [Hash] opts
196
196
  # @option opts [String] :lock_names sequence of lock names.
197
197
  def lock_status(opts)
198
- check_params(opts,[:lock_names])
199
- super
198
+ opts = check_params(opts,[:lock_names])
199
+ super(opts)
200
200
  end
201
201
 
202
202
  ##
@@ -351,8 +351,8 @@ module IControl::System
351
351
  # @param [Hash] opts
352
352
  # @option opts [String] :group_id The group identifier.
353
353
  def set_group_id(opts)
354
- check_params(opts,[:group_id])
355
- super
354
+ opts = check_params(opts,[:group_id])
355
+ super(opts)
356
356
  end
357
357
 
358
358
 
@@ -21,8 +21,8 @@ module IControl::WebAccelerator
21
21
  # @option opts [String] :remote_policy The name of the remote policy to use; optional, may be blank.
22
22
  # @option opts [String] :requested_hosts A list of strings describing the one or more requested hosts to use with this application. The format of the strings is given above.
23
23
  def create(opts)
24
- check_params(opts,[:description,:local_policy,:remote_policy,:requested_hosts])
25
- super
24
+ opts = check_params(opts,[:description,:local_policy,:remote_policy,:requested_hosts])
25
+ super(opts)
26
26
  end
27
27
 
28
28
  ##
@@ -34,8 +34,8 @@ module IControl::WebAccelerator
34
34
  # @param [Hash] opts
35
35
  # @option opts [String] :applications A list of application names.
36
36
  def delete_application(opts)
37
- check_params(opts,[:applications])
38
- super
37
+ opts = check_params(opts,[:applications])
38
+ super(opts)
39
39
  end
40
40
 
41
41
  ##
@@ -44,8 +44,8 @@ module IControl::WebAccelerator
44
44
  # @option opts [String] :filename The filename of the Policy file to install. Length limit: 255.
45
45
  # @option opts [boolean] :overwrite If true, the imported policy will overwrite any existing policy of the same name.
46
46
  def import_policy(opts)
47
- check_params(opts,[:filename,:overwrite])
48
- super
47
+ opts = check_params(opts,[:filename,:overwrite])
48
+ super(opts)
49
49
  end
50
50
 
51
51
 
@@ -0,0 +1,11 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__),"..","..",'/spec_helper'))
2
+
3
+ describe IControl::Base::Struct do
4
+
5
+ describe "#initialize" do
6
+ it "should allow to pass no parameters" do
7
+ IControl::Common::ULong64.new.class.should == IControl::Common::ULong64
8
+ end
9
+ end
10
+
11
+ end
@@ -0,0 +1,11 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__),"..",'/spec_helper'))
2
+
3
+ describe IControl::Common::ULong64 do
4
+
5
+ describe "#to_f" do
6
+ it "should exist" do
7
+ IControl::Common::ULong64.new({}).methods.should include(:to_f)
8
+ end
9
+ end
10
+
11
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 4
9
- version: 0.3.4
8
+ - 5
9
+ version: 0.3.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jose Fernandez (magec)
@@ -224,8 +224,9 @@ files:
224
224
  - lib/icontrol/base/attributable.rb
225
225
  - lib/icontrol/base/enumeration.rb
226
226
  - lib/icontrol/base/exception.rb
227
- - lib/icontrol/base/icontrol/local_lb/pool.rb
228
227
  - lib/icontrol/base/icontrol_overlay.rb
228
+ - lib/icontrol/base/icontrol_overlay/common.rb
229
+ - lib/icontrol/base/icontrol_overlay/local_lb/pool.rb
229
230
  - lib/icontrol/base/mappings.rb
230
231
  - lib/icontrol/base/predeclarations.rb
231
232
  - lib/icontrol/base/sequence.rb
@@ -359,6 +360,8 @@ files:
359
360
  - .yardopts
360
361
  - LICENSE
361
362
  - README.rdoc
363
+ - spec/icontrol/base/struct_spec.rb
364
+ - spec/icontrol/common_spec.rb
362
365
  - spec/icontrol/local_lb/pool_member_spec.rb
363
366
  - spec/icontrol/local_lb/pool_spec.rb
364
367
  - spec/icontrol/local_lb/profile_http_class_spec.rb
@@ -378,7 +381,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
378
381
  requirements:
379
382
  - - ">="
380
383
  - !ruby/object:Gem::Version
381
- hash: -1070603889
384
+ hash: -545576529
382
385
  segments:
383
386
  - 0
384
387
  version: "0"
@@ -398,6 +401,8 @@ signing_key:
398
401
  specification_version: 3
399
402
  summary: A ruby client to the BigIP F5
400
403
  test_files:
404
+ - spec/icontrol/base/struct_spec.rb
405
+ - spec/icontrol/common_spec.rb
401
406
  - spec/icontrol/local_lb/pool_member_spec.rb
402
407
  - spec/icontrol/local_lb/pool_spec.rb
403
408
  - spec/icontrol/local_lb/profile_http_class_spec.rb