icontrol 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. data/lib/icontrol/arx.rb +38 -8
  2. data/lib/icontrol/arx/api.rb +1 -0
  3. data/lib/icontrol/arx/chassis.rb +11 -0
  4. data/lib/icontrol/arx/export.rb +4 -1
  5. data/lib/icontrol/arx/file_change_notification.rb +25 -4
  6. data/lib/icontrol/arx/file_server.rb +2 -0
  7. data/lib/icontrol/arx/namespace.rb +2 -0
  8. data/lib/icontrol/arx/network.rb +3 -0
  9. data/lib/icontrol/arx/policy.rb +3 -0
  10. data/lib/icontrol/arx/share.rb +2 -0
  11. data/lib/icontrol/arx/virtual_service.rb +3 -0
  12. data/lib/icontrol/arx/volume.rb +2 -0
  13. data/lib/icontrol/asm.rb +18 -3
  14. data/lib/icontrol/asm/object_params.rb +12 -6
  15. data/lib/icontrol/asm/policy.rb +118 -79
  16. data/lib/icontrol/asm/system_configuration.rb +27 -19
  17. data/lib/icontrol/asm/web_application.rb +74 -52
  18. data/lib/icontrol/asm/web_application_group.rb +33 -24
  19. data/lib/icontrol/base.rb +1 -0
  20. data/lib/icontrol/base/exception.rb +1 -0
  21. data/lib/icontrol/base/icontrol/local_lb/pool.rb +7 -0
  22. data/lib/icontrol/base/icontrol_overlay.rb +6 -0
  23. data/lib/icontrol/base/predeclarations.rb +5 -4
  24. data/lib/icontrol/base/struct.rb +6 -2
  25. data/lib/icontrol/common.rb +55 -4
  26. data/lib/icontrol/global_lb.rb +22 -3
  27. data/lib/icontrol/global_lb/application.rb +63 -44
  28. data/lib/icontrol/global_lb/data_center.rb +82 -58
  29. data/lib/icontrol/global_lb/dnssec_key.rb +152 -90
  30. data/lib/icontrol/global_lb/dnssec_zone.rb +55 -35
  31. data/lib/icontrol/global_lb/globals.rb +662 -430
  32. data/lib/icontrol/global_lb/link.rb +181 -131
  33. data/lib/icontrol/global_lb/monitor.rb +174 -104
  34. data/lib/icontrol/global_lb/pool.rb +290 -203
  35. data/lib/icontrol/global_lb/pool_member.rb +118 -71
  36. data/lib/icontrol/global_lb/region.rb +37 -25
  37. data/lib/icontrol/global_lb/rule.rb +53 -37
  38. data/lib/icontrol/global_lb/server.rb +176 -124
  39. data/lib/icontrol/global_lb/topology.rb +41 -27
  40. data/lib/icontrol/global_lb/virtual_server.rb +118 -84
  41. data/lib/icontrol/global_lb/wide_ip.rb +168 -117
  42. data/lib/icontrol/local_lb.rb +81 -10
  43. data/lib/icontrol/local_lb/klass.rb +233 -153
  44. data/lib/icontrol/local_lb/monitor.rb +158 -96
  45. data/lib/icontrol/local_lb/nat.rb +74 -52
  46. data/lib/icontrol/local_lb/node_address.rb +123 -86
  47. data/lib/icontrol/local_lb/pool.rb +229 -164
  48. data/lib/icontrol/local_lb/pool_member.rb +134 -76
  49. data/lib/icontrol/local_lb/profile_auth.rb +103 -75
  50. data/lib/icontrol/local_lb/profile_client_ssl.rb +284 -201
  51. data/lib/icontrol/local_lb/profile_diameter.rb +113 -71
  52. data/lib/icontrol/local_lb/profile_dns.rb +65 -46
  53. data/lib/icontrol/local_lb/profile_fast_http.rb +265 -178
  54. data/lib/icontrol/local_lb/profile_fast_l4.rb +283 -194
  55. data/lib/icontrol/local_lb/profile_ftp.rb +81 -58
  56. data/lib/icontrol/local_lb/profile_http.rb +701 -433
  57. data/lib/icontrol/local_lb/profile_http_class.rb +169 -121
  58. data/lib/icontrol/local_lb/profile_iiop.rb +87 -63
  59. data/lib/icontrol/local_lb/profile_one_connect.rb +99 -71
  60. data/lib/icontrol/local_lb/profile_persistence.rb +326 -203
  61. data/lib/icontrol/local_lb/profile_radius.rb +94 -62
  62. data/lib/icontrol/local_lb/profile_rtsp.rb +207 -129
  63. data/lib/icontrol/local_lb/profile_sctp.rb +231 -167
  64. data/lib/icontrol/local_lb/profile_server_ssl.rb +268 -189
  65. data/lib/icontrol/local_lb/profile_sip.rb +145 -99
  66. data/lib/icontrol/local_lb/profile_stream.rb +71 -51
  67. data/lib/icontrol/local_lb/profile_tcp.rb +455 -296
  68. data/lib/icontrol/local_lb/profile_udp.rb +109 -78
  69. data/lib/icontrol/local_lb/profile_user_statistic.rb +77 -46
  70. data/lib/icontrol/local_lb/profile_xml.rb +116 -79
  71. data/lib/icontrol/local_lb/ram_cache_information.rb +43 -20
  72. data/lib/icontrol/local_lb/rate_class.rb +523 -318
  73. data/lib/icontrol/local_lb/rule.rb +53 -37
  74. data/lib/icontrol/local_lb/snat.rb +96 -65
  75. data/lib/icontrol/local_lb/snat_pool.rb +54 -39
  76. data/lib/icontrol/local_lb/snat_pool_member.rb +22 -15
  77. data/lib/icontrol/local_lb/snat_translation_address.rb +94 -69
  78. data/lib/icontrol/local_lb/virtual_address.rb +99 -70
  79. data/lib/icontrol/local_lb/virtual_server.rb +358 -243
  80. data/lib/icontrol/lt_config.rb +8 -1
  81. data/lib/icontrol/lt_config/field.rb +87 -53
  82. data/lib/icontrol/lt_config/klass.rb +59 -43
  83. data/lib/icontrol/management.rb +80 -38
  84. data/lib/icontrol/management/ccldap_configuration.rb +218 -144
  85. data/lib/icontrol/management/change_control.rb +67 -41
  86. data/lib/icontrol/management/crldp_configuration.rb +73 -52
  87. data/lib/icontrol/management/crldp_server.rb +55 -39
  88. data/lib/icontrol/management/db_variable.rb +32 -21
  89. data/lib/icontrol/management/event_notification.rb +19 -8
  90. data/lib/icontrol/management/event_subscription.rb +121 -74
  91. data/lib/icontrol/management/key_certificate.rb +235 -138
  92. data/lib/icontrol/management/ldap_configuration.rb +249 -179
  93. data/lib/icontrol/management/license_administration.rb +97 -56
  94. data/lib/icontrol/management/named.rb +103 -67
  95. data/lib/icontrol/management/ocsp_configuration.rb +33 -24
  96. data/lib/icontrol/management/ocsp_responder.rb +294 -165
  97. data/lib/icontrol/management/partition.rb +42 -23
  98. data/lib/icontrol/management/provision.rb +73 -39
  99. data/lib/icontrol/management/radius_configuration.rb +85 -57
  100. data/lib/icontrol/management/radius_server.rb +51 -37
  101. data/lib/icontrol/management/resource_record.rb +163 -121
  102. data/lib/icontrol/management/snmp_configuration.rb +675 -390
  103. data/lib/icontrol/management/tacacs_configuration.rb +99 -67
  104. data/lib/icontrol/management/tmos_module.rb +20 -8
  105. data/lib/icontrol/management/user_management.rb +198 -124
  106. data/lib/icontrol/management/view.rb +33 -24
  107. data/lib/icontrol/management/zone.rb +49 -34
  108. data/lib/icontrol/management/zone_runner.rb +11 -7
  109. data/lib/icontrol/networking.rb +31 -4
  110. data/lib/icontrol/networking/admin_ip.rb +92 -71
  111. data/lib/icontrol/networking/arp.rb +41 -28
  112. data/lib/icontrol/networking/i_session_advertised_route.rb +47 -32
  113. data/lib/icontrol/networking/i_session_local_interface.rb +72 -52
  114. data/lib/icontrol/networking/i_session_peer_discovery.rb +105 -68
  115. data/lib/icontrol/networking/i_session_remote_interface.rb +105 -76
  116. data/lib/icontrol/networking/interfaces.rb +241 -142
  117. data/lib/icontrol/networking/packet_filter.rb +111 -69
  118. data/lib/icontrol/networking/packet_filter_globals.rb +39 -28
  119. data/lib/icontrol/networking/port_mirror.rb +39 -27
  120. data/lib/icontrol/networking/profile_gre.rb +63 -41
  121. data/lib/icontrol/networking/profile_ipip.rb +38 -25
  122. data/lib/icontrol/networking/profile_wccpgre.rb +85 -55
  123. data/lib/icontrol/networking/route_domain.rb +70 -44
  124. data/lib/icontrol/networking/route_table.rb +128 -91
  125. data/lib/icontrol/networking/self_ip.rb +57 -39
  126. data/lib/icontrol/networking/self_ip_port_lockdown.rb +34 -22
  127. data/lib/icontrol/networking/stp_globals.rb +115 -63
  128. data/lib/icontrol/networking/stp_instance.rb +166 -68
  129. data/lib/icontrol/networking/trunk.rb +165 -101
  130. data/lib/icontrol/networking/tunnel.rb +77 -52
  131. data/lib/icontrol/networking/vlan.rb +140 -98
  132. data/lib/icontrol/networking/vlan_group.rb +145 -101
  133. data/lib/icontrol/system.rb +70 -33
  134. data/lib/icontrol/system/cluster.rb +103 -81
  135. data/lib/icontrol/system/config_sync.rb +128 -72
  136. data/lib/icontrol/system/connections.rb +27 -17
  137. data/lib/icontrol/system/disk.rb +134 -67
  138. data/lib/icontrol/system/failover.rb +44 -27
  139. data/lib/icontrol/system/geo_ip.rb +16 -5
  140. data/lib/icontrol/system/inet.rb +47 -30
  141. data/lib/icontrol/system/internal.rb +13 -9
  142. data/lib/icontrol/system/services.rb +75 -42
  143. data/lib/icontrol/system/software_management.rb +132 -83
  144. data/lib/icontrol/system/statistics.rb +443 -298
  145. data/lib/icontrol/system/system_info.rb +137 -95
  146. data/lib/icontrol/web_accelerator/applications.rb +17 -10
  147. data/lib/icontrol/web_accelerator/policies.rb +13 -9
  148. data/lib/icontrol/web_accelerator/proxy_message.rb +11 -7
  149. data/spec/icontrol/local_lb/pool_member_spec.rb +495 -0
  150. data/spec/icontrol/local_lb/profile_http_class_spec.rb +514 -0
  151. metadata +10 -4
