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
@@ -328,8 +328,8 @@ module IControl::Management
|
|
328
328
|
# @param [Hash] opts
|
329
329
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified responders.
|
330
330
|
def set_allow_additional_certificate_state(opts)
|
331
|
-
check_params(opts,[:states])
|
332
|
-
super
|
331
|
+
opts = check_params(opts,[:states])
|
332
|
+
super(opts)
|
333
333
|
end
|
334
334
|
|
335
335
|
##
|
@@ -342,8 +342,8 @@ module IControl::Management
|
|
342
342
|
# @param [Hash] opts
|
343
343
|
# @option opts [String] :ca_files The CA file names used by the responders.
|
344
344
|
def set_ca_file(opts)
|
345
|
-
check_params(opts,[:ca_files])
|
346
|
-
super
|
345
|
+
opts = check_params(opts,[:ca_files])
|
346
|
+
super(opts)
|
347
347
|
end
|
348
348
|
|
349
349
|
##
|
@@ -356,8 +356,8 @@ module IControl::Management
|
|
356
356
|
# @param [Hash] opts
|
357
357
|
# @option opts [String] :ca_paths The CA paths used by the responders.
|
358
358
|
def set_ca_path(opts)
|
359
|
-
check_params(opts,[:ca_paths])
|
360
|
-
super
|
359
|
+
opts = check_params(opts,[:ca_paths])
|
360
|
+
super(opts)
|
361
361
|
end
|
362
362
|
|
363
363
|
##
|
@@ -372,8 +372,8 @@ module IControl::Management
|
|
372
372
|
# @param [Hash] opts
|
373
373
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified responders.
|
374
374
|
def set_certificate_check_state(opts)
|
375
|
-
check_params(opts,[:states])
|
376
|
-
super
|
375
|
+
opts = check_params(opts,[:states])
|
376
|
+
super(opts)
|
377
377
|
end
|
378
378
|
|
379
379
|
##
|
@@ -386,8 +386,8 @@ module IControl::Management
|
|
386
386
|
# @param [Hash] opts
|
387
387
|
# @option opts [IControl::Management::OCSPDigestMethod] :digest_methods The signing information to sign the OCSP requests.
|
388
388
|
def set_certificate_id_digest_method(opts)
|
389
|
-
check_params(opts,[:digest_methods])
|
390
|
-
super
|
389
|
+
opts = check_params(opts,[:digest_methods])
|
390
|
+
super(opts)
|
391
391
|
end
|
392
392
|
|
393
393
|
##
|
@@ -399,8 +399,8 @@ module IControl::Management
|
|
399
399
|
# @param [Hash] opts
|
400
400
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified responders.
|
401
401
|
def set_certificate_verification_state(opts)
|
402
|
-
check_params(opts,[:states])
|
403
|
-
super
|
402
|
+
opts = check_params(opts,[:states])
|
403
|
+
super(opts)
|
404
404
|
end
|
405
405
|
|
406
406
|
##
|
@@ -413,8 +413,8 @@ module IControl::Management
|
|
413
413
|
# @param [Hash] opts
|
414
414
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified responders.
|
415
415
|
def set_chain_state(opts)
|
416
|
-
check_params(opts,[:states])
|
417
|
-
super
|
416
|
+
opts = check_params(opts,[:states])
|
417
|
+
super(opts)
|
418
418
|
end
|
419
419
|
|
420
420
|
##
|
@@ -429,8 +429,8 @@ module IControl::Management
|
|
429
429
|
# @param [Hash] opts
|
430
430
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified responders.
|
431
431
|
def set_explicit_state(opts)
|
432
|
-
check_params(opts,[:states])
|
433
|
-
super
|
432
|
+
opts = check_params(opts,[:states])
|
433
|
+
super(opts)
|
434
434
|
end
|
435
435
|
|
436
436
|
##
|
@@ -448,8 +448,8 @@ module IControl::Management
|
|
448
448
|
# @param [Hash] opts
|
449
449
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified responders.
|
450
450
|
def set_ignore_aia_state(opts)
|
451
|
-
check_params(opts,[:states])
|
452
|
-
super
|
451
|
+
opts = check_params(opts,[:states])
|
452
|
+
super(opts)
|
453
453
|
end
|
454
454
|
|
455
455
|
##
|
@@ -463,8 +463,8 @@ module IControl::Management
|
|
463
463
|
# @param [Hash] opts
|
464
464
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified responders.
|
465
465
|
def set_intern_state(opts)
|
466
|
-
check_params(opts,[:states])
|
467
|
-
super
|
466
|
+
opts = check_params(opts,[:states])
|
467
|
+
super(opts)
|
468
468
|
end
|
469
469
|
|
470
470
|
##
|
@@ -476,8 +476,8 @@ module IControl::Management
|
|
476
476
|
# @param [Hash] opts
|
477
477
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified responders.
|
478
478
|
def set_nonce_state(opts)
|
479
|
-
check_params(opts,[:states])
|
480
|
-
super
|
479
|
+
opts = check_params(opts,[:states])
|
480
|
+
super(opts)
|
481
481
|
end
|
482
482
|
|
483
483
|
##
|
@@ -492,8 +492,8 @@ module IControl::Management
|
|
492
492
|
# @param [Hash] opts
|
493
493
|
# @option opts [String] :other_files The files containing other certificates used by the responders.
|
494
494
|
def set_other_certificate_file(opts)
|
495
|
-
check_params(opts,[:other_files])
|
496
|
-
super
|
495
|
+
opts = check_params(opts,[:other_files])
|
496
|
+
super(opts)
|
497
497
|
end
|
498
498
|
|
499
499
|
##
|
@@ -507,8 +507,8 @@ module IControl::Management
|
|
507
507
|
# @param [Hash] opts
|
508
508
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified responders.
|
509
509
|
def set_signature_verification_state(opts)
|
510
|
-
check_params(opts,[:states])
|
511
|
-
super
|
510
|
+
opts = check_params(opts,[:states])
|
511
|
+
super(opts)
|
512
512
|
end
|
513
513
|
|
514
514
|
##
|
@@ -520,8 +520,8 @@ module IControl::Management
|
|
520
520
|
# @param [Hash] opts
|
521
521
|
# @option opts [IControl::Management::OCSPResponder::SignInformation] :signers The signing information to sign the OCSP requests.
|
522
522
|
def set_signing_information(opts)
|
523
|
-
check_params(opts,[:signers])
|
524
|
-
super
|
523
|
+
opts = check_params(opts,[:signers])
|
524
|
+
super(opts)
|
525
525
|
end
|
526
526
|
|
527
527
|
##
|
@@ -537,8 +537,8 @@ module IControl::Management
|
|
537
537
|
# @param [Hash] opts
|
538
538
|
# @option opts [long] :ages The status ages for OCSP responses for the specified responders.
|
539
539
|
def set_status_age(opts)
|
540
|
-
check_params(opts,[:ages])
|
541
|
-
super
|
540
|
+
opts = check_params(opts,[:ages])
|
541
|
+
super(opts)
|
542
542
|
end
|
543
543
|
|
544
544
|
##
|
@@ -553,8 +553,8 @@ module IControl::Management
|
|
553
553
|
# @param [Hash] opts
|
554
554
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified responders.
|
555
555
|
def set_trust_other_certificate_state(opts)
|
556
|
-
check_params(opts,[:states])
|
557
|
-
super
|
556
|
+
opts = check_params(opts,[:states])
|
557
|
+
super(opts)
|
558
558
|
end
|
559
559
|
|
560
560
|
##
|
@@ -566,8 +566,8 @@ module IControl::Management
|
|
566
566
|
# @param [Hash] opts
|
567
567
|
# @option opts [String] :urls The URLs used by the responders.
|
568
568
|
def set_url(opts)
|
569
|
-
check_params(opts,[:urls])
|
570
|
-
super
|
569
|
+
opts = check_params(opts,[:urls])
|
570
|
+
super(opts)
|
571
571
|
end
|
572
572
|
|
573
573
|
##
|
@@ -581,8 +581,8 @@ module IControl::Management
|
|
581
581
|
# @param [Hash] opts
|
582
582
|
# @option opts [String] :va_files The files containing explicitly trusted responder certificates.
|
583
583
|
def set_va_file(opts)
|
584
|
-
check_params(opts,[:va_files])
|
585
|
-
super
|
584
|
+
opts = check_params(opts,[:va_files])
|
585
|
+
super(opts)
|
586
586
|
end
|
587
587
|
|
588
588
|
##
|
@@ -600,8 +600,8 @@ module IControl::Management
|
|
600
600
|
# @param [Hash] opts
|
601
601
|
# @option opts [long] :ranges The validity range of times for OCSP responses for the specified responders.
|
602
602
|
def set_validity_period(opts)
|
603
|
-
check_params(opts,[:ranges])
|
604
|
-
super
|
603
|
+
opts = check_params(opts,[:ranges])
|
604
|
+
super(opts)
|
605
605
|
end
|
606
606
|
|
607
607
|
##
|
@@ -615,8 +615,8 @@ module IControl::Management
|
|
615
615
|
# @param [Hash] opts
|
616
616
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified responders.
|
617
617
|
def set_verification_state(opts)
|
618
|
-
check_params(opts,[:states])
|
619
|
-
super
|
618
|
+
opts = check_params(opts,[:states])
|
619
|
+
super(opts)
|
620
620
|
end
|
621
621
|
|
622
622
|
##
|
@@ -40,8 +40,8 @@ module IControl::Management
|
|
40
40
|
# @param [Hash] opts
|
41
41
|
# @option opts [String] :partition_names The names of the AuthZ partitions to delete.
|
42
42
|
def delete_partition(opts)
|
43
|
-
check_params(opts,[:partition_names])
|
44
|
-
super
|
43
|
+
opts = check_params(opts,[:partition_names])
|
44
|
+
super(opts)
|
45
45
|
end
|
46
46
|
|
47
47
|
##
|
@@ -89,8 +89,8 @@ module IControl::Management
|
|
89
89
|
# @param [Hash] opts
|
90
90
|
# @option opts [String] :active_partition The active partition to set.
|
91
91
|
def set_active_partition(opts)
|
92
|
-
check_params(opts,[:active_partition])
|
93
|
-
super
|
92
|
+
opts = check_params(opts,[:active_partition])
|
93
|
+
super(opts)
|
94
94
|
end
|
95
95
|
|
96
96
|
##
|
@@ -105,8 +105,8 @@ module IControl::Management
|
|
105
105
|
# @param [Hash] opts
|
106
106
|
# @option opts [long] :ratios CPU ratios (arbitrary units from 0 to 255) for the requested modules, where zero is equivalent to the "minimum" level (default: 0)
|
107
107
|
def set_custom_cpu_ratio(opts)
|
108
|
-
check_params(opts,[:ratios])
|
109
|
-
super
|
108
|
+
opts = check_params(opts,[:ratios])
|
109
|
+
super(opts)
|
110
110
|
end
|
111
111
|
|
112
112
|
##
|
@@ -119,8 +119,8 @@ module IControl::Management
|
|
119
119
|
# @param [Hash] opts
|
120
120
|
# @option opts [long] :ratios Disk space ratios (arbitrary units from 0 to 255) for the requested modules, where zero is equivalent to the "minimum" level (default: 0)
|
121
121
|
def set_custom_disk_ratio(opts)
|
122
|
-
check_params(opts,[:ratios])
|
123
|
-
super
|
122
|
+
opts = check_params(opts,[:ratios])
|
123
|
+
super(opts)
|
124
124
|
end
|
125
125
|
|
126
126
|
##
|
@@ -133,8 +133,8 @@ module IControl::Management
|
|
133
133
|
# @param [Hash] opts
|
134
134
|
# @option opts [long] :ratios System memory ratios (arbitrary units from 0 to 255) for the requested modules, where zero is equivalent to the "minimum" level (default: 0)
|
135
135
|
def set_custom_memory_ratio(opts)
|
136
|
-
check_params(opts,[:ratios])
|
137
|
-
super
|
136
|
+
opts = check_params(opts,[:ratios])
|
137
|
+
super(opts)
|
138
138
|
end
|
139
139
|
|
140
140
|
##
|
@@ -151,8 +151,8 @@ module IControl::Management
|
|
151
151
|
# @param [Hash] opts
|
152
152
|
# @option opts [IControl::Management::Provision::ProvisionLevel] :levels Provisioning levels for the requested modules
|
153
153
|
def set_level(opts)
|
154
|
-
check_params(opts,[:levels])
|
155
|
-
super
|
154
|
+
opts = check_params(opts,[:levels])
|
155
|
+
super(opts)
|
156
156
|
end
|
157
157
|
|
158
158
|
|
@@ -14,8 +14,8 @@ module IControl::Management
|
|
14
14
|
# @param [Hash] opts
|
15
15
|
# @option opts [String[]] :servers The servers to add to the RADIUS 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
|
##
|
@@ -27,8 +27,8 @@ module IControl::Management
|
|
27
27
|
# @param [Hash] opts
|
28
28
|
# @option opts [String[]] :servers The list of servers to be assigned to each of the configurations.
|
29
29
|
def create(opts)
|
30
|
-
check_params(opts,[:servers])
|
31
|
-
super
|
30
|
+
opts = check_params(opts,[:servers])
|
31
|
+
super(opts)
|
32
32
|
end
|
33
33
|
|
34
34
|
##
|
@@ -40,8 +40,8 @@ module IControl::Management
|
|
40
40
|
# @param [Hash] opts
|
41
41
|
# @option opts [String] :servers The list of servers to be assigned to the configurations.
|
42
42
|
def create_default_authentication_radius_configuration(opts)
|
43
|
-
check_params(opts,[:servers])
|
44
|
-
super
|
43
|
+
opts = check_params(opts,[:servers])
|
44
|
+
super(opts)
|
45
45
|
end
|
46
46
|
|
47
47
|
##
|
@@ -162,8 +162,8 @@ module IControl::Management
|
|
162
162
|
# @param [Hash] opts
|
163
163
|
# @option opts [String[]] :servers The servers to remove from the RADIUS configurations.
|
164
164
|
def remove_server(opts)
|
165
|
-
check_params(opts,[:servers])
|
166
|
-
super
|
165
|
+
opts = check_params(opts,[:servers])
|
166
|
+
super(opts)
|
167
167
|
end
|
168
168
|
|
169
169
|
##
|
@@ -177,8 +177,8 @@ module IControl::Management
|
|
177
177
|
# @param [Hash] opts
|
178
178
|
# @option opts [IControl::Common::EnabledState] :states The encryption states of the specified configurations.
|
179
179
|
def set_accounting_validation_state(opts)
|
180
|
-
check_params(opts,[:states])
|
181
|
-
super
|
180
|
+
opts = check_params(opts,[:states])
|
181
|
+
super(opts)
|
182
182
|
end
|
183
183
|
|
184
184
|
##
|
@@ -192,8 +192,8 @@ module IControl::Management
|
|
192
192
|
# @param [Hash] opts
|
193
193
|
# @option opts [String] :client_ids The client ids used by the configurations.
|
194
194
|
def set_client_id(opts)
|
195
|
-
check_params(opts,[:client_ids])
|
196
|
-
super
|
195
|
+
opts = check_params(opts,[:client_ids])
|
196
|
+
super(opts)
|
197
197
|
end
|
198
198
|
|
199
199
|
##
|
@@ -205,8 +205,8 @@ module IControl::Management
|
|
205
205
|
# @param [Hash] opts
|
206
206
|
# @option opts [IControl::Common::EnabledState] :states The syslog debugging states of the specified configurations.
|
207
207
|
def set_debug_state(opts)
|
208
|
-
check_params(opts,[:states])
|
209
|
-
super
|
208
|
+
opts = check_params(opts,[:states])
|
209
|
+
super(opts)
|
210
210
|
end
|
211
211
|
|
212
212
|
##
|
@@ -219,8 +219,8 @@ module IControl::Management
|
|
219
219
|
# @param [Hash] opts
|
220
220
|
# @option opts [long] :retries The retry values used by the configurations.
|
221
221
|
def set_retry(opts)
|
222
|
-
check_params(opts,[:retries])
|
223
|
-
super
|
222
|
+
opts = check_params(opts,[:retries])
|
223
|
+
super(opts)
|
224
224
|
end
|
225
225
|
|
226
226
|
|
@@ -108,8 +108,8 @@ module IControl::Management
|
|
108
108
|
# @param [Hash] opts
|
109
109
|
# @option opts [String] :ip_or_hostnames The IP addresses or hostnames used by the servers.
|
110
110
|
def set_ip_or_hostname(opts)
|
111
|
-
check_params(opts,[:ip_or_hostnames])
|
112
|
-
super
|
111
|
+
opts = check_params(opts,[:ip_or_hostnames])
|
112
|
+
super(opts)
|
113
113
|
end
|
114
114
|
|
115
115
|
##
|
@@ -121,8 +121,8 @@ module IControl::Management
|
|
121
121
|
# @param [Hash] opts
|
122
122
|
# @option opts [long] :ports The ports used by the servers.
|
123
123
|
def set_port(opts)
|
124
|
-
check_params(opts,[:ports])
|
125
|
-
super
|
124
|
+
opts = check_params(opts,[:ports])
|
125
|
+
super(opts)
|
126
126
|
end
|
127
127
|
|
128
128
|
##
|
@@ -134,8 +134,8 @@ module IControl::Management
|
|
134
134
|
# @param [Hash] opts
|
135
135
|
# @option opts [String] :secrets The secrets used by the servers.
|
136
136
|
def set_secret(opts)
|
137
|
-
check_params(opts,[:secrets])
|
138
|
-
super
|
137
|
+
opts = check_params(opts,[:secrets])
|
138
|
+
super(opts)
|
139
139
|
end
|
140
140
|
|
141
141
|
##
|
@@ -147,8 +147,8 @@ module IControl::Management
|
|
147
147
|
# @param [Hash] opts
|
148
148
|
# @option opts [long] :timeouts The timeouts used by the servers.
|
149
149
|
def set_timeout(opts)
|
150
|
-
check_params(opts,[:timeouts])
|
151
|
-
super
|
150
|
+
opts = check_params(opts,[:timeouts])
|
151
|
+
super(opts)
|
152
152
|
end
|
153
153
|
|
154
154
|
##
|
@@ -16,8 +16,8 @@ module IControl::Management
|
|
16
16
|
# @option opts [IControl::Management::ARecord[]] :a_records The list of A Records.
|
17
17
|
# @option opts [boolean] :sync_ptrs Boolean sequence to indicate if PTR records should be automatically generated from these A Records. This is one per VIEW_ZONE, not one per a_record
|
18
18
|
def add_a(opts)
|
19
|
-
check_params(opts,[:a_records,:sync_ptrs])
|
20
|
-
super
|
19
|
+
opts = check_params(opts,[:a_records,:sync_ptrs])
|
20
|
+
super(opts)
|
21
21
|
end
|
22
22
|
|
23
23
|
##
|
@@ -30,8 +30,8 @@ module IControl::Management
|
|
30
30
|
# @option opts [IControl::Management::AAAARecord[]] :aaaa_records The list of AAAA records.
|
31
31
|
# @option opts [boolean] :sync_ptrs A list containing sequences of states indicating whether PTR records should automatically be generated.
|
32
32
|
def add_aaaa(opts)
|
33
|
-
check_params(opts,[:aaaa_records,:sync_ptrs])
|
34
|
-
super
|
33
|
+
opts = check_params(opts,[:aaaa_records,:sync_ptrs])
|
34
|
+
super(opts)
|
35
35
|
end
|
36
36
|
|
37
37
|
##
|
@@ -43,8 +43,8 @@ module IControl::Management
|
|
43
43
|
# @param [Hash] opts
|
44
44
|
# @option opts [IControl::Management::CNAMERecord[]] :cname_records The list of CNAME records.
|
45
45
|
def add_cname(opts)
|
46
|
-
check_params(opts,[:cname_records])
|
47
|
-
super
|
46
|
+
opts = check_params(opts,[:cname_records])
|
47
|
+
super(opts)
|
48
48
|
end
|
49
49
|
|
50
50
|
##
|
@@ -56,8 +56,8 @@ module IControl::Management
|
|
56
56
|
# @param [Hash] opts
|
57
57
|
# @option opts [IControl::Management::DNAMERecord[]] :dname_records The list of DNAME records.
|
58
58
|
def add_dname(opts)
|
59
|
-
check_params(opts,[:dname_records])
|
60
|
-
super
|
59
|
+
opts = check_params(opts,[:dname_records])
|
60
|
+
super(opts)
|
61
61
|
end
|
62
62
|
|
63
63
|
##
|
@@ -69,8 +69,8 @@ module IControl::Management
|
|
69
69
|
# @param [Hash] opts
|
70
70
|
# @option opts [IControl::Management::HINFORecord[]] :hinfo_records The list of HINFO records.
|
71
71
|
def add_hinfo(opts)
|
72
|
-
check_params(opts,[:hinfo_records])
|
73
|
-
super
|
72
|
+
opts = check_params(opts,[:hinfo_records])
|
73
|
+
super(opts)
|
74
74
|
end
|
75
75
|
|
76
76
|
##
|
@@ -82,8 +82,8 @@ module IControl::Management
|
|
82
82
|
# @param [Hash] opts
|
83
83
|
# @option opts [IControl::Management::MXRecord[]] :mx_records The list of MX records.
|
84
84
|
def add_mx(opts)
|
85
|
-
check_params(opts,[:mx_records])
|
86
|
-
super
|
85
|
+
opts = check_params(opts,[:mx_records])
|
86
|
+
super(opts)
|
87
87
|
end
|
88
88
|
|
89
89
|
##
|
@@ -95,8 +95,8 @@ module IControl::Management
|
|
95
95
|
# @param [Hash] opts
|
96
96
|
# @option opts [IControl::Management::NSRecord[]] :ns_records The list of NS records.
|
97
97
|
def add_ns(opts)
|
98
|
-
check_params(opts,[:ns_records])
|
99
|
-
super
|
98
|
+
opts = check_params(opts,[:ns_records])
|
99
|
+
super(opts)
|
100
100
|
end
|
101
101
|
|
102
102
|
##
|
@@ -108,8 +108,8 @@ module IControl::Management
|
|
108
108
|
# @param [Hash] opts
|
109
109
|
# @option opts [IControl::Management::PTRRecord[]] :ptr_records The list of PTF records.
|
110
110
|
def add_ptr(opts)
|
111
|
-
check_params(opts,[:ptr_records])
|
112
|
-
super
|
111
|
+
opts = check_params(opts,[:ptr_records])
|
112
|
+
super(opts)
|
113
113
|
end
|
114
114
|
|
115
115
|
##
|
@@ -122,8 +122,8 @@ module IControl::Management
|
|
122
122
|
# @option opts [IControl::Management::RRList] :rr_lists A list containing sequences of all the RR types to add.
|
123
123
|
# @option opts [boolean] :sync_ptrs A list containing sequences of states indicating whether PTR records should automatically be generated.
|
124
124
|
def add_rrs(opts)
|
125
|
-
check_params(opts,[:rr_lists,:sync_ptrs])
|
126
|
-
super
|
125
|
+
opts = check_params(opts,[:rr_lists,:sync_ptrs])
|
126
|
+
super(opts)
|
127
127
|
end
|
128
128
|
|
129
129
|
##
|
@@ -135,8 +135,8 @@ module IControl::Management
|
|
135
135
|
# @param [Hash] opts
|
136
136
|
# @option opts [IControl::Management::SOARecord[]] :soa_records The list of SOA records.
|
137
137
|
def add_soa(opts)
|
138
|
-
check_params(opts,[:soa_records])
|
139
|
-
super
|
138
|
+
opts = check_params(opts,[:soa_records])
|
139
|
+
super(opts)
|
140
140
|
end
|
141
141
|
|
142
142
|
##
|
@@ -148,8 +148,8 @@ module IControl::Management
|
|
148
148
|
# @param [Hash] opts
|
149
149
|
# @option opts [IControl::Management::SRVRecord[]] :srv_records The list of SRV records.
|
150
150
|
def add_srv(opts)
|
151
|
-
check_params(opts,[:srv_records])
|
152
|
-
super
|
151
|
+
opts = check_params(opts,[:srv_records])
|
152
|
+
super(opts)
|
153
153
|
end
|
154
154
|
|
155
155
|
##
|
@@ -161,8 +161,8 @@ module IControl::Management
|
|
161
161
|
# @param [Hash] opts
|
162
162
|
# @option opts [IControl::Management::TXTRecord[]] :txt_records The list of TXT records.
|
163
163
|
def add_txt(opts)
|
164
|
-
check_params(opts,[:txt_records])
|
165
|
-
super
|
164
|
+
opts = check_params(opts,[:txt_records])
|
165
|
+
super(opts)
|
166
166
|
end
|
167
167
|
|
168
168
|
##
|
@@ -175,8 +175,8 @@ module IControl::Management
|
|
175
175
|
# @option opts [IControl::Management::ARecord[]] :a_records The list of A records.
|
176
176
|
# @option opts [boolean] :sync_ptrs A list containing sequences of states indicating whether PTR records should automatically be generated.
|
177
177
|
def delete_a(opts)
|
178
|
-
check_params(opts,[:a_records,:sync_ptrs])
|
179
|
-
super
|
178
|
+
opts = check_params(opts,[:a_records,:sync_ptrs])
|
179
|
+
super(opts)
|
180
180
|
end
|
181
181
|
|
182
182
|
##
|
@@ -189,8 +189,8 @@ module IControl::Management
|
|
189
189
|
# @option opts [IControl::Management::A6Record[]] :a6_records The list of A6 records.
|
190
190
|
# @option opts [boolean] :sync_ptrs A list containing sequences of states indicating whether PTR records should automatically be generated.
|
191
191
|
def delete_a6(opts)
|
192
|
-
check_params(opts,[:a6_records,:sync_ptrs])
|
193
|
-
super
|
192
|
+
opts = check_params(opts,[:a6_records,:sync_ptrs])
|
193
|
+
super(opts)
|
194
194
|
end
|
195
195
|
|
196
196
|
##
|
@@ -203,8 +203,8 @@ module IControl::Management
|
|
203
203
|
# @option opts [IControl::Management::AAAARecord[]] :aaaa_records The list of AAAA records.
|
204
204
|
# @option opts [boolean] :sync_ptrs A list containing sequences of states indicating whether PTR records should automatically be generated.
|
205
205
|
def delete_aaaa(opts)
|
206
|
-
check_params(opts,[:aaaa_records,:sync_ptrs])
|
207
|
-
super
|
206
|
+
opts = check_params(opts,[:aaaa_records,:sync_ptrs])
|
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::Management::CNAMERecord[]] :cname_records The list of CNAME records.
|
218
218
|
def delete_cname(opts)
|
219
|
-
check_params(opts,[:cname_records])
|
220
|
-
super
|
219
|
+
opts = check_params(opts,[:cname_records])
|
220
|
+
super(opts)
|
221
221
|
end
|
222
222
|
|
223
223
|
##
|
@@ -229,8 +229,8 @@ module IControl::Management
|
|
229
229
|
# @param [Hash] opts
|
230
230
|
# @option opts [IControl::Management::DNAMERecord[]] :dname_records The list of DNAME records.
|
231
231
|
def delete_dname(opts)
|
232
|
-
check_params(opts,[:dname_records])
|
233
|
-
super
|
232
|
+
opts = check_params(opts,[:dname_records])
|
233
|
+
super(opts)
|
234
234
|
end
|
235
235
|
|
236
236
|
##
|
@@ -242,8 +242,8 @@ module IControl::Management
|
|
242
242
|
# @param [Hash] opts
|
243
243
|
# @option opts [IControl::Management::HINFORecord[]] :hinfo_records The list of HINFO records.
|
244
244
|
def delete_hinfo(opts)
|
245
|
-
check_params(opts,[:hinfo_records])
|
246
|
-
super
|
245
|
+
opts = check_params(opts,[:hinfo_records])
|
246
|
+
super(opts)
|
247
247
|
end
|
248
248
|
|
249
249
|
##
|
@@ -255,8 +255,8 @@ module IControl::Management
|
|
255
255
|
# @param [Hash] opts
|
256
256
|
# @option opts [IControl::Management::KEYRecord[]] :key_records The list of KEY records.
|
257
257
|
def delete_key(opts)
|
258
|
-
check_params(opts,[:key_records])
|
259
|
-
super
|
258
|
+
opts = check_params(opts,[:key_records])
|
259
|
+
super(opts)
|
260
260
|
end
|
261
261
|
|
262
262
|
##
|
@@ -268,8 +268,8 @@ module IControl::Management
|
|
268
268
|
# @param [Hash] opts
|
269
269
|
# @option opts [IControl::Management::MXRecord[]] :mx_records The list of MX records.
|
270
270
|
def delete_mx(opts)
|
271
|
-
check_params(opts,[:mx_records])
|
272
|
-
super
|
271
|
+
opts = check_params(opts,[:mx_records])
|
272
|
+
super(opts)
|
273
273
|
end
|
274
274
|
|
275
275
|
##
|
@@ -281,8 +281,8 @@ module IControl::Management
|
|
281
281
|
# @param [Hash] opts
|
282
282
|
# @option opts [IControl::Management::NSRecord[]] :ns_records The list of NS records.
|
283
283
|
def delete_ns(opts)
|
284
|
-
check_params(opts,[:ns_records])
|
285
|
-
super
|
284
|
+
opts = check_params(opts,[:ns_records])
|
285
|
+
super(opts)
|
286
286
|
end
|
287
287
|
|
288
288
|
##
|
@@ -294,8 +294,8 @@ module IControl::Management
|
|
294
294
|
# @param [Hash] opts
|
295
295
|
# @option opts [IControl::Management::NXTRecord[]] :nxt_records The list of NXT records.
|
296
296
|
def delete_nxt(opts)
|
297
|
-
check_params(opts,[:nxt_records])
|
298
|
-
super
|
297
|
+
opts = check_params(opts,[:nxt_records])
|
298
|
+
super(opts)
|
299
299
|
end
|
300
300
|
|
301
301
|
##
|
@@ -307,8 +307,8 @@ module IControl::Management
|
|
307
307
|
# @param [Hash] opts
|
308
308
|
# @option opts [IControl::Management::PTRRecord[]] :ptr_records The list of PTR records.
|
309
309
|
def delete_ptr(opts)
|
310
|
-
check_params(opts,[:ptr_records])
|
311
|
-
super
|
310
|
+
opts = check_params(opts,[:ptr_records])
|
311
|
+
super(opts)
|
312
312
|
end
|
313
313
|
|
314
314
|
##
|
@@ -320,8 +320,8 @@ module IControl::Management
|
|
320
320
|
# @param [Hash] opts
|
321
321
|
# @option opts [IControl::Management::SIGRecord[]] :sig_records The list of SIG records.
|
322
322
|
def delete_sig(opts)
|
323
|
-
check_params(opts,[:sig_records])
|
324
|
-
super
|
323
|
+
opts = check_params(opts,[:sig_records])
|
324
|
+
super(opts)
|
325
325
|
end
|
326
326
|
|
327
327
|
##
|
@@ -333,8 +333,8 @@ module IControl::Management
|
|
333
333
|
# @param [Hash] opts
|
334
334
|
# @option opts [IControl::Management::SOARecord[]] :soa_records The list of SOA records.
|
335
335
|
def delete_soa(opts)
|
336
|
-
check_params(opts,[:soa_records])
|
337
|
-
super
|
336
|
+
opts = check_params(opts,[:soa_records])
|
337
|
+
super(opts)
|
338
338
|
end
|
339
339
|
|
340
340
|
##
|
@@ -346,8 +346,8 @@ module IControl::Management
|
|
346
346
|
# @param [Hash] opts
|
347
347
|
# @option opts [IControl::Management::SRVRecord[]] :srv_records The list of SRV records.
|
348
348
|
def delete_srv(opts)
|
349
|
-
check_params(opts,[:srv_records])
|
350
|
-
super
|
349
|
+
opts = check_params(opts,[:srv_records])
|
350
|
+
super(opts)
|
351
351
|
end
|
352
352
|
|
353
353
|
##
|
@@ -359,8 +359,8 @@ module IControl::Management
|
|
359
359
|
# @param [Hash] opts
|
360
360
|
# @option opts [IControl::Management::TXTRecord[]] :txt_records The list of TXT records.
|
361
361
|
def delete_txt(opts)
|
362
|
-
check_params(opts,[:txt_records])
|
363
|
-
super
|
362
|
+
opts = check_params(opts,[:txt_records])
|
363
|
+
super(opts)
|
364
364
|
end
|
365
365
|
|
366
366
|
##
|
@@ -404,8 +404,8 @@ module IControl::Management
|
|
404
404
|
# @option opts [IControl::Management::ARecord[]] :new_records The list of new records to update with.
|
405
405
|
# @option opts [boolean] :sync_ptrs A list containing sequences of states indicating whether PTR records should automatically be generated.
|
406
406
|
def update_a(opts)
|
407
|
-
check_params(opts,[:old_records,:new_records,:sync_ptrs])
|
408
|
-
super
|
407
|
+
opts = check_params(opts,[:old_records,:new_records,:sync_ptrs])
|
408
|
+
super(opts)
|
409
409
|
end
|
410
410
|
|
411
411
|
##
|
@@ -419,8 +419,8 @@ module IControl::Management
|
|
419
419
|
# @option opts [IControl::Management::AAAARecord[]] :new_records The list of new records to update with.
|
420
420
|
# @option opts [boolean] :sync_ptrs A list containing sequences of states indicating whether PTR records should automatically be generated.
|
421
421
|
def update_aaaa(opts)
|
422
|
-
check_params(opts,[:old_records,:new_records,:sync_ptrs])
|
423
|
-
super
|
422
|
+
opts = check_params(opts,[:old_records,:new_records,:sync_ptrs])
|
423
|
+
super(opts)
|
424
424
|
end
|
425
425
|
|
426
426
|
##
|
@@ -433,8 +433,8 @@ module IControl::Management
|
|
433
433
|
# @option opts [IControl::Management::CNAMERecord[]] :old_records The list of old records to be replaced.
|
434
434
|
# @option opts [IControl::Management::CNAMERecord[]] :new_records The list of new records to update with.
|
435
435
|
def update_cname(opts)
|
436
|
-
check_params(opts,[:old_records,:new_records])
|
437
|
-
super
|
436
|
+
opts = check_params(opts,[:old_records,:new_records])
|
437
|
+
super(opts)
|
438
438
|
end
|
439
439
|
|
440
440
|
##
|
@@ -447,8 +447,8 @@ module IControl::Management
|
|
447
447
|
# @option opts [IControl::Management::DNAMERecord[]] :old_records The list of old records to be replaced.
|
448
448
|
# @option opts [IControl::Management::DNAMERecord[]] :new_records The list of new records to update with.
|
449
449
|
def update_dname(opts)
|
450
|
-
check_params(opts,[:old_records,:new_records])
|
451
|
-
super
|
450
|
+
opts = check_params(opts,[:old_records,:new_records])
|
451
|
+
super(opts)
|
452
452
|
end
|
453
453
|
|
454
454
|
##
|
@@ -461,8 +461,8 @@ module IControl::Management
|
|
461
461
|
# @option opts [IControl::Management::HINFORecord[]] :old_records The list of old records to be replaced.
|
462
462
|
# @option opts [IControl::Management::HINFORecord[]] :new_records The list of new records to update with.
|
463
463
|
def update_hinfo(opts)
|
464
|
-
check_params(opts,[:old_records,:new_records])
|
465
|
-
super
|
464
|
+
opts = check_params(opts,[:old_records,:new_records])
|
465
|
+
super(opts)
|
466
466
|
end
|
467
467
|
|
468
468
|
##
|
@@ -475,8 +475,8 @@ module IControl::Management
|
|
475
475
|
# @option opts [IControl::Management::MXRecord[]] :old_records The list of old records to be replaced.
|
476
476
|
# @option opts [IControl::Management::MXRecord[]] :new_records The list of new records to update with.
|
477
477
|
def update_mx(opts)
|
478
|
-
check_params(opts,[:old_records,:new_records])
|
479
|
-
super
|
478
|
+
opts = check_params(opts,[:old_records,:new_records])
|
479
|
+
super(opts)
|
480
480
|
end
|
481
481
|
|
482
482
|
##
|
@@ -489,8 +489,8 @@ module IControl::Management
|
|
489
489
|
# @option opts [IControl::Management::NSRecord[]] :old_records The list of old records to be replaced.
|
490
490
|
# @option opts [IControl::Management::NSRecord[]] :new_records The list of new records to update with.
|
491
491
|
def update_ns(opts)
|
492
|
-
check_params(opts,[:old_records,:new_records])
|
493
|
-
super
|
492
|
+
opts = check_params(opts,[:old_records,:new_records])
|
493
|
+
super(opts)
|
494
494
|
end
|
495
495
|
|
496
496
|
##
|
@@ -503,8 +503,8 @@ module IControl::Management
|
|
503
503
|
# @option opts [IControl::Management::PTRRecord[]] :old_records The list of old records to be replaced.
|
504
504
|
# @option opts [IControl::Management::PTRRecord[]] :new_records The list of new records to update with.
|
505
505
|
def update_ptr(opts)
|
506
|
-
check_params(opts,[:old_records,:new_records])
|
507
|
-
super
|
506
|
+
opts = check_params(opts,[:old_records,:new_records])
|
507
|
+
super(opts)
|
508
508
|
end
|
509
509
|
|
510
510
|
##
|
@@ -517,8 +517,8 @@ module IControl::Management
|
|
517
517
|
# @option opts [IControl::Management::SOARecord[]] :old_records The list of old records to be replaced.
|
518
518
|
# @option opts [IControl::Management::SOARecord[]] :new_records The list of new records to update with.
|
519
519
|
def update_soa(opts)
|
520
|
-
check_params(opts,[:old_records,:new_records])
|
521
|
-
super
|
520
|
+
opts = check_params(opts,[:old_records,:new_records])
|
521
|
+
super(opts)
|
522
522
|
end
|
523
523
|
|
524
524
|
##
|
@@ -531,8 +531,8 @@ module IControl::Management
|
|
531
531
|
# @option opts [IControl::Management::SRVRecord[]] :old_records The list of old records to be replaced.
|
532
532
|
# @option opts [IControl::Management::SRVRecord[]] :new_records The list of new records to update with.
|
533
533
|
def update_srv(opts)
|
534
|
-
check_params(opts,[:old_records,:new_records])
|
535
|
-
super
|
534
|
+
opts = check_params(opts,[:old_records,:new_records])
|
535
|
+
super(opts)
|
536
536
|
end
|
537
537
|
|
538
538
|
##
|
@@ -545,8 +545,8 @@ module IControl::Management
|
|
545
545
|
# @option opts [IControl::Management::TXTRecord[]] :old_records The list of old records to be replaced.
|
546
546
|
# @option opts [IControl::Management::TXTRecord[]] :new_records The list of new records to update with.
|
547
547
|
def update_txt(opts)
|
548
|
-
check_params(opts,[:old_records,:new_records])
|
549
|
-
super
|
548
|
+
opts = check_params(opts,[:old_records,:new_records])
|
549
|
+
super(opts)
|
550
550
|
end
|
551
551
|
|
552
552
|
|