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
@@ -17,8 +17,8 @@ module IControl::LTConfig
|
|
17
17
|
# @param [Hash] opts
|
18
18
|
# @option opts [String[]] :field_names A list of (list of) fields for which to get type information, with one list for each class specified, each with one entry for each field requested.
|
19
19
|
def application_data(opts)
|
20
|
-
check_params(opts,[:field_names])
|
21
|
-
super
|
20
|
+
opts = check_params(opts,[:field_names])
|
21
|
+
super(opts)
|
22
22
|
end
|
23
23
|
|
24
24
|
##
|
@@ -32,8 +32,8 @@ module IControl::LTConfig
|
|
32
32
|
# @param [Hash] opts
|
33
33
|
# @option opts [String[]] :field_names A list of (list of) fields for which to get clustered states, with one list for each class specified, each with one entry for each field requested.
|
34
34
|
def clustered_state(opts)
|
35
|
-
check_params(opts,[:field_names])
|
36
|
-
super
|
35
|
+
opts = check_params(opts,[:field_names])
|
36
|
+
super(opts)
|
37
37
|
end
|
38
38
|
|
39
39
|
##
|
@@ -47,8 +47,8 @@ module IControl::LTConfig
|
|
47
47
|
# @param [Hash] opts
|
48
48
|
# @option opts [String[]] :field_names A list of (list of) fields for which to get configsyncd states, with one list for each class specified, each with one entry for each field requested.
|
49
49
|
def configsyncd_state(opts)
|
50
|
-
check_params(opts,[:field_names])
|
51
|
-
super
|
50
|
+
opts = check_params(opts,[:field_names])
|
51
|
+
super(opts)
|
52
52
|
end
|
53
53
|
|
54
54
|
##
|
@@ -63,8 +63,8 @@ module IControl::LTConfig
|
|
63
63
|
# @param [Hash] opts
|
64
64
|
# @option opts [String[]] :field_names A list of (list of) fields for which to get type information, with one list for each class specified, each with one entry for each field requested.
|
65
65
|
def db_variable_mirror_information(opts)
|
66
|
-
check_params(opts,[:field_names])
|
67
|
-
super
|
66
|
+
opts = check_params(opts,[:field_names])
|
67
|
+
super(opts)
|
68
68
|
end
|
69
69
|
|
70
70
|
##
|
@@ -78,8 +78,8 @@ module IControl::LTConfig
|
|
78
78
|
# @param [Hash] opts
|
79
79
|
# @option opts [String[]] :field_names A list of (list of) fields for which to get type information, with one list for each class specified, each with one entry for each field requested.
|
80
80
|
def default(opts)
|
81
|
-
check_params(opts,[:field_names])
|
82
|
-
super
|
81
|
+
opts = check_params(opts,[:field_names])
|
82
|
+
super(opts)
|
83
83
|
end
|
84
84
|
|
85
85
|
##
|
@@ -93,8 +93,8 @@ module IControl::LTConfig
|
|
93
93
|
# @param [Hash] opts
|
94
94
|
# @option opts [String[]] :field_names A list of (list of) fields for which to get type information, with one list for each class specified, each with one entry for each field requested.
|
95
95
|
def display_name(opts)
|
96
|
-
check_params(opts,[:field_names])
|
97
|
-
super
|
96
|
+
opts = check_params(opts,[:field_names])
|
97
|
+
super(opts)
|
98
98
|
end
|
99
99
|
|
100
100
|
##
|
@@ -119,8 +119,8 @@ module IControl::LTConfig
|
|
119
119
|
# @param [Hash] opts
|
120
120
|
# @option opts [String[]] :field_names A list of (list of) fields for which to get required states, with one list for each class specified, each with one entry for each field requested.
|
121
121
|
def required_state(opts)
|
122
|
-
check_params(opts,[:field_names])
|
123
|
-
super
|
122
|
+
opts = check_params(opts,[:field_names])
|
123
|
+
super(opts)
|
124
124
|
end
|
125
125
|
|
126
126
|
##
|
@@ -136,8 +136,8 @@ module IControl::LTConfig
|
|
136
136
|
# @param [Hash] opts
|
137
137
|
# @option opts [String[]] :field_names A list of (list of) fields for which to get type information, with one list for each class specified, each with one entry for each field requested.
|
138
138
|
def type_information(opts)
|
139
|
-
check_params(opts,[:field_names])
|
140
|
-
super
|
139
|
+
opts = check_params(opts,[:field_names])
|
140
|
+
super(opts)
|
141
141
|
end
|
142
142
|
|
143
143
|
##
|
@@ -154,8 +154,8 @@ module IControl::LTConfig
|
|
154
154
|
# @option opts [IControl::LTConfig::ClassInstanceKey] :class_instance_key The class instance containing the field of interest.
|
155
155
|
# @option opts [String] :field_instance_name A field instance for which to get value.
|
156
156
|
def value(opts)
|
157
|
-
check_params(opts,[:class_instance_key,:field_instance_name])
|
158
|
-
super
|
157
|
+
opts = check_params(opts,[:class_instance_key,:field_instance_name])
|
158
|
+
super(opts)
|
159
159
|
end
|
160
160
|
|
161
161
|
##
|
@@ -170,8 +170,8 @@ module IControl::LTConfig
|
|
170
170
|
# @option opts [IControl::LTConfig::ClassInstanceKey] :class_instance_keys The class instances containing the fields of interest.
|
171
171
|
# @option opts [String[]] :field_instance_names A list of (list of) field instances for which to get values, with one list for each class instance specified, each with one entry for each field requested. As a convenience, if the fields are the same for each class instance, you may pass just 1 list of fields to be used for all class instances. In any case, the class instance must have the fields requested on pain of exception.
|
172
172
|
def values(opts)
|
173
|
-
check_params(opts,[:class_instance_keys,:field_instance_names])
|
174
|
-
super
|
173
|
+
opts = check_params(opts,[:class_instance_keys,:field_instance_names])
|
174
|
+
super(opts)
|
175
175
|
end
|
176
176
|
|
177
177
|
##
|
@@ -197,8 +197,8 @@ module IControl::LTConfig
|
|
197
197
|
# @option opts [String] :field_instance_name A field instance for which to set value.
|
198
198
|
# @option opts [String] :value A field instance value. The value is given as a string when using this method.
|
199
199
|
def set_value(opts)
|
200
|
-
check_params(opts,[:create_instances_if_needed,:class_instance_key,:field_instance_name,:value])
|
201
|
-
super
|
200
|
+
opts = check_params(opts,[:create_instances_if_needed,:class_instance_key,:field_instance_name,:value])
|
201
|
+
super(opts)
|
202
202
|
end
|
203
203
|
|
204
204
|
##
|
@@ -214,8 +214,8 @@ module IControl::LTConfig
|
|
214
214
|
# @option opts [String[]] :field_instance_names A list of (list of) field instances for which to set values, with one list for each class instance specified, each with one entry for each field to set. As a convenience, if the fields are the same for each class instance, you may pass just 1 list of fields to be used for all class instances. In any case, the class instance must have the fields requested on pain of exception.
|
215
215
|
# @option opts [String[]] :values A list of (list of) field instance values, with one list for each class specified, each with one entry for each field specified. Values are given as strings when using this method. As a convenience, if the values are the same for each class instance, you may pass just 1 list of values to be used for all class instances. In any case, the number of fields must match the number of values for a given class instance (and must make sense for each class instance) on pain of exception.
|
216
216
|
def set_values(opts)
|
217
|
-
check_params(opts,[:create_instances_if_needed,:class_instance_keys,:field_instance_names,:values])
|
218
|
-
super
|
217
|
+
opts = check_params(opts,[:create_instances_if_needed,:class_instance_keys,:field_instance_names,:values])
|
218
|
+
super(opts)
|
219
219
|
end
|
220
220
|
|
221
221
|
|
@@ -15,8 +15,8 @@ module IControl::LTConfig
|
|
15
15
|
# @param [Hash] opts
|
16
16
|
# @option opts [IControl::LTConfig::ClassInstanceKey] :class_instance_keys Class instance keys defining the keys for the new instances. Each of these specifies the name of the instance, the class name of the instance, and if appropriate, a container class for the instance.
|
17
17
|
def create_instance(opts)
|
18
|
-
check_params(opts,[:class_instance_keys])
|
19
|
-
super
|
18
|
+
opts = check_params(opts,[:class_instance_keys])
|
19
|
+
super(opts)
|
20
20
|
end
|
21
21
|
|
22
22
|
##
|
@@ -28,8 +28,8 @@ module IControl::LTConfig
|
|
28
28
|
# @param [Hash] opts
|
29
29
|
# @option opts [IControl::LTConfig::ClassInstanceKey] :class_instance_keys Class instance keys defining the keys for the instances to delete. Each of these specifies the name of the instance, the class name of the instance, and if appropriate, a container class for the instance.
|
30
30
|
def delete_instance(opts)
|
31
|
-
check_params(opts,[:class_instance_keys])
|
32
|
-
super
|
31
|
+
opts = check_params(opts,[:class_instance_keys])
|
32
|
+
super(opts)
|
33
33
|
end
|
34
34
|
|
35
35
|
##
|
@@ -16,8 +16,8 @@ module IControl::Management
|
|
16
16
|
# @param [Hash] opts
|
17
17
|
# @option opts [String[]] :servers The servers to add to the Client Certificate LDAP configurations.
|
18
18
|
def add_server(opts)
|
19
|
-
check_params(opts,[:servers])
|
20
|
-
super
|
19
|
+
opts = check_params(opts,[:servers])
|
20
|
+
super(opts)
|
21
21
|
end
|
22
22
|
|
23
23
|
##
|
@@ -31,8 +31,8 @@ module IControl::Management
|
|
31
31
|
# @param [Hash] opts
|
32
32
|
# @option opts [String[]] :groups The valid groups to add to the Client Certificate LDAP configurations.
|
33
33
|
def add_valid_group(opts)
|
34
|
-
check_params(opts,[:groups])
|
35
|
-
super
|
34
|
+
opts = check_params(opts,[:groups])
|
35
|
+
super(opts)
|
36
36
|
end
|
37
37
|
|
38
38
|
##
|
@@ -46,8 +46,8 @@ module IControl::Management
|
|
46
46
|
# @param [Hash] opts
|
47
47
|
# @option opts [String[]] :roles The valid roles to add to the Client Certificate LDAP configurations.
|
48
48
|
def add_valid_role(opts)
|
49
|
-
check_params(opts,[:roles])
|
50
|
-
super
|
49
|
+
opts = check_params(opts,[:roles])
|
50
|
+
super(opts)
|
51
51
|
end
|
52
52
|
|
53
53
|
##
|
@@ -60,8 +60,8 @@ module IControl::Management
|
|
60
60
|
# @option opts [IControl::Management::CCLDAPConfiguration::LDAPSearchOption] :search_options The search options used by the configurations.
|
61
61
|
# @option opts [String[]] :servers The list of servers to be assigned to each of the configurations.
|
62
62
|
def create(opts)
|
63
|
-
check_params(opts,[:search_options,:servers])
|
64
|
-
super
|
63
|
+
opts = check_params(opts,[:search_options,:servers])
|
64
|
+
super(opts)
|
65
65
|
end
|
66
66
|
|
67
67
|
##
|
@@ -313,8 +313,8 @@ module IControl::Management
|
|
313
313
|
# @param [Hash] opts
|
314
314
|
# @option opts [String[]] :servers The servers to remove from the Client Certificate LDAP configurations.
|
315
315
|
def remove_server(opts)
|
316
|
-
check_params(opts,[:servers])
|
317
|
-
super
|
316
|
+
opts = check_params(opts,[:servers])
|
317
|
+
super(opts)
|
318
318
|
end
|
319
319
|
|
320
320
|
##
|
@@ -328,8 +328,8 @@ module IControl::Management
|
|
328
328
|
# @param [Hash] opts
|
329
329
|
# @option opts [String[]] :groups The valid groups to remove from the Client Certificate LDAP configurations.
|
330
330
|
def remove_valid_group(opts)
|
331
|
-
check_params(opts,[:groups])
|
332
|
-
super
|
331
|
+
opts = check_params(opts,[:groups])
|
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[]] :roles The valid roles to remove from the Client Certificate LDAP configurations.
|
344
344
|
def remove_valid_role(opts)
|
345
|
-
check_params(opts,[:roles])
|
346
|
-
super
|
345
|
+
opts = check_params(opts,[:roles])
|
346
|
+
super(opts)
|
347
347
|
end
|
348
348
|
|
349
349
|
##
|
@@ -355,8 +355,8 @@ module IControl::Management
|
|
355
355
|
# @param [Hash] opts
|
356
356
|
# @option opts [String] :admin_dns The admin Distinguished names.
|
357
357
|
def set_admin_distinguished_name(opts)
|
358
|
-
check_params(opts,[:admin_dns])
|
359
|
-
super
|
358
|
+
opts = check_params(opts,[:admin_dns])
|
359
|
+
super(opts)
|
360
360
|
end
|
361
361
|
|
362
362
|
##
|
@@ -368,8 +368,8 @@ module IControl::Management
|
|
368
368
|
# @param [Hash] opts
|
369
369
|
# @option opts [String] :admin_passwords The admin passwords.
|
370
370
|
def set_admin_password(opts)
|
371
|
-
check_params(opts,[:admin_passwords])
|
372
|
-
super
|
371
|
+
opts = check_params(opts,[:admin_passwords])
|
372
|
+
super(opts)
|
373
373
|
end
|
374
374
|
|
375
375
|
##
|
@@ -382,8 +382,8 @@ module IControl::Management
|
|
382
382
|
# @param [Hash] opts
|
383
383
|
# @option opts [long] :sizes The cache sizes used by the LDAP servers in the configurations.
|
384
384
|
def set_cache_size(opts)
|
385
|
-
check_params(opts,[:sizes])
|
386
|
-
super
|
385
|
+
opts = check_params(opts,[:sizes])
|
386
|
+
super(opts)
|
387
387
|
end
|
388
388
|
|
389
389
|
##
|
@@ -396,8 +396,8 @@ module IControl::Management
|
|
396
396
|
# @param [Hash] opts
|
397
397
|
# @option opts [long] :timeouts The cache timeouts used by the configurations.
|
398
398
|
def set_cache_timeout(opts)
|
399
|
-
check_params(opts,[:timeouts])
|
400
|
-
super
|
399
|
+
opts = check_params(opts,[:timeouts])
|
400
|
+
super(opts)
|
401
401
|
end
|
402
402
|
|
403
403
|
##
|
@@ -409,8 +409,8 @@ module IControl::Management
|
|
409
409
|
# @param [Hash] opts
|
410
410
|
# @option opts [String] :bases The search bases for the subtrees used by the Client Certificate LDAP configurations.
|
411
411
|
def set_group_base(opts)
|
412
|
-
check_params(opts,[:bases])
|
413
|
-
super
|
412
|
+
opts = check_params(opts,[:bases])
|
413
|
+
super(opts)
|
414
414
|
end
|
415
415
|
|
416
416
|
##
|
@@ -423,8 +423,8 @@ module IControl::Management
|
|
423
423
|
# @param [Hash] opts
|
424
424
|
# @option opts [String] :keys The names of the attributes in the LDAP database that identify the group names.
|
425
425
|
def set_group_key(opts)
|
426
|
-
check_params(opts,[:keys])
|
427
|
-
super
|
426
|
+
opts = check_params(opts,[:keys])
|
427
|
+
super(opts)
|
428
428
|
end
|
429
429
|
|
430
430
|
##
|
@@ -437,8 +437,8 @@ module IControl::Management
|
|
437
437
|
# @param [Hash] opts
|
438
438
|
# @option opts [String] :keys The names of the attributes in the LDAP database that identify members ( DNs ) of a group.
|
439
439
|
def set_group_member_key(opts)
|
440
|
-
check_params(opts,[:keys])
|
441
|
-
super
|
440
|
+
opts = check_params(opts,[:keys])
|
441
|
+
super(opts)
|
442
442
|
end
|
443
443
|
|
444
444
|
##
|
@@ -451,8 +451,8 @@ module IControl::Management
|
|
451
451
|
# @param [Hash] opts
|
452
452
|
# @option opts [String] :keys The names of the attributes in the LDAP database that identify a user's authorization roles.
|
453
453
|
def set_role_key(opts)
|
454
|
-
check_params(opts,[:keys])
|
455
|
-
super
|
454
|
+
opts = check_params(opts,[:keys])
|
455
|
+
super(opts)
|
456
456
|
end
|
457
457
|
|
458
458
|
##
|
@@ -464,8 +464,8 @@ module IControl::Management
|
|
464
464
|
# @param [Hash] opts
|
465
465
|
# @option opts [IControl::Management::CCLDAPConfiguration::LDAPSearchOption] :options The search options used by the configurations.
|
466
466
|
def set_search_option(opts)
|
467
|
-
check_params(opts,[:options])
|
468
|
-
super
|
467
|
+
opts = check_params(opts,[:options])
|
468
|
+
super(opts)
|
469
469
|
end
|
470
470
|
|
471
471
|
##
|
@@ -479,8 +479,8 @@ module IControl::Management
|
|
479
479
|
# @param [Hash] opts
|
480
480
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified configurations.
|
481
481
|
def set_use_certificate_serial_state(opts)
|
482
|
-
check_params(opts,[:states])
|
483
|
-
super
|
482
|
+
opts = check_params(opts,[:states])
|
483
|
+
super(opts)
|
484
484
|
end
|
485
485
|
|
486
486
|
##
|
@@ -493,8 +493,8 @@ module IControl::Management
|
|
493
493
|
# @param [Hash] opts
|
494
494
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified configurations.
|
495
495
|
def set_use_security_state(opts)
|
496
|
-
check_params(opts,[:states])
|
497
|
-
super
|
496
|
+
opts = check_params(opts,[:states])
|
497
|
+
super(opts)
|
498
498
|
end
|
499
499
|
|
500
500
|
##
|
@@ -507,8 +507,8 @@ module IControl::Management
|
|
507
507
|
# @param [Hash] opts
|
508
508
|
# @option opts [String] :user_classes The user classes.
|
509
509
|
def set_user_class(opts)
|
510
|
-
check_params(opts,[:user_classes])
|
511
|
-
super
|
510
|
+
opts = check_params(opts,[:user_classes])
|
511
|
+
super(opts)
|
512
512
|
end
|
513
513
|
|
514
514
|
##
|
@@ -46,8 +46,8 @@ module IControl::Management
|
|
46
46
|
# @param [Hash] opts
|
47
47
|
# @option opts [String] :filter The filter to apply to the class names
|
48
48
|
def class_info(opts)
|
49
|
-
check_params(opts,[:filter])
|
50
|
-
super
|
49
|
+
opts = check_params(opts,[:filter])
|
50
|
+
super(opts)
|
51
51
|
end
|
52
52
|
|
53
53
|
##
|
@@ -61,8 +61,8 @@ module IControl::Management
|
|
61
61
|
# @param [Hash] opts
|
62
62
|
# @option opts [String] :filter The filter to apply to the class names
|
63
63
|
def deprecated_class_info(opts)
|
64
|
-
check_params(opts,[:filter])
|
65
|
-
super
|
64
|
+
opts = check_params(opts,[:filter])
|
65
|
+
super(opts)
|
66
66
|
end
|
67
67
|
|
68
68
|
##
|
@@ -75,8 +75,8 @@ module IControl::Management
|
|
75
75
|
# @param [Hash] opts
|
76
76
|
# @option opts [IControl::Management::ChangeControl::InstanceFormatType] :instance_format The format of contents
|
77
77
|
def instance(opts)
|
78
|
-
check_params(opts,[:instance_format])
|
79
|
-
super
|
78
|
+
opts = check_params(opts,[:instance_format])
|
79
|
+
super(opts)
|
80
80
|
end
|
81
81
|
|
82
82
|
##
|
@@ -89,8 +89,8 @@ module IControl::Management
|
|
89
89
|
# @param [Hash] opts
|
90
90
|
# @option opts [long] :depth Limits the depth of search. Zero indicates no limit.
|
91
91
|
def instance_dependency(opts)
|
92
|
-
check_params(opts,[:depth])
|
93
|
-
super
|
92
|
+
opts = check_params(opts,[:depth])
|
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 [IControl::Management::ChangeControl::ClassTransactionInfo] :classes Class names and transaction information (tx = 0 indicates all instances)
|
105
105
|
def instance_info(opts)
|
106
|
-
check_params(opts,[:classes])
|
107
|
-
super
|
106
|
+
opts = check_params(opts,[:classes])
|
107
|
+
super(opts)
|
108
108
|
end
|
109
109
|
|
110
110
|
##
|
@@ -117,8 +117,8 @@ module IControl::Management
|
|
117
117
|
# @param [Hash] opts
|
118
118
|
# @option opts [IControl::Management::ChangeControl::InstanceVariableType] :instance_variable The format of contents
|
119
119
|
def instance_variable(opts)
|
120
|
-
check_params(opts,[:instance_variable])
|
121
|
-
super
|
120
|
+
opts = check_params(opts,[:instance_variable])
|
121
|
+
super(opts)
|
122
122
|
end
|
123
123
|
|
124
124
|
##
|
@@ -142,8 +142,8 @@ module IControl::Management
|
|
142
142
|
# @param [Hash] opts
|
143
143
|
# @option opts [String] :filter The filter to apply to the module names
|
144
144
|
def module_info(opts)
|
145
|
-
check_params(opts,[:filter])
|
146
|
-
super
|
145
|
+
opts = check_params(opts,[:filter])
|
146
|
+
super(opts)
|
147
147
|
end
|
148
148
|
|
149
149
|
##
|
@@ -164,8 +164,8 @@ module IControl::Management
|
|
164
164
|
# @option opts [IControl::Management::ChangeControl::InstanceFormatType] :instance_format The instance format used in the data (same for all instances)
|
165
165
|
# @option opts [String] :data Formatted configuration (collection of instance data)
|
166
166
|
def put_config(opts)
|
167
|
-
check_params(opts,[:instance_format,:data])
|
168
|
-
super
|
167
|
+
opts = check_params(opts,[:instance_format,:data])
|
168
|
+
super(opts)
|
169
169
|
end
|
170
170
|
|
171
171
|
##
|
@@ -177,8 +177,8 @@ module IControl::Management
|
|
177
177
|
# @param [Hash] opts
|
178
178
|
# @option opts [IControl::Management::ChangeControl::Instance] :instances The instances to put (transaction_id discarded)
|
179
179
|
def put_instance(opts)
|
180
|
-
check_params(opts,[:instances])
|
181
|
-
super
|
180
|
+
opts = check_params(opts,[:instances])
|
181
|
+
super(opts)
|
182
182
|
end
|
183
183
|
|
184
184
|
##
|
@@ -191,8 +191,8 @@ module IControl::Management
|
|
191
191
|
# @option opts [IControl::Management::ChangeControl::InstanceFormatType] :instance_format The instance format used in the data (same for all instances)
|
192
192
|
# @option opts [String] :data Formatted configuration (collection of instance data)
|
193
193
|
def verify_config(opts)
|
194
|
-
check_params(opts,[:instance_format,:data])
|
195
|
-
super
|
194
|
+
opts = check_params(opts,[:instance_format,:data])
|
195
|
+
super(opts)
|
196
196
|
end
|
197
197
|
|
198
198
|
##
|
@@ -204,8 +204,8 @@ module IControl::Management
|
|
204
204
|
# @param [Hash] opts
|
205
205
|
# @option opts [IControl::Management::ChangeControl::Instance] :instances The instances to verify (transaction_id discarded)
|
206
206
|
def verify_instance(opts)
|
207
|
-
check_params(opts,[:instances])
|
208
|
-
super
|
207
|
+
opts = check_params(opts,[:instances])
|
208
|
+
super(opts)
|
209
209
|
end
|
210
210
|
|
211
211
|
##
|