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,174 @@
1
1
  module IControl::LocalLB
2
2
  ##
3
- # The ProfileDiameter interface enables you to manipulate a local load balancer's Diameter profile.
3
+ # The ProfileDiameter interface enables you to manipulate a local load balancer's Diameter
4
+ # profile.
4
5
  class ProfileDiameter < IControl::Base
5
6
 
6
7
  set_id_name "profile_names"
7
8
 
8
9
  class ProfileDiameterStatisticEntry < IControl::Base::Struct; end
9
- class ProfileDiameterStatistics < IControl::Base::Struct; end ##
10
+ class ProfileDiameterStatistics < IControl::Base::Struct; end
11
+ class ProfileDiameterStatisticEntrySequence < IControl::Base::Sequence ; end ##
10
12
  # Creates this Diameter 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 Diameter 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 Diameter 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 Diameter profile.
43
+ # @rspec_example
38
44
  # @return [ProfileDiameterStatistics]
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
- # Gets the realm to which a Diameter message is to be routed, overriding a destination realm present in the message. See set_destination_realm for more information.
65
+ # Gets the realm to which a Diameter message is to be routed, overriding a destination
66
+ # realm present in the message. See set_destination_realm for more information.
67
+ # @rspec_example
58
68
  # @return [ProfileString]
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.
69
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
70
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
71
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
62
72
  def destination_realm
63
73
  super
64
74
  end
65
75
 
66
76
  ##
67
77
  # Gets a list of all Diameter profile.
78
+ # @rspec_example
68
79
  # @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.
80
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
81
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
82
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
72
83
  def list
73
84
  super
74
85
  end
75
86
 
76
87
  ##
77
- # Gets the states to indicate whether overwrite destination host is enabled. See set_overwrite_destination_host_state for more information.
88
+ # Gets the states to indicate whether overwrite destination host is enabled. See set_overwrite_destination_host_state
89
+ # for more information.
90
+ # @rspec_example
78
91
  # @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.
92
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
93
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
94
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
82
95
  def overwrite_destination_host_state
83
96
  super
84
97
  end
85
98
 
86
99
  ##
87
- # Gets the Diameter Attribute Value Pair (AVP) used to indicate the parent AVP when the persist AVP is embedded in a grouped AVP. See set_persist_avp for more information on the AVP specification.
100
+ # Gets the Diameter Attribute Value Pair (AVP) used to indicate the parent AVP when
101
+ # the persist AVP is embedded in a grouped AVP. See set_persist_avp for more information
102
+ # on the AVP specification.
103
+ # @rspec_example
88
104
  # @return [ProfileString]
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.
105
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
106
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
107
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
92
108
  def parent_avp
93
109
  super
94
110
  end
95
111
 
96
112
  ##
97
- # Gets the the Diameter Attribute Value Pair (AVP) on which to persist for each of the profile given. See set_persist_avp for more information on the AVP specification.
113
+ # Gets the the Diameter Attribute Value Pair (AVP) on which to persist for each of
114
+ # the profile given. See set_persist_avp for more information on the AVP specification.
115
+ # @rspec_example
98
116
  # @return [ProfileString]
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.
117
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
118
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
119
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
102
120
  def persist_avp
103
121
  super
104
122
  end
105
123
 
106
124
  ##
107
125
  # Gets the statistics for this Diameter profile.
126
+ # @rspec_example
108
127
  # @return [ProfileDiameterStatistics]
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.
128
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
129
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
130
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
112
131
  def statistics
113
132
  super
114
133
  end
115
134
 
116
135
  ##
117
136
  # Gets the version information for this interface.
137
+ # @rspec_example
118
138
  # @return [String]
119
139
  def version
120
140
  super
121
141
  end
122
142
 
123
143
  ##
124
- # Determines whether this profile are base/pre-configured profile, or user-defined profile.
144
+ # Determines whether this profile are base/pre-configured profile, or user-defined
145
+ # profile.
146
+ # @rspec_example
125
147
  # @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.
148
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
149
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
150
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
129
151
  def is_base_profile
130
152
  super
131
153
  end