@@ -1,149 +1,168 @@
1
1
  module IControl::LocalLB
2
2
  ##
3
- # The ProfileIIOP interface enables you to manipulate a local load balancer's IIOP profile.
3
+ # The ProfileIIOP interface enables you to manipulate a local load balancer's IIOP
4
+ # profile.
4
5
  class ProfileIIOP < IControl::Base
5
6
 
6
7
  set_id_name "profile_names"
7
8
 
8
9
  class ProfileIIOPStatisticEntry < IControl::Base::Struct; end
9
- class ProfileIIOPStatistics < IControl::Base::Struct; end ##
10
+ class ProfileIIOPStatistics < IControl::Base::Struct; end
11
+ class ProfileIIOPStatisticEntrySequence < IControl::Base::Sequence ; end ##
10
12
  # Creates this IIOP profile.
11
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
12
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
13
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
13
+ # @rspec_example
14
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
15
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
16
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
14
17
  def create
15
18
  super
16
19
  end
17
20
 
18
21
  ##
19
22
  # Deletes all IIOP profile.
20
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
21
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
22
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
23
+ # @rspec_example
24
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
25
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
26
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
23
27
  def delete_all_profiles
24
28
  super
25
29
  end
26
30
 
27
31
  ##
28
32
  # Deletes this IIOP profile.
