icontrol 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/icontrol/arx/export.rb +4 -4
- data/lib/icontrol/arx/file_change_notification.rb +10 -10
- data/lib/icontrol/arx/policy.rb +6 -6
- data/lib/icontrol/arx/share.rb +4 -4
- data/lib/icontrol/arx/volume.rb +2 -2
- data/lib/icontrol/asm/object_params.rb +4 -4
- data/lib/icontrol/asm/policy.rb +36 -36
- data/lib/icontrol/asm/system_configuration.rb +6 -6
- data/lib/icontrol/asm/web_application.rb +10 -10
- data/lib/icontrol/asm/web_application_group.rb +4 -4
- data/lib/icontrol/base.rb +13 -2
- data/lib/icontrol/base/attributable.rb +1 -1
- data/lib/icontrol/base/icontrol_overlay.rb +2 -1
- data/lib/icontrol/base/icontrol_overlay/common.rb +20 -0
- data/lib/icontrol/base/{icontrol → icontrol_overlay}/local_lb/pool.rb +0 -0
- data/lib/icontrol/global_lb/application.rb +12 -12
- data/lib/icontrol/global_lb/data_center.rb +6 -6
- data/lib/icontrol/global_lb/dnssec_key.rb +24 -24
- data/lib/icontrol/global_lb/dnssec_zone.rb +8 -8
- data/lib/icontrol/global_lb/globals.rb +48 -48
- data/lib/icontrol/global_lb/link.rb +34 -34
- data/lib/icontrol/global_lb/monitor.rb +30 -30
- data/lib/icontrol/global_lb/pool.rb +52 -52
- data/lib/icontrol/global_lb/pool_member.rb +34 -34
- data/lib/icontrol/global_lb/region.rb +6 -6
- data/lib/icontrol/global_lb/rule.rb +4 -4
- data/lib/icontrol/global_lb/server.rb +36 -36
- data/lib/icontrol/global_lb/topology.rb +6 -6
- data/lib/icontrol/global_lb/virtual_server.rb +16 -16
- data/lib/icontrol/global_lb/wide_ip.rb +28 -28
- data/lib/icontrol/local_lb/klass.rb +48 -48
- data/lib/icontrol/local_lb/monitor.rb +28 -28
- data/lib/icontrol/local_lb/nat.rb +10 -10
- data/lib/icontrol/local_lb/node_address.rb +22 -22
- data/lib/icontrol/local_lb/pool.rb +42 -42
- data/lib/icontrol/local_lb/pool_member.rb +20 -20
- data/lib/icontrol/local_lb/profile_auth.rb +16 -16
- data/lib/icontrol/local_lb/profile_client_ssl.rb +54 -54
- data/lib/icontrol/local_lb/profile_diameter.rb +10 -10
- data/lib/icontrol/local_lb/profile_dns.rb +4 -4
- data/lib/icontrol/local_lb/profile_fast_http.rb +40 -40
- data/lib/icontrol/local_lb/profile_fast_l4.rb +46 -46
- data/lib/icontrol/local_lb/profile_ftp.rb +8 -8
- data/lib/icontrol/local_lb/profile_http.rb +118 -118
- data/lib/icontrol/local_lb/profile_http_class.rb +28 -28
- data/lib/icontrol/local_lb/profile_iiop.rb +10 -10
- data/lib/icontrol/local_lb/profile_one_connect.rb +12 -12
- data/lib/icontrol/local_lb/profile_persistence.rb +50 -50
- data/lib/icontrol/local_lb/profile_radius.rb +8 -8
- data/lib/icontrol/local_lb/profile_rtsp.rb +26 -26
- data/lib/icontrol/local_lb/profile_sctp.rb +42 -42
- data/lib/icontrol/local_lb/profile_server_ssl.rb +48 -48
- data/lib/icontrol/local_lb/profile_sip.rb +18 -18
- data/lib/icontrol/local_lb/profile_stream.rb +6 -6
- data/lib/icontrol/local_lb/profile_tcp.rb +74 -74
- data/lib/icontrol/local_lb/profile_udp.rb +14 -14
- data/lib/icontrol/local_lb/profile_user_statistic.rb +6 -6
- data/lib/icontrol/local_lb/profile_xml.rb +14 -14
- data/lib/icontrol/local_lb/ram_cache_information.rb +2 -2
- data/lib/icontrol/local_lb/rate_class.rb +122 -122
- data/lib/icontrol/local_lb/rule.rb +4 -4
- data/lib/icontrol/local_lb/snat.rb +14 -14
- data/lib/icontrol/local_lb/snat_pool.rb +6 -6
- data/lib/icontrol/local_lb/snat_pool_member.rb +4 -4
- data/lib/icontrol/local_lb/snat_translation_address.rb +16 -16
- data/lib/icontrol/local_lb/virtual_address.rb +14 -14
- data/lib/icontrol/local_lb/virtual_server.rb +66 -66
- data/lib/icontrol/lt_config/field.rb +24 -24
- data/lib/icontrol/lt_config/klass.rb +4 -4
- data/lib/icontrol/management/ccldap_configuration.rb +38 -38
- data/lib/icontrol/management/change_control.rb +22 -22
- data/lib/icontrol/management/crldp_configuration.rb +14 -14
- data/lib/icontrol/management/crldp_server.rb +8 -8
- data/lib/icontrol/management/event_notification.rb +2 -2
- data/lib/icontrol/management/event_subscription.rb +30 -30
- data/lib/icontrol/management/key_certificate.rb +66 -66
- data/lib/icontrol/management/ldap_configuration.rb +58 -58
- data/lib/icontrol/management/license_administration.rb +8 -8
- data/lib/icontrol/management/named.rb +16 -16
- data/lib/icontrol/management/ocsp_configuration.rb +6 -6
- data/lib/icontrol/management/ocsp_responder.rb +40 -40
- data/lib/icontrol/management/partition.rb +4 -4
- data/lib/icontrol/management/provision.rb +8 -8
- data/lib/icontrol/management/radius_configuration.rb +16 -16
- data/lib/icontrol/management/radius_server.rb +8 -8
- data/lib/icontrol/management/resource_record.rb +76 -76
- data/lib/icontrol/management/snmp_configuration.rb +142 -142
- data/lib/icontrol/management/tacacs_configuration.rb +20 -20
- data/lib/icontrol/management/user_management.rb +34 -34
- data/lib/icontrol/management/view.rb +8 -8
- data/lib/icontrol/management/zone.rb +14 -14
- data/lib/icontrol/networking/admin_ip.rb +30 -30
- data/lib/icontrol/networking/arp.rb +4 -4
- data/lib/icontrol/networking/i_session_advertised_route.rb +8 -8
- data/lib/icontrol/networking/i_session_local_interface.rb +14 -14
- data/lib/icontrol/networking/i_session_peer_discovery.rb +16 -16
- data/lib/icontrol/networking/i_session_remote_interface.rb +20 -20
- data/lib/icontrol/networking/interfaces.rb +26 -26
- data/lib/icontrol/networking/packet_filter.rb +14 -14
- data/lib/icontrol/networking/packet_filter_globals.rb +8 -8
- data/lib/icontrol/networking/port_mirror.rb +6 -6
- data/lib/icontrol/networking/profile_gre.rb +6 -6
- data/lib/icontrol/networking/profile_ipip.rb +2 -2
- data/lib/icontrol/networking/profile_wccpgre.rb +10 -10
- data/lib/icontrol/networking/route_domain.rb +12 -12
- data/lib/icontrol/networking/route_table.rb +22 -22
- data/lib/icontrol/networking/self_ip.rb +10 -10
- data/lib/icontrol/networking/self_ip_port_lockdown.rb +6 -6
- data/lib/icontrol/networking/stp_instance.rb +22 -22
- data/lib/icontrol/networking/trunk.rb +20 -20
- data/lib/icontrol/networking/tunnel.rb +14 -14
- data/lib/icontrol/networking/vlan.rb +26 -26
- data/lib/icontrol/networking/vlan_group.rb +28 -28
- data/lib/icontrol/system/cluster.rb +22 -22
- data/lib/icontrol/system/config_sync.rb +26 -26
- data/lib/icontrol/system/disk.rb +18 -18
- data/lib/icontrol/system/inet.rb +10 -10
- data/lib/icontrol/system/internal.rb +2 -2
- data/lib/icontrol/system/services.rb +10 -10
- data/lib/icontrol/system/software_management.rb +20 -20
- data/lib/icontrol/system/statistics.rb +22 -22
- data/lib/icontrol/system/system_info.rb +8 -8
- data/lib/icontrol/web_accelerator/applications.rb +4 -4
- data/lib/icontrol/web_accelerator/policies.rb +2 -2
- data/spec/icontrol/base/struct_spec.rb +11 -0
- data/spec/icontrol/common_spec.rb +11 -0
- metadata +9 -4
@@ -18,8 +18,8 @@ module IControl::Networking
|
|
18
18
|
# @param [Hash] opts
|
19
19
|
# @option opts [String] :addresses The lists of IP addresses.
|
20
20
|
def add_global_proxy_exclusion(opts)
|
21
|
-
check_params(opts,[:addresses])
|
22
|
-
super
|
21
|
+
opts = check_params(opts,[:addresses])
|
22
|
+
super(opts)
|
23
23
|
end
|
24
24
|
|
25
25
|
##
|
@@ -31,8 +31,8 @@ module IControl::Networking
|
|
31
31
|
# @param [Hash] opts
|
32
32
|
# @option opts [String[]] :member_vlans The lists of child VLANs .
|
33
33
|
def add_member(opts)
|
34
|
-
check_params(opts,[:member_vlans])
|
35
|
-
super
|
34
|
+
opts = check_params(opts,[:member_vlans])
|
35
|
+
super(opts)
|
36
36
|
end
|
37
37
|
|
38
38
|
##
|
@@ -44,8 +44,8 @@ module IControl::Networking
|
|
44
44
|
# @param [Hash] opts
|
45
45
|
# @option opts [String[]] :addresses The lists of IP addresses.
|
46
46
|
def add_proxy_exclusion(opts)
|
47
|
-
check_params(opts,[:addresses])
|
48
|
-
super
|
47
|
+
opts = check_params(opts,[:addresses])
|
48
|
+
super(opts)
|
49
49
|
end
|
50
50
|
|
51
51
|
##
|
@@ -58,8 +58,8 @@ module IControl::Networking
|
|
58
58
|
# @option opts [long] :vlan_ids The VLAN tag numbers or IDs (valid range is 1-4095).
|
59
59
|
# @option opts [String[]] :member_vlans The lists of member VLANs .
|
60
60
|
def create(opts)
|
61
|
-
check_params(opts,[:vlan_ids,:member_vlans])
|
62
|
-
super
|
61
|
+
opts = check_params(opts,[:vlan_ids,:member_vlans])
|
62
|
+
super(opts)
|
63
63
|
end
|
64
64
|
|
65
65
|
##
|
@@ -71,8 +71,8 @@ module IControl::Networking
|
|
71
71
|
# @param [Hash] opts
|
72
72
|
# @option opts [String[]] :member_vlans The lists of member VLANs .
|
73
73
|
def create_v2(opts)
|
74
|
-
check_params(opts,[:member_vlans])
|
75
|
-
super
|
74
|
+
opts = check_params(opts,[:member_vlans])
|
75
|
+
super(opts)
|
76
76
|
end
|
77
77
|
|
78
78
|
##
|
@@ -269,8 +269,8 @@ module IControl::Networking
|
|
269
269
|
# @param [Hash] opts
|
270
270
|
# @option opts [String] :addresses The lists of IP addresses.
|
271
271
|
def remove_global_proxy_exclusion(opts)
|
272
|
-
check_params(opts,[:addresses])
|
273
|
-
super
|
272
|
+
opts = check_params(opts,[:addresses])
|
273
|
+
super(opts)
|
274
274
|
end
|
275
275
|
|
276
276
|
##
|
@@ -282,8 +282,8 @@ module IControl::Networking
|
|
282
282
|
# @param [Hash] opts
|
283
283
|
# @option opts [String[]] :member_vlans The lists of child VLANs .
|
284
284
|
def remove_member(opts)
|
285
|
-
check_params(opts,[:member_vlans])
|
286
|
-
super
|
285
|
+
opts = check_params(opts,[:member_vlans])
|
286
|
+
super(opts)
|
287
287
|
end
|
288
288
|
|
289
289
|
##
|
@@ -295,8 +295,8 @@ module IControl::Networking
|
|
295
295
|
# @param [Hash] opts
|
296
296
|
# @option opts [String[]] :addresses The lists of IP addresses.
|
297
297
|
def remove_proxy_exclusion(opts)
|
298
|
-
check_params(opts,[:addresses])
|
299
|
-
super
|
298
|
+
opts = check_params(opts,[:addresses])
|
299
|
+
super(opts)
|
300
300
|
end
|
301
301
|
|
302
302
|
##
|
@@ -309,8 +309,8 @@ module IControl::Networking
|
|
309
309
|
# @param [Hash] opts
|
310
310
|
# @option opts [IControl::Common::EnabledState] :states The states to set for the specified VLAN group names.
|
311
311
|
def set_bridge_all_traffic_state(opts)
|
312
|
-
check_params(opts,[:states])
|
313
|
-
super
|
312
|
+
opts = check_params(opts,[:states])
|
313
|
+
super(opts)
|
314
314
|
end
|
315
315
|
|
316
316
|
##
|
@@ -323,8 +323,8 @@ module IControl::Networking
|
|
323
323
|
# @param [Hash] opts
|
324
324
|
# @option opts [IControl::Common::EnabledState] :states The states to set for the specified VLAN group names.
|
325
325
|
def set_bridge_in_standby_state(opts)
|
326
|
-
check_params(opts,[:states])
|
327
|
-
super
|
326
|
+
opts = check_params(opts,[:states])
|
327
|
+
super(opts)
|
328
328
|
end
|
329
329
|
|
330
330
|
##
|
@@ -337,8 +337,8 @@ module IControl::Networking
|
|
337
337
|
# @param [Hash] opts
|
338
338
|
# @option opts [IControl::Common::EnabledState] :states The states to set for the specified VLAN group names.
|
339
339
|
def set_bridge_multicast_state(opts)
|
340
|
-
check_params(opts,[:states])
|
341
|
-
super
|
340
|
+
opts = check_params(opts,[:states])
|
341
|
+
super(opts)
|
342
342
|
end
|
343
343
|
|
344
344
|
##
|
@@ -350,8 +350,8 @@ module IControl::Networking
|
|
350
350
|
# @param [Hash] opts
|
351
351
|
# @option opts [String] :mac_masquerade_addresses The MAC masquerade addresses to set for the specified VLAN groups.
|
352
352
|
def set_mac_masquerade_address(opts)
|
353
|
-
check_params(opts,[:mac_masquerade_addresses])
|
354
|
-
super
|
353
|
+
opts = check_params(opts,[:mac_masquerade_addresses])
|
354
|
+
super(opts)
|
355
355
|
end
|
356
356
|
|
357
357
|
##
|
@@ -363,8 +363,8 @@ module IControl::Networking
|
|
363
363
|
# @param [Hash] opts
|
364
364
|
# @option opts [IControl::Networking::VLANGroup::VLANGroupTransparency] :modes The transparency modes for the specified VLAN groups.
|
365
365
|
def set_transparency_mode(opts)
|
366
|
-
check_params(opts,[:modes])
|
367
|
-
super
|
366
|
+
opts = check_params(opts,[:modes])
|
367
|
+
super(opts)
|
368
368
|
end
|
369
369
|
|
370
370
|
##
|
@@ -377,8 +377,8 @@ module IControl::Networking
|
|
377
377
|
# @param [Hash] opts
|
378
378
|
# @option opts [long] :vlan_ids The VLAN ID/tag numbers (valid range is 1-4095).
|
379
379
|
def set_vlan_id(opts)
|
380
|
-
check_params(opts,[:vlan_ids])
|
381
|
-
super
|
380
|
+
opts = check_params(opts,[:vlan_ids])
|
381
|
+
super(opts)
|
382
382
|
end
|
383
383
|
|
384
384
|
|
@@ -65,8 +65,8 @@ module IControl::System
|
|
65
65
|
# @param [Hash] opts
|
66
66
|
# @option opts [long[]] :slot_ids The list of lists of slot ids.
|
67
67
|
def member_enabled_state(opts)
|
68
|
-
check_params(opts,[:slot_ids])
|
69
|
-
super
|
68
|
+
opts = check_params(opts,[:slot_ids])
|
69
|
+
super(opts)
|
70
70
|
end
|
71
71
|
|
72
72
|
##
|
@@ -80,8 +80,8 @@ module IControl::System
|
|
80
80
|
# @param [Hash] opts
|
81
81
|
# @option opts [long[]] :slot_ids The list of lists of slot ids.
|
82
82
|
def member_ha_state(opts)
|
83
|
-
check_params(opts,[:slot_ids])
|
84
|
-
super
|
83
|
+
opts = check_params(opts,[:slot_ids])
|
84
|
+
super(opts)
|
85
85
|
end
|
86
86
|
|
87
87
|
##
|
@@ -95,8 +95,8 @@ module IControl::System
|
|
95
95
|
# @param [Hash] opts
|
96
96
|
# @option opts [long[]] :slot_ids The list of lists of slot ids.
|
97
97
|
def member_licensed_state(opts)
|
98
|
-
check_params(opts,[:slot_ids])
|
99
|
-
super
|
98
|
+
opts = check_params(opts,[:slot_ids])
|
99
|
+
super(opts)
|
100
100
|
end
|
101
101
|
|
102
102
|
##
|
@@ -110,8 +110,8 @@ module IControl::System
|
|
110
110
|
# @param [Hash] opts
|
111
111
|
# @option opts [long[]] :slot_ids The list of lists of slot ids.
|
112
112
|
def member_priming_state(opts)
|
113
|
-
check_params(opts,[:slot_ids])
|
114
|
-
super
|
113
|
+
opts = check_params(opts,[:slot_ids])
|
114
|
+
super(opts)
|
115
115
|
end
|
116
116
|
|
117
117
|
##
|
@@ -192,8 +192,8 @@ module IControl::System
|
|
192
192
|
# @param [Hash] opts
|
193
193
|
# @option opts [IControl::Common::EnabledState] :cluster_states The list of enabled states.
|
194
194
|
def set_cluster_enabled_state(opts)
|
195
|
-
check_params(opts,[:cluster_states])
|
196
|
-
super
|
195
|
+
opts = check_params(opts,[:cluster_states])
|
196
|
+
super(opts)
|
197
197
|
end
|
198
198
|
|
199
199
|
##
|
@@ -206,8 +206,8 @@ module IControl::System
|
|
206
206
|
# @param [Hash] opts
|
207
207
|
# @option opts [long] :primary_slots
|
208
208
|
def set_current_primary_slot(opts)
|
209
|
-
check_params(opts,[:primary_slots])
|
210
|
-
super
|
209
|
+
opts = check_params(opts,[:primary_slots])
|
210
|
+
super(opts)
|
211
211
|
end
|
212
212
|
|
213
213
|
##
|
@@ -221,8 +221,8 @@ module IControl::System
|
|
221
221
|
# @option opts [long[]] :slot_ids The list of lists of slot ids.
|
222
222
|
# @option opts [IControl::Common::EnabledState[]] :member_states
|
223
223
|
def set_member_enabled_state(opts)
|
224
|
-
check_params(opts,[:slot_ids,:member_states])
|
225
|
-
super
|
224
|
+
opts = check_params(opts,[:slot_ids,:member_states])
|
225
|
+
super(opts)
|
226
226
|
end
|
227
227
|
|
228
228
|
##
|
@@ -236,8 +236,8 @@ module IControl::System
|
|
236
236
|
# @option opts [long[]] :slot_ids The list of lists of slot ids.
|
237
237
|
# @option opts [IControl::Common::EnabledState[]] :priming_states The list of lists of priming states.
|
238
238
|
def set_member_priming_state(opts)
|
239
|
-
check_params(opts,[:slot_ids,:priming_states])
|
240
|
-
super
|
239
|
+
opts = check_params(opts,[:slot_ids,:priming_states])
|
240
|
+
super(opts)
|
241
241
|
end
|
242
242
|
|
243
243
|
##
|
@@ -250,8 +250,8 @@ module IControl::System
|
|
250
250
|
# @param [Hash] opts
|
251
251
|
# @option opts [long] :min_up_members The list of minimum up members values.
|
252
252
|
def set_min_up_members(opts)
|
253
|
-
check_params(opts,[:min_up_members])
|
254
|
-
super
|
253
|
+
opts = check_params(opts,[:min_up_members])
|
254
|
+
super(opts)
|
255
255
|
end
|
256
256
|
|
257
257
|
##
|
@@ -264,8 +264,8 @@ module IControl::System
|
|
264
264
|
# @param [Hash] opts
|
265
265
|
# @option opts [IControl::Common::HAAction] :min_up_actions The list of minimum up members actions.
|
266
266
|
def set_min_up_members_action(opts)
|
267
|
-
check_params(opts,[:min_up_actions])
|
268
|
-
super
|
267
|
+
opts = check_params(opts,[:min_up_actions])
|
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 [IControl::Common::EnabledState] :min_up_states The list of minimum up members enabled states.
|
280
280
|
def set_min_up_members_state(opts)
|
281
|
-
check_params(opts,[:min_up_states])
|
282
|
-
super
|
281
|
+
opts = check_params(opts,[:min_up_states])
|
282
|
+
super(opts)
|
283
283
|
end
|
284
284
|
|
285
285
|
|
@@ -60,8 +60,8 @@ module IControl::System
|
|
60
60
|
# @option opts [long] :chunk_size The chunk/block size of the file data to read from the device.
|
61
61
|
# @option opts [long] :file_offset The file offset that indicates where to read the next chunk of file data from.
|
62
62
|
def download_configuration(opts)
|
63
|
-
check_params(opts,[:config_name,:chunk_size,:file_offset])
|
64
|
-
super
|
63
|
+
opts = check_params(opts,[:config_name,:chunk_size,:file_offset])
|
64
|
+
super(opts)
|
65
65
|
end
|
66
66
|
|
67
67
|
##
|
@@ -76,8 +76,8 @@ module IControl::System
|
|
76
76
|
# @option opts [long] :chunk_size The chunk/block size of the file data to read from the device.
|
77
77
|
# @option opts [long] :file_offset The file offset that indicates where to read the next chunk of file data from.
|
78
78
|
def download_file(opts)
|
79
|
-
check_params(opts,[:file_name,:chunk_size,:file_offset])
|
80
|
-
super
|
79
|
+
opts = check_params(opts,[:file_name,:chunk_size,:file_offset])
|
80
|
+
super(opts)
|
81
81
|
end
|
82
82
|
|
83
83
|
##
|
@@ -121,8 +121,8 @@ module IControl::System
|
|
121
121
|
# @param [Hash] opts
|
122
122
|
# @option opts [String] :passphrase The passphrase used to decrypt the archive so we can install it.
|
123
123
|
def install_all_encrypted_configuration(opts)
|
124
|
-
check_params(opts,[:passphrase])
|
125
|
-
super
|
124
|
+
opts = check_params(opts,[:passphrase])
|
125
|
+
super(opts)
|
126
126
|
end
|
127
127
|
|
128
128
|
##
|
@@ -146,8 +146,8 @@ module IControl::System
|
|
146
146
|
# @param [Hash] opts
|
147
147
|
# @option opts [String] :passphrase The passphrase used to decrypt the archive so we can install it.
|
148
148
|
def install_encrypted_configuration(opts)
|
149
|
-
check_params(opts,[:passphrase])
|
150
|
-
super
|
149
|
+
opts = check_params(opts,[:passphrase])
|
150
|
+
super(opts)
|
151
151
|
end
|
152
152
|
|
153
153
|
##
|
@@ -161,8 +161,8 @@ module IControl::System
|
|
161
161
|
# @param [Hash] opts
|
162
162
|
# @option opts [IControl::System::ConfigSync::LoadMode] :load_flag The flag specifying the type of load to perform.
|
163
163
|
def load_configuration(opts)
|
164
|
-
check_params(opts,[:load_flag])
|
165
|
-
super
|
164
|
+
opts = check_params(opts,[:load_flag])
|
165
|
+
super(opts)
|
166
166
|
end
|
167
167
|
|
168
168
|
##
|
@@ -176,8 +176,8 @@ module IControl::System
|
|
176
176
|
# @option opts [String] :from_path The full path of the file to be moved.
|
177
177
|
# @option opts [String] :to_path The full path for the file to moved to.
|
178
178
|
def move_file(opts)
|
179
|
-
check_params(opts,[:from_path,:to_path])
|
180
|
-
super
|
179
|
+
opts = check_params(opts,[:from_path,:to_path])
|
180
|
+
super(opts)
|
181
181
|
end
|
182
182
|
|
183
183
|
##
|
@@ -202,8 +202,8 @@ module IControl::System
|
|
202
202
|
# @param [Hash] opts
|
203
203
|
# @option opts [IControl::System::ConfigSync::SaveMode] :save_flag The flag specifying the type of save to perform.
|
204
204
|
def save_configuration(opts)
|
205
|
-
check_params(opts,[:save_flag])
|
206
|
-
super
|
205
|
+
opts = check_params(opts,[:save_flag])
|
206
|
+
super(opts)
|
207
207
|
end
|
208
208
|
|
209
209
|
##
|
@@ -216,8 +216,8 @@ module IControl::System
|
|
216
216
|
# @param [Hash] opts
|
217
217
|
# @option opts [String] :passphrase The passphrase used to encrypt the saved archive.
|
218
218
|
def save_encrypted_configuration(opts)
|
219
|
-
check_params(opts,[:passphrase])
|
220
|
-
super
|
219
|
+
opts = check_params(opts,[:passphrase])
|
220
|
+
super(opts)
|
221
221
|
end
|
222
222
|
|
223
223
|
##
|
@@ -237,8 +237,8 @@ module IControl::System
|
|
237
237
|
# @option opts [IControl::System::ConfigSync::ConfigExcludeComponent] :features_to_exclude standard features to be excluded from saved configuration
|
238
238
|
# @option opts [IControl::System::ConfigSync::ConfigIncludeComponent] :features_to_include non-standard features to be included in the saved configuration
|
239
239
|
def save_partial_configuration(opts)
|
240
|
-
check_params(opts,[:save_flag,:features_to_exclude,:features_to_include])
|
241
|
-
super
|
240
|
+
opts = check_params(opts,[:save_flag,:features_to_exclude,:features_to_include])
|
241
|
+
super(opts)
|
242
242
|
end
|
243
243
|
|
244
244
|
##
|
@@ -257,8 +257,8 @@ module IControl::System
|
|
257
257
|
# @option opts [IControl::System::ConfigSync::ConfigExcludeComponent] :features_to_exclude standard features to be excluded from saved configuration
|
258
258
|
# @option opts [IControl::System::ConfigSync::ConfigIncludeComponent] :features_to_include non-standard features to be included in the saved configuration
|
259
259
|
def save_partial_encrypted_configuration(opts)
|
260
|
-
check_params(opts,[:passphrase,:features_to_exclude,:features_to_include])
|
261
|
-
super
|
260
|
+
opts = check_params(opts,[:passphrase,:features_to_exclude,:features_to_include])
|
261
|
+
super(opts)
|
262
262
|
end
|
263
263
|
|
264
264
|
##
|
@@ -271,8 +271,8 @@ module IControl::System
|
|
271
271
|
# @param [Hash] opts
|
272
272
|
# @option opts [IControl::System::ConfigSync::SyncMode] :sync_flag The mode of synchronization between the devices.
|
273
273
|
def synchronize_configuration(opts)
|
274
|
-
check_params(opts,[:sync_flag])
|
275
|
-
super
|
274
|
+
opts = check_params(opts,[:sync_flag])
|
275
|
+
super(opts)
|
276
276
|
end
|
277
277
|
|
278
278
|
##
|
@@ -285,8 +285,8 @@ module IControl::System
|
|
285
285
|
# @option opts [String] :config_name The name of the configuration archive to be saved on the device. Length limit: 255. The configuration name should not include any path information, since it will be saved automatically to a designated directory. The file chunk size is implicitly known by calculating the length of the contents of the configuration data ( see file_data parameter) being uploaded.
|
286
286
|
# @option opts [IControl::System::ConfigSync::FileTransferContext] :file_context The context of the transfer operation.
|
287
287
|
def upload_configuration(opts)
|
288
|
-
check_params(opts,[:config_name,:file_context])
|
289
|
-
super
|
288
|
+
opts = check_params(opts,[:config_name,:file_context])
|
289
|
+
super(opts)
|
290
290
|
end
|
291
291
|
|
292
292
|
##
|
@@ -299,8 +299,8 @@ module IControl::System
|
|
299
299
|
# @option opts [String] :file_name The name of the file to be saved on the device. Length limit: 255. The file chunk size is implicitly known by calculating the length of the contents of the file data ( see file_data parameter) being uploaded.
|
300
300
|
# @option opts [IControl::System::ConfigSync::FileTransferContext] :file_context The context of the transfer operation.
|
301
301
|
def upload_file(opts)
|
302
|
-
check_params(opts,[:file_name,:file_context])
|
303
|
-
super
|
302
|
+
opts = check_params(opts,[:file_name,:file_context])
|
303
|
+
super(opts)
|
304
304
|
end
|
305
305
|
|
306
306
|
##
|
data/lib/icontrol/system/disk.rb
CHANGED
@@ -41,8 +41,8 @@ module IControl::System
|
|
41
41
|
# @param [Hash] opts
|
42
42
|
# @option opts [String[]] :serial_numbers The serial numbers of the physical disks to add to each specified logical disk array.
|
43
43
|
def add_array_member(opts)
|
44
|
-
check_params(opts,[:serial_numbers])
|
45
|
-
super
|
44
|
+
opts = check_params(opts,[:serial_numbers])
|
45
|
+
super(opts)
|
46
46
|
end
|
47
47
|
|
48
48
|
##
|
@@ -59,8 +59,8 @@ module IControl::System
|
|
59
59
|
# @param [Hash] opts
|
60
60
|
# @option opts [IControl::System::Disk::LogicalDisk[]] :names The identifiers of the logical disks to add to each specified logical disk array.
|
61
61
|
def add_array_member_by_logical_id(opts)
|
62
|
-
check_params(opts,[:names])
|
63
|
-
super
|
62
|
+
opts = check_params(opts,[:names])
|
63
|
+
super(opts)
|
64
64
|
end
|
65
65
|
|
66
66
|
##
|
@@ -87,8 +87,8 @@ module IControl::System
|
|
87
87
|
# @param [Hash] opts
|
88
88
|
# @option opts [String] :serial_numbers The serial numbers of the disks of interest.
|
89
89
|
def array_status(opts)
|
90
|
-
check_params(opts,[:serial_numbers])
|
91
|
-
super
|
90
|
+
opts = check_params(opts,[:serial_numbers])
|
91
|
+
super(opts)
|
92
92
|
end
|
93
93
|
|
94
94
|
##
|
@@ -101,8 +101,8 @@ module IControl::System
|
|
101
101
|
# @param [Hash] opts
|
102
102
|
# @option opts [long] :ids The identifiers for the disk bays of interest.
|
103
103
|
def bay_disk_serial_number(opts)
|
104
|
-
check_params(opts,[:ids])
|
105
|
-
super
|
104
|
+
opts = check_params(opts,[:ids])
|
105
|
+
super(opts)
|
106
106
|
end
|
107
107
|
|
108
108
|
##
|
@@ -197,8 +197,8 @@ module IControl::System
|
|
197
197
|
# @param [Hash] opts
|
198
198
|
# @option opts [String] :serial_numbers The serial numbers of the disks of interest.
|
199
199
|
def name(opts)
|
200
|
-
check_params(opts,[:serial_numbers])
|
201
|
-
super
|
200
|
+
opts = check_params(opts,[:serial_numbers])
|
201
|
+
super(opts)
|
202
202
|
end
|
203
203
|
|
204
204
|
##
|
@@ -212,8 +212,8 @@ module IControl::System
|
|
212
212
|
# @param [Hash] opts
|
213
213
|
# @option opts [String] :serial_numbers The serial numbers of the disks of interest.
|
214
214
|
def slot_id(opts)
|
215
|
-
check_params(opts,[:serial_numbers])
|
216
|
-
super
|
215
|
+
opts = check_params(opts,[:serial_numbers])
|
216
|
+
super(opts)
|
217
217
|
end
|
218
218
|
|
219
219
|
##
|
@@ -235,8 +235,8 @@ module IControl::System
|
|
235
235
|
# @param [Hash] opts
|
236
236
|
# @option opts [String] :serial_numbers The serial numbers of the disks of interest.
|
237
237
|
def is_array_member(opts)
|
238
|
-
check_params(opts,[:serial_numbers])
|
239
|
-
super
|
238
|
+
opts = check_params(opts,[:serial_numbers])
|
239
|
+
super(opts)
|
240
240
|
end
|
241
241
|
|
242
242
|
##
|
@@ -261,8 +261,8 @@ module IControl::System
|
|
261
261
|
# @param [Hash] opts
|
262
262
|
# @option opts [String[]] :serial_numbers The serial numbers of the physical disks to add to each specified logical disk array.
|
263
263
|
def remove_array_member(opts)
|
264
|
-
check_params(opts,[:serial_numbers])
|
265
|
-
super
|
264
|
+
opts = check_params(opts,[:serial_numbers])
|
265
|
+
super(opts)
|
266
266
|
end
|
267
267
|
|
268
268
|
##
|
@@ -280,8 +280,8 @@ module IControl::System
|
|
280
280
|
# @param [Hash] opts
|
281
281
|
# @option opts [IControl::System::Disk::LogicalDisk[]] :names
|
282
282
|
def remove_array_member_by_logical_id(opts)
|
283
|
-
check_params(opts,[:names])
|
284
|
-
super
|
283
|
+
opts = check_params(opts,[:names])
|
284
|
+
super(opts)
|
285
285
|
end
|
286
286
|
|
287
287
|
##
|