132
154
 
133
155
  ##
134
156
  # Resets the statistics for this Diameter 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.
157
+ # @rspec_example
158
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
159
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
160
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
138
161
  def reset_statistics
139
162
  super
140
163
  end
141
164
 
142
165
  ##
143
- # Sets the names of the default profile from which this profile will derive default values for its attributes.
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.
166
+ # Sets the names of the default profile from which this profile will derive default
167
+ # values for its attributes.
168
+ # @rspec_example
169
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
170
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
171
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
147
172
  # @param [Hash] opts
148
173
  # @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
149
174
  def set_default_profile(opts)
@@ -152,10 +177,13 @@ module IControl::LocalLB
152
177
  end
153
178
 
154
179
  ##
155
- # Sets the realm to which a Diameter message is to be routed, overriding a destination realm present in the message. If a message does not have a destination realm, then this setting has no effect.
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.
180
+ # Sets the realm to which a Diameter message is to be routed, overriding a destination
181
+ # realm present in the message. If a message does not have a destination realm, then
182
+ # this setting has no effect.
183
+ # @rspec_example
184
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
185
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
186
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
159
187
  # @param [Hash] opts
160
188
  # @option opts [IControl::LocalLB::ProfileString] :realms The destination realms for the specified profiles.
161
189
  def set_destination_realm(opts)
@@ -164,10 +192,13 @@ module IControl::LocalLB
164
192
  end
165
193
 
166
194
  ##
167
- # Sets the states to indicate whether overwrite destination host is enabled. If it is enabled, the system will overwrite the Destination-Host AVP (in a request) with the pool member's address.
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.
195
+ # Sets the states to indicate whether overwrite destination host is enabled. If it
196
+ # is enabled, the system will overwrite the Destination-Host AVP (in a request) with
197
+ # the pool member's address.
198
+ # @rspec_example
199
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
200
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
201
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
171
202
  # @param [Hash] opts
172
203
  # @option opts [IControl::LocalLB::ProfileEnabledState] :states The states to set.
173
204
  def set_overwrite_destination_host_state(opts)
@@ -176,10 +207,13 @@ module IControl::LocalLB
176
207
  end
177
208
 
178
209
  ##
179
- # Sets the Diameter Attribute Value Pair (AVP) used to indicate the parent AVP when the persist AVP is embedded in a grouped AVP. See set_persist_avp for more information on the AVP specification.
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.
210
+ # Sets the Diameter Attribute Value Pair (AVP) used to indicate the parent AVP when
211
+ # the persist AVP is embedded in a grouped AVP. See set_persist_avp for more information
212
+ # on the AVP specification.
213
+ # @rspec_example
214
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
215
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
216
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
183
217
  # @param [Hash] opts
184
218
  # @option opts [IControl::LocalLB::ProfileString] :avps The attribute value pair acting as parent for the persist AVP for the specified profiles.
185
219
  def set_parent_avp(opts)
@@ -188,10 +222,18 @@ module IControl::LocalLB
188
222
  end
189
223
 
190
224
  ##
191
- # Sets the Diameter Attribute Value Pair (AVP) on which to persist for each of the profile given. The AVP specification can be a string or a numeric code (1-4294967295), encoded as string. If the string is empty, or the code does not exist in the traffic coming to the system, then persist is disabled (if the name is not recognized, this method will produce an error). See RFC 3588, section 4.5, for valid base numeric codes. Valid names are as follows, in any mix of upper and lower case: &amp;quot;auth-application-id", &amp;quot;destination-host", &amp;quot;destination-realm", &amp;quot;origin-host", &amp;quot;origin-realm", &amp;quot;session-id", &amp;quot;subscription-id", &amp;quot;subscription-id-data".
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.
225
+ # Sets the Diameter Attribute Value Pair (AVP) on which to persist for each of the
226
+ # profile given. The AVP specification can be a string or a numeric code (1-4294967295),
227
+ # encoded as string. If the string is empty, or the code does not exist in the traffic
228
+ # coming to the system, then persist is disabled (if the name is not recognized, this
229
+ # method will produce an error). See RFC 3588, section 4.5, for valid base numeric
230
+ # codes. Valid names are as follows, in any mix of upper and lower case: &amp;quot;auth-application-id",
231
+ # &amp;quot;destination-host", &amp;quot;destination-realm", &amp;quot;origin-host",
232
+ # &amp;quot;origin-realm", &amp;quot;session-id", &amp;quot;subscription-id", &amp;quot;subscription-id-data".
233
+ # @rspec_example
234
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
235
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
236
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
195
237
  # @param [Hash] opts