29
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
30
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
31
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
33
+ # @rspec_example
34
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
35
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
36
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
32
37
  def delete_profile
33
38
  super
34
39
  end
35
40
 
36
41
  ##
37
42
  # Gets the state that if true, abort the connection when response is timed out.
43
+ # @rspec_example
38
44
  # @return [ProfileEnabledState]
39
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
40
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
41
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
45
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
46
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
47
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
42
48
  def abort_on_timeout_state
43
49
  super
44
50
  end
45
51
 
46
52
  ##
47
53
  # Gets the statistics for all the IIOP profile.
54
+ # @rspec_example
48
55
  # @return [ProfileIIOPStatistics]
49
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
50
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
51
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
56
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
57
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
58
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
52
59
  def all_statistics
53
60
  super
54
61
  end
55
62
 
56
63
  ##
57
- # Gets the names of the default profile from which this profile will derive default values for its attributes.
64
+ # Gets the names of the default profile from which this profile will derive default
65
+ # values for its attributes.
66
+ # @rspec_example
58
67
  # @return [String]
59
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
60
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
61
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
68
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
69
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
70
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
62
71
  def default_profile
63
72
  super
64
73
  end
65
74
 
66
75
  ##
67
76
  # Gets a list of all IIOP profile.
77
+ # @rspec_example
68
78
  # @return [String]
