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
data/lib/icontrol/arx/export.rb
CHANGED
@@ -14,8 +14,8 @@ module IControl::ARX
|
|
14
14
|
# @option opts [IControl::ARX::ProtocolType] :protocol Protocol type.
|
15
15
|
# @option opts [String] :exports The list of export names.
|
16
16
|
def definition(opts)
|
17
|
-
check_params(opts,[:protocol,:exports])
|
18
|
-
super
|
17
|
+
opts = check_params(opts,[:protocol,:exports])
|
18
|
+
super(opts)
|
19
19
|
end
|
20
20
|
|
21
21
|
##
|
@@ -25,8 +25,8 @@ module IControl::ARX
|
|
25
25
|
# @param [Hash] opts
|
26
26
|
# @option opts [IControl::ARX::ProtocolType] :protocol The protocol type.
|
27
27
|
def list(opts)
|
28
|
-
check_params(opts,[:protocol])
|
29
|
-
super
|
28
|
+
opts = check_params(opts,[:protocol])
|
29
|
+
super(opts)
|
30
30
|
end
|
31
31
|
|
32
32
|
|
@@ -15,8 +15,8 @@ module IControl::ARX
|
|
15
15
|
# @param [Hash] opts
|
16
16
|
# @option opts [String] :session_id File change notification session identifier returned by FileChangeNotification ::start_notifications.
|
17
17
|
def finish_notifications(opts)
|
18
|
-
check_params(opts,[:session_id])
|
19
|
-
super
|
18
|
+
opts = check_params(opts,[:session_id])
|
19
|
+
super(opts)
|
20
20
|
end
|
21
21
|
|
22
22
|
##
|
@@ -33,8 +33,8 @@ module IControl::ARX
|
|
33
33
|
# @option opts [long] :count Maximum number of file changes to be returned. (Min: 25 Max: 100)
|
34
34
|
# @option opts [String] :change_idx Index from which to start request. It must be empty if this is the first call in a new session. Otherwise, it is the change_idx returned by last call.
|
35
35
|
def notifications(opts)
|
36
|
-
check_params(opts,[:session_id,:count,:change_idx])
|
37
|
-
super
|
36
|
+
opts = check_params(opts,[:session_id,:count,:change_idx])
|
37
|
+
super(opts)
|
38
38
|
end
|
39
39
|
|
40
40
|
##
|
@@ -46,8 +46,8 @@ module IControl::ARX
|
|
46
46
|
# @option opts [String] :rule The notification rule name.
|
47
47
|
# @option opts [String] :snapshots The list of snapshots.
|
48
48
|
def snapshot_definition(opts)
|
49
|
-
check_params(opts,[:volume,:rule,:snapshots])
|
50
|
-
super
|
49
|
+
opts = check_params(opts,[:volume,:rule,:snapshots])
|
50
|
+
super(opts)
|
51
51
|
end
|
52
52
|
|
53
53
|
##
|
@@ -58,8 +58,8 @@ module IControl::ARX
|
|
58
58
|
# @option opts [String] :volume The volume name.
|
59
59
|
# @option opts [String] :rule The notification rule name.
|
60
60
|
def snapshots(opts)
|
61
|
-
check_params(opts,[:volume,:rule])
|
62
|
-
super
|
61
|
+
opts = check_params(opts,[:volume,:rule])
|
62
|
+
super(opts)
|
63
63
|
end
|
64
64
|
|
65
65
|
##
|
@@ -81,8 +81,8 @@ module IControl::ARX
|
|
81
81
|
# @option opts [long] :to_snapshot Timestamp of destination snapshot. It must be the creation time of the next consecutive snapshot after from_snapshot.
|
82
82
|
# @option opts [boolean] :all_files File changes to be returned, and should be set to true.
|
83
83
|
def start_notifications(opts)
|
84
|
-
check_params(opts,[:volume,:rule,:from_snapshot,:to_snapshot,:all_files])
|
85
|
-
super
|
84
|
+
opts = check_params(opts,[:volume,:rule,:from_snapshot,:to_snapshot,:all_files])
|
85
|
+
super(opts)
|
86
86
|
end
|
87
87
|
|
88
88
|
|
data/lib/icontrol/arx/policy.rb
CHANGED
@@ -13,8 +13,8 @@ module IControl::ARX
|
|
13
13
|
# @option opts [String] :volume Volume name.
|
14
14
|
# @option opts [String] :policies List of policy names.
|
15
15
|
def definition(opts)
|
16
|
-
check_params(opts,[:volume,:policies])
|
17
|
-
super
|
16
|
+
opts = check_params(opts,[:volume,:policies])
|
17
|
+
super(opts)
|
18
18
|
end
|
19
19
|
|
20
20
|
##
|
@@ -24,8 +24,8 @@ module IControl::ARX
|
|
24
24
|
# @param [Hash] opts
|
25
25
|
# @option opts [String] :volume Volume name.
|
26
26
|
def list(opts)
|
27
|
-
check_params(opts,[:volume])
|
28
|
-
super
|
27
|
+
opts = check_params(opts,[:volume])
|
28
|
+
super(opts)
|
29
29
|
end
|
30
30
|
|
31
31
|
##
|
@@ -35,8 +35,8 @@ module IControl::ARX
|
|
35
35
|
# @param [Hash] opts
|
36
36
|
# @option opts [String] :schedule Schedule name.
|
37
37
|
def schedule(opts)
|
38
|
-
check_params(opts,[:schedule])
|
39
|
-
super
|
38
|
+
opts = check_params(opts,[:schedule])
|
39
|
+
super(opts)
|
40
40
|
end
|
41
41
|
|
42
42
|
|
data/lib/icontrol/arx/share.rb
CHANGED
@@ -13,8 +13,8 @@ module IControl::ARX
|
|
13
13
|
# @option opts [String] :volume The volume name.
|
14
14
|
# @option opts [String] :shares A list of share names.
|
15
15
|
def definition(opts)
|
16
|
-
check_params(opts,[:volume,:shares])
|
17
|
-
super
|
16
|
+
opts = check_params(opts,[:volume,:shares])
|
17
|
+
super(opts)
|
18
18
|
end
|
19
19
|
|
20
20
|
##
|
@@ -24,8 +24,8 @@ module IControl::ARX
|
|
24
24
|
# @param [Hash] opts
|
25
25
|
# @option opts [String] :volume The volume name.
|
26
26
|
def list(opts)
|
27
|
-
check_params(opts,[:volume])
|
28
|
-
super
|
27
|
+
opts = check_params(opts,[:volume])
|
28
|
+
super(opts)
|
29
29
|
end
|
30
30
|
|
31
31
|
|
data/lib/icontrol/arx/volume.rb
CHANGED
@@ -23,8 +23,8 @@ module IControl::ASM
|
|
23
23
|
# @option opts [String] :param_name The name of the URL parameter.
|
24
24
|
# @option opts [IControl::ASM::ObjectParams::ObjectParamCategory] :setting_categories The ObjectParamCategory
|
25
25
|
def add_or_update_object_param_with_characteristics(opts)
|
26
|
-
check_params(opts,[:uri,:param_name,:setting_categories])
|
27
|
-
super
|
26
|
+
opts = check_params(opts,[:uri,:param_name,:setting_categories])
|
27
|
+
super(opts)
|
28
28
|
end
|
29
29
|
|
30
30
|
##
|
@@ -47,8 +47,8 @@ module IControl::ASM
|
|
47
47
|
# @option opts [String] :param_name The name of the URL parameter.
|
48
48
|
# @option opts [boolean] :flg_is_staging Whether to move the parameter to staging, or pull it out from staging
|
49
49
|
def set_parameter_staging_flag(opts)
|
50
|
-
check_params(opts,[:uri,:param_name,:flg_is_staging])
|
51
|
-
super
|
50
|
+
opts = check_params(opts,[:uri,:param_name,:flg_is_staging])
|
51
|
+
super(opts)
|
52
52
|
end
|
53
53
|
|
54
54
|
##
|
data/lib/icontrol/asm/policy.rb
CHANGED
@@ -16,8 +16,8 @@ module IControl::ASM
|
|
16
16
|
# @option opts [String] :policy_name The polciy's name.
|
17
17
|
# @option opts [String] :uris List or URIs to block. The URI is full, e.g.: http://foo.com/bar.php
|
18
18
|
def add_predictable_resource_location(opts)
|
19
|
-
check_params(opts,[:policy_name,:uris])
|
20
|
-
super
|
19
|
+
opts = check_params(opts,[:policy_name,:uris])
|
20
|
+
super(opts)
|
21
21
|
end
|
22
22
|
|
23
23
|
##
|
@@ -29,8 +29,8 @@ module IControl::ASM
|
|
29
29
|
# @param [Hash] opts
|
30
30
|
# @option opts [String] :wa_webapp_names List of WA web applcations.
|
31
31
|
def associate_wa_webapp(opts)
|
32
|
-
check_params(opts,[:wa_webapp_names])
|
33
|
-
super
|
32
|
+
opts = check_params(opts,[:wa_webapp_names])
|
33
|
+
super(opts)
|
34
34
|
end
|
35
35
|
|
36
36
|
##
|
@@ -42,8 +42,8 @@ module IControl::ASM
|
|
42
42
|
# @param [Hash] opts
|
43
43
|
# @option opts [String] :webapp_names The web application names.
|
44
44
|
def create(opts)
|
45
|
-
check_params(opts,[:webapp_names])
|
46
|
-
super
|
45
|
+
opts = check_params(opts,[:webapp_names])
|
46
|
+
super(opts)
|
47
47
|
end
|
48
48
|
|
49
49
|
##
|
@@ -56,8 +56,8 @@ module IControl::ASM
|
|
56
56
|
# @option opts [String] :webapp_names The web application names.
|
57
57
|
# @option opts [IControl::ASM::PolicyTemplate[]] :policy_templates The policy templates.
|
58
58
|
def create_from_template(opts)
|
59
|
-
check_params(opts,[:webapp_names,:policy_templates])
|
60
|
-
super
|
59
|
+
opts = check_params(opts,[:webapp_names,:policy_templates])
|
60
|
+
super(opts)
|
61
61
|
end
|
62
62
|
|
63
63
|
##
|
@@ -79,8 +79,8 @@ module IControl::ASM
|
|
79
79
|
# @param [Hash] opts
|
80
80
|
# @option opts [String] :wa_webapp_names List of WA web applcations.
|
81
81
|
def detach_wa_webapp(opts)
|
82
|
-
check_params(opts,[:wa_webapp_names])
|
83
|
-
super
|
82
|
+
opts = check_params(opts,[:wa_webapp_names])
|
83
|
+
super(opts)
|
84
84
|
end
|
85
85
|
|
86
86
|
##
|
@@ -101,8 +101,8 @@ module IControl::ASM
|
|
101
101
|
# @option opts [long] :chunk_size The chunk/block size of the file data to read from the device.
|
102
102
|
# @option opts [long] :file_offset The file offset that indicates where to read the next chunk of file data from.
|
103
103
|
def download_policy(opts)
|
104
|
-
check_params(opts,[:policy_name,:chunk_size,:file_offset])
|
105
|
-
super
|
104
|
+
opts = check_params(opts,[:policy_name,:chunk_size,:file_offset])
|
105
|
+
super(opts)
|
106
106
|
end
|
107
107
|
|
108
108
|
##
|
@@ -117,8 +117,8 @@ module IControl::ASM
|
|
117
117
|
# @option opts [String] :policy_name The name of the policy.
|
118
118
|
# @option opts [String] :filename The filename to which the policy will be exported under /var/tmp.
|
119
119
|
def export_policy(opts)
|
120
|
-
check_params(opts,[:policy_name,:filename])
|
121
|
-
super
|
120
|
+
opts = check_params(opts,[:policy_name,:filename])
|
121
|
+
super(opts)
|
122
122
|
end
|
123
123
|
|
124
124
|
##
|
@@ -206,8 +206,8 @@ module IControl::ASM
|
|
206
206
|
# @option opts [String] :webapp_name The target web application into which the policy will be imported.
|
207
207
|
# @option opts [String] :filename The server-side full path where the policy was previously uploaded during upload_policy. This is: "/var/tmp/" concatenated with the parameter policy_name from the import_policy call.
|
208
208
|
def import_policy(opts)
|
209
|
-
check_params(opts,[:webapp_name,:filename])
|
210
|
-
super
|
209
|
+
opts = check_params(opts,[:webapp_name,:filename])
|
210
|
+
super(opts)
|
211
211
|
end
|
212
212
|
|
213
213
|
##
|
@@ -219,8 +219,8 @@ module IControl::ASM
|
|
219
219
|
# @param [Hash] opts
|
220
220
|
# @option opts [long] :cookie_lengths The maximum length of a cookie.
|
221
221
|
def set_cookie_length(opts)
|
222
|
-
check_params(opts,[:cookie_lengths])
|
223
|
-
super
|
222
|
+
opts = check_params(opts,[:cookie_lengths])
|
223
|
+
super(opts)
|
224
224
|
end
|
225
225
|
|
226
226
|
##
|
@@ -232,8 +232,8 @@ module IControl::ASM
|
|
232
232
|
# @param [Hash] opts
|
233
233
|
# @option opts [boolean] :blocking_flags The flags of blocking enabled / disabled for each policy
|
234
234
|
def set_disable_blocking_flag(opts)
|
235
|
-
check_params(opts,[:blocking_flags])
|
236
|
-
super
|
235
|
+
opts = check_params(opts,[:blocking_flags])
|
236
|
+
super(opts)
|
237
237
|
end
|
238
238
|
|
239
239
|
##
|
@@ -245,8 +245,8 @@ module IControl::ASM
|
|
245
245
|
# @param [Hash] opts
|
246
246
|
# @option opts [IControl::ASM::DynamicSessionsInUrl] :settings The "dynamic sessions in URL" settings for the policies
|
247
247
|
def set_dynamic_sessions_in_url(opts)
|
248
|
-
check_params(opts,[:settings])
|
249
|
-
super
|
248
|
+
opts = check_params(opts,[:settings])
|
249
|
+
super(opts)
|
250
250
|
end
|
251
251
|
|
252
252
|
##
|
@@ -258,8 +258,8 @@ module IControl::ASM
|
|
258
258
|
# @param [Hash] opts
|
259
259
|
# @option opts [long] :http_header_lengths The maximum length of http header.
|
260
260
|
def set_http_header_length(opts)
|
261
|
-
check_params(opts,[:http_header_lengths])
|
262
|
-
super
|
261
|
+
opts = check_params(opts,[:http_header_lengths])
|
262
|
+
super(opts)
|
263
263
|
end
|
264
264
|
|
265
265
|
##
|
@@ -272,8 +272,8 @@ module IControl::ASM
|
|
272
272
|
# @param [Hash] opts
|
273
273
|
# @option opts [String] :policy_name The polciy's name.
|
274
274
|
def set_http_response_splitting(opts)
|
275
|
-
check_params(opts,[:policy_name])
|
276
|
-
super
|
275
|
+
opts = check_params(opts,[:policy_name])
|
276
|
+
super(opts)
|
277
277
|
end
|
278
278
|
|
279
279
|
##
|
@@ -286,8 +286,8 @@ module IControl::ASM
|
|
286
286
|
# @param [Hash] opts
|
287
287
|
# @option opts [String] :policy_name The polciy's name.
|
288
288
|
def set_path_traversal(opts)
|
289
|
-
check_params(opts,[:policy_name])
|
290
|
-
super
|
289
|
+
opts = check_params(opts,[:policy_name])
|
290
|
+
super(opts)
|
291
291
|
end
|
292
292
|
|
293
293
|
##
|
@@ -299,8 +299,8 @@ module IControl::ASM
|
|
299
299
|
# @param [Hash] opts
|
300
300
|
# @option opts [long] :expiration_periods The expiration period of login pages in seconds
|
301
301
|
def set_prerequisite_expiration_period(opts)
|
302
|
-
check_params(opts,[:expiration_periods])
|
303
|
-
super
|
302
|
+
opts = check_params(opts,[:expiration_periods])
|
303
|
+
super(opts)
|
304
304
|
end
|
305
305
|
|
306
306
|
##
|
@@ -312,8 +312,8 @@ module IControl::ASM
|
|
312
312
|
# @param [Hash] opts
|
313
313
|
# @option opts [IControl::ASM::Violation[]] :violations The violations for each policy.
|
314
314
|
def set_violation_flags(opts)
|
315
|
-
check_params(opts,[:violations])
|
316
|
-
super
|
315
|
+
opts = check_params(opts,[:violations])
|
316
|
+
super(opts)
|
317
317
|
end
|
318
318
|
|
319
319
|
##
|
@@ -330,8 +330,8 @@ module IControl::ASM
|
|
330
330
|
# @option opts [String] :policy_name The name of the policy. The filename will be the name of the policy in the /var/tmp directory.
|
331
331
|
# @option opts [IControl::ASM::FileTransferContext] :file_context The context of the transfer operation. It has two parts: - file_data: The relevant part of the content of the file - chunk_type: Indicates the current chunk whether it is the first, middle, last chunk or the current call includes the entire file.
|
332
332
|
def upload_policy(opts)
|
333
|
-
check_params(opts,[:policy_name,:file_context])
|
334
|
-
super
|
333
|
+
opts = check_params(opts,[:policy_name,:file_context])
|
334
|
+
super(opts)
|
335
335
|
end
|
336
336
|
|
337
337
|
##
|
@@ -346,8 +346,8 @@ module IControl::ASM
|
|
346
346
|
# @option opts [String] :wsdl_filename The WSDL filename which will be attached to the XML profile.
|
347
347
|
# @option opts [String] :wsdl_text
|
348
348
|
def upload_xml_profile_wsdl(opts)
|
349
|
-
check_params(opts,[:policy_name,:profile_name,:wsdl_filename,:wsdl_text])
|
350
|
-
super
|
349
|
+
opts = check_params(opts,[:policy_name,:profile_name,:wsdl_filename,:wsdl_text])
|
350
|
+
super(opts)
|
351
351
|
end
|
352
352
|
|
353
353
|
|
@@ -56,8 +56,8 @@ module IControl::ASM
|
|
56
56
|
# @param [Hash] opts
|
57
57
|
# @option opts [IControl::ASM::ViolationSeverity] :violation_severities The violation severities.
|
58
58
|
def set_violation_severities(opts)
|
59
|
-
check_params(opts,[:violation_severities])
|
60
|
-
super
|
59
|
+
opts = check_params(opts,[:violation_severities])
|
60
|
+
super(opts)
|
61
61
|
end
|
62
62
|
|
63
63
|
##
|
@@ -73,8 +73,8 @@ module IControl::ASM
|
|
73
73
|
# @option opts [String] :user_name Deprecated.
|
74
74
|
# @option opts [boolean] :check_interval Deprecated. Should be 'false'.
|
75
75
|
def update_signature_file_automatic(opts)
|
76
|
-
check_params(opts,[:do_set_active,:force,:user_name,:check_interval])
|
77
|
-
super
|
76
|
+
opts = check_params(opts,[:do_set_active,:force,:user_name,:check_interval])
|
77
|
+
super(opts)
|
78
78
|
end
|
79
79
|
|
80
80
|
##
|
@@ -91,8 +91,8 @@ module IControl::ASM
|
|
91
91
|
# @option opts [String] :user_name Deprecated.
|
92
92
|
# @option opts [boolean] :check_interval Deprecated. Should be 'false'.
|
93
93
|
def update_signature_file_manual(opts)
|
94
|
-
check_params(opts,[:file_context,:do_set_active,:force,:user_name,:check_interval])
|
95
|
-
super
|
94
|
+
opts = check_params(opts,[:file_context,:do_set_active,:force,:user_name,:check_interval])
|
95
|
+
super(opts)
|
96
96
|
end
|
97
97
|
|
98
98
|
|
@@ -141,8 +141,8 @@ module IControl::ASM
|
|
141
141
|
# @param [Hash] opts
|
142
142
|
# @option opts [String] :policy_names The names of the policies to set active for the specified web applications.
|
143
143
|
def set_active_policy(opts)
|
144
|
-
check_params(opts,[:policy_names])
|
145
|
-
super
|
144
|
+
opts = check_params(opts,[:policy_names])
|
145
|
+
super(opts)
|
146
146
|
end
|
147
147
|
|
148
148
|
##
|
@@ -154,8 +154,8 @@ module IControl::ASM
|
|
154
154
|
# @param [Hash] opts
|
155
155
|
# @option opts [IControl::ASM::ApplyLearning] :settings The "apply learning" settings for the web applications.
|
156
156
|
def set_apply_learning(opts)
|
157
|
-
check_params(opts,[:settings])
|
158
|
-
super
|
157
|
+
opts = check_params(opts,[:settings])
|
158
|
+
super(opts)
|
159
159
|
end
|
160
160
|
|
161
161
|
##
|
@@ -168,8 +168,8 @@ module IControl::ASM
|
|
168
168
|
# @param [Hash] opts
|
169
169
|
# @option opts [IControl::ASM::WebApplicationLanguage] :languages The languages.
|
170
170
|
def set_language(opts)
|
171
|
-
check_params(opts,[:languages])
|
172
|
-
super
|
171
|
+
opts = check_params(opts,[:languages])
|
172
|
+
super(opts)
|
173
173
|
end
|
174
174
|
|
175
175
|
##
|
@@ -186,8 +186,8 @@ module IControl::ASM
|
|
186
186
|
# @option opts [IControl::ASM::PolicyTemplate] :policy_template_names The policy template names.
|
187
187
|
# @option opts [long] :timeout The timeout period in which the ASM web-applications should be created prior to set its language
|
188
188
|
def set_language_extended(opts)
|
189
|
-
check_params(opts,[:languages,:policy_names,:policy_template_names,:timeout])
|
190
|
-
super
|
189
|
+
opts = check_params(opts,[:languages,:policy_names,:policy_template_names,:timeout])
|
190
|
+
super(opts)
|
191
191
|
end
|
192
192
|
|
193
193
|
##
|
@@ -199,8 +199,8 @@ module IControl::ASM
|
|
199
199
|
# @param [Hash] opts
|
200
200
|
# @option opts [String] :logprof_names The names of the logging profiles for the specified web applications.
|
201
201
|
def set_logging_profile(opts)
|
202
|
-
check_params(opts,[:logprof_names])
|
203
|
-
super
|
202
|
+
opts = check_params(opts,[:logprof_names])
|
203
|
+
super(opts)
|
204
204
|
end
|
205
205
|
|
206
206
|
|
@@ -14,8 +14,8 @@ module IControl::ASM
|
|
14
14
|
# @param [Hash] opts
|
15
15
|
# @option opts [String[]] :webapp_names The names of the web applications to add to the specified groups.
|
16
16
|
def add_webapp(opts)
|
17
|
-
check_params(opts,[:webapp_names])
|
18
|
-
super
|
17
|
+
opts = check_params(opts,[:webapp_names])
|
18
|
+
super(opts)
|
19
19
|
end
|
20
20
|
|
21
21
|
##
|
@@ -97,8 +97,8 @@ module IControl::ASM
|
|
97
97
|
# @param [Hash] opts
|
98
98
|
# @option opts [String[]] :webapp_names The names of the web applications to remove from the specified groups.
|
99
99
|
def remove_webapp(opts)
|
100
|
-
check_params(opts,[:webapp_names])
|
101
|
-
super
|
100
|
+
opts = check_params(opts,[:webapp_names])
|
101
|
+
super(opts)
|
102
102
|
end
|
103
103
|
|
104
104
|
|