196
238
  # @option opts [IControl::LocalLB::ProfileString] :avps The attribute value pair on which to persist for the specified profiles.
197
239
  def set_persist_avp(opts)
@@ -202,18 +244,18 @@ module IControl::LocalLB
202
244
  ##
203
245
  # A struct that describes statistics for a particular Diameter profile.
204
246
  # @attr [String] profile_name The profile name.
205
- # @attr [IControl::Common::Statistic] statistics The statistics for the profile.
247
+ # @attr [IControl::Common::StatisticSequence] statistics The statistics for the profile.
206
248
  class ProfileDiameterStatisticEntry < IControl::Base::Struct
207
249
  icontrol_attribute :profile_name, String
208
- icontrol_attribute :statistics, IControl::Common::Statistic
250
+ icontrol_attribute :statistics, IControl::Common::StatisticSequence
209
251
  end
210
252
 
211
253
  ##
212
254
  # A struct that describes profile statistics and timestamp.
213
- # @attr [IControl::LocalLB::ProfileDiameter::ProfileDiameterStatisticEntry] statistics The statistics for a sequence of profiles.
255
+ # @attr [IControl::LocalLB::ProfileDiameter::ProfileDiameterStatisticEntrySequence] statistics The statistics for a sequence of profiles.
214
256
  # @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
215
257
  class ProfileDiameterStatistics < IControl::Base::Struct
216
- icontrol_attribute :statistics, IControl::LocalLB::ProfileDiameter::ProfileDiameterStatisticEntry
258
+ icontrol_attribute :statistics, IControl::LocalLB::ProfileDiameter::ProfileDiameterStatisticEntrySequence
217
259
  icontrol_attribute :time_stamp, IControl::Common::TimeStamp
218
260
  end
219
261
 
@@ -6,114 +6,131 @@ module IControl::LocalLB
6
6
  set_id_name "profile_names"
7
7
 
8
8
  class ProfileDNSStatisticEntry < IControl::Base::Struct; end
9
- class ProfileDNSStatistics < IControl::Base::Struct; end ##
9
+ class ProfileDNSStatistics < IControl::Base::Struct; end
10
+ class ProfileDNSStatisticEntrySequence < IControl::Base::Sequence ; end ##
10
11
  # Creates this DNS 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.
12
+ # @rspec_example
13
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
14
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
15
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
14
16
  def create
15
17
  super
16
18
  end
17
19
 
18
20
  ##
19
21
  # Deletes all DNS 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.
22
+ # @rspec_example
23
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
24
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
25
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
23
26
  def delete_all_profiles
24
27
  super
25
28
  end
26
29
 
27
30
  ##
28
31
  # Deletes this DNS 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.
32
+ # @rspec_example
33
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
34
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
35
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
32
36
  def delete_profile
33
37
  super
34
38
  end
35
39
 
36
40
  ##
37
41
  # Gets the statistics for all the DNS profile.
42
+ # @rspec_example
38
43
  # @return [ProfileDNSStatistics]
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.
44
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
45
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
46
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
42
47
  def all_statistics
43
48
  super
44
49
  end
45
50
 
46
51
  ##
47
- # Gets the names of the default profile from which this profile will derive default values for its attributes.
52
+ # Gets the names of the default profile from which this profile will derive default
53
+ # values for its attributes.
54
+ # @rspec_example
48
55
  # @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.
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 default_profile
53
60
  super
54
61
  end
55
62
 
56
63
  ##