69
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
70
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
71
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
79
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
80
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
81
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
72
82
  def list
73
83
  super
74
84
  end
75
85
 
76
86
  ##
77
87
  # Gets the state that if true, persist the object key.
88
+ # @rspec_example
78
89
  # @return [ProfileEnabledState]
79
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
80
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
81
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
90
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
91
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
92
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
82
93
  def persist_object_key_state
83
94
  super
84
95
  end
85
96
 
86
97
  ##
87
98
  # Gets the state that if true, persist the request ID.
99
+ # @rspec_example
88
100
  # @return [ProfileEnabledState]
89
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
90
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
91
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
101
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
102
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
103
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
92
104
  def persist_request_id_state
93
105
  super
94
106
  end
95
107
 
96
108
  ##
97
109
  # Gets the response timeouts for this IIOP profile.
110
+ # @rspec_example
98
111
  # @return [ProfileULong]
99
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
100
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
101
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
112
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
113
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
114
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
102
115
  def response_timeout
103
116
  super
104
117
  end
105
118
 
106
119
  ##
107
120
  # Gets the statistics for this IIOP profile.
121
+ # @rspec_example
108
122
  # @return [ProfileIIOPStatistics]
109
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
110
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
111
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
123
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
124
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
125
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
112
126
  def statistics
113
127
  super
114
128
  end
115
129
 
116
130
  ##
117
131
  # Gets the version information for this interface.
132
+ # @rspec_example
118
133
  # @return [String]
119
134
  def version
120
135
  super
121
136
  end
122
137
 
123
138
  ##
124
- # Determines whether this profile are base/pre-configured profile, or user-defined profile.
139
+ # Determines whether this profile are base/pre-configured profile, or user-defined
140
+ # profile.
141
+ # @rspec_example
125
142
  # @return [boolean]
126
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
127
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
128
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
143
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
144
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
145
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
129
146
  def is_base_profile
130
147
  super
131
148
  end
132
149
 
133
150
  ##
134
151
  # Resets the statistics for this IIOP profile.
135
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
136
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
137
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
152
+ # @rspec_example
153
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
154
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
155
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
138
156
  def reset_statistics
139
157
  super
140
158
  end
141
159
 
142
160
  ##
143
161
  # Sets the state that if true, abort the connection when response is timed out.
144
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
145
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
146
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
162
+ # @rspec_example
163
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
164
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
165
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
147
166
  # @param [Hash] opts
148
167
  # @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified profiles.
149
168
  def set_abort_on_timeout_state(opts)
@@ -152,10 +171,12 @@ module IControl::LocalLB
152
171
  end
153
172
 
154
173
  ##
155
- # Sets the names of the default profile from which this profile will derive default values for its attributes.
156
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
157
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
158
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
174
+ # Sets the names of the default profile from which this profile will derive default
175
+ # values for its attributes.
176
+ # @rspec_example
177
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
178
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
179
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
159
180
  # @param [Hash] opts
160
181
  # @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
161
182
  def set_default_profile(opts)
