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
@@ -14,8 +14,8 @@ module IControl::Management
|
|
14
14
|
# @param [Hash] opts
|
15
15
|
# @option opts [String[]] :servers The servers to add to the TACACS configurations.
|
16
16
|
def add_server(opts)
|
17
|
-
check_params(opts,[:servers])
|
18
|
-
super
|
17
|
+
opts = check_params(opts,[:servers])
|
18
|
+
super(opts)
|
19
19
|
end
|
20
20
|
|
21
21
|
##
|
@@ -30,8 +30,8 @@ module IControl::Management
|
|
30
30
|
# @option opts [String] :protocol_names The TACACS+ servers' listening protocol names used by the configurations.
|
31
31
|
# @option opts [String[]] :servers The list of servers to be assigned to each of the configurations.
|
32
32
|
def create(opts)
|
33
|
-
check_params(opts,[:secrets,:service_names,:protocol_names,:servers])
|
34
|
-
super
|
33
|
+
opts = check_params(opts,[:secrets,:service_names,:protocol_names,:servers])
|
34
|
+
super(opts)
|
35
35
|
end
|
36
36
|
|
37
37
|
##
|
@@ -175,8 +175,8 @@ module IControl::Management
|
|
175
175
|
# @param [Hash] opts
|
176
176
|
# @option opts [String[]] :servers The servers to remove from the TACACS configurations.
|
177
177
|
def remove_server(opts)
|
178
|
-
check_params(opts,[:servers])
|
179
|
-
super
|
178
|
+
opts = check_params(opts,[:servers])
|
179
|
+
super(opts)
|
180
180
|
end
|
181
181
|
|
182
182
|
##
|
@@ -190,8 +190,8 @@ module IControl::Management
|
|
190
190
|
# @param [Hash] opts
|
191
191
|
# @option opts [IControl::Common::EnabledState] :states The accounting-to-all states of the specified configurations.
|
192
192
|
def set_accounting_to_all_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::Management
|
|
203
203
|
# @param [Hash] opts
|
204
204
|
# @option opts [IControl::Common::EnabledState] :states The syslog debugging states of the specified configurations.
|
205
205
|
def set_debug_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
|
##
|
@@ -216,8 +216,8 @@ module IControl::Management
|
|
216
216
|
# @param [Hash] opts
|
217
217
|
# @option opts [IControl::Common::EnabledState] :states The encryption states of the specified configurations.
|
218
218
|
def set_encryption_state(opts)
|
219
|
-
check_params(opts,[:states])
|
220
|
-
super
|
219
|
+
opts = check_params(opts,[:states])
|
220
|
+
super(opts)
|
221
221
|
end
|
222
222
|
|
223
223
|
##
|
@@ -232,8 +232,8 @@ module IControl::Management
|
|
232
232
|
# @param [Hash] opts
|
233
233
|
# @option opts [IControl::Common::EnabledState] :states The first-hit states of the specified configurations.
|
234
234
|
def set_first_hit_state(opts)
|
235
|
-
check_params(opts,[:states])
|
236
|
-
super
|
235
|
+
opts = check_params(opts,[:states])
|
236
|
+
super(opts)
|
237
237
|
end
|
238
238
|
|
239
239
|
##
|
@@ -245,8 +245,8 @@ module IControl::Management
|
|
245
245
|
# @param [Hash] opts
|
246
246
|
# @option opts [String] :protocol_names The service names used by the configurations.
|
247
247
|
def set_protocol_name(opts)
|
248
|
-
check_params(opts,[:protocol_names])
|
249
|
-
super
|
248
|
+
opts = check_params(opts,[:protocol_names])
|
249
|
+
super(opts)
|
250
250
|
end
|
251
251
|
|
252
252
|
##
|
@@ -258,8 +258,8 @@ module IControl::Management
|
|
258
258
|
# @param [Hash] opts
|
259
259
|
# @option opts [String] :secrets The secrets used by the configurations.
|
260
260
|
def set_secret(opts)
|
261
|
-
check_params(opts,[:secrets])
|
262
|
-
super
|
261
|
+
opts = check_params(opts,[:secrets])
|
262
|
+
super(opts)
|
263
263
|
end
|
264
264
|
|
265
265
|
##
|
@@ -271,8 +271,8 @@ module IControl::Management
|
|
271
271
|
# @param [Hash] opts
|
272
272
|
# @option opts [String] :service_names The service names used by the configurations.
|
273
273
|
def set_service_name(opts)
|
274
|
-
check_params(opts,[:service_names])
|
275
|
-
super
|
274
|
+
opts = check_params(opts,[:service_names])
|
275
|
+
super(opts)
|
276
276
|
end
|
277
277
|
|
278
278
|
|
@@ -31,8 +31,8 @@ module IControl::Management
|
|
31
31
|
# @param [Hash] opts
|
32
32
|
# @option opts [IControl::Management::UserManagement::PasswordInfo] :password The new password.
|
33
33
|
def change_my_password(opts)
|
34
|
-
check_params(opts,[:password])
|
35
|
-
super
|
34
|
+
opts = check_params(opts,[:password])
|
35
|
+
super(opts)
|
36
36
|
end
|
37
37
|
|
38
38
|
##
|
@@ -44,8 +44,8 @@ module IControl::Management
|
|
44
44
|
# @param [Hash] opts
|
45
45
|
# @option opts [String] :passwords The new clear-text passwords.
|
46
46
|
def change_password(opts)
|
47
|
-
check_params(opts,[:passwords])
|
48
|
-
super
|
47
|
+
opts = check_params(opts,[:passwords])
|
48
|
+
super(opts)
|
49
49
|
end
|
50
50
|
|
51
51
|
##
|
@@ -57,8 +57,8 @@ module IControl::Management
|
|
57
57
|
# @param [Hash] opts
|
58
58
|
# @option opts [IControl::Management::UserManagement::PasswordInfo] :passwords The new passwords.
|
59
59
|
def change_password_2(opts)
|
60
|
-
check_params(opts,[:passwords])
|
61
|
-
super
|
60
|
+
opts = check_params(opts,[:passwords])
|
61
|
+
super(opts)
|
62
62
|
end
|
63
63
|
|
64
64
|
##
|
@@ -74,8 +74,8 @@ module IControl::Management
|
|
74
74
|
# @param [Hash] opts
|
75
75
|
# @option opts [IControl::Management::UserManagement::UserInfo] :users The user's information.
|
76
76
|
def create_user(opts)
|
77
|
-
check_params(opts,[:users])
|
78
|
-
super
|
77
|
+
opts = check_params(opts,[:users])
|
78
|
+
super(opts)
|
79
79
|
end
|
80
80
|
|
81
81
|
##
|
@@ -90,8 +90,8 @@ module IControl::Management
|
|
90
90
|
# @param [Hash] opts
|
91
91
|
# @option opts [IControl::Management::UserManagement::UserInfo2] :users The user's information.
|
92
92
|
def create_user_2(opts)
|
93
|
-
check_params(opts,[:users])
|
94
|
-
super
|
93
|
+
opts = check_params(opts,[:users])
|
94
|
+
super(opts)
|
95
95
|
end
|
96
96
|
|
97
97
|
##
|
@@ -103,8 +103,8 @@ module IControl::Management
|
|
103
103
|
# @param [Hash] opts
|
104
104
|
# @option opts [IControl::Management::UserManagement::UserInfo3] :users The user's information.
|
105
105
|
def create_user_3(opts)
|
106
|
-
check_params(opts,[:users])
|
107
|
-
super
|
106
|
+
opts = check_params(opts,[:users])
|
107
|
+
super(opts)
|
108
108
|
end
|
109
109
|
|
110
110
|
##
|
@@ -317,8 +317,8 @@ module IControl::Management
|
|
317
317
|
# @param [Hash] opts
|
318
318
|
# @option opts [IControl::Common::AuthenticationMethod] :auth_method The system authentication method to set.
|
319
319
|
def set_authentication_method(opts)
|
320
|
-
check_params(opts,[:auth_method])
|
321
|
-
super
|
320
|
+
opts = check_params(opts,[:auth_method])
|
321
|
+
super(opts)
|
322
322
|
end
|
323
323
|
|
324
324
|
##
|
@@ -331,8 +331,8 @@ module IControl::Management
|
|
331
331
|
# @param [Hash] opts
|
332
332
|
# @option opts [String] :partition The default partition for system users.
|
333
333
|
def set_default_partition(opts)
|
334
|
-
check_params(opts,[:partition])
|
335
|
-
super
|
334
|
+
opts = check_params(opts,[:partition])
|
335
|
+
super(opts)
|
336
336
|
end
|
337
337
|
|
338
338
|
##
|
@@ -344,8 +344,8 @@ module IControl::Management
|
|
344
344
|
# @param [Hash] opts
|
345
345
|
# @option opts [IControl::Management::UserManagement::UserRole] :role The default role for system users.
|
346
346
|
def set_default_role(opts)
|
347
|
-
check_params(opts,[:role])
|
348
|
-
super
|
347
|
+
opts = check_params(opts,[:role])
|
348
|
+
super(opts)
|
349
349
|
end
|
350
350
|
|
351
351
|
##
|
@@ -357,8 +357,8 @@ module IControl::Management
|
|
357
357
|
# @param [Hash] opts
|
358
358
|
# @option opts [String] :fullnames The users' full names.
|
359
359
|
def set_fullname(opts)
|
360
|
-
check_params(opts,[:fullnames])
|
361
|
-
super
|
360
|
+
opts = check_params(opts,[:fullnames])
|
361
|
+
super(opts)
|
362
362
|
end
|
363
363
|
|
364
364
|
##
|
@@ -371,8 +371,8 @@ module IControl::Management
|
|
371
371
|
# @param [Hash] opts
|
372
372
|
# @option opts [long] :gids The users' Group IDs .
|
373
373
|
def set_group_id(opts)
|
374
|
-
check_params(opts,[:gids])
|
375
|
-
super
|
374
|
+
opts = check_params(opts,[:gids])
|
375
|
+
super(opts)
|
376
376
|
end
|
377
377
|
|
378
378
|
##
|
@@ -385,8 +385,8 @@ module IControl::Management
|
|
385
385
|
# @param [Hash] opts
|
386
386
|
# @option opts [String] :directories The home directories.
|
387
387
|
def set_home_directory(opts)
|
388
|
-
check_params(opts,[:directories])
|
389
|
-
super
|
388
|
+
opts = check_params(opts,[:directories])
|
389
|
+
super(opts)
|
390
390
|
end
|
391
391
|
|
392
392
|
##
|
@@ -398,8 +398,8 @@ module IControl::Management
|
|
398
398
|
# @param [Hash] opts
|
399
399
|
# @option opts [String] :shells The users' login shells.
|
400
400
|
def set_login_shell(opts)
|
401
|
-
check_params(opts,[:shells])
|
402
|
-
super
|
401
|
+
opts = check_params(opts,[:shells])
|
402
|
+
super(opts)
|
403
403
|
end
|
404
404
|
|
405
405
|
##
|
@@ -412,8 +412,8 @@ module IControl::Management
|
|
412
412
|
# @param [Hash] opts
|
413
413
|
# @option opts [boolean] :enabled The remote console access for system users.
|
414
414
|
def set_remote_console_access(opts)
|
415
|
-
check_params(opts,[:enabled])
|
416
|
-
super
|
415
|
+
opts = check_params(opts,[:enabled])
|
416
|
+
super(opts)
|
417
417
|
end
|
418
418
|
|
419
419
|
##
|
@@ -426,8 +426,8 @@ module IControl::Management
|
|
426
426
|
# @param [Hash] opts
|
427
427
|
# @option opts [IControl::Management::UserManagement::UserRole] :roles The new roles.
|
428
428
|
def set_role(opts)
|
429
|
-
check_params(opts,[:roles])
|
430
|
-
super
|
429
|
+
opts = check_params(opts,[:roles])
|
430
|
+
super(opts)
|
431
431
|
end
|
432
432
|
|
433
433
|
##
|
@@ -440,8 +440,8 @@ module IControl::Management
|
|
440
440
|
# @param [Hash] opts
|
441
441
|
# @option opts [long] :uids The users' User IDs .
|
442
442
|
def set_user_id(opts)
|
443
|
-
check_params(opts,[:uids])
|
444
|
-
super
|
443
|
+
opts = check_params(opts,[:uids])
|
444
|
+
super(opts)
|
445
445
|
end
|
446
446
|
|
447
447
|
##
|
@@ -455,8 +455,8 @@ module IControl::Management
|
|
455
455
|
# @param [Hash] opts
|
456
456
|
# @option opts [IControl::Management::UserManagement::UserPermission[]] :permissions The user permissions.
|
457
457
|
def set_user_permission(opts)
|
458
|
-
check_params(opts,[:permissions])
|
459
|
-
super
|
458
|
+
opts = check_params(opts,[:permissions])
|
459
|
+
super(opts)
|
460
460
|
end
|
461
461
|
|
462
462
|
##
|
@@ -24,8 +24,8 @@ module IControl::Management
|
|
24
24
|
# @param [Hash] opts
|
25
25
|
# @option opts [IControl::Management::ViewInfo] :view_infos The ViewInfo structs with the view options to add.
|
26
26
|
def add_view_option(opts)
|
27
|
-
check_params(opts,[:view_infos])
|
28
|
-
super
|
27
|
+
opts = check_params(opts,[:view_infos])
|
28
|
+
super(opts)
|
29
29
|
end
|
30
30
|
|
31
31
|
##
|
@@ -47,8 +47,8 @@ module IControl::Management
|
|
47
47
|
# @param [Hash] opts
|
48
48
|
# @option opts [IControl::Management::ViewInfo] :view_infos The ViewInfo structs with the view options to delete
|
49
49
|
def delete_view_option(opts)
|
50
|
-
check_params(opts,[:view_infos])
|
51
|
-
super
|
50
|
+
opts = check_params(opts,[:view_infos])
|
51
|
+
super(opts)
|
52
52
|
end
|
53
53
|
|
54
54
|
##
|
@@ -80,8 +80,8 @@ module IControl::Management
|
|
80
80
|
# @param [Hash] opts
|
81
81
|
# @option opts [String] :view_names The names of the views to retrieve.
|
82
82
|
def view(opts)
|
83
|
-
check_params(opts,[:view_names])
|
84
|
-
super
|
83
|
+
opts = check_params(opts,[:view_names])
|
84
|
+
super(opts)
|
85
85
|
end
|
86
86
|
|
87
87
|
##
|
@@ -103,8 +103,8 @@ module IControl::Management
|
|
103
103
|
# @param [Hash] opts
|
104
104
|
# @option opts [IControl::Management::ViewInfo] :view_infos The ViewInfo structs with the view options to set.
|
105
105
|
def set_view_option(opts)
|
106
|
-
check_params(opts,[:view_infos])
|
107
|
-
super
|
106
|
+
opts = check_params(opts,[:view_infos])
|
107
|
+
super(opts)
|
108
108
|
end
|
109
109
|
|
110
110
|
|
@@ -18,8 +18,8 @@ module IControl::Management
|
|
18
18
|
# @option opts [String] :src_file_names The files containing the zone's resource records.
|
19
19
|
# @option opts [boolean] :sync_ptrs A list containing sequences of states indicating whether PTR records should automatically be generated.
|
20
20
|
def add_zone_file(opts)
|
21
|
-
check_params(opts,[:zone_records,:src_file_names,:sync_ptrs])
|
22
|
-
super
|
21
|
+
opts = check_params(opts,[:zone_records,:src_file_names,:sync_ptrs])
|
22
|
+
super(opts)
|
23
23
|
end
|
24
24
|
|
25
25
|
##
|
@@ -44,8 +44,8 @@ module IControl::Management
|
|
44
44
|
# @option opts [String[]] :text The list of sequence of strings containing the resource records to create in the zones (SOA, NS, etc)
|
45
45
|
# @option opts [boolean] :sync_ptrs A list containing sequences of states indicating whether PTR records should automatically be generated.
|
46
46
|
def add_zone_text(opts)
|
47
|
-
check_params(opts,[:zone_records,:text,:sync_ptrs])
|
48
|
-
super
|
47
|
+
opts = check_params(opts,[:zone_records,:text,:sync_ptrs])
|
48
|
+
super(opts)
|
49
49
|
end
|
50
50
|
|
51
51
|
##
|
@@ -57,8 +57,8 @@ module IControl::Management
|
|
57
57
|
# @param [Hash] opts
|
58
58
|
# @option opts [IControl::Management::ViewZone] :view_zones The view/zone information.
|
59
59
|
def delete_zone(opts)
|
60
|
-
check_params(opts,[:view_zones])
|
61
|
-
super
|
60
|
+
opts = check_params(opts,[:view_zones])
|
61
|
+
super(opts)
|
62
62
|
end
|
63
63
|
|
64
64
|
##
|
@@ -89,8 +89,8 @@ module IControl::Management
|
|
89
89
|
# @param [Hash] opts
|
90
90
|
# @option opts [IControl::Management::ViewZone] :view_zones The view/zone information.
|
91
91
|
def zone(opts)
|
92
|
-
check_params(opts,[:view_zones])
|
93
|
-
super
|
92
|
+
opts = check_params(opts,[:view_zones])
|
93
|
+
super(opts)
|
94
94
|
end
|
95
95
|
|
96
96
|
##
|
@@ -103,8 +103,8 @@ module IControl::Management
|
|
103
103
|
# @param [Hash] opts
|
104
104
|
# @option opts [String] :view_names The names of the views.
|
105
105
|
def zone_name(opts)
|
106
|
-
check_params(opts,[:view_names])
|
107
|
-
super
|
106
|
+
opts = check_params(opts,[:view_names])
|
107
|
+
super(opts)
|
108
108
|
end
|
109
109
|
|
110
110
|
##
|
@@ -130,8 +130,8 @@ module IControl::Management
|
|
130
130
|
# @option opts [String] :dst_view_names The names of the views to add the zones to.
|
131
131
|
# @option opts [IControl::Management::ZoneInfo] :zone_records The ZoneInfo structs containing information about the zones to be added.
|
132
132
|
def transfer_zone(opts)
|
133
|
-
check_params(opts,[:server_names,:src_zone_names,:dst_view_names,:zone_records])
|
134
|
-
super
|
133
|
+
opts = check_params(opts,[:server_names,:src_zone_names,:dst_view_names,:zone_records])
|
134
|
+
super(opts)
|
135
135
|
end
|
136
136
|
|
137
137
|
##
|
@@ -144,8 +144,8 @@ module IControl::Management
|
|
144
144
|
# @param [Hash] opts
|
145
145
|
# @option opts [IControl::Management::ViewZone] :view_zones The view/zone information.
|
146
146
|
def zone_exist(opts)
|
147
|
-
check_params(opts,[:view_zones])
|
148
|
-
super
|
147
|
+
opts = check_params(opts,[:view_zones])
|
148
|
+
super(opts)
|
149
149
|
end
|
150
150
|
|
151
151
|
|
@@ -16,8 +16,8 @@ module IControl::Networking
|
|
16
16
|
# @option opts [String] :admin_ips The list of admin IPs to create.
|
17
17
|
# @option opts [String] :netmasks The list of netmasks for the admin IPs .
|
18
18
|
def create(opts)
|
19
|
-
check_params(opts,[:admin_ips,:netmasks])
|
20
|
-
super
|
19
|
+
opts = check_params(opts,[:admin_ips,:netmasks])
|
20
|
+
super(opts)
|
21
21
|
end
|
22
22
|
|
23
23
|
##
|
@@ -31,8 +31,8 @@ module IControl::Networking
|
|
31
31
|
# @option opts [String[]] :cluster_ips The list of lists of cluster admin IPs to create.
|
32
32
|
# @option opts [String[]] :netmasks The list of lists of netmasks for the cluster IPs .
|
33
33
|
def create_cluster(opts)
|
34
|
-
check_params(opts,[:cluster_ips,:netmasks])
|
35
|
-
super
|
34
|
+
opts = check_params(opts,[:cluster_ips,:netmasks])
|
35
|
+
super(opts)
|
36
36
|
end
|
37
37
|
|
38
38
|
##
|
@@ -47,8 +47,8 @@ module IControl::Networking
|
|
47
47
|
# @option opts [long] :slot_ids
|
48
48
|
# @option opts [String[]] :slot_ips The list of lists of slot admin IPs to create.
|
49
49
|
def create_slot_ip(opts)
|
50
|
-
check_params(opts,[:cluster_name,:slot_ids,:slot_ips])
|
51
|
-
super
|
50
|
+
opts = check_params(opts,[:cluster_name,:slot_ids,:slot_ips])
|
51
|
+
super(opts)
|
52
52
|
end
|
53
53
|
|
54
54
|
##
|
@@ -60,8 +60,8 @@ module IControl::Networking
|
|
60
60
|
# @param [Hash] opts
|
61
61
|
# @option opts [String] :admin_ips The list of admin IPs to delete.
|
62
62
|
def delete_administrative_ip(opts)
|
63
|
-
check_params(opts,[:admin_ips])
|
64
|
-
super
|
63
|
+
opts = check_params(opts,[:admin_ips])
|
64
|
+
super(opts)
|
65
65
|
end
|
66
66
|
|
67
67
|
##
|
@@ -95,8 +95,8 @@ module IControl::Networking
|
|
95
95
|
# @param [Hash] opts
|
96
96
|
# @option opts [long[]] :slot_ids
|
97
97
|
def delete_all_slot_ips(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
|
##
|
@@ -109,8 +109,8 @@ module IControl::Networking
|
|
109
109
|
# @param [Hash] opts
|
110
110
|
# @option opts [String[]] :cluster_ips
|
111
111
|
def delete_cluster_ip(opts)
|
112
|
-
check_params(opts,[:cluster_ips])
|
113
|
-
super
|
112
|
+
opts = check_params(opts,[:cluster_ips])
|
113
|
+
super(opts)
|
114
114
|
end
|
115
115
|
|
116
116
|
##
|
@@ -125,8 +125,8 @@ module IControl::Networking
|
|
125
125
|
# @option opts [long] :slot_ids
|
126
126
|
# @option opts [String[]] :slot_ips The list of list of slot admin IPs to delete.
|
127
127
|
def delete_slot_ip(opts)
|
128
|
-
check_params(opts,[:cluster_name,:slot_ids,:slot_ips])
|
129
|
-
super
|
128
|
+
opts = check_params(opts,[:cluster_name,:slot_ids,:slot_ips])
|
129
|
+
super(opts)
|
130
130
|
end
|
131
131
|
|
132
132
|
##
|
@@ -152,8 +152,8 @@ module IControl::Networking
|
|
152
152
|
# @param [Hash] opts
|
153
153
|
# @option opts [String[]] :cluster_ips The list of lists of cluster admin IPs .
|
154
154
|
def cluster_netmask(opts)
|
155
|
-
check_params(opts,[:cluster_ips])
|
156
|
-
super
|
155
|
+
opts = check_params(opts,[:cluster_ips])
|
156
|
+
super(opts)
|
157
157
|
end
|
158
158
|
|
159
159
|
##
|
@@ -177,8 +177,8 @@ module IControl::Networking
|
|
177
177
|
# @param [Hash] opts
|
178
178
|
# @option opts [String] :admin_ips The list of admin IPs .
|
179
179
|
def netmask(opts)
|
180
|
-
check_params(opts,[:admin_ips])
|
181
|
-
super
|
180
|
+
opts = check_params(opts,[:admin_ips])
|
181
|
+
super(opts)
|
182
182
|
end
|
183
183
|
|
184
184
|
##
|
@@ -193,8 +193,8 @@ module IControl::Networking
|
|
193
193
|
# @option opts [String] :cluster_name The cluster name.
|
194
194
|
# @option opts [long] :slot_ids
|
195
195
|
def slot_ip(opts)
|
196
|
-
check_params(opts,[:cluster_name,:slot_ids])
|
197
|
-
super
|
196
|
+
opts = check_params(opts,[:cluster_name,:slot_ids])
|
197
|
+
super(opts)
|
198
198
|
end
|
199
199
|
|
200
200
|
##
|
@@ -217,8 +217,8 @@ module IControl::Networking
|
|
217
217
|
# @option opts [String] :new_ips The list of new admin IPs to replace the old values.
|
218
218
|
# @option opts [String] :netmasks The list of netmasks for the admin IPs .
|
219
219
|
def replace_administrative_ip(opts)
|
220
|
-
check_params(opts,[:old_ips,:new_ips,:netmasks])
|
221
|
-
super
|
220
|
+
opts = check_params(opts,[:old_ips,:new_ips,:netmasks])
|
221
|
+
super(opts)
|
222
222
|
end
|
223
223
|
|
224
224
|
##
|
@@ -233,8 +233,8 @@ module IControl::Networking
|
|
233
233
|
# @option opts [String[]] :new_ips The list of lists of cluster admin IPs to replace the old values.
|
234
234
|
# @option opts [String[]] :netmasks The list of lists of netmasks for the cluster IPs .
|
235
235
|
def replace_cluster_ip(opts)
|
236
|
-
check_params(opts,[:old_ips,:new_ips,:netmasks])
|
237
|
-
super
|
236
|
+
opts = check_params(opts,[:old_ips,:new_ips,:netmasks])
|
237
|
+
super(opts)
|
238
238
|
end
|
239
239
|
|
240
240
|
##
|
@@ -250,8 +250,8 @@ module IControl::Networking
|
|
250
250
|
# @option opts [String[]] :old_ips The list of lists of cluster admin IPs to be replaced.
|
251
251
|
# @option opts [String[]] :new_ips The list of lists of cluster admin IPs to replace the old values.
|
252
252
|
def replace_slot_ip(opts)
|
253
|
-
check_params(opts,[:cluster_name,:slot_ids,:old_ips,:new_ips])
|
254
|
-
super
|
253
|
+
opts = check_params(opts,[:cluster_name,:slot_ids,:old_ips,:new_ips])
|
254
|
+
super(opts)
|
255
255
|
end
|
256
256
|
|
257
257
|
##
|
@@ -265,8 +265,8 @@ module IControl::Networking
|
|
265
265
|
# @option opts [String[]] :cluster_ips The list of lists of cluster admin IPs .
|
266
266
|
# @option opts [String[]] :netmasks The list of lists of netmasks for the cluster IPs .
|
267
267
|
def set_cluster_netmask(opts)
|
268
|
-
check_params(opts,[:cluster_ips,:netmasks])
|
269
|
-
super
|
268
|
+
opts = check_params(opts,[:cluster_ips,:netmasks])
|
269
|
+
super(opts)
|
270
270
|
end
|
271
271
|
|
272
272
|
##
|
@@ -279,8 +279,8 @@ module IControl::Networking
|
|
279
279
|
# @option opts [String] :admin_ips The list of admin IPs .
|
280
280
|
# @option opts [String] :netmasks The list of netmasks of the specified admin IPs .
|
281
281
|
def set_netmask(opts)
|
282
|
-
check_params(opts,[:admin_ips,:netmasks])
|
283
|
-
super
|
282
|
+
opts = check_params(opts,[:admin_ips,:netmasks])
|
283
|
+
super(opts)
|
284
284
|
end
|
285
285
|
|
286
286
|
|