57
- # Gets the state that if true, allows GTM to handle DNS resolution for DNS queries and responses that contain wide IP names.
64
+ # Gets the state that if true, allows GTM to handle DNS resolution for DNS queries
65
+ # and responses that contain wide IP names.
66
+ # @rspec_example
58
67
  # @return [ProfileEnabledState]
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 gtm_enabled_state
63
72
  super
64
73
  end
65
74
 
66
75
  ##
67
76
  # Gets a list of all DNS 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 statistics for this DNS profile.
88
+ # @rspec_example
78
89
  # @return [ProfileDNSStatistics]
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 statistics
83
94
  super
84
95
  end
85
96
 
86
97
  ##
87
98
  # Gets the version information for this interface.
99
+ # @rspec_example
88
100
  # @return [String]
89
101
  def version
90
102
  super
91
103
  end
92
104
 
93
105
  ##
94
- # Determines whether this profile are base/pre-configured profile, or user-defined profile.
106
+ # Determines whether this profile are base/pre-configured profile, or user-defined
107
+ # profile.
108
+ # @rspec_example
95
109
  # @return [boolean]
96
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
97
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
98
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
110
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
111
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
112
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
99
113
  def is_base_profile
100
114
  super
101
115
  end
102
116
 
103
117
  ##
104
118
  # Resets the statistics for this DNS profile.
105
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
106
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
107
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
119
+ # @rspec_example
120
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
121
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
122
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
108
123
  def reset_statistics
109
124
  super
110
125
  end
111
126
 
112
127
  ##
113
- # Sets the names of the default profile from which this profile will derive default values for its attributes.
114
- # @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
115
- # @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
116
- # @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
128
+ # Sets the names of the default profile from which this profile will derive default
129
+ # values for its attributes.
130
+ # @rspec_example
131
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
132
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
133
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
117
134
  # @param [Hash] opts
118
135
  # @option opts [String] :defaults The default profiles from which the specified profiles will get default values.
119
136
  def set_default_profile(opts)
@@ -122,10 +139,12 @@ module IControl::LocalLB
122
139
  end
123
140
 
124
141
  ##
125
- # Sets the state that if true, allows GTM to handle DNS resolution for DNS queries and responses that contain wide IP names.
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.
142
+ # Sets the state that if true, allows GTM to handle DNS resolution for DNS queries
143
+ # and responses that contain wide IP names.
144
+ # @rspec_example
145
+ # @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
146
+ # @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
147
+ # @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
129
148
  # @param [Hash] opts
130
149
  # @option opts [IControl::LocalLB::ProfileEnabledState] :states The states for the specified profiles.
131
150
  def set_gtm_enabled_state(opts)
@@ -136,18 +155,18 @@ module IControl::LocalLB
136
155
  ##
137
156
  # A struct that describes statistics for a particular DNS profile.
138
157
  # @attr [String] profile_name The profile name.
139
- # @attr [IControl::Common::Statistic] statistics The statistics for the profile.
158
+ # @attr [IControl::Common::StatisticSequence] statistics The statistics for the profile.
140
159
  class ProfileDNSStatisticEntry < IControl::Base::Struct
141
160
  icontrol_attribute :profile_name, String
142
- icontrol_attribute :statistics, IControl::Common::Statistic
161
+ icontrol_attribute :statistics, IControl::Common::StatisticSequence
143
162
  end
144
163
 
145
164
  ##
146
165
  # A struct that describes profile statistics and timestamp.
147
- # @attr [IControl::LocalLB::ProfileDNS::ProfileDNSStatisticEntry] statistics The statistics for a sequence of profiles.
166
+ # @attr [IControl::LocalLB::ProfileDNS::ProfileDNSStatisticEntrySequence] statistics The statistics for a sequence of profiles.
148
167
  # @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
149
168
  class ProfileDNSStatistics < IControl::Base::Struct
150
- icontrol_attribute :statistics, IControl::LocalLB::ProfileDNS::ProfileDNSStatisticEntry
169
+ icontrol_attribute :statistics, IControl::LocalLB::ProfileDNS::ProfileDNSStatisticEntrySequence
151
170
  icontrol_attribute :time_stamp, IControl::Common::TimeStamp
152
171
  end
153
172