icontrol 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/icontrol/arx.rb +38 -8
- data/lib/icontrol/arx/api.rb +1 -0
- data/lib/icontrol/arx/chassis.rb +11 -0
- data/lib/icontrol/arx/export.rb +4 -1
- data/lib/icontrol/arx/file_change_notification.rb +25 -4
- data/lib/icontrol/arx/file_server.rb +2 -0
- data/lib/icontrol/arx/namespace.rb +2 -0
- data/lib/icontrol/arx/network.rb +3 -0
- data/lib/icontrol/arx/policy.rb +3 -0
- data/lib/icontrol/arx/share.rb +2 -0
- data/lib/icontrol/arx/virtual_service.rb +3 -0
- data/lib/icontrol/arx/volume.rb +2 -0
- data/lib/icontrol/asm.rb +18 -3
- data/lib/icontrol/asm/object_params.rb +12 -6
- data/lib/icontrol/asm/policy.rb +118 -79
- data/lib/icontrol/asm/system_configuration.rb +27 -19
- data/lib/icontrol/asm/web_application.rb +74 -52
- data/lib/icontrol/asm/web_application_group.rb +33 -24
- data/lib/icontrol/base.rb +1 -0
- data/lib/icontrol/base/exception.rb +1 -0
- data/lib/icontrol/base/icontrol/local_lb/pool.rb +7 -0
- data/lib/icontrol/base/icontrol_overlay.rb +6 -0
- data/lib/icontrol/base/predeclarations.rb +5 -4
- data/lib/icontrol/base/struct.rb +6 -2
- data/lib/icontrol/common.rb +55 -4
- data/lib/icontrol/global_lb.rb +22 -3
- data/lib/icontrol/global_lb/application.rb +63 -44
- data/lib/icontrol/global_lb/data_center.rb +82 -58
- data/lib/icontrol/global_lb/dnssec_key.rb +152 -90
- data/lib/icontrol/global_lb/dnssec_zone.rb +55 -35
- data/lib/icontrol/global_lb/globals.rb +662 -430
- data/lib/icontrol/global_lb/link.rb +181 -131
- data/lib/icontrol/global_lb/monitor.rb +174 -104
- data/lib/icontrol/global_lb/pool.rb +290 -203
- data/lib/icontrol/global_lb/pool_member.rb +118 -71
- data/lib/icontrol/global_lb/region.rb +37 -25
- data/lib/icontrol/global_lb/rule.rb +53 -37
- data/lib/icontrol/global_lb/server.rb +176 -124
- data/lib/icontrol/global_lb/topology.rb +41 -27
- data/lib/icontrol/global_lb/virtual_server.rb +118 -84
- data/lib/icontrol/global_lb/wide_ip.rb +168 -117
- data/lib/icontrol/local_lb.rb +81 -10
- data/lib/icontrol/local_lb/klass.rb +233 -153
- data/lib/icontrol/local_lb/monitor.rb +158 -96
- data/lib/icontrol/local_lb/nat.rb +74 -52
- data/lib/icontrol/local_lb/node_address.rb +123 -86
- data/lib/icontrol/local_lb/pool.rb +229 -164
- data/lib/icontrol/local_lb/pool_member.rb +134 -76
- data/lib/icontrol/local_lb/profile_auth.rb +103 -75
- data/lib/icontrol/local_lb/profile_client_ssl.rb +284 -201
- data/lib/icontrol/local_lb/profile_diameter.rb +113 -71
- data/lib/icontrol/local_lb/profile_dns.rb +65 -46
- data/lib/icontrol/local_lb/profile_fast_http.rb +265 -178
- data/lib/icontrol/local_lb/profile_fast_l4.rb +283 -194
- data/lib/icontrol/local_lb/profile_ftp.rb +81 -58
- data/lib/icontrol/local_lb/profile_http.rb +701 -433
- data/lib/icontrol/local_lb/profile_http_class.rb +169 -121
- data/lib/icontrol/local_lb/profile_iiop.rb +87 -63
- data/lib/icontrol/local_lb/profile_one_connect.rb +99 -71
- data/lib/icontrol/local_lb/profile_persistence.rb +326 -203
- data/lib/icontrol/local_lb/profile_radius.rb +94 -62
- data/lib/icontrol/local_lb/profile_rtsp.rb +207 -129
- data/lib/icontrol/local_lb/profile_sctp.rb +231 -167
- data/lib/icontrol/local_lb/profile_server_ssl.rb +268 -189
- data/lib/icontrol/local_lb/profile_sip.rb +145 -99
- data/lib/icontrol/local_lb/profile_stream.rb +71 -51
- data/lib/icontrol/local_lb/profile_tcp.rb +455 -296
- data/lib/icontrol/local_lb/profile_udp.rb +109 -78
- data/lib/icontrol/local_lb/profile_user_statistic.rb +77 -46
- data/lib/icontrol/local_lb/profile_xml.rb +116 -79
- data/lib/icontrol/local_lb/ram_cache_information.rb +43 -20
- data/lib/icontrol/local_lb/rate_class.rb +523 -318
- data/lib/icontrol/local_lb/rule.rb +53 -37
- data/lib/icontrol/local_lb/snat.rb +96 -65
- data/lib/icontrol/local_lb/snat_pool.rb +54 -39
- data/lib/icontrol/local_lb/snat_pool_member.rb +22 -15
- data/lib/icontrol/local_lb/snat_translation_address.rb +94 -69
- data/lib/icontrol/local_lb/virtual_address.rb +99 -70
- data/lib/icontrol/local_lb/virtual_server.rb +358 -243
- data/lib/icontrol/lt_config.rb +8 -1
- data/lib/icontrol/lt_config/field.rb +87 -53
- data/lib/icontrol/lt_config/klass.rb +59 -43
- data/lib/icontrol/management.rb +80 -38
- data/lib/icontrol/management/ccldap_configuration.rb +218 -144
- data/lib/icontrol/management/change_control.rb +67 -41
- data/lib/icontrol/management/crldp_configuration.rb +73 -52
- data/lib/icontrol/management/crldp_server.rb +55 -39
- data/lib/icontrol/management/db_variable.rb +32 -21
- data/lib/icontrol/management/event_notification.rb +19 -8
- data/lib/icontrol/management/event_subscription.rb +121 -74
- data/lib/icontrol/management/key_certificate.rb +235 -138
- data/lib/icontrol/management/ldap_configuration.rb +249 -179
- data/lib/icontrol/management/license_administration.rb +97 -56
- data/lib/icontrol/management/named.rb +103 -67
- data/lib/icontrol/management/ocsp_configuration.rb +33 -24
- data/lib/icontrol/management/ocsp_responder.rb +294 -165
- data/lib/icontrol/management/partition.rb +42 -23
- data/lib/icontrol/management/provision.rb +73 -39
- data/lib/icontrol/management/radius_configuration.rb +85 -57
- data/lib/icontrol/management/radius_server.rb +51 -37
- data/lib/icontrol/management/resource_record.rb +163 -121
- data/lib/icontrol/management/snmp_configuration.rb +675 -390
- data/lib/icontrol/management/tacacs_configuration.rb +99 -67
- data/lib/icontrol/management/tmos_module.rb +20 -8
- data/lib/icontrol/management/user_management.rb +198 -124
- data/lib/icontrol/management/view.rb +33 -24
- data/lib/icontrol/management/zone.rb +49 -34
- data/lib/icontrol/management/zone_runner.rb +11 -7
- data/lib/icontrol/networking.rb +31 -4
- data/lib/icontrol/networking/admin_ip.rb +92 -71
- data/lib/icontrol/networking/arp.rb +41 -28
- data/lib/icontrol/networking/i_session_advertised_route.rb +47 -32
- data/lib/icontrol/networking/i_session_local_interface.rb +72 -52
- data/lib/icontrol/networking/i_session_peer_discovery.rb +105 -68
- data/lib/icontrol/networking/i_session_remote_interface.rb +105 -76
- data/lib/icontrol/networking/interfaces.rb +241 -142
- data/lib/icontrol/networking/packet_filter.rb +111 -69
- data/lib/icontrol/networking/packet_filter_globals.rb +39 -28
- data/lib/icontrol/networking/port_mirror.rb +39 -27
- data/lib/icontrol/networking/profile_gre.rb +63 -41
- data/lib/icontrol/networking/profile_ipip.rb +38 -25
- data/lib/icontrol/networking/profile_wccpgre.rb +85 -55
- data/lib/icontrol/networking/route_domain.rb +70 -44
- data/lib/icontrol/networking/route_table.rb +128 -91
- data/lib/icontrol/networking/self_ip.rb +57 -39
- data/lib/icontrol/networking/self_ip_port_lockdown.rb +34 -22
- data/lib/icontrol/networking/stp_globals.rb +115 -63
- data/lib/icontrol/networking/stp_instance.rb +166 -68
- data/lib/icontrol/networking/trunk.rb +165 -101
- data/lib/icontrol/networking/tunnel.rb +77 -52
- data/lib/icontrol/networking/vlan.rb +140 -98
- data/lib/icontrol/networking/vlan_group.rb +145 -101
- data/lib/icontrol/system.rb +70 -33
- data/lib/icontrol/system/cluster.rb +103 -81
- data/lib/icontrol/system/config_sync.rb +128 -72
- data/lib/icontrol/system/connections.rb +27 -17
- data/lib/icontrol/system/disk.rb +134 -67
- data/lib/icontrol/system/failover.rb +44 -27
- data/lib/icontrol/system/geo_ip.rb +16 -5
- data/lib/icontrol/system/inet.rb +47 -30
- data/lib/icontrol/system/internal.rb +13 -9
- data/lib/icontrol/system/services.rb +75 -42
- data/lib/icontrol/system/software_management.rb +132 -83
- data/lib/icontrol/system/statistics.rb +443 -298
- data/lib/icontrol/system/system_info.rb +137 -95
- data/lib/icontrol/web_accelerator/applications.rb +17 -10
- data/lib/icontrol/web_accelerator/policies.rb +13 -9
- data/lib/icontrol/web_accelerator/proxy_message.rb +11 -7
- data/spec/icontrol/local_lb/pool_member_spec.rb +495 -0
- data/spec/icontrol/local_lb/profile_http_class_spec.rb +514 -0
- metadata +10 -4
@@ -1,17 +1,23 @@
|
|
1
1
|
module IControl::LocalLB
|
2
2
|
##
|
3
|
-
# The NAT interface enables you to work with the statistics and definitions contained
|
3
|
+
# The NAT interface enables you to work with the statistics and definitions contained
|
4
|
+
# in a local load balancer's network address translations (NAT). For example, use the
|
5
|
+
# NAT interface to both get and set the NAT statistics and attributes of a local load
|
6
|
+
# balancer.
|
4
7
|
class NAT < IControl::Base
|
5
8
|
|
6
9
|
set_id_name "nat_definitions"
|
7
10
|
|
8
11
|
class NATDefinition < IControl::Base::Struct; end
|
9
12
|
class NATStatisticEntry < IControl::Base::Struct; end
|
10
|
-
class NATStatistics < IControl::Base::Struct; end
|
13
|
+
class NATStatistics < IControl::Base::Struct; end
|
14
|
+
class NATDefinitionSequence < IControl::Base::Sequence ; end
|
15
|
+
class NATStatisticEntrySequence < IControl::Base::Sequence ; end ##
|
11
16
|
# Creates this NATs.
|
12
|
-
# @
|
13
|
-
# @raise [IControl::Common::
|
14
|
-
# @raise [IControl::Common::
|
17
|
+
# @rspec_example
|
18
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
19
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
20
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
15
21
|
# @param [Hash] opts
|
16
22
|
# @option opts [long] :unit_ids The controller for the NATs in an active-active, redundant load balancer configuration.
|
17
23
|
# @option opts [IControl::Common::VLANFilterList] :vlans The list of VLANs used to filter the client connections on ingress VLAN.
|
@@ -22,84 +28,94 @@ module IControl::LocalLB
|
|
22
28
|
|
23
29
|
##
|
24
30
|
# Deletes all NATs.
|
25
|
-
# @
|
26
|
-
# @raise [IControl::Common::
|
27
|
-
# @raise [IControl::Common::
|
31
|
+
# @rspec_example
|
32
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
33
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
34
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
28
35
|
def delete_all_nats
|
29
36
|
super
|
30
37
|
end
|
31
38
|
|
32
39
|
##
|
33
40
|
# Deletes this NATs.
|
34
|
-
# @
|
35
|
-
# @raise [IControl::Common::
|
36
|
-
# @raise [IControl::Common::
|
41
|
+
# @rspec_example
|
42
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
43
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
44
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
37
45
|
def delete_nat
|
38
46
|
super
|
39
47
|
end
|
40
48
|
|
41
49
|
##
|
42
50
|
# Gets statistics for all NATs.
|
51
|
+
# @rspec_example
|
43
52
|
# @return [NATStatistics]
|
44
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
45
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
46
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
53
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
54
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
55
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
47
56
|
def all_statistics
|
48
57
|
super
|
49
58
|
end
|
50
59
|
|
51
60
|
##
|
52
61
|
# Gets the ARP states for this NATs.
|
62
|
+
# @rspec_example
|
53
63
|
# @return [EnabledState]
|
54
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
55
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
56
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
64
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
65
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
66
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
57
67
|
def arp_state
|
58
68
|
super
|
59
69
|
end
|
60
70
|
|
61
71
|
##
|
62
72
|
# Gets the states of this NAT addresses.
|
73
|
+
# @rspec_example
|
63
74
|
# @return [EnabledState]
|
64
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
65
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
66
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
75
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
76
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
77
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
67
78
|
def enabled_state
|
68
79
|
super
|
69
80
|
end
|
70
81
|
|
71
82
|
##
|
72
83
|
# Gets a sequence of all NAT definitions.
|
84
|
+
# @rspec_example
|
73
85
|
# @return [NATDefinition]
|
74
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
75
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
76
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
86
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
87
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
88
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
77
89
|
def list
|
78
90
|
super
|
79
91
|
end
|
80
92
|
|
81
93
|
##
|
82
94
|
# Gets statistics for a sequence of NATs.
|
95
|
+
# @rspec_example
|
83
96
|
# @return [NATStatistics]
|
84
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
85
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
86
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
97
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
98
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
99
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
87
100
|
def statistics
|
88
101
|
super
|
89
102
|
end
|
90
103
|
|
91
104
|
##
|
92
|
-
# Gets the controller to which this NATs apply in an active-active, redundant load
|
105
|
+
# Gets the controller to which this NATs apply in an active-active, redundant load
|
106
|
+
# balancer configuration.
|
107
|
+
# @rspec_example
|
93
108
|
# @return [long]
|
94
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
95
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
96
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
109
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
110
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
111
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
97
112
|
def unit_id
|
98
113
|
super
|
99
114
|
end
|
100
115
|
|
101
116
|
##
|
102
117
|
# Gets the version information for this interface.
|
118
|
+
# @rspec_example
|
103
119
|
# @return [String]
|
104
120
|
def version
|
105
121
|
super
|
@@ -107,28 +123,31 @@ module IControl::LocalLB
|
|
107
123
|
|
108
124
|
##
|
109
125
|
# Gets the lists of VLANs on which access to this NATs is disabled.
|
126
|
+
# @rspec_example
|
110
127
|
# @return [VLANFilterList]
|
111
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
112
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
113
|
-
# @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.
|
114
131
|
def vlan
|
115
132
|
super
|
116
133
|
end
|
117
134
|
|
118
135
|
##
|
119
136
|
# Resets statistics for a NAT.
|
120
|
-
# @
|
121
|
-
# @raise [IControl::Common::
|
122
|
-
# @raise [IControl::Common::
|
137
|
+
# @rspec_example
|
138
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
139
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
140
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
123
141
|
def reset_statistics
|
124
142
|
super
|
125
143
|
end
|
126
144
|
|
127
145
|
##
|
128
146
|
# Sets the ARP states for this NATs.
|
129
|
-
# @
|
130
|
-
# @raise [IControl::Common::
|
131
|
-
# @raise [IControl::Common::
|
147
|
+
# @rspec_example
|
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.
|
132
151
|
# @param [Hash] opts
|
133
152
|
# @option opts [IControl::Common::EnabledState] :states The ARP states to set.
|
134
153
|
def set_arp_state(opts)
|
@@ -138,9 +157,10 @@ module IControl::LocalLB
|
|
138
157
|
|
139
158
|
##
|
140
159
|
# Sets the state for a list of NAT addresses.
|
141
|
-
# @
|
142
|
-
# @raise [IControl::Common::
|
143
|
-
# @raise [IControl::Common::
|
160
|
+
# @rspec_example
|
161
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
162
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
163
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
144
164
|
# @param [Hash] opts
|
145
165
|
# @option opts [IControl::Common::EnabledState] :states Enable or disable the specified SNAT translation addresses.
|
146
166
|
def set_enabled_state(opts)
|
@@ -150,9 +170,10 @@ module IControl::LocalLB
|
|
150
170
|
|
151
171
|
##
|
152
172
|
# Sets the Unit IDs for this NATs.
|
153
|
-
# @
|
154
|
-
# @raise [IControl::Common::
|
155
|
-
# @raise [IControl::Common::
|
173
|
+
# @rspec_example
|
174
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
175
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
176
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
156
177
|
# @param [Hash] opts
|
157
178
|
# @option opts [long] :unit_ids The Unit IDs to set.
|
158
179
|
def set_unit_id(opts)
|
@@ -162,9 +183,10 @@ module IControl::LocalLB
|
|
162
183
|
|
163
184
|
##
|
164
185
|
# Adds VLANSs to the list of VLANs on which access to this NATs is disabled.
|
165
|
-
# @
|
166
|
-
# @raise [IControl::Common::
|
167
|
-
# @raise [IControl::Common::
|
186
|
+
# @rspec_example
|
187
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
188
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
189
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
168
190
|
# @param [Hash] opts
|
169
191
|
# @option opts [IControl::Common::VLANFilterList] :vlans The VLAN names to add to the list of enabled/disabled VLANs .
|
170
192
|
def set_vlan(opts)
|
@@ -184,18 +206,18 @@ module IControl::LocalLB
|
|
184
206
|
##
|
185
207
|
# A struct that describes a NAT statistic entry for a particular NAT address.
|
186
208
|
# @attr [IControl::LocalLB::NAT::NATDefinition] nat The NAT address.
|
187
|
-
# @attr [IControl::Common::
|
209
|
+
# @attr [IControl::Common::StatisticSequence] statistics The NAT statistics.
|
188
210
|
class NATStatisticEntry < IControl::Base::Struct
|
189
211
|
icontrol_attribute :nat, IControl::LocalLB::NAT::NATDefinition
|
190
|
-
icontrol_attribute :statistics, IControl::Common::
|
212
|
+
icontrol_attribute :statistics, IControl::Common::StatisticSequence
|
191
213
|
end
|
192
214
|
|
193
215
|
##
|
194
216
|
# A struct that describes NAT statistics and timestamp.
|
195
|
-
# @attr [IControl::LocalLB::NAT::
|
217
|
+
# @attr [IControl::LocalLB::NAT::NATStatisticEntrySequence] statistics The statistics for a sequence of NATs .
|
196
218
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
|
197
219
|
class NATStatistics < IControl::Base::Struct
|
198
|
-
icontrol_attribute :statistics, IControl::LocalLB::NAT::
|
220
|
+
icontrol_attribute :statistics, IControl::LocalLB::NAT::NATStatisticEntrySequence
|
199
221
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
200
222
|
end
|
201
223
|
|
@@ -1,6 +1,8 @@
|
|
1
1
|
module IControl::LocalLB
|
2
2
|
##
|
3
|
-
# The NodeAddress interface enables you to work with the states, statistics, limits,
|
3
|
+
# The NodeAddress interface enables you to work with the states, statistics, limits,
|
4
|
+
# availability, ratios, application response deltas, and monitors of a local load balancer's
|
5
|
+
# node address.
|
4
6
|
class NodeAddress < IControl::Base
|
5
7
|
|
6
8
|
set_id_name "node_addresses"
|
@@ -8,11 +10,15 @@ module IControl::LocalLB
|
|
8
10
|
class MonitorAssociation < IControl::Base::Struct; end
|
9
11
|
class MonitorAssociationRemoval < IControl::Base::Struct; end
|
10
12
|
class NodeAddressStatisticEntry < IControl::Base::Struct; end
|
11
|
-
class NodeAddressStatistics < IControl::Base::Struct; end
|
13
|
+
class NodeAddressStatistics < IControl::Base::Struct; end
|
14
|
+
class MonitorAssociationRemovalSequence < IControl::Base::Sequence ; end
|
15
|
+
class MonitorAssociationSequence < IControl::Base::Sequence ; end
|
16
|
+
class NodeAddressStatisticEntrySequence < IControl::Base::Sequence ; end ##
|
12
17
|
# Creates this node addresse.
|
13
|
-
# @
|
14
|
-
# @raise [IControl::Common::
|
15
|
-
# @raise [IControl::Common::
|
18
|
+
# @rspec_example
|
19
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
20
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
21
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
16
22
|
# @param [Hash] opts
|
17
23
|
# @option opts [long] :limits The connection limits.
|
18
24
|
def create(opts)
|
@@ -22,68 +28,76 @@ module IControl::LocalLB
|
|
22
28
|
|
23
29
|
##
|
24
30
|
# Deletes all node addresse.
|
25
|
-
# @
|
26
|
-
# @raise [IControl::Common::
|
27
|
-
# @raise [IControl::Common::
|
31
|
+
# @rspec_example
|
32
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
33
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
34
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
28
35
|
def delete_all_node_addresses
|
29
36
|
super
|
30
37
|
end
|
31
38
|
|
32
39
|
##
|
33
40
|
# Deletes this node addresse.
|
34
|
-
# @
|
35
|
-
# @raise [IControl::Common::
|
36
|
-
# @raise [IControl::Common::
|
41
|
+
# @rspec_example
|
42
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
43
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
44
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
37
45
|
def delete_node_address
|
38
46
|
super
|
39
47
|
end
|
40
48
|
|
41
49
|
##
|
42
50
|
# Gets the statistics for all the node addresse.
|
51
|
+
# @rspec_example
|
43
52
|
# @return [NodeAddressStatistics]
|
44
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
45
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
46
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
53
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
54
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
55
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
47
56
|
def all_statistics
|
48
57
|
super
|
49
58
|
end
|
50
59
|
|
51
60
|
##
|
52
61
|
# Gets the connection limits for this node addresse.
|
62
|
+
# @rspec_example
|
53
63
|
# @return [ULong64]
|
54
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
55
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
56
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
64
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
65
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
66
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
57
67
|
def connection_limit
|
58
68
|
super
|
59
69
|
end
|
60
70
|
|
61
71
|
##
|
62
72
|
# Gets the dynamic ratios of a node addresse.
|
73
|
+
# @rspec_example
|
63
74
|
# @return [short]
|
64
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
65
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
66
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
75
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
76
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
77
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
67
78
|
def dynamic_ratio
|
68
79
|
super
|
69
80
|
end
|
70
81
|
|
71
82
|
##
|
72
83
|
# Gets a list of all node addresse.
|
84
|
+
# @rspec_example
|
73
85
|
# @return [String]
|
74
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
75
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
76
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
86
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
87
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
88
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
77
89
|
def list
|
78
90
|
super
|
79
91
|
end
|
80
92
|
|
81
93
|
##
|
82
|
-
# Gets the monitor associations used by this node addresse, i.e. the monitor rules
|
94
|
+
# Gets the monitor associations used by this node addresse, i.e. the monitor rules
|
95
|
+
# used by the node addresse.
|
96
|
+
# @rspec_example
|
83
97
|
# @return [MonitorAssociation]
|
84
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
85
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
86
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
98
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
99
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
100
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
87
101
|
# @param [Hash] opts
|
88
102
|
# @option opts [IControl::LocalLB::MonitorIP] :addresses The node addresses.
|
89
103
|
def monitor_association(opts)
|
@@ -93,10 +107,11 @@ module IControl::LocalLB
|
|
93
107
|
|
94
108
|
##
|
95
109
|
# Gets the monitor instance information for this node addresse.
|
110
|
+
# @rspec_example
|
96
111
|
# @return [MonitorInstanceState[]]
|
97
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
98
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
99
|
-
# @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.
|
100
115
|
# @param [Hash] opts
|
101
116
|
# @option opts [IControl::LocalLB::MonitorIP] :addresses The node addresses.
|
102
117
|
def monitor_instance(opts)
|
@@ -106,86 +121,98 @@ module IControl::LocalLB
|
|
106
121
|
|
107
122
|
##
|
108
123
|
# Gets the current availability status of this node addresse.
|
124
|
+
# @rspec_example
|
109
125
|
# @return [MonitorStatus]
|
110
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
111
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
112
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
126
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
127
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
128
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
113
129
|
def monitor_status
|
114
130
|
super
|
115
131
|
end
|
116
132
|
|
117
133
|
##
|
118
134
|
# Gets the statuses of this node addresse.
|
135
|
+
# @rspec_example
|
119
136
|
# @return [ObjectStatus]
|
120
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
121
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
122
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
137
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
138
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
139
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
123
140
|
def object_status
|
124
141
|
super
|
125
142
|
end
|
126
143
|
|
127
144
|
##
|
128
145
|
# Gets the ratios for this node addresse.
|
146
|
+
# @rspec_example
|
129
147
|
# @return [long]
|
130
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
131
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
132
|
-
# @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.
|
133
151
|
def ratio
|
134
152
|
super
|
135
153
|
end
|
136
154
|
|
137
155
|
##
|
138
156
|
# Gets the screen names for this node addresse.
|
157
|
+
# @rspec_example
|
139
158
|
# @return [String]
|
140
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
141
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
142
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
159
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
160
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
161
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
143
162
|
def screen_name
|
144
163
|
super
|
145
164
|
end
|
146
165
|
|
147
166
|
##
|
148
|
-
# Note: This function has been deprecated. Please use get_session_status. Gets the
|
167
|
+
# Note: This function has been deprecated. Please use get_session_status. Gets the
|
168
|
+
# states that allows new sessions to be established for this node addresse.
|
169
|
+
# @rspec_example
|
149
170
|
# @return [EnabledState]
|
150
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
151
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
152
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
171
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
172
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
173
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
153
174
|
def session_enabled_state
|
154
175
|
super
|
155
176
|
end
|
156
177
|
|
157
178
|
##
|
158
179
|
# Gets the current session statuses of this node addresse.
|
180
|
+
# @rspec_example
|
159
181
|
# @return [SessionStatus]
|
160
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
161
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
162
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
182
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
183
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
184
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
163
185
|
def session_status
|
164
186
|
super
|
165
187
|
end
|
166
188
|
|
167
189
|
##
|
168
190
|
# Gets the statistics for this node.
|
191
|
+
# @rspec_example
|
169
192
|
# @return [NodeAddressStatistics]
|
170
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
171
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
172
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
193
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
194
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
195
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
173
196
|
def statistics
|
174
197
|
super
|
175
198
|
end
|
176
199
|
|
177
200
|
##
|
178
201
|
# Gets the version information for this interface.
|
202
|
+
# @rspec_example
|
179
203
|
# @return [String]
|
180
204
|
def version
|
181
205
|
super
|
182
206
|
end
|
183
207
|
|
184
208
|
##
|
185
|
-
# Removes the monitor associations for this node addresse. This basically deletes the
|
186
|
-
#
|
187
|
-
#
|
188
|
-
# @
|
209
|
+
# Removes the monitor associations for this node addresse. This basically deletes the
|
210
|
+
# monitor associations between a node address and a monitor rule, i.e. this node address
|
211
|
+
# will no longer be monitored.
|
212
|
+
# @rspec_example
|
213
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
214
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
215
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
189
216
|
# @param [Hash] opts
|
190
217
|
# @option opts [IControl::LocalLB::NodeAddress::MonitorAssociationRemoval] :monitor_associations The monitor association removal rules that will be used to remove the monitor associations for the specified node addresses.
|
191
218
|
def remove_monitor_association(opts)
|
@@ -195,18 +222,20 @@ module IControl::LocalLB
|
|
195
222
|
|
196
223
|
##
|
197
224
|
# Resets the statistics for this node addresse.
|
198
|
-
# @
|
199
|
-
# @raise [IControl::Common::
|
200
|
-
# @raise [IControl::Common::
|
225
|
+
# @rspec_example
|
226
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
227
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
228
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
201
229
|
def reset_statistics
|
202
230
|
super
|
203
231
|
end
|
204
232
|
|
205
233
|
##
|
206
234
|
# Sets the connection limits for a sequence of node addresse.
|
207
|
-
# @
|
208
|
-
# @raise [IControl::Common::
|
209
|
-
# @raise [IControl::Common::
|
235
|
+
# @rspec_example
|
236
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
237
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
238
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
210
239
|
# @param [Hash] opts
|
211
240
|
# @option opts [IControl::Common::ULong64] :limits The limits for the specified node addresses.
|
212
241
|
def set_connection_limit(opts)
|
@@ -216,9 +245,10 @@ module IControl::LocalLB
|
|
216
245
|
|
217
246
|
##
|
218
247
|
# Sets the dynamic ratios for this node addresse
|
219
|
-
# @
|
220
|
-
# @raise [IControl::Common::
|
221
|
-
# @raise [IControl::Common::
|
248
|
+
# @rspec_example
|
249
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
250
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
251
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
222
252
|
# @param [Hash] opts
|
223
253
|
# @option opts [short] :dynamic_ratios The dynamic ratios for the specified node addresses.
|
224
254
|
def set_dynamic_ratio(opts)
|
@@ -227,10 +257,12 @@ module IControl::LocalLB
|
|
227
257
|
end
|
228
258
|
|
229
259
|
##
|
230
|
-
# Sets/creates the monitor associations for this node addresse. This basically creates
|
231
|
-
#
|
232
|
-
# @
|
233
|
-
# @raise [IControl::Common::
|
260
|
+
# Sets/creates the monitor associations for this node addresse. This basically creates
|
261
|
+
# the monitor associations between a node address and a monitor rule.
|
262
|
+
# @rspec_example
|
263
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
264
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
265
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
234
266
|
# @param [Hash] opts
|
235
267
|
# @option opts [IControl::LocalLB::NodeAddress::MonitorAssociation] :monitor_associations The monitor associations that will be used to evaluate the specified node addresses.
|
236
268
|
def set_monitor_association(opts)
|
@@ -239,10 +271,12 @@ module IControl::LocalLB
|
|
239
271
|
end
|
240
272
|
|
241
273
|
##
|
242
|
-
# Sets the availability states for a sequence of node addresse, either enabled/disabled
|
243
|
-
#
|
244
|
-
# @
|
245
|
-
# @raise [IControl::Common::
|
274
|
+
# Sets the availability states for a sequence of node addresse, either enabled/disabled
|
275
|
+
# or up/down.
|
276
|
+
# @rspec_example
|
277
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
278
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
279
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
246
280
|
# @param [Hash] opts
|
247
281
|
# @option opts [IControl::Common::EnabledState] :states The availability states of the specified node addresses.
|
248
282
|
def set_monitor_state(opts)
|
@@ -252,9 +286,10 @@ module IControl::LocalLB
|
|
252
286
|
|
253
287
|
##
|
254
288
|
# Sets the ratios for this node addresse.
|
255
|
-
# @
|
256
|
-
# @raise [IControl::Common::
|
257
|
-
# @raise [IControl::Common::
|
289
|
+
# @rspec_example
|
290
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
291
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
292
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
258
293
|
# @param [Hash] opts
|
259
294
|
# @option opts [long] :ratios The ratios to be set.
|
260
295
|
def set_ratio(opts)
|
@@ -264,9 +299,10 @@ module IControl::LocalLB
|
|
264
299
|
|
265
300
|
##
|
266
301
|
# Sets the screen names for this node addresse.
|
267
|
-
# @
|
268
|
-
# @raise [IControl::Common::
|
269
|
-
# @raise [IControl::Common::
|
302
|
+
# @rspec_example
|
303
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
304
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
305
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
270
306
|
# @param [Hash] opts
|
271
307
|
# @option opts [String] :names The screen names to be set.
|
272
308
|
def set_screen_name(opts)
|
@@ -276,9 +312,10 @@ module IControl::LocalLB
|
|
276
312
|
|
277
313
|
##
|
278
314
|
# Sets the states that allows new sessions to be established for this node addresse.
|
279
|
-
# @
|
280
|
-
# @raise [IControl::Common::
|
281
|
-
# @raise [IControl::Common::
|
315
|
+
# @rspec_example
|
316
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
317
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
318
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
282
319
|
# @param [Hash] opts
|
283
320
|
# @option opts [IControl::Common::EnabledState] :states The new session enabled states of the specified node addresses.
|
284
321
|
def set_session_enabled_state(opts)
|
@@ -307,18 +344,18 @@ module IControl::LocalLB
|
|
307
344
|
##
|
308
345
|
# A struct that describes statistics for a particular node address.
|
309
346
|
# @attr [String] node_address The node address.
|
310
|
-
# @attr [IControl::Common::
|
347
|
+
# @attr [IControl::Common::StatisticSequence] statistics The statistics for the node address.
|
311
348
|
class NodeAddressStatisticEntry < IControl::Base::Struct
|
312
349
|
icontrol_attribute :node_address, String
|
313
|
-
icontrol_attribute :statistics, IControl::Common::
|
350
|
+
icontrol_attribute :statistics, IControl::Common::StatisticSequence
|
314
351
|
end
|
315
352
|
|
316
353
|
##
|
317
354
|
# A struct that describes Node address statistics and timestamp.
|
318
|
-
# @attr [IControl::LocalLB::NodeAddress::
|
355
|
+
# @attr [IControl::LocalLB::NodeAddress::NodeAddressStatisticEntrySequence] statistics The statistics for a sequence of node addresses.
|
319
356
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
|
320
357
|
class NodeAddressStatistics < IControl::Base::Struct
|
321
|
-
icontrol_attribute :statistics, IControl::LocalLB::NodeAddress::
|
358
|
+
icontrol_attribute :statistics, IControl::LocalLB::NodeAddress::NodeAddressStatisticEntrySequence
|
322
359
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
323
360
|
end
|
324
361
|
|