@@ -165,9 +186,10 @@ module IControl::LocalLB
165
186
 
166
187
  ##
167
188
  # Sets the state that if true, persist the object key.
168
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
169
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
170
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
189
+ # @rspec_example
190
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
191
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
192
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
171
193
  # @param [Hash] opts
172
194
  # @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified profiles.
173
195
  def set_persist_object_key_state(opts)
@@ -177,9 +199,10 @@ module IControl::LocalLB
177
199
 
178
200
  ##
179
201
  # Sets the state that if true, persist the request ID.
180
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
181
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
182
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
202
+ # @rspec_example
203
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
204
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
205
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
183
206
  # @param [Hash] opts
184
207
  # @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified profiles.
185
208
  def set_persist_request_id_state(opts)
@@ -189,9 +212,10 @@ module IControl::LocalLB
189
212
 
190
213
  ##
191
214
  # Sets the response timeouts for this IIOP profile.
192
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
193
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
194
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
215
+ # @rspec_example
216
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
217
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
218
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
195
219
  # @param [Hash] opts
196
220
  # @option opts [IControl::LocalLB::ProfileULong] :timeouts The response timeouts.
197
221
  def set_response_timeout(opts)
@@ -202,18 +226,18 @@ module IControl::LocalLB
202
226
  ##
203
227
  # A struct that describes statistics for a particular IIOP profile.
204
228
  # @attr [String] profile_name The profile name.
205
- # @attr [IControl::Common::Statistic] statistics The statistics for the profile.
229
+ # @attr [IControl::Common::StatisticSequence] statistics The statistics for the profile.
206
230
  class ProfileIIOPStatisticEntry < IControl::Base::Struct
207
231
  icontrol_attribute :profile_name, String
208
- icontrol_attribute :statistics, IControl::Common::Statistic
232
+ icontrol_attribute :statistics, IControl::Common::StatisticSequence
209
233
  end
210
234
 
211
235
  ##
212
236
  # A struct that describes profile statistics and timestamp.
213
- # @attr [IControl::LocalLB::ProfileIIOP::ProfileIIOPStatisticEntry] statistics The statistics for a sequence of profiles.
237
+ # @attr [IControl::LocalLB::ProfileIIOP::ProfileIIOPStatisticEntrySequence] statistics The statistics for a sequence of profiles.
214
238
  # @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
215
239
  class ProfileIIOPStatistics < IControl::Base::Struct
216
- icontrol_attribute :statistics, IControl::LocalLB::ProfileIIOP::ProfileIIOPStatisticEntry
240
+ icontrol_attribute :statistics, IControl::LocalLB::ProfileIIOP::ProfileIIOPStatisticEntrySequence
217
241
  icontrol_attribute :time_stamp, IControl::Common::TimeStamp
218
242
  end
219
243
 
@@ -1,159 +1,181 @@
1
1
  module IControl::LocalLB
2
2
  ##
3
- # The ProfileOneConnect interface enables you to manipulate a local load balancer's OneConnect profile.
3
+ # The ProfileOneConnect interface enables you to manipulate a local load balancer's
4
+ # OneConnect profile.
4
5
  class ProfileOneConnect < IControl::Base
5
6
 
6
7
  set_id_name "profile_names"
7
8
 
8
9
  class ProfileOneConnectStatisticEntry < IControl::Base::Struct; end
9
- class ProfileOneConnectStatistics < IControl::Base::Struct; end ##
10
+ class ProfileOneConnectStatistics < IControl::Base::Struct; end
11
+ class ProfileOneConnectStatisticEntrySequence < IControl::Base::Sequence ; end ##
10
12
  # Creates this OneConnect profile.
11
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
12
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
13
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
13
+ # @rspec_example
14
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
15
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
16
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
14
17
  def create
15
18
  super
16
19
  end
17
20
 
18
21
  ##
19
22
  # Deletes all OneConnect profile.
20
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
21
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
22
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
23
+ # @rspec_example
24
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
25
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
26
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
23
27
  def delete_all_profiles
24
28
  super
25
29
  end
26
30
 
27
31
  ##
28
32
  # Deletes this OneConnect profile.
29
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
30
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
31
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
33
+ # @rspec_example
34
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
35
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
36
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
32
37
  def delete_profile
