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 CRLDP 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
|
##
|
@@ -146,8 +146,8 @@ module IControl::Management
|
|
146
146
|
# @param [Hash] opts
|
147
147
|
# @option opts [String[]] :servers The servers to remove from the CRLDP configurations.
|
148
148
|
def remove_server(opts)
|
149
|
-
check_params(opts,[:servers])
|
150
|
-
super
|
149
|
+
opts = check_params(opts,[:servers])
|
150
|
+
super(opts)
|
151
151
|
end
|
152
152
|
|
153
153
|
##
|
@@ -160,8 +160,8 @@ module IControl::Management
|
|
160
160
|
# @param [Hash] opts
|
161
161
|
# @option opts [long] :timeouts The timeouts used by the configurations.
|
162
162
|
def set_cache_timeout(opts)
|
163
|
-
check_params(opts,[:timeouts])
|
164
|
-
super
|
163
|
+
opts = check_params(opts,[:timeouts])
|
164
|
+
super(opts)
|
165
165
|
end
|
166
166
|
|
167
167
|
##
|
@@ -174,8 +174,8 @@ module IControl::Management
|
|
174
174
|
# @param [Hash] opts
|
175
175
|
# @option opts [long] :timeouts The connection timeouts used by the configurations.
|
176
176
|
def set_connection_timeout(opts)
|
177
|
-
check_params(opts,[:timeouts])
|
178
|
-
super
|
177
|
+
opts = check_params(opts,[:timeouts])
|
178
|
+
super(opts)
|
179
179
|
end
|
180
180
|
|
181
181
|
##
|
@@ -187,8 +187,8 @@ module IControl::Management
|
|
187
187
|
# @param [Hash] opts
|
188
188
|
# @option opts [long] :intervals The update intervals used by the configurations.
|
189
189
|
def set_update_interval(opts)
|
190
|
-
check_params(opts,[:intervals])
|
191
|
-
super
|
190
|
+
opts = check_params(opts,[:intervals])
|
191
|
+
super(opts)
|
192
192
|
end
|
193
193
|
|
194
194
|
##
|
@@ -200,8 +200,8 @@ module IControl::Management
|
|
200
200
|
# @param [Hash] opts
|
201
201
|
# @option opts [IControl::Common::EnabledState] :states The states of the specified configurations.
|
202
202
|
def set_use_issuer_state(opts)
|
203
|
-
check_params(opts,[:states])
|
204
|
-
super
|
203
|
+
opts = check_params(opts,[:states])
|
204
|
+
super(opts)
|
205
205
|
end
|
206
206
|
|
207
207
|
|
@@ -109,8 +109,8 @@ module IControl::Management
|
|
109
109
|
# @param [Hash] opts
|
110
110
|
# @option opts [String] :base_dns The base DNs used by the servers.
|
111
111
|
def set_base_dn(opts)
|
112
|
-
check_params(opts,[:base_dns])
|
113
|
-
super
|
112
|
+
opts = check_params(opts,[:base_dns])
|
113
|
+
super(opts)
|
114
114
|
end
|
115
115
|
|
116
116
|
##
|
@@ -122,8 +122,8 @@ module IControl::Management
|
|
122
122
|
# @param [Hash] opts
|
123
123
|
# @option opts [String] :hostnames The hostnames used by the servers.
|
124
124
|
def set_hostname(opts)
|
125
|
-
check_params(opts,[:hostnames])
|
126
|
-
super
|
125
|
+
opts = check_params(opts,[:hostnames])
|
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 [long] :ports The ports used by the servers.
|
137
137
|
def set_port(opts)
|
138
|
-
check_params(opts,[:ports])
|
139
|
-
super
|
138
|
+
opts = check_params(opts,[:ports])
|
139
|
+
super(opts)
|
140
140
|
end
|
141
141
|
|
142
142
|
##
|
@@ -149,8 +149,8 @@ module IControl::Management
|
|
149
149
|
# @param [Hash] opts
|
150
150
|
# @option opts [IControl::Common::EnabledState] :states The states to set.
|
151
151
|
def set_reverse_dn_state(opts)
|
152
|
-
check_params(opts,[:states])
|
153
|
-
super
|
152
|
+
opts = check_params(opts,[:states])
|
153
|
+
super(opts)
|
154
154
|
end
|
155
155
|
|
156
156
|
##
|
@@ -24,8 +24,8 @@ module IControl::Management
|
|
24
24
|
# @option opts [IControl::Management::EventNotification::EventData] :event_data_list A list of EventData notifications.
|
25
25
|
# @option opts [IControl::Common::TimeStamp] :time_stamp The time the notification was sent.
|
26
26
|
def events_occurred(opts)
|
27
|
-
check_params(opts,[:subscription_id,:event_data_list,:time_stamp])
|
28
|
-
super
|
27
|
+
opts = check_params(opts,[:subscription_id,:event_data_list,:time_stamp])
|
28
|
+
super(opts)
|
29
29
|
end
|
30
30
|
|
31
31
|
##
|
@@ -39,8 +39,8 @@ module IControl::Management
|
|
39
39
|
# @param [Hash] opts
|
40
40
|
# @option opts [IControl::Management::EventSubscription::SubscriptionDetails] :sub_detail_list A list of subscription details with the configuration of the requested subscription.
|
41
41
|
def create(opts)
|
42
|
-
check_params(opts,[:sub_detail_list])
|
43
|
-
super
|
42
|
+
opts = check_params(opts,[:sub_detail_list])
|
43
|
+
super(opts)
|
44
44
|
end
|
45
45
|
|
46
46
|
##
|
@@ -76,8 +76,8 @@ module IControl::Management
|
|
76
76
|
# @param [Hash] opts
|
77
77
|
# @option opts [long] :max_timeslice_list A list of maximum timeslice values corresponding to the given list of subscriptions identifiers.
|
78
78
|
def max_timeslice(opts)
|
79
|
-
check_params(opts,[:max_timeslice_list])
|
80
|
-
super
|
79
|
+
opts = check_params(opts,[:max_timeslice_list])
|
80
|
+
super(opts)
|
81
81
|
end
|
82
82
|
|
83
83
|
##
|
@@ -90,8 +90,8 @@ module IControl::Management
|
|
90
90
|
# @param [Hash] opts
|
91
91
|
# @option opts [long] :min_events_list A list of minimum event values corresponding to the given list of subscription identifiers.
|
92
92
|
def min_events_per_timeslice(opts)
|
93
|
-
check_params(opts,[:min_events_list])
|
94
|
-
super
|
93
|
+
opts = check_params(opts,[:min_events_list])
|
94
|
+
super(opts)
|
95
95
|
end
|
96
96
|
|
97
97
|
##
|
@@ -104,8 +104,8 @@ module IControl::Management
|
|
104
104
|
# @param [Hash] opts
|
105
105
|
# @option opts [IControl::Common::EnabledState] :state_list The enabled states corresponding to the input list of subscription identifiers.
|
106
106
|
def state(opts)
|
107
|
-
check_params(opts,[:state_list])
|
108
|
-
super
|
107
|
+
opts = check_params(opts,[:state_list])
|
108
|
+
super(opts)
|
109
109
|
end
|
110
110
|
|
111
111
|
##
|
@@ -118,8 +118,8 @@ module IControl::Management
|
|
118
118
|
# @param [Hash] opts
|
119
119
|
# @option opts [IControl::Management::EventSubscription::SubscriptionStatistics] :statistics_list A list of statistics associated with the given list of subscription identifiers.
|
120
120
|
def statistics(opts)
|
121
|
-
check_params(opts,[:statistics_list])
|
122
|
-
super
|
121
|
+
opts = check_params(opts,[:statistics_list])
|
122
|
+
super(opts)
|
123
123
|
end
|
124
124
|
|
125
125
|
##
|
@@ -132,8 +132,8 @@ module IControl::Management
|
|
132
132
|
# @param [Hash] opts
|
133
133
|
# @option opts [long] :ttl_list A list of ttl values associated with the given subscription identifiers.
|
134
134
|
def ttl(opts)
|
135
|
-
check_params(opts,[:ttl_list])
|
136
|
-
super
|
135
|
+
opts = check_params(opts,[:ttl_list])
|
136
|
+
super(opts)
|
137
137
|
end
|
138
138
|
|
139
139
|
##
|
@@ -146,8 +146,8 @@ module IControl::Management
|
|
146
146
|
# @param [Hash] opts
|
147
147
|
# @option opts [String] :url_list The list of url's corresponding to the input list of subscription identifiers.
|
148
148
|
def url(opts)
|
149
|
-
check_params(opts,[:url_list])
|
150
|
-
super
|
149
|
+
opts = check_params(opts,[:url_list])
|
150
|
+
super(opts)
|
151
151
|
end
|
152
152
|
|
153
153
|
##
|
@@ -169,8 +169,8 @@ module IControl::Management
|
|
169
169
|
# @param [Hash] opts
|
170
170
|
# @option opts [IControl::Management::EventSubscription::SubscriptionDefinition] :sub_def_list A list of subscription definitions that are to be modified.
|
171
171
|
def modify(opts)
|
172
|
-
check_params(opts,[:sub_def_list])
|
173
|
-
super
|
172
|
+
opts = check_params(opts,[:sub_def_list])
|
173
|
+
super(opts)
|
174
174
|
end
|
175
175
|
|
176
176
|
##
|
@@ -194,8 +194,8 @@ module IControl::Management
|
|
194
194
|
# @param [Hash] opts
|
195
195
|
# @option opts [IControl::Management::EventSubscription::SubscriptionDefinition] :sub_def_list The output results for the list of subscription identifiers.
|
196
196
|
def query(opts)
|
197
|
-
check_params(opts,[:sub_def_list])
|
198
|
-
super
|
197
|
+
opts = check_params(opts,[:sub_def_list])
|
198
|
+
super(opts)
|
199
199
|
end
|
200
200
|
|
201
201
|
##
|
@@ -233,8 +233,8 @@ module IControl::Management
|
|
233
233
|
# @param [Hash] opts
|
234
234
|
# @option opts [IControl::Management::EventSubscription::UserCredential] :credential_list The list of credentials to associate with the url's of the given list of subscription identifiers.
|
235
235
|
def set_authentication(opts)
|
236
|
-
check_params(opts,[:credential_list])
|
237
|
-
super
|
236
|
+
opts = check_params(opts,[:credential_list])
|
237
|
+
super(opts)
|
238
238
|
end
|
239
239
|
|
240
240
|
##
|
@@ -249,8 +249,8 @@ module IControl::Management
|
|
249
249
|
# @param [Hash] opts
|
250
250
|
# @option opts [long] :max_timeslice_list A list of maximum timeslice (in seconds) to be applied to the given subscription identifier.
|
251
251
|
def set_max_timeslice(opts)
|
252
|
-
check_params(opts,[:max_timeslice_list])
|
253
|
-
super
|
252
|
+
opts = check_params(opts,[:max_timeslice_list])
|
253
|
+
super(opts)
|
254
254
|
end
|
255
255
|
|
256
256
|
##
|
@@ -265,8 +265,8 @@ module IControl::Management
|
|
265
265
|
# @param [Hash] opts
|
266
266
|
# @option opts [long] :min_events_list A list of minimum event values to be applied to the given subscription identifiers.
|
267
267
|
def set_min_events_per_timeslice(opts)
|
268
|
-
check_params(opts,[:min_events_list])
|
269
|
-
super
|
268
|
+
opts = check_params(opts,[:min_events_list])
|
269
|
+
super(opts)
|
270
270
|
end
|
271
271
|
|
272
272
|
##
|
@@ -279,8 +279,8 @@ module IControl::Management
|
|
279
279
|
# @param [Hash] opts
|
280
280
|
# @option opts [IControl::Common::EnabledState] :state_list The enabled states to set the list of subscription ids. These must match the id_list array.
|
281
281
|
def set_state(opts)
|
282
|
-
check_params(opts,[:state_list])
|
283
|
-
super
|
282
|
+
opts = check_params(opts,[:state_list])
|
283
|
+
super(opts)
|
284
284
|
end
|
285
285
|
|
286
286
|
##
|
@@ -293,8 +293,8 @@ module IControl::Management
|
|
293
293
|
# @param [Hash] opts
|
294
294
|
# @option opts [long] :ttl_list A list of ttl values for the given subscription identifiers. A value of -1 indicates an infinite lifetime.
|
295
295
|
def set_ttl(opts)
|
296
|
-
check_params(opts,[:ttl_list])
|
297
|
-
super
|
296
|
+
opts = check_params(opts,[:ttl_list])
|
297
|
+
super(opts)
|
298
298
|
end
|
299
299
|
|
300
300
|
##
|
@@ -307,8 +307,8 @@ module IControl::Management
|
|
307
307
|
# @param [Hash] opts
|
308
308
|
# @option opts [String] :url_list The list of url's corresponding to the input list of subscription identifiers.
|
309
309
|
def set_url(opts)
|
310
|
-
check_params(opts,[:url_list])
|
311
|
-
super
|
310
|
+
opts = check_params(opts,[:url_list])
|
311
|
+
super(opts)
|
312
312
|
end
|
313
313
|
|
314
314
|
##
|
@@ -56,8 +56,8 @@ module IControl::Management
|
|
56
56
|
# @option opts [String] :cert_ids The existing certificate bundles to which additional certificates will be added.
|
57
57
|
# @option opts [String] :certificate_files The file names of the certificates to add to the bundles.
|
58
58
|
def certificate_add_file_to_bundle(opts)
|
59
|
-
check_params(opts,[:cert_ids,:certificate_files])
|
60
|
-
super
|
59
|
+
opts = check_params(opts,[:cert_ids,:certificate_files])
|
60
|
+
super(opts)
|
61
61
|
end
|
62
62
|
|
63
63
|
##
|
@@ -73,8 +73,8 @@ module IControl::Management
|
|
73
73
|
# @option opts [String] :cert_ids The existing certificate bundles to which additional certificates will be added.
|
74
74
|
# @option opts [String] :pem_data The PEM formatted data of the certificates to add to the bundles.
|
75
75
|
def certificate_add_pem_to_bundle(opts)
|
76
|
-
check_params(opts,[:cert_ids,:pem_data])
|
77
|
-
super
|
76
|
+
opts = check_params(opts,[:cert_ids,:pem_data])
|
77
|
+
super(opts)
|
78
78
|
end
|
79
79
|
|
80
80
|
##
|
@@ -87,8 +87,8 @@ module IControl::Management
|
|
87
87
|
# @option opts [String] :cert_ids The string identifications of the certificates.
|
88
88
|
# @option opts [String] :key_ids The string identifications of the keys
|
89
89
|
def certificate_bind(opts)
|
90
|
-
check_params(opts,[:cert_ids,:key_ids])
|
91
|
-
super
|
90
|
+
opts = check_params(opts,[:cert_ids,:key_ids])
|
91
|
+
super(opts)
|
92
92
|
end
|
93
93
|
|
94
94
|
##
|
@@ -102,8 +102,8 @@ module IControl::Management
|
|
102
102
|
# @option opts [String] :cert_ids The string identifications of the certificates to check for validity.
|
103
103
|
# @option opts [long] :watermark_days The watermarks in number of days to use in checking the validity.
|
104
104
|
def certificate_check_validity(opts)
|
105
|
-
check_params(opts,[:cert_ids,:watermark_days])
|
106
|
-
super
|
105
|
+
opts = check_params(opts,[:cert_ids,:watermark_days])
|
106
|
+
super(opts)
|
107
107
|
end
|
108
108
|
|
109
109
|
##
|
@@ -115,8 +115,8 @@ module IControl::Management
|
|
115
115
|
# @param [Hash] opts
|
116
116
|
# @option opts [String] :cert_ids The string identifications of the certificates to delete/uninstall.
|
117
117
|
def certificate_delete(opts)
|
118
|
-
check_params(opts,[:cert_ids])
|
119
|
-
super
|
118
|
+
opts = check_params(opts,[:cert_ids])
|
119
|
+
super(opts)
|
120
120
|
end
|
121
121
|
|
122
122
|
##
|
@@ -131,8 +131,8 @@ module IControl::Management
|
|
131
131
|
# @option opts [String] :cert_ids The existing certificate bundles from which certificates will be removed.
|
132
132
|
# @option opts [IControl::Management::KeyCertificate::X509Data] :x509_data The X509 data of the subjects of the certificates to be deleted from the bundle.
|
133
133
|
def certificate_delete_from_bundle(opts)
|
134
|
-
check_params(opts,[:cert_ids,:x509_data])
|
135
|
-
super
|
134
|
+
opts = check_params(opts,[:cert_ids,:x509_data])
|
135
|
+
super(opts)
|
136
136
|
end
|
137
137
|
|
138
138
|
##
|
@@ -146,8 +146,8 @@ module IControl::Management
|
|
146
146
|
# @option opts [String] :file_names The files associated with the specified certificates to export to.
|
147
147
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the certificate files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
148
148
|
def certificate_export_to_file(opts)
|
149
|
-
check_params(opts,[:cert_ids,:file_names,:overwrite])
|
150
|
-
super
|
149
|
+
opts = check_params(opts,[:cert_ids,:file_names,:overwrite])
|
150
|
+
super(opts)
|
151
151
|
end
|
152
152
|
|
153
153
|
##
|
@@ -160,8 +160,8 @@ module IControl::Management
|
|
160
160
|
# @param [Hash] opts
|
161
161
|
# @option opts [String] :cert_ids The string identifications of the certificates to export.
|
162
162
|
def certificate_export_to_pem(opts)
|
163
|
-
check_params(opts,[:cert_ids])
|
164
|
-
super
|
163
|
+
opts = check_params(opts,[:cert_ids])
|
164
|
+
super(opts)
|
165
165
|
end
|
166
166
|
|
167
167
|
##
|
@@ -177,8 +177,8 @@ module IControl::Management
|
|
177
177
|
# @option opts [long] :lifetime_days The number of days the certificates will be valid.
|
178
178
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the certificate files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
179
179
|
def certificate_generate(opts)
|
180
|
-
check_params(opts,[:certs,:x509_data,:lifetime_days,:overwrite])
|
181
|
-
super
|
180
|
+
opts = check_params(opts,[:certs,:x509_data,:lifetime_days,:overwrite])
|
181
|
+
super(opts)
|
182
182
|
end
|
183
183
|
|
184
184
|
##
|
@@ -192,8 +192,8 @@ module IControl::Management
|
|
192
192
|
# @option opts [String] :file_names The certificate files associated with the specified certificates from which to import.
|
193
193
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the certificate files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
194
194
|
def certificate_import_from_file(opts)
|
195
|
-
check_params(opts,[:cert_ids,:file_names,:overwrite])
|
196
|
-
super
|
195
|
+
opts = check_params(opts,[:cert_ids,:file_names,:overwrite])
|
196
|
+
super(opts)
|
197
197
|
end
|
198
198
|
|
199
199
|
##
|
@@ -207,8 +207,8 @@ module IControl::Management
|
|
207
207
|
# @option opts [String] :pem_data The PEM-formatted data associated with the specified certificates.
|
208
208
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the certificate files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
209
209
|
def certificate_import_from_pem(opts)
|
210
|
-
check_params(opts,[:cert_ids,:pem_data,:overwrite])
|
211
|
-
super
|
210
|
+
opts = check_params(opts,[:cert_ids,:pem_data,:overwrite])
|
211
|
+
super(opts)
|
212
212
|
end
|
213
213
|
|
214
214
|
##
|
@@ -220,8 +220,8 @@ module IControl::Management
|
|
220
220
|
# @param [Hash] opts
|
221
221
|
# @option opts [String] :csr_ids The certificate requests to delete.
|
222
222
|
def certificate_request_delete(opts)
|
223
|
-
check_params(opts,[:csr_ids])
|
224
|
-
super
|
223
|
+
opts = check_params(opts,[:csr_ids])
|
224
|
+
super(opts)
|
225
225
|
end
|
226
226
|
|
227
227
|
##
|
@@ -235,8 +235,8 @@ module IControl::Management
|
|
235
235
|
# @option opts [String] :file_names The files associated with the specified certificates to export to.
|
236
236
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the certificate files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
237
237
|
def certificate_request_export_to_file(opts)
|
238
|
-
check_params(opts,[:csr_ids,:file_names,:overwrite])
|
239
|
-
super
|
238
|
+
opts = check_params(opts,[:csr_ids,:file_names,:overwrite])
|
239
|
+
super(opts)
|
240
240
|
end
|
241
241
|
|
242
242
|
##
|
@@ -249,8 +249,8 @@ module IControl::Management
|
|
249
249
|
# @param [Hash] opts
|
250
250
|
# @option opts [String] :csr_ids The string identifications of the certificate requests to export.
|
251
251
|
def certificate_request_export_to_pem(opts)
|
252
|
-
check_params(opts,[:csr_ids])
|
253
|
-
super
|
252
|
+
opts = check_params(opts,[:csr_ids])
|
253
|
+
super(opts)
|
254
254
|
end
|
255
255
|
|
256
256
|
##
|
@@ -266,8 +266,8 @@ module IControl::Management
|
|
266
266
|
# @option opts [IControl::Management::KeyCertificate::X509Data] :x509_data The x509 data associated with the specified certificate requests.
|
267
267
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the CSR files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
268
268
|
def certificate_request_generate(opts)
|
269
|
-
check_params(opts,[:csrs,:x509_data,:overwrite])
|
270
|
-
super
|
269
|
+
opts = check_params(opts,[:csrs,:x509_data,:overwrite])
|
270
|
+
super(opts)
|
271
271
|
end
|
272
272
|
|
273
273
|
##
|
@@ -281,8 +281,8 @@ module IControl::Management
|
|
281
281
|
# @option opts [String] :file_names The files associated with the specified certificate requests from which to import.
|
282
282
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the certificate files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
283
283
|
def certificate_request_import_from_file(opts)
|
284
|
-
check_params(opts,[:csr_ids,:file_names,:overwrite])
|
285
|
-
super
|
284
|
+
opts = check_params(opts,[:csr_ids,:file_names,:overwrite])
|
285
|
+
super(opts)
|
286
286
|
end
|
287
287
|
|
288
288
|
##
|
@@ -296,8 +296,8 @@ module IControl::Management
|
|
296
296
|
# @option opts [String] :pem_data The PEM-formatted data associated with the specified certificates.
|
297
297
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the certificate request files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
298
298
|
def certificate_request_import_from_pem(opts)
|
299
|
-
check_params(opts,[:csr_ids,:pem_data,:overwrite])
|
300
|
-
super
|
299
|
+
opts = check_params(opts,[:csr_ids,:pem_data,:overwrite])
|
300
|
+
super(opts)
|
301
301
|
end
|
302
302
|
|
303
303
|
##
|
@@ -311,8 +311,8 @@ module IControl::Management
|
|
311
311
|
# @option opts [String] :archive_location The location of the archive file.
|
312
312
|
# @option opts [String] :archive_name The archive file name.
|
313
313
|
def export_all_to_archive_file(opts)
|
314
|
-
check_params(opts,[:archive_location,:archive_name])
|
315
|
-
super
|
314
|
+
opts = check_params(opts,[:archive_location,:archive_name])
|
315
|
+
super(opts)
|
316
316
|
end
|
317
317
|
|
318
318
|
##
|
@@ -341,8 +341,8 @@ module IControl::Management
|
|
341
341
|
# @option opts [String] :keys The string identifications of the keys to be exported.
|
342
342
|
# @option opts [String] :certs The string identifications of the certificates to be exported.
|
343
343
|
def export_to_archive_file(opts)
|
344
|
-
check_params(opts,[:archive_location,:archive_name,:keys,:certs])
|
345
|
-
super
|
344
|
+
opts = check_params(opts,[:archive_location,:archive_name,:keys,:certs])
|
345
|
+
super(opts)
|
346
346
|
end
|
347
347
|
|
348
348
|
##
|
@@ -358,8 +358,8 @@ module IControl::Management
|
|
358
358
|
# @option opts [String] :keys The string identifications of the keys to be exported.
|
359
359
|
# @option opts [String] :certs The string identifications of the certificates to be exported.
|
360
360
|
def export_to_archive_stream(opts)
|
361
|
-
check_params(opts,[:keys,:certs])
|
362
|
-
super
|
361
|
+
opts = check_params(opts,[:keys,:certs])
|
362
|
+
super(opts)
|
363
363
|
end
|
364
364
|
|
365
365
|
##
|
@@ -375,8 +375,8 @@ module IControl::Management
|
|
375
375
|
# @param [Hash] opts
|
376
376
|
# @option opts [String] :file_names The file names of the certificate bundles.
|
377
377
|
def certificate_bundle(opts)
|
378
|
-
check_params(opts,[:file_names])
|
379
|
-
super
|
378
|
+
opts = check_params(opts,[:file_names])
|
379
|
+
super(opts)
|
380
380
|
end
|
381
381
|
|
382
382
|
##
|
@@ -433,8 +433,8 @@ module IControl::Management
|
|
433
433
|
# @option opts [String] :archive_location The location of the archive file.
|
434
434
|
# @option opts [String] :archive_name The archive file name.
|
435
435
|
def import_all_from_archive_file(opts)
|
436
|
-
check_params(opts,[:archive_location,:archive_name])
|
437
|
-
super
|
436
|
+
opts = check_params(opts,[:archive_location,:archive_name])
|
437
|
+
super(opts)
|
438
438
|
end
|
439
439
|
|
440
440
|
##
|
@@ -447,8 +447,8 @@ module IControl::Management
|
|
447
447
|
# @param [Hash] opts
|
448
448
|
# @option opts [char] :archive_stream The archive stream from which to import keys and certificates.
|
449
449
|
def import_all_from_archive_stream(opts)
|
450
|
-
check_params(opts,[:archive_stream])
|
451
|
-
super
|
450
|
+
opts = check_params(opts,[:archive_stream])
|
451
|
+
super(opts)
|
452
452
|
end
|
453
453
|
|
454
454
|
##
|
@@ -465,8 +465,8 @@ module IControl::Management
|
|
465
465
|
# @option opts [String] :keys The string identifications of the keys to be imported/installed.
|
466
466
|
# @option opts [String] :certs The string identifications of the certificates to be imported/installed.
|
467
467
|
def import_from_archive_file(opts)
|
468
|
-
check_params(opts,[:archive_location,:archive_name,:keys,:certs])
|
469
|
-
super
|
468
|
+
opts = check_params(opts,[:archive_location,:archive_name,:keys,:certs])
|
469
|
+
super(opts)
|
470
470
|
end
|
471
471
|
|
472
472
|
##
|
@@ -482,8 +482,8 @@ module IControl::Management
|
|
482
482
|
# @option opts [String] :keys The string identifications of the keys to be imported/installed.
|
483
483
|
# @option opts [String] :certs The string identifications of the certificates to be imported/installed.
|
484
484
|
def import_from_archive_stream(opts)
|
485
|
-
check_params(opts,[:archive_stream,:keys,:certs])
|
486
|
-
super
|
485
|
+
opts = check_params(opts,[:archive_stream,:keys,:certs])
|
486
|
+
super(opts)
|
487
487
|
end
|
488
488
|
|
489
489
|
##
|
@@ -506,8 +506,8 @@ module IControl::Management
|
|
506
506
|
# @param [Hash] opts
|
507
507
|
# @option opts [String] :key_ids The string identifications of the keys to delete/uninstall.
|
508
508
|
def key_delete(opts)
|
509
|
-
check_params(opts,[:key_ids])
|
510
|
-
super
|
509
|
+
opts = check_params(opts,[:key_ids])
|
510
|
+
super(opts)
|
511
511
|
end
|
512
512
|
|
513
513
|
##
|
@@ -521,8 +521,8 @@ module IControl::Management
|
|
521
521
|
# @option opts [String] :file_names The files associated with the specified keys to export to.
|
522
522
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the key files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
523
523
|
def key_export_to_file(opts)
|
524
|
-
check_params(opts,[:key_ids,:file_names,:overwrite])
|
525
|
-
super
|
524
|
+
opts = check_params(opts,[:key_ids,:file_names,:overwrite])
|
525
|
+
super(opts)
|
526
526
|
end
|
527
527
|
|
528
528
|
##
|
@@ -535,8 +535,8 @@ module IControl::Management
|
|
535
535
|
# @param [Hash] opts
|
536
536
|
# @option opts [String] :key_ids The string identifications of the keys to export.
|
537
537
|
def key_export_to_pem(opts)
|
538
|
-
check_params(opts,[:key_ids])
|
539
|
-
super
|
538
|
+
opts = check_params(opts,[:key_ids])
|
539
|
+
super(opts)
|
540
540
|
end
|
541
541
|
|
542
542
|
##
|
@@ -551,8 +551,8 @@ module IControl::Management
|
|
551
551
|
# @option opts [boolean] :create_optional_cert_csr The boolean indicating whether we should optionally create the associated certificate and certificate request (CSR).
|
552
552
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the key files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
553
553
|
def key_generate(opts)
|
554
|
-
check_params(opts,[:keys,:x509_data,:create_optional_cert_csr,:overwrite])
|
555
|
-
super
|
554
|
+
opts = check_params(opts,[:keys,:x509_data,:create_optional_cert_csr,:overwrite])
|
555
|
+
super(opts)
|
556
556
|
end
|
557
557
|
|
558
558
|
##
|
@@ -566,8 +566,8 @@ module IControl::Management
|
|
566
566
|
# @option opts [String] :file_names The key files associated with the specified keys from which to import.
|
567
567
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the key files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
568
568
|
def key_import_from_file(opts)
|
569
|
-
check_params(opts,[:key_ids,:file_names,:overwrite])
|
570
|
-
super
|
569
|
+
opts = check_params(opts,[:key_ids,:file_names,:overwrite])
|
570
|
+
super(opts)
|
571
571
|
end
|
572
572
|
|
573
573
|
##
|
@@ -581,8 +581,8 @@ module IControl::Management
|
|
581
581
|
# @option opts [String] :pem_data The PEM-formatted data associated with the specified keys.
|
582
582
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the key files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
583
583
|
def key_import_from_pem(opts)
|
584
|
-
check_params(opts,[:key_ids,:pem_data,:overwrite])
|
585
|
-
super
|
584
|
+
opts = check_params(opts,[:key_ids,:pem_data,:overwrite])
|
585
|
+
super(opts)
|
586
586
|
end
|
587
587
|
|
588
588
|
##
|
@@ -594,8 +594,8 @@ module IControl::Management
|
|
594
594
|
# @param [Hash] opts
|
595
595
|
# @option opts [String] :key_ids The string identifications of the keys to convert.
|
596
596
|
def key_to_fips(opts)
|
597
|
-
check_params(opts,[:key_ids])
|
598
|
-
super
|
597
|
+
opts = check_params(opts,[:key_ids])
|
598
|
+
super(opts)
|
599
599
|
end
|
600
600
|
|
601
601
|
##
|
@@ -612,8 +612,8 @@ module IControl::Management
|
|
612
612
|
# @option opts [String] :passwords The passwords associated with the specified files (empty string means no password).
|
613
613
|
# @option opts [boolean] :overwrite The boolean indicating whether we should overwrite the key & certificate files on disk if they existed. If this parameter is false, and the files already exist, then a "Would overwrite" exception will be generated.
|
614
614
|
def pkcs12_import_from_file(opts)
|
615
|
-
check_params(opts,[:ids,:file_names,:passwords,:overwrite])
|
616
|
-
super
|
615
|
+
opts = check_params(opts,[:ids,:file_names,:passwords,:overwrite])
|
616
|
+
super(opts)
|
617
617
|
end
|
618
618
|
|
619
619
|
##
|