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
@@ -155,8 +155,8 @@ module IControl::LocalLB
|
|
155
155
|
# @param [Hash] opts
|
156
156
|
# @option opts [IControl::LocalLB::ProfilePortNumber] :ports The data channel port for the specified FTP profiles.
|
157
157
|
def set_data_channel_port(opts)
|
158
|
-
check_params(opts,[:ports])
|
159
|
-
super
|
158
|
+
opts = check_params(opts,[:ports])
|
159
|
+
super(opts)
|
160
160
|
end
|
161
161
|
|
162
162
|
##
|
@@ -169,8 +169,8 @@ module IControl::LocalLB
|
|
169
169
|
# @param [Hash] opts
|
170
170
|
# @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
|
171
171
|
def set_default_profile(opts)
|
172
|
-
check_params(opts,[:defaults])
|
173
|
-
super
|
172
|
+
opts = check_params(opts,[:defaults])
|
173
|
+
super(opts)
|
174
174
|
end
|
175
175
|
|
176
176
|
##
|
@@ -182,8 +182,8 @@ module IControl::LocalLB
|
|
182
182
|
# @param [Hash] opts
|
183
183
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The translate extended request states for the specified profiles.
|
184
184
|
def set_security_enabled_request_state(opts)
|
185
|
-
check_params(opts,[:states])
|
186
|
-
super
|
185
|
+
opts = check_params(opts,[:states])
|
186
|
+
super(opts)
|
187
187
|
end
|
188
188
|
|
189
189
|
##
|
@@ -196,8 +196,8 @@ module IControl::LocalLB
|
|
196
196
|
# @param [Hash] opts
|
197
197
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The translate extended request states for the specified profiles.
|
198
198
|
def set_translated_extended_request_state(opts)
|
199
|
-
check_params(opts,[:states])
|
200
|
-
super
|
199
|
+
opts = check_params(opts,[:states])
|
200
|
+
super(opts)
|
201
201
|
end
|
202
202
|
|
203
203
|
##
|
@@ -21,8 +21,8 @@ module IControl::LocalLB
|
|
21
21
|
# @param [Hash] opts
|
22
22
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be added to the "exclude" list.
|
23
23
|
def add_compression_content_type_exclude(opts)
|
24
|
-
check_params(opts,[:reg_expressions])
|
25
|
-
super
|
24
|
+
opts = check_params(opts,[:reg_expressions])
|
25
|
+
super(opts)
|
26
26
|
end
|
27
27
|
|
28
28
|
##
|
@@ -38,8 +38,8 @@ module IControl::LocalLB
|
|
38
38
|
# @param [Hash] opts
|
39
39
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be added to the "include" list.
|
40
40
|
def add_compression_content_type_include(opts)
|
41
|
-
check_params(opts,[:reg_expressions])
|
42
|
-
super
|
41
|
+
opts = check_params(opts,[:reg_expressions])
|
42
|
+
super(opts)
|
43
43
|
end
|
44
44
|
|
45
45
|
##
|
@@ -56,8 +56,8 @@ module IControl::LocalLB
|
|
56
56
|
# @param [Hash] opts
|
57
57
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be added to the "exclude" list.
|
58
58
|
def add_compression_uri_exclude(opts)
|
59
|
-
check_params(opts,[:reg_expressions])
|
60
|
-
super
|
59
|
+
opts = check_params(opts,[:reg_expressions])
|
60
|
+
super(opts)
|
61
61
|
end
|
62
62
|
|
63
63
|
##
|
@@ -73,8 +73,8 @@ module IControl::LocalLB
|
|
73
73
|
# @param [Hash] opts
|
74
74
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be added to the "include" list.
|
75
75
|
def add_compression_uri_include(opts)
|
76
|
-
check_params(opts,[:reg_expressions])
|
77
|
-
super
|
76
|
+
opts = check_params(opts,[:reg_expressions])
|
77
|
+
super(opts)
|
78
78
|
end
|
79
79
|
|
80
80
|
##
|
@@ -86,8 +86,8 @@ module IControl::LocalLB
|
|
86
86
|
# @param [Hash] opts
|
87
87
|
# @option opts [String[]] :cookies The lists of cookies to be encrypted.
|
88
88
|
def add_cookie_encryption(opts)
|
89
|
-
check_params(opts,[:cookies])
|
90
|
-
super
|
89
|
+
opts = check_params(opts,[:cookies])
|
90
|
+
super(opts)
|
91
91
|
end
|
92
92
|
|
93
93
|
##
|
@@ -101,8 +101,8 @@ module IControl::LocalLB
|
|
101
101
|
# @param [Hash] opts
|
102
102
|
# @option opts [String[]] :status_codes The lists of status codes.
|
103
103
|
def add_fallback_status_code(opts)
|
104
|
-
check_params(opts,[:status_codes])
|
105
|
-
super
|
104
|
+
opts = check_params(opts,[:status_codes])
|
105
|
+
super(opts)
|
106
106
|
end
|
107
107
|
|
108
108
|
##
|
@@ -114,8 +114,8 @@ module IControl::LocalLB
|
|
114
114
|
# @param [Hash] opts
|
115
115
|
# @option opts [String[]] :headers The lists of permitted response headers.
|
116
116
|
def add_permitted_response_header(opts)
|
117
|
-
check_params(opts,[:headers])
|
118
|
-
super
|
117
|
+
opts = check_params(opts,[:headers])
|
118
|
+
super(opts)
|
119
119
|
end
|
120
120
|
|
121
121
|
##
|
@@ -132,8 +132,8 @@ module IControl::LocalLB
|
|
132
132
|
# @param [Hash] opts
|
133
133
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be added to the "exclude" list.
|
134
134
|
def add_ramcache_uri_exclude(opts)
|
135
|
-
check_params(opts,[:reg_expressions])
|
136
|
-
super
|
135
|
+
opts = check_params(opts,[:reg_expressions])
|
136
|
+
super(opts)
|
137
137
|
end
|
138
138
|
|
139
139
|
##
|
@@ -149,8 +149,8 @@ module IControl::LocalLB
|
|
149
149
|
# @param [Hash] opts
|
150
150
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be added to the "include" list.
|
151
151
|
def add_ramcache_uri_include(opts)
|
152
|
-
check_params(opts,[:reg_expressions])
|
153
|
-
super
|
152
|
+
opts = check_params(opts,[:reg_expressions])
|
153
|
+
super(opts)
|
154
154
|
end
|
155
155
|
|
156
156
|
##
|
@@ -162,8 +162,8 @@ module IControl::LocalLB
|
|
162
162
|
# @param [Hash] opts
|
163
163
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be added to the "pinned" list.
|
164
164
|
def add_ramcache_uri_pinned(opts)
|
165
|
-
check_params(opts,[:reg_expressions])
|
166
|
-
super
|
165
|
+
opts = check_params(opts,[:reg_expressions])
|
166
|
+
super(opts)
|
167
167
|
end
|
168
168
|
|
169
169
|
##
|
@@ -855,8 +855,8 @@ module IControl::LocalLB
|
|
855
855
|
# @param [Hash] opts
|
856
856
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be removed from the "exclude" list.
|
857
857
|
def remove_compression_content_type_exclude(opts)
|
858
|
-
check_params(opts,[:reg_expressions])
|
859
|
-
super
|
858
|
+
opts = check_params(opts,[:reg_expressions])
|
859
|
+
super(opts)
|
860
860
|
end
|
861
861
|
|
862
862
|
##
|
@@ -872,8 +872,8 @@ module IControl::LocalLB
|
|
872
872
|
# @param [Hash] opts
|
873
873
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be removed from the "include" list.
|
874
874
|
def remove_compression_content_type_include(opts)
|
875
|
-
check_params(opts,[:reg_expressions])
|
876
|
-
super
|
875
|
+
opts = check_params(opts,[:reg_expressions])
|
876
|
+
super(opts)
|
877
877
|
end
|
878
878
|
|
879
879
|
##
|
@@ -890,8 +890,8 @@ module IControl::LocalLB
|
|
890
890
|
# @param [Hash] opts
|
891
891
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be removed from the "exclude" list.
|
892
892
|
def remove_compression_uri_exclude(opts)
|
893
|
-
check_params(opts,[:reg_expressions])
|
894
|
-
super
|
893
|
+
opts = check_params(opts,[:reg_expressions])
|
894
|
+
super(opts)
|
895
895
|
end
|
896
896
|
|
897
897
|
##
|
@@ -907,8 +907,8 @@ module IControl::LocalLB
|
|
907
907
|
# @param [Hash] opts
|
908
908
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be removed from the "include" list.
|
909
909
|
def remove_compression_uri_include(opts)
|
910
|
-
check_params(opts,[:reg_expressions])
|
911
|
-
super
|
910
|
+
opts = check_params(opts,[:reg_expressions])
|
911
|
+
super(opts)
|
912
912
|
end
|
913
913
|
|
914
914
|
##
|
@@ -920,8 +920,8 @@ module IControl::LocalLB
|
|
920
920
|
# @param [Hash] opts
|
921
921
|
# @option opts [String[]] :cookies The lists of cookies to be encrypted.
|
922
922
|
def remove_cookie_encryption(opts)
|
923
|
-
check_params(opts,[:cookies])
|
924
|
-
super
|
923
|
+
opts = check_params(opts,[:cookies])
|
924
|
+
super(opts)
|
925
925
|
end
|
926
926
|
|
927
927
|
##
|
@@ -935,8 +935,8 @@ module IControl::LocalLB
|
|
935
935
|
# @param [Hash] opts
|
936
936
|
# @option opts [String[]] :status_codes The lists of status codes.
|
937
937
|
def remove_fallback_status_code(opts)
|
938
|
-
check_params(opts,[:status_codes])
|
939
|
-
super
|
938
|
+
opts = check_params(opts,[:status_codes])
|
939
|
+
super(opts)
|
940
940
|
end
|
941
941
|
|
942
942
|
##
|
@@ -948,8 +948,8 @@ module IControl::LocalLB
|
|
948
948
|
# @param [Hash] opts
|
949
949
|
# @option opts [String[]] :headers The lists of permitted response headers.
|
950
950
|
def remove_permitted_response_header(opts)
|
951
|
-
check_params(opts,[:headers])
|
952
|
-
super
|
951
|
+
opts = check_params(opts,[:headers])
|
952
|
+
super(opts)
|
953
953
|
end
|
954
954
|
|
955
955
|
##
|
@@ -966,8 +966,8 @@ module IControl::LocalLB
|
|
966
966
|
# @param [Hash] opts
|
967
967
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be removed from the "exclude" list.
|
968
968
|
def remove_ramcache_uri_exclude(opts)
|
969
|
-
check_params(opts,[:reg_expressions])
|
970
|
-
super
|
969
|
+
opts = check_params(opts,[:reg_expressions])
|
970
|
+
super(opts)
|
971
971
|
end
|
972
972
|
|
973
973
|
##
|
@@ -983,8 +983,8 @@ module IControl::LocalLB
|
|
983
983
|
# @param [Hash] opts
|
984
984
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be removed from the "include" list.
|
985
985
|
def remove_ramcache_uri_include(opts)
|
986
|
-
check_params(opts,[:reg_expressions])
|
987
|
-
super
|
986
|
+
opts = check_params(opts,[:reg_expressions])
|
987
|
+
super(opts)
|
988
988
|
end
|
989
989
|
|
990
990
|
##
|
@@ -997,8 +997,8 @@ module IControl::LocalLB
|
|
997
997
|
# @param [Hash] opts
|
998
998
|
# @option opts [String[]] :reg_expressions The lists of regular expressions to be removed from the "pinned" list.
|
999
999
|
def remove_ramcache_uri_pinned(opts)
|
1000
|
-
check_params(opts,[:reg_expressions])
|
1001
|
-
super
|
1000
|
+
opts = check_params(opts,[:reg_expressions])
|
1001
|
+
super(opts)
|
1002
1002
|
end
|
1003
1003
|
|
1004
1004
|
##
|
@@ -1020,8 +1020,8 @@ module IControl::LocalLB
|
|
1020
1020
|
# @param [Hash] opts
|
1021
1021
|
# @option opts [IControl::LocalLB::ProfileString] :realms The basic authentication realms of the specified HTTP profiles.
|
1022
1022
|
def set_basic_auth_realm(opts)
|
1023
|
-
check_params(opts,[:realms])
|
1024
|
-
super
|
1023
|
+
opts = check_params(opts,[:realms])
|
1024
|
+
super(opts)
|
1025
1025
|
end
|
1026
1026
|
|
1027
1027
|
##
|
@@ -1035,8 +1035,8 @@ module IControl::LocalLB
|
|
1035
1035
|
# @param [Hash] opts
|
1036
1036
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states indicating whether to allow compression on HTTP 1.0 responses.
|
1037
1037
|
def set_compression_allow_http_10_state(opts)
|
1038
|
-
check_params(opts,[:states])
|
1039
|
-
super
|
1038
|
+
opts = check_params(opts,[:states])
|
1039
|
+
super(opts)
|
1040
1040
|
end
|
1041
1041
|
|
1042
1042
|
##
|
@@ -1048,8 +1048,8 @@ module IControl::LocalLB
|
|
1048
1048
|
# @param [Hash] opts
|
1049
1049
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states that specify whether to workaround browser bugs when doing compression.
|
1050
1050
|
def set_compression_browser_workaround_state(opts)
|
1051
|
-
check_params(opts,[:states])
|
1052
|
-
super
|
1051
|
+
opts = check_params(opts,[:states])
|
1052
|
+
super(opts)
|
1053
1053
|
end
|
1054
1054
|
|
1055
1055
|
##
|
@@ -1063,8 +1063,8 @@ module IControl::LocalLB
|
|
1063
1063
|
# @param [Hash] opts
|
1064
1064
|
# @option opts [IControl::LocalLB::ProfileULong] :sizes The compression buffer sizes.
|
1065
1065
|
def set_compression_buffer_size(opts)
|
1066
|
-
check_params(opts,[:sizes])
|
1067
|
-
super
|
1066
|
+
opts = check_params(opts,[:sizes])
|
1067
|
+
super(opts)
|
1068
1068
|
end
|
1069
1069
|
|
1070
1070
|
##
|
@@ -1077,8 +1077,8 @@ module IControl::LocalLB
|
|
1077
1077
|
# @param [Hash] opts
|
1078
1078
|
# @option opts [IControl::LocalLB::ProfileULong] :thresholds The high threshold in CPU saving mode.
|
1079
1079
|
def set_compression_cpu_saver_high_threshold(opts)
|
1080
|
-
check_params(opts,[:thresholds])
|
1081
|
-
super
|
1080
|
+
opts = check_params(opts,[:thresholds])
|
1081
|
+
super(opts)
|
1082
1082
|
end
|
1083
1083
|
|
1084
1084
|
##
|
@@ -1091,8 +1091,8 @@ module IControl::LocalLB
|
|
1091
1091
|
# @param [Hash] opts
|
1092
1092
|
# @option opts [IControl::LocalLB::ProfileULong] :thresholds The low threshold in CPU saving mode.
|
1093
1093
|
def set_compression_cpu_saver_low_threshold(opts)
|
1094
|
-
check_params(opts,[:thresholds])
|
1095
|
-
super
|
1094
|
+
opts = check_params(opts,[:thresholds])
|
1095
|
+
super(opts)
|
1096
1096
|
end
|
1097
1097
|
|
1098
1098
|
##
|
@@ -1104,8 +1104,8 @@ module IControl::LocalLB
|
|
1104
1104
|
# @param [Hash] opts
|
1105
1105
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states that specify whether to enable CPU saving mode when doing compression.
|
1106
1106
|
def set_compression_cpu_saver_state(opts)
|
1107
|
-
check_params(opts,[:states])
|
1108
|
-
super
|
1107
|
+
opts = check_params(opts,[:states])
|
1108
|
+
super(opts)
|
1109
1109
|
end
|
1110
1110
|
|
1111
1111
|
##
|
@@ -1117,8 +1117,8 @@ module IControl::LocalLB
|
|
1117
1117
|
# @param [Hash] opts
|
1118
1118
|
# @option opts [IControl::LocalLB::ProfileULong] :levels The compression GZIP levels.
|
1119
1119
|
def set_compression_level(opts)
|
1120
|
-
check_params(opts,[:levels])
|
1121
|
-
super
|
1120
|
+
opts = check_params(opts,[:levels])
|
1121
|
+
super(opts)
|
1122
1122
|
end
|
1123
1123
|
|
1124
1124
|
##
|
@@ -1134,8 +1134,8 @@ module IControl::LocalLB
|
|
1134
1134
|
# @param [Hash] opts
|
1135
1135
|
# @option opts [IControl::LocalLB::ProfileULong] :levels The compression memory levels.
|
1136
1136
|
def set_compression_memory_level(opts)
|
1137
|
-
check_params(opts,[:levels])
|
1138
|
-
super
|
1137
|
+
opts = check_params(opts,[:levels])
|
1138
|
+
super(opts)
|
1139
1139
|
end
|
1140
1140
|
|
1141
1141
|
##
|
@@ -1148,8 +1148,8 @@ module IControl::LocalLB
|
|
1148
1148
|
# @param [Hash] opts
|
1149
1149
|
# @option opts [IControl::LocalLB::ProfileULong] :sizes The minimum lengths of server responses.
|
1150
1150
|
def set_compression_minimum_size(opts)
|
1151
|
-
check_params(opts,[:sizes])
|
1152
|
-
super
|
1151
|
+
opts = check_params(opts,[:sizes])
|
1152
|
+
super(opts)
|
1153
1153
|
end
|
1154
1154
|
|
1155
1155
|
##
|
@@ -1161,8 +1161,8 @@ module IControl::LocalLB
|
|
1161
1161
|
# @param [Hash] opts
|
1162
1162
|
# @option opts [IControl::LocalLB::ProfileHttpCompressionMode] :modes The HTTP compression modes for the specified HTTP profiles.
|
1163
1163
|
def set_compression_mode(opts)
|
1164
|
-
check_params(opts,[:modes])
|
1165
|
-
super
|
1164
|
+
opts = check_params(opts,[:modes])
|
1165
|
+
super(opts)
|
1166
1166
|
end
|
1167
1167
|
|
1168
1168
|
##
|
@@ -1177,8 +1177,8 @@ module IControl::LocalLB
|
|
1177
1177
|
# @param [Hash] opts
|
1178
1178
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states indicating whether to insert the "Vary:" headers in the server responses.
|
1179
1179
|
def set_compression_vary_header_state(opts)
|
1180
|
-
check_params(opts,[:states])
|
1181
|
-
super
|
1180
|
+
opts = check_params(opts,[:states])
|
1181
|
+
super(opts)
|
1182
1182
|
end
|
1183
1183
|
|
1184
1184
|
##
|
@@ -1194,8 +1194,8 @@ module IControl::LocalLB
|
|
1194
1194
|
# @param [Hash] opts
|
1195
1195
|
# @option opts [IControl::LocalLB::ProfileULong] :sizes The compression window sizes.
|
1196
1196
|
def set_compression_window_size(opts)
|
1197
|
-
check_params(opts,[:sizes])
|
1198
|
-
super
|
1197
|
+
opts = check_params(opts,[:sizes])
|
1198
|
+
super(opts)
|
1199
1199
|
end
|
1200
1200
|
|
1201
1201
|
##
|
@@ -1207,8 +1207,8 @@ module IControl::LocalLB
|
|
1207
1207
|
# @param [Hash] opts
|
1208
1208
|
# @option opts [IControl::LocalLB::ProfileString] :passphrases The passphrases used to encrypt the cookies.
|
1209
1209
|
def set_cookie_encryption_passphrase(opts)
|
1210
|
-
check_params(opts,[:passphrases])
|
1211
|
-
super
|
1210
|
+
opts = check_params(opts,[:passphrases])
|
1211
|
+
super(opts)
|
1212
1212
|
end
|
1213
1213
|
|
1214
1214
|
##
|
@@ -1291,8 +1291,8 @@ module IControl::LocalLB
|
|
1291
1291
|
# @param [Hash] opts
|
1292
1292
|
# @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
|
1293
1293
|
def set_default_profile(opts)
|
1294
|
-
check_params(opts,[:defaults])
|
1295
|
-
super
|
1294
|
+
opts = check_params(opts,[:defaults])
|
1295
|
+
super(opts)
|
1296
1296
|
end
|
1297
1297
|
|
1298
1298
|
##
|
@@ -1334,8 +1334,8 @@ module IControl::LocalLB
|
|
1334
1334
|
# @param [Hash] opts
|
1335
1335
|
# @option opts [IControl::LocalLB::ProfileString] :fallbacks The fallback host names.
|
1336
1336
|
def set_fallback_host_name(opts)
|
1337
|
-
check_params(opts,[:fallbacks])
|
1338
|
-
super
|
1337
|
+
opts = check_params(opts,[:fallbacks])
|
1338
|
+
super(opts)
|
1339
1339
|
end
|
1340
1340
|
|
1341
1341
|
##
|
@@ -1347,8 +1347,8 @@ module IControl::LocalLB
|
|
1347
1347
|
# @param [Hash] opts
|
1348
1348
|
# @option opts [IControl::LocalLB::ProfileString] :headers The headers to be erased for the specified HTTP profiles.
|
1349
1349
|
def set_header_erase(opts)
|
1350
|
-
check_params(opts,[:headers])
|
1351
|
-
super
|
1350
|
+
opts = check_params(opts,[:headers])
|
1351
|
+
super(opts)
|
1352
1352
|
end
|
1353
1353
|
|
1354
1354
|
##
|
@@ -1360,8 +1360,8 @@ module IControl::LocalLB
|
|
1360
1360
|
# @param [Hash] opts
|
1361
1361
|
# @option opts [IControl::LocalLB::ProfileString] :headers The headers to be inserted for the specified HTTP profiles.
|
1362
1362
|
def set_header_insert(opts)
|
1363
|
-
check_params(opts,[:headers])
|
1364
|
-
super
|
1363
|
+
opts = check_params(opts,[:headers])
|
1364
|
+
super(opts)
|
1365
1365
|
end
|
1366
1366
|
|
1367
1367
|
##
|
@@ -1373,8 +1373,8 @@ module IControl::LocalLB
|
|
1373
1373
|
# @param [Hash] opts
|
1374
1374
|
# @option opts [IControl::LocalLB::ProfileProfileMode] :modes The insert X-Forwarded-For header mode for the specified profiles.
|
1375
1375
|
def set_insert_xforwarded_for_header_mode(opts)
|
1376
|
-
check_params(opts,[:modes])
|
1377
|
-
super
|
1376
|
+
opts = check_params(opts,[:modes])
|
1377
|
+
super(opts)
|
1378
1378
|
end
|
1379
1379
|
|
1380
1380
|
##
|
@@ -1391,8 +1391,8 @@ module IControl::LocalLB
|
|
1391
1391
|
# @param [Hash] opts
|
1392
1392
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The states indicating how we handle the "Accept-Encoding:" header.
|
1393
1393
|
def set_keep_accept_encoding_header_state(opts)
|
1394
|
-
check_params(opts,[:states])
|
1395
|
-
super
|
1394
|
+
opts = check_params(opts,[:states])
|
1395
|
+
super(opts)
|
1396
1396
|
end
|
1397
1397
|
|
1398
1398
|
##
|
@@ -1405,8 +1405,8 @@ module IControl::LocalLB
|
|
1405
1405
|
# @param [Hash] opts
|
1406
1406
|
# @option opts [IControl::LocalLB::ProfileULong] :sizes The LWS maximum column sizes.
|
1407
1407
|
def set_lws_maximum_column(opts)
|
1408
|
-
check_params(opts,[:sizes])
|
1409
|
-
super
|
1408
|
+
opts = check_params(opts,[:sizes])
|
1409
|
+
super(opts)
|
1410
1410
|
end
|
1411
1411
|
|
1412
1412
|
##
|
@@ -1418,8 +1418,8 @@ module IControl::LocalLB
|
|
1418
1418
|
# @param [Hash] opts
|
1419
1419
|
# @option opts [IControl::LocalLB::ProfileString] :separators The LWS separators of the specified HTTP profiles.
|
1420
1420
|
def set_lws_separator(opts)
|
1421
|
-
check_params(opts,[:separators])
|
1422
|
-
super
|
1421
|
+
opts = check_params(opts,[:separators])
|
1422
|
+
super(opts)
|
1423
1423
|
end
|
1424
1424
|
|
1425
1425
|
##
|
@@ -1431,8 +1431,8 @@ module IControl::LocalLB
|
|
1431
1431
|
# @param [Hash] opts
|
1432
1432
|
# @option opts [IControl::LocalLB::ProfileULong] :sizes The maximum header sizes.
|
1433
1433
|
def set_maximum_header_size(opts)
|
1434
|
-
check_params(opts,[:sizes])
|
1435
|
-
super
|
1434
|
+
opts = check_params(opts,[:sizes])
|
1435
|
+
super(opts)
|
1436
1436
|
end
|
1437
1437
|
|
1438
1438
|
##
|
@@ -1445,8 +1445,8 @@ module IControl::LocalLB
|
|
1445
1445
|
# @param [Hash] opts
|
1446
1446
|
# @option opts [IControl::LocalLB::ProfileULong] :maximum_requests The maximum number of HTTP requests allowed in a connection.
|
1447
1447
|
def set_maximum_requests(opts)
|
1448
|
-
check_params(opts,[:maximum_requests])
|
1449
|
-
super
|
1448
|
+
opts = check_params(opts,[:maximum_requests])
|
1449
|
+
super(opts)
|
1450
1450
|
end
|
1451
1451
|
|
1452
1452
|
##
|
@@ -1459,8 +1459,8 @@ module IControl::LocalLB
|
|
1459
1459
|
# @param [Hash] opts
|
1460
1460
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The OneConnect HTTP header transformation states for the specified HTTP profiles.
|
1461
1461
|
def set_oneconnect_header_transformation_state(opts)
|
1462
|
-
check_params(opts,[:states])
|
1463
|
-
super
|
1462
|
+
opts = check_params(opts,[:states])
|
1463
|
+
super(opts)
|
1464
1464
|
end
|
1465
1465
|
|
1466
1466
|
##
|
@@ -1472,8 +1472,8 @@ module IControl::LocalLB
|
|
1472
1472
|
# @param [Hash] opts
|
1473
1473
|
# @option opts [IControl::LocalLB::ProfileProfileMode] :modes The pipelining mode for the specified profiles.
|
1474
1474
|
def set_pipelining_mode(opts)
|
1475
|
-
check_params(opts,[:modes])
|
1476
|
-
super
|
1475
|
+
opts = check_params(opts,[:modes])
|
1476
|
+
super(opts)
|
1477
1477
|
end
|
1478
1478
|
|
1479
1479
|
##
|
@@ -1485,8 +1485,8 @@ module IControl::LocalLB
|
|
1485
1485
|
# @param [Hash] opts
|
1486
1486
|
# @option opts [IControl::LocalLB::ProfileCompressionMethod] :compression_methods The preferred compression methods.
|
1487
1487
|
def set_preferred_compression_method(opts)
|
1488
|
-
check_params(opts,[:compression_methods])
|
1489
|
-
super
|
1488
|
+
opts = check_params(opts,[:compression_methods])
|
1489
|
+
super(opts)
|
1490
1490
|
end
|
1491
1491
|
|
1492
1492
|
##
|
@@ -1498,8 +1498,8 @@ module IControl::LocalLB
|
|
1498
1498
|
# @param [Hash] opts
|
1499
1499
|
# @option opts [IControl::LocalLB::ProfileULong] :aging_rates The aging rate for the RAM cache.
|
1500
1500
|
def set_ramcache_aging_rate(opts)
|
1501
|
-
check_params(opts,[:aging_rates])
|
1502
|
-
super
|
1501
|
+
opts = check_params(opts,[:aging_rates])
|
1502
|
+
super(opts)
|
1503
1503
|
end
|
1504
1504
|
|
1505
1505
|
##
|
@@ -1511,8 +1511,8 @@ module IControl::LocalLB
|
|
1511
1511
|
# @param [Hash] opts
|
1512
1512
|
# @option opts [IControl::LocalLB::ProfileRamCacheCacheControlMode] :modes The client cache control mode.
|
1513
1513
|
def set_ramcache_ignore_client_cache_control_mode(opts)
|
1514
|
-
check_params(opts,[:modes])
|
1515
|
-
super
|
1514
|
+
opts = check_params(opts,[:modes])
|
1515
|
+
super(opts)
|
1516
1516
|
end
|
1517
1517
|
|
1518
1518
|
##
|
@@ -1524,8 +1524,8 @@ module IControl::LocalLB
|
|
1524
1524
|
# @param [Hash] opts
|
1525
1525
|
# @option opts [IControl::LocalLB::ProfileProfileMode] :modes The mode that indicates whether to insert the Age headers for the specified profiles.
|
1526
1526
|
def set_ramcache_insert_age_header_mode(opts)
|
1527
|
-
check_params(opts,[:modes])
|
1528
|
-
super
|
1527
|
+
opts = check_params(opts,[:modes])
|
1528
|
+
super(opts)
|
1529
1529
|
end
|
1530
1530
|
|
1531
1531
|
##
|
@@ -1537,8 +1537,8 @@ module IControl::LocalLB
|
|
1537
1537
|
# @param [Hash] opts
|
1538
1538
|
# @option opts [IControl::LocalLB::ProfileULong] :maximum_age The maximum age of a cached object in the RAM cache.
|
1539
1539
|
def set_ramcache_maximum_age(opts)
|
1540
|
-
check_params(opts,[:maximum_age])
|
1541
|
-
super
|
1540
|
+
opts = check_params(opts,[:maximum_age])
|
1541
|
+
super(opts)
|
1542
1542
|
end
|
1543
1543
|
|
1544
1544
|
##
|
@@ -1550,8 +1550,8 @@ module IControl::LocalLB
|
|
1550
1550
|
# @param [Hash] opts
|
1551
1551
|
# @option opts [IControl::LocalLB::ProfileULong] :maximum_entries The maximum number of cache entries allowed in the RAM cache.
|
1552
1552
|
def set_ramcache_maximum_entry(opts)
|
1553
|
-
check_params(opts,[:maximum_entries])
|
1554
|
-
super
|
1553
|
+
opts = check_params(opts,[:maximum_entries])
|
1554
|
+
super(opts)
|
1555
1555
|
end
|
1556
1556
|
|
1557
1557
|
##
|
@@ -1563,8 +1563,8 @@ module IControl::LocalLB
|
|
1563
1563
|
# @param [Hash] opts
|
1564
1564
|
# @option opts [IControl::LocalLB::ProfileProfileMode] :modes The RAM cache mode for the specified profiles.
|
1565
1565
|
def set_ramcache_mode(opts)
|
1566
|
-
check_params(opts,[:modes])
|
1567
|
-
super
|
1566
|
+
opts = check_params(opts,[:modes])
|
1567
|
+
super(opts)
|
1568
1568
|
end
|
1569
1569
|
|
1570
1570
|
##
|
@@ -1576,8 +1576,8 @@ module IControl::LocalLB
|
|
1576
1576
|
# @param [Hash] opts
|
1577
1577
|
# @option opts [IControl::LocalLB::ProfileULong] :maximum_size The maximum size requirement of a cached object in the RAM cache.
|
1578
1578
|
def set_ramcache_object_maximum_size(opts)
|
1579
|
-
check_params(opts,[:maximum_size])
|
1580
|
-
super
|
1579
|
+
opts = check_params(opts,[:maximum_size])
|
1580
|
+
super(opts)
|
1581
1581
|
end
|
1582
1582
|
|
1583
1583
|
##
|
@@ -1589,8 +1589,8 @@ module IControl::LocalLB
|
|
1589
1589
|
# @param [Hash] opts
|
1590
1590
|
# @option opts [IControl::LocalLB::ProfileULong] :minimum_size The minimum size requirement of a cached object in the RAM cache.
|
1591
1591
|
def set_ramcache_object_minimum_size(opts)
|
1592
|
-
check_params(opts,[:minimum_size])
|
1593
|
-
super
|
1592
|
+
opts = check_params(opts,[:minimum_size])
|
1593
|
+
super(opts)
|
1594
1594
|
end
|
1595
1595
|
|
1596
1596
|
##
|
@@ -1602,8 +1602,8 @@ module IControl::LocalLB
|
|
1602
1602
|
# @param [Hash] opts
|
1603
1603
|
# @option opts [IControl::LocalLB::ProfileULong] :sizes The size (MB) of the RAM cache.
|
1604
1604
|
def set_ramcache_size(opts)
|
1605
|
-
check_params(opts,[:sizes])
|
1606
|
-
super
|
1605
|
+
opts = check_params(opts,[:sizes])
|
1606
|
+
super(opts)
|
1607
1607
|
end
|
1608
1608
|
|
1609
1609
|
##
|
@@ -1615,8 +1615,8 @@ module IControl::LocalLB
|
|
1615
1615
|
# @param [Hash] opts
|
1616
1616
|
# @option opts [IControl::LocalLB::ProfileHttpRedirectRewriteMode] :modes The HTTP redirect/rewrite modes.
|
1617
1617
|
def set_redirect_rewrite_mode(opts)
|
1618
|
-
check_params(opts,[:modes])
|
1619
|
-
super
|
1618
|
+
opts = check_params(opts,[:modes])
|
1619
|
+
super(opts)
|
1620
1620
|
end
|
1621
1621
|
|
1622
1622
|
##
|
@@ -1628,8 +1628,8 @@ module IControl::LocalLB
|
|
1628
1628
|
# @param [Hash] opts
|
1629
1629
|
# @option opts [IControl::LocalLB::ProfileHttpChunkMode] :modes The HTTP chunk modes.
|
1630
1630
|
def set_response_chunk_mode(opts)
|
1631
|
-
check_params(opts,[:modes])
|
1632
|
-
super
|
1631
|
+
opts = check_params(opts,[:modes])
|
1632
|
+
super(opts)
|
1633
1633
|
end
|
1634
1634
|
|
1635
1635
|
##
|
@@ -1641,8 +1641,8 @@ module IControl::LocalLB
|
|
1641
1641
|
# @param [Hash] opts
|
1642
1642
|
# @option opts [IControl::LocalLB::ProfileEnabledState] :states The translate extended request states for the specified profiles.
|
1643
1643
|
def set_security_enabled_request_state(opts)
|
1644
|
-
check_params(opts,[:states])
|
1645
|
-
super
|
1644
|
+
opts = check_params(opts,[:states])
|
1645
|
+
super(opts)
|
1646
1646
|
end
|
1647
1647
|
|
1648
1648
|
##
|