33
38
  super
34
39
  end
35
40
 
36
41
  ##
37
42
  # Gets the statistics for all the OneConnect profile.
43
+ # @rspec_example
38
44
  # @return [ProfileOneConnectStatistics]
39
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
40
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
41
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
45
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
46
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
47
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
42
48
  def all_statistics
43
49
  super
44
50
  end
45
51
 
46
52
  ##
47
- # Gets the names of the default profile from which this profile will derive default values for its attributes.
53
+ # Gets the names of the default profile from which this profile will derive default
54
+ # values for its attributes.
55
+ # @rspec_example
48
56
  # @return [String]
49
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
50
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
51
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
57
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
58
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
59
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
52
60
  def default_profile
53
61
  super
54
62
  end
55
63
 
56
64
  ##
57
65
  # Gets the idle timeouts for connections in this connection pools.
66
+ # @rspec_example
58
67
  # @return [ProfileULong]
59
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
60
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
61
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
68
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
69
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
70
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
62
71
  def idle_timeout
63
72
  super
64
73
  end
65
74
 
66
75
  ##
67
76
  # Gets a list of all OneConnect profile.
77
+ # @rspec_example
68
78
  # @return [String]
69
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
70
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
71
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
79
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
80
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
81
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
72
82
  def list
73
83
  super
74
84
  end
75
85
 
76
86
  ##
77
87
  # Gets the maximum age (in seconds) after which a connection should not be reused.
88
+ # @rspec_example
78
89
  # @return [ProfileULong]
79
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
80
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
81
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
90
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
91
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
92
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
82
93
  def maximum_age
83
94
  super
84
95
  end
85
96
 
86
97
  ##
87
98
  # Gets the maximum number of connections for this OneConnect profile.
99
+ # @rspec_example
88
100
  # @return [ProfileULong]
89
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
90
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
91
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
101
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
102
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
103
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
92
104
  def maximum_connection
93
105
  super
94
106
  end
95
107
 
96
108
  ##
97
109
  # Gets the maximum times the connections in the pool can be reused.
110
+ # @rspec_example
98
111
  # @return [ProfileULong]
99
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
100
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
101
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
112
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
113
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
114
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
102
115
  def maximum_reuse
103
116
  super
104
117
  end
105
118
 
106
119
  ##
107
- # Gets the masks applied to the source addresses to determine eligibility for connection reuse.
120
+ # Gets the masks applied to the source addresses to determine eligibility for connection
121
+ # reuse.
122
+ # @rspec_example
108
123
  # @return [ProfileIPAddress]
109
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
110
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
111
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
124
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
125
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
126
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
112
127
  def source_mask
113
128
  super
114
129
  end
115
130
 
116
131
  ##
117
132
  # Gets the statistics for this OneConnect profile.
133
+ # @rspec_example
118
134
  # @return [ProfileOneConnectStatistics]
119
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
120
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
121
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
135
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
136
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
137
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
122
138
  def statistics
123
139
  super
124
140
  end
125
141
 
126
142
  ##
127
143
  # Gets the version information for this interface.
144
+ # @rspec_example
128
145
  # @return [String]
129
146
  def version
130
147
  super
131
148
  end
132
149
 
133
150
  ##
134
- # Determines whether this profile are base/pre-configured profile, or user-defined profile.
151
+ # Determines whether this profile are base/pre-configured profile, or user-defined
152
+ # profile.
153
+ # @rspec_example
135
154
  # @return [boolean]
136
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
137
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
138
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
155
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
156
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
157
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
139
158
  def is_base_profile
140
159
  super
141
160
  end
142
161
 
143
162
  ##
144
163
  # Resets the statistics for this OneConnect profile.
145
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
146
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
147
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
164
+ # @rspec_example
165
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
166
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
167
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
148
168
  def reset_statistics
149
169
  super
150
170
  end
151
171
 
152
172
  ##
153
- # Sets the names of the default profile from which this profile will derive default values for its attributes.
154
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
155
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
156
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
173
+ # Sets the names of the default profile from which this profile will derive default
174
+ # values for its attributes.
175
+ # @rspec_example
176
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
177
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
178
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
157
179
  # @param [Hash] opts
158
180
  # @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
159
181
  def set_default_profile(opts)
@@ -163,9 +185,10 @@ module IControl::LocalLB
163
185
 
164
186
  ##
165
187
  # Sets the idle timeouts for connections in this connection pools.
166
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
167
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
168
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
188
+ # @rspec_example
189
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
190
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
191
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
169
192
  # @param [Hash] opts
170
193
  # @option opts [IControl::LocalLB::ProfileULong] :timeouts The idle timeouts for connections in the specified connection pools.
171
194
  def set_idle_timeout(opts)
@@ -175,9 +198,10 @@ module IControl::LocalLB
175
198
 
176
199
  ##
177
200
  # Sets the maximum age (in seconds) after which a connection should not be reused.
178
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
179
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
180
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
201
+ # @rspec_example
202
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
203
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
204
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
181
205
  # @param [Hash] opts
182
206
  # @option opts [IControl::LocalLB::ProfileULong] :maximum_ages The maximum age (in seconds) after which a connection should not be reused.
183
207
  def set_maximum_age(opts)
@@ -187,9 +211,10 @@ module IControl::LocalLB
187
211
 
188
212
  ##
189
213
  # Sets the maximum number of connections for this OneConnect profile.
190
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
191
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
192
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
214
+ # @rspec_example
215
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
216
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
217
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
193
218
  # @param [Hash] opts
194
219
  # @option opts [IControl::LocalLB::ProfileULong] :maximum_connections The maximum number of connections for the specified OneConnect profiles.
195
220
  def set_maximum_connection(opts)
@@ -199,9 +224,10 @@ module IControl::LocalLB
199
224
 
200
225
  ##
201
226
  # Sets the maximum times the connections in the pool can be reused.
202
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
203
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
204
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
227
+ # @rspec_example
228
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
229
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
230
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
205
231
  # @param [Hash] opts
206
232
  # @option opts [IControl::LocalLB::ProfileULong] :maximum_reuses The maximum times the connections in the pool can be reused.
207
233
  def set_maximum_reuse(opts)
@@ -210,10 +236,12 @@ module IControl::LocalLB
210
236
  end
211
237
 
212
238
  ##
213
- # Sets the masks applied to the source addresses to determine eligibility for connection reuse.
214
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
215
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
216
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
239
+ # Sets the masks applied to the source addresses to determine eligibility for connection
240
+ # reuse.
241
+ # @rspec_example
242
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
243
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
244
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
217
245
  # @param [Hash] opts
218
246
  # @option opts [IControl::LocalLB::ProfileIPAddress] :source_masks The masks applied to the source addresses to determine eligibility for connection reuse.
219
247
  def set_source_mask(opts)
@@ -224,18 +252,18 @@ module IControl::LocalLB
224
252
  ##
225
253
  # A struct that describes statistics for a particular OneConnect profile.
226
254
  # @attr [String] profile_name The profile name.
227
- # @attr [IControl::Common::Statistic] statistics The statistics for the profile.
255
+ # @attr [IControl::Common::StatisticSequence] statistics The statistics for the profile.
228
256
  class ProfileOneConnectStatisticEntry < IControl::Base::Struct
229
257
  icontrol_attribute :profile_name, String
230
- icontrol_attribute :statistics, IControl::Common::Statistic
258
+ icontrol_attribute :statistics, IControl::Common::StatisticSequence
231
259
  end
232
260
 
233
261
  ##
234
262
  # A struct that describes profile statistics and timestamp.
235
- # @attr [IControl::LocalLB::ProfileOneConnect::ProfileOneConnectStatisticEntry] statistics The statistics for a sequence of profiles.
263
+ # @attr [IControl::LocalLB::ProfileOneConnect::ProfileOneConnectStatisticEntrySequence] statistics The statistics for a sequence of profiles.
236
264
  # @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
237
265
  class ProfileOneConnectStatistics < IControl::Base::Struct
238
- icontrol_attribute :statistics, IControl::LocalLB::ProfileOneConnect::ProfileOneConnectStatisticEntry
266
+ icontrol_attribute :statistics, IControl::LocalLB::ProfileOneConnect::ProfileOneConnectStatisticEntrySequence
239
267
  icontrol_attribute :time_stamp, IControl::Common::TimeStamp
240
268
  end
241
269