icontrol 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,6 +1,7 @@
|
|
|
1
1
|
module IControl::GlobalLB
|
|
2
2
|
##
|
|
3
|
-
# The PoolMember interface enables you to work with the pool members and their settings,
|
|
3
|
+
# The PoolMember interface enables you to work with the pool members and their settings,
|
|
4
|
+
# and statistics.
|
|
4
5
|
class PoolMember < IControl::Base
|
|
5
6
|
|
|
6
7
|
set_id_name "pool_names"
|
|
@@ -14,11 +15,30 @@ module IControl::GlobalLB
|
|
|
14
15
|
class MemberOrder < IControl::Base::Struct; end
|
|
15
16
|
class MemberRatio < IControl::Base::Struct; end
|
|
16
17
|
class MemberStatisticEntry < IControl::Base::Struct; end
|
|
17
|
-
class MemberStatistics < IControl::Base::Struct; end
|
|
18
|
+
class MemberStatistics < IControl::Base::Struct; end
|
|
19
|
+
class MemberDependencySequence < IControl::Base::Sequence ; end
|
|
20
|
+
class MemberDependencySequenceSequence < IControl::Base::SequenceSequence ; end
|
|
21
|
+
class MemberEnabledStateSequence < IControl::Base::Sequence ; end
|
|
22
|
+
class MemberEnabledStateSequenceSequence < IControl::Base::SequenceSequence ; end
|
|
23
|
+
class MemberMetricLimitSequence < IControl::Base::Sequence ; end
|
|
24
|
+
class MemberMetricLimitSequenceSequence < IControl::Base::SequenceSequence ; end
|
|
25
|
+
class MemberMonitorAssociationRemovalSequence < IControl::Base::Sequence ; end
|
|
26
|
+
class MemberMonitorAssociationRemovalSequenceSequence < IControl::Base::SequenceSequence ; end
|
|
27
|
+
class MemberMonitorAssociationSequence < IControl::Base::Sequence ; end
|
|
28
|
+
class MemberMonitorAssociationSequenceSequence < IControl::Base::SequenceSequence ; end
|
|
29
|
+
class MemberObjectStatusSequence < IControl::Base::Sequence ; end
|
|
30
|
+
class MemberObjectStatusSequenceSequence < IControl::Base::SequenceSequence ; end
|
|
31
|
+
class MemberOrderSequence < IControl::Base::Sequence ; end
|
|
32
|
+
class MemberOrderSequenceSequence < IControl::Base::SequenceSequence ; end
|
|
33
|
+
class MemberRatioSequence < IControl::Base::Sequence ; end
|
|
34
|
+
class MemberRatioSequenceSequence < IControl::Base::SequenceSequence ; end
|
|
35
|
+
class MemberStatisticEntrySequence < IControl::Base::Sequence ; end
|
|
36
|
+
class MemberStatisticsSequence < IControl::Base::Sequence ; end ##
|
|
18
37
|
# Adds the virtual servers to the dependency list that this pool members depend on.
|
|
19
|
-
# @
|
|
20
|
-
# @raise [IControl::Common::
|
|
21
|
-
# @raise [IControl::Common::
|
|
38
|
+
# @rspec_example
|
|
39
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
40
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
41
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
22
42
|
# @param [Hash] opts
|
|
23
43
|
# @option opts [IControl::GlobalLB::PoolMember::MemberDependency[]] :dependencies The dependency list of VSes that the specified pool members depend on.
|
|
24
44
|
def add_dependency(opts)
|
|
@@ -28,20 +48,22 @@ module IControl::GlobalLB
|
|
|
28
48
|
|
|
29
49
|
##
|
|
30
50
|
# Gets the statistics for all pool members of this pool.
|
|
51
|
+
# @rspec_example
|
|
31
52
|
# @return [MemberStatistics]
|
|
32
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
33
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
34
|
-
# @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.
|
|
35
56
|
def all_statistics
|
|
36
57
|
super
|
|
37
58
|
end
|
|
38
59
|
|
|
39
60
|
##
|
|
40
61
|
# Gets the list of virtual servers that this pool members depend on.
|
|
62
|
+
# @rspec_example
|
|
41
63
|
# @return [MemberDependency[]]
|
|
42
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
43
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
44
|
-
# @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.
|
|
45
67
|
# @param [Hash] opts
|
|
46
68
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
|
47
69
|
def dependency(opts)
|
|
@@ -51,10 +73,11 @@ module IControl::GlobalLB
|
|
|
51
73
|
|
|
52
74
|
##
|
|
53
75
|
# Gets the enabled states for this members in this pool.
|
|
76
|
+
# @rspec_example
|
|
54
77
|
# @return [MemberEnabledState[]]
|
|
55
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
56
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
57
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
78
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
79
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
80
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
58
81
|
# @param [Hash] opts
|
|
59
82
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
|
60
83
|
def enabled_state(opts)
|
|
@@ -64,10 +87,11 @@ module IControl::GlobalLB
|
|
|
64
87
|
|
|
65
88
|
##
|
|
66
89
|
# Gets the metric limits for this members of this pool.
|
|
90
|
+
# @rspec_example
|
|
67
91
|
# @return [MemberMetricLimit[]]
|
|
68
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
69
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
70
|
-
# @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.
|
|
71
95
|
# @param [Hash] opts
|
|
72
96
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
|
73
97
|
def limit(opts)
|
|
@@ -76,21 +100,24 @@ module IControl::GlobalLB
|
|
|
76
100
|
end
|
|
77
101
|
|
|
78
102
|
##
|
|
79
|
-
# Gets the monitor associations used by this pool members, i.e. the monitor rules used
|
|
103
|
+
# Gets the monitor associations used by this pool members, i.e. the monitor rules used
|
|
104
|
+
# by the pool members.
|
|
105
|
+
# @rspec_example
|
|
80
106
|
# @return [MemberMonitorAssociation[]]
|
|
81
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
82
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
83
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
107
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
108
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
109
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
84
110
|
def monitor_association
|
|
85
111
|
super
|
|
86
112
|
end
|
|
87
113
|
|
|
88
114
|
##
|
|
89
115
|
# Gets the statuses for this members in this pool.
|
|
116
|
+
# @rspec_example
|
|
90
117
|
# @return [MemberObjectStatus[]]
|
|
91
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
92
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
93
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
118
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
119
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
120
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
94
121
|
# @param [Hash] opts
|
|
95
122
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
|
96
123
|
def object_status(opts)
|
|
@@ -100,10 +127,11 @@ module IControl::GlobalLB
|
|
|
100
127
|
|
|
101
128
|
##
|
|
102
129
|
# Gets the orders for this members in this pool.
|
|
130
|
+
# @rspec_example
|
|
103
131
|
# @return [MemberOrder[]]
|
|
104
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
105
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
106
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
132
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
133
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
134
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
107
135
|
# @param [Hash] opts
|
|
108
136
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
|
109
137
|
def order(opts)
|
|
@@ -113,10 +141,11 @@ module IControl::GlobalLB
|
|
|
113
141
|
|
|
114
142
|
##
|
|
115
143
|
# Gets the ratios for this members in this pool.
|
|
144
|
+
# @rspec_example
|
|
116
145
|
# @return [MemberRatio[]]
|
|
117
|
-
# @raise [IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
118
|
-
# @raise [IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
119
|
-
# @raise [IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
146
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
147
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
148
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
120
149
|
# @param [Hash] opts
|
|
121
150
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members.
|
|
122
151
|
def ratio(opts)
|
|
@@ -126,10 +155,11 @@ module IControl::GlobalLB
|
|
|
126
155
|
|
|
127
156
|
##
|
|
128
157
|
# Gets the statistics for this set of pool members.
|
|
158
|
+
# @rspec_example
|
|
129
159
|
# @return [MemberStatistics]
|
|
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.
|
|
160
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
161
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
162
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
133
163
|
# @param [Hash] opts
|
|
134
164
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The members to get statistics from.
|
|
135
165
|
def statistics(opts)
|
|
@@ -139,6 +169,7 @@ module IControl::GlobalLB
|
|
|
139
169
|
|
|
140
170
|
##
|
|
141
171
|
# Gets the version information for this interface.
|
|
172
|
+
# @rspec_example
|
|
142
173
|
# @return [String]
|
|
143
174
|
def version
|
|
144
175
|
super
|
|
@@ -146,9 +177,10 @@ module IControl::GlobalLB
|
|
|
146
177
|
|
|
147
178
|
##
|
|
148
179
|
# Removes any and all dependencies of this pool members.
|
|
149
|
-
# @
|
|
150
|
-
# @raise [IControl::Common::
|
|
151
|
-
# @raise [IControl::Common::
|
|
180
|
+
# @rspec_example
|
|
181
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
182
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
183
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
152
184
|
# @param [Hash] opts
|
|
153
185
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The pool members to remove the dependencies from. These pool members will no longer have any dependency on any other virtual servers.
|
|
154
186
|
def remove_all_dependencies(opts)
|
|
@@ -157,10 +189,12 @@ module IControl::GlobalLB
|
|
|
157
189
|
end
|
|
158
190
|
|
|
159
191
|
##
|
|
160
|
-
# Removes the virtual servers from the dependency list that this pool members depend
|
|
161
|
-
#
|
|
162
|
-
# @
|
|
163
|
-
# @raise [IControl::Common::
|
|
192
|
+
# Removes the virtual servers from the dependency list that this pool members depend
|
|
193
|
+
# on.
|
|
194
|
+
# @rspec_example
|
|
195
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
196
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
197
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
164
198
|
# @param [Hash] opts
|
|
165
199
|
# @option opts [IControl::GlobalLB::PoolMember::MemberDependency[]] :dependencies The dependency list of VSes that the specified pool members depend on.
|
|
166
200
|
def remove_dependency(opts)
|
|
@@ -169,10 +203,16 @@ module IControl::GlobalLB
|
|
|
169
203
|
end
|
|
170
204
|
|
|
171
205
|
##
|
|
172
|
-
# Removes the monitor associations for this pool members. Depending on the monitor
|
|
173
|
-
#
|
|
174
|
-
#
|
|
175
|
-
#
|
|
206
|
+
# Removes the monitor associations for this pool members. Depending on the monitor
|
|
207
|
+
# association removal rule specified, this basically deletes any explicit monitor associations
|
|
208
|
+
# between a pool member and a monitor rule and thus causing the pool member to use
|
|
209
|
+
# the default monitor association of its parent pool, or this will delete any monitor
|
|
210
|
+
# association for the pool members altogether, i.e. this pool members will no longer
|
|
211
|
+
# 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.
|
|
176
216
|
# @param [Hash] opts
|
|
177
217
|
# @option opts [IControl::GlobalLB::PoolMember::MemberMonitorAssociationRemoval[]] :monitor_associations The monitor association removal rules that will be used to remove the monitor associations for the specified pool members.
|
|
178
218
|
def remove_monitor_association(opts)
|
|
@@ -182,9 +222,10 @@ module IControl::GlobalLB
|
|
|
182
222
|
|
|
183
223
|
##
|
|
184
224
|
# Resets the statistics for this set of pool members.
|
|
185
|
-
# @
|
|
186
|
-
# @raise [IControl::Common::
|
|
187
|
-
# @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.
|
|
188
229
|
# @param [Hash] opts
|
|
189
230
|
# @option opts [IControl::Common::IPPortDefinition[]] :members The members to get statistics from.
|
|
190
231
|
def reset_statistics(opts)
|
|
@@ -194,9 +235,10 @@ module IControl::GlobalLB
|
|
|
194
235
|
|
|
195
236
|
##
|
|
196
237
|
# Sets the enabled states for this pool members in this pool.
|
|
197
|
-
# @
|
|
198
|
-
# @raise [IControl::Common::
|
|
199
|
-
# @raise [IControl::Common::
|
|
238
|
+
# @rspec_example
|
|
239
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
240
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
241
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
200
242
|
# @param [Hash] opts
|
|
201
243
|
# @option opts [IControl::GlobalLB::PoolMember::MemberEnabledState[]] :states The members and the states to be set.
|
|
202
244
|
def set_enabled_state(opts)
|
|
@@ -206,9 +248,10 @@ module IControl::GlobalLB
|
|
|
206
248
|
|
|
207
249
|
##
|
|
208
250
|
# Sets the metric limits for this members of this pool.
|
|
209
|
-
# @
|
|
210
|
-
# @raise [IControl::Common::
|
|
211
|
-
# @raise [IControl::Common::
|
|
251
|
+
# @rspec_example
|
|
252
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
253
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
254
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
212
255
|
# @param [Hash] opts
|
|
213
256
|
# @option opts [IControl::GlobalLB::PoolMember::MemberMetricLimit[]] :limits The pool members' metric limits.
|
|
214
257
|
def set_limit(opts)
|
|
@@ -217,10 +260,12 @@ module IControl::GlobalLB
|
|
|
217
260
|
end
|
|
218
261
|
|
|
219
262
|
##
|
|
220
|
-
# Sets/creates the monitor associations for this pool members. This basically creates
|
|
221
|
-
#
|
|
222
|
-
# @
|
|
223
|
-
# @raise [IControl::Common::
|
|
263
|
+
# Sets/creates the monitor associations for this pool members. This basically creates
|
|
264
|
+
# the monitor associations between a pool member and a monitor rule.
|
|
265
|
+
# @rspec_example
|
|
266
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
267
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
268
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
224
269
|
# @param [Hash] opts
|
|
225
270
|
# @option opts [IControl::GlobalLB::PoolMember::MemberMonitorAssociation[]] :monitor_associations The monitor associations that will be used to evaluate the specified pool members.
|
|
226
271
|
def set_monitor_association(opts)
|
|
@@ -230,9 +275,10 @@ module IControl::GlobalLB
|
|
|
230
275
|
|
|
231
276
|
##
|
|
232
277
|
# Sets the orders for this pool members.
|
|
233
|
-
# @
|
|
234
|
-
# @raise [IControl::Common::
|
|
235
|
-
# @raise [IControl::Common::
|
|
278
|
+
# @rspec_example
|
|
279
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
280
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
281
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
236
282
|
# @param [Hash] opts
|
|
237
283
|
# @option opts [IControl::GlobalLB::PoolMember::MemberOrder[]] :orders The members and the orders to be set.
|
|
238
284
|
def set_order(opts)
|
|
@@ -242,9 +288,10 @@ module IControl::GlobalLB
|
|
|
242
288
|
|
|
243
289
|
##
|
|
244
290
|
# Sets the ratios for this pool members.
|
|
245
|
-
# @
|
|
246
|
-
# @raise [IControl::Common::
|
|
247
|
-
# @raise [IControl::Common::
|
|
291
|
+
# @rspec_example
|
|
292
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
293
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
294
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
248
295
|
# @param [Hash] opts
|
|
249
296
|
# @option opts [IControl::GlobalLB::PoolMember::MemberRatio[]] :ratios The members and the ratios to be set.
|
|
250
297
|
def set_ratio(opts)
|
|
@@ -255,10 +302,10 @@ module IControl::GlobalLB
|
|
|
255
302
|
##
|
|
256
303
|
# A struct that describes a pool member's dependencies on other virtual servers.
|
|
257
304
|
# @attr [IControl::Common::IPPortDefinition] member The IP address and port of the pool member.
|
|
258
|
-
# @attr [IControl::GlobalLB::
|
|
305
|
+
# @attr [IControl::GlobalLB::VirtualServerDefinitionSequence] dependencies The list of virtual servers that this member depends on.
|
|
259
306
|
class MemberDependency < IControl::Base::Struct
|
|
260
307
|
icontrol_attribute :member, IControl::Common::IPPortDefinition
|
|
261
|
-
icontrol_attribute :dependencies, IControl::GlobalLB::
|
|
308
|
+
icontrol_attribute :dependencies, IControl::GlobalLB::VirtualServerDefinitionSequence
|
|
262
309
|
end
|
|
263
310
|
|
|
264
311
|
##
|
|
@@ -273,10 +320,10 @@ module IControl::GlobalLB
|
|
|
273
320
|
##
|
|
274
321
|
# A struct that contains metric limits for a pool member.
|
|
275
322
|
# @attr [IControl::Common::IPPortDefinition] member The IP address and port of the pool member.
|
|
276
|
-
# @attr [IControl::GlobalLB::
|
|
323
|
+
# @attr [IControl::GlobalLB::MetricLimitSequence] metric_limits Metric limits of the pool.
|
|
277
324
|
class MemberMetricLimit < IControl::Base::Struct
|
|
278
325
|
icontrol_attribute :member, IControl::Common::IPPortDefinition
|
|
279
|
-
icontrol_attribute :metric_limits, IControl::GlobalLB::
|
|
326
|
+
icontrol_attribute :metric_limits, IControl::GlobalLB::MetricLimitSequence
|
|
280
327
|
end
|
|
281
328
|
|
|
282
329
|
##
|
|
@@ -327,18 +374,18 @@ module IControl::GlobalLB
|
|
|
327
374
|
##
|
|
328
375
|
# A struct that describes statistics for a particular pool member.
|
|
329
376
|
# @attr [IControl::Common::IPPortDefinition] member The pool member definition.
|
|
330
|
-
# @attr [IControl::Common::
|
|
377
|
+
# @attr [IControl::Common::StatisticSequence] statistics The statistics for the pool member.
|
|
331
378
|
class MemberStatisticEntry < IControl::Base::Struct
|
|
332
379
|
icontrol_attribute :member, IControl::Common::IPPortDefinition
|
|
333
|
-
icontrol_attribute :statistics, IControl::Common::
|
|
380
|
+
icontrol_attribute :statistics, IControl::Common::StatisticSequence
|
|
334
381
|
end
|
|
335
382
|
|
|
336
383
|
##
|
|
337
384
|
# A struct that describes pool member statistics and timestamp.
|
|
338
|
-
# @attr [IControl::GlobalLB::PoolMember::
|
|
385
|
+
# @attr [IControl::GlobalLB::PoolMember::MemberStatisticEntrySequence] statistics The statistics for a sequence of pool members.
|
|
339
386
|
# @attr [IControl::Common::TimeStamp] time_stamp The time stamp at the time the statistics are gathered.
|
|
340
387
|
class MemberStatistics < IControl::Base::Struct
|
|
341
|
-
icontrol_attribute :statistics, IControl::GlobalLB::PoolMember::
|
|
388
|
+
icontrol_attribute :statistics, IControl::GlobalLB::PoolMember::MemberStatisticEntrySequence
|
|
342
389
|
icontrol_attribute :time_stamp, IControl::Common::TimeStamp
|
|
343
390
|
end
|
|
344
391
|
|
|
@@ -6,11 +6,15 @@ module IControl::GlobalLB
|
|
|
6
6
|
set_id_name "regions"
|
|
7
7
|
|
|
8
8
|
class RegionDefinition < IControl::Base::Struct; end
|
|
9
|
-
class RegionItem < IControl::Base::Struct; end
|
|
9
|
+
class RegionItem < IControl::Base::Struct; end
|
|
10
|
+
class RegionDefinitionSequence < IControl::Base::Sequence ; end
|
|
11
|
+
class RegionItemSequence < IControl::Base::Sequence ; end
|
|
12
|
+
class RegionItemSequenceSequence < IControl::Base::SequenceSequence ; end ##
|
|
10
13
|
# Adds this region items to this region definitions.
|
|
11
|
-
# @
|
|
12
|
-
# @raise [IControl::Common::
|
|
13
|
-
# @raise [IControl::Common::
|
|
14
|
+
# @rspec_example
|
|
15
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
16
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
17
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
14
18
|
# @param [Hash] opts
|
|
15
19
|
# @option opts [IControl::GlobalLB::Region::RegionItem[]] :items The region items to be added to the region definitions.
|
|
16
20
|
def add_region_item(opts)
|
|
@@ -20,9 +24,10 @@ module IControl::GlobalLB
|
|
|
20
24
|
|
|
21
25
|
##
|
|
22
26
|
# Creates this region definitions with this region items.
|
|
23
|
-
# @
|
|
24
|
-
# @raise [IControl::Common::
|
|
25
|
-
# @raise [IControl::Common::
|
|
27
|
+
# @rspec_example
|
|
28
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
29
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
30
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
26
31
|
# @param [Hash] opts
|
|
27
32
|
# @option opts [IControl::GlobalLB::Region::RegionItem[]] :items The region items that make up the region definitions.
|
|
28
33
|
def create(opts)
|
|
@@ -32,44 +37,49 @@ module IControl::GlobalLB
|
|
|
32
37
|
|
|
33
38
|
##
|
|
34
39
|
# Deletes all region definitions.
|
|
35
|
-
# @
|
|
36
|
-
# @raise [IControl::Common::
|
|
37
|
-
# @raise [IControl::Common::
|
|
40
|
+
# @rspec_example
|
|
41
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
42
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
43
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
38
44
|
def delete_all_region_definitions
|
|
39
45
|
super
|
|
40
46
|
end
|
|
41
47
|
|
|
42
48
|
##
|
|
43
49
|
# Deletes this region definitions.
|
|
44
|
-
# @
|
|
45
|
-
# @raise [IControl::Common::
|
|
46
|
-
# @raise [IControl::Common::
|
|
50
|
+
# @rspec_example
|
|
51
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
52
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
53
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
47
54
|
def delete_region_definition
|
|
48
55
|
super
|
|
49
56
|
end
|
|
50
57
|
|
|
51
58
|
##
|
|
52
59
|
# Gets a list of of region definitions.
|
|
60
|
+
# @rspec_example
|
|
53
61
|
# @return [RegionDefinition]
|
|
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.
|
|
62
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
63
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
64
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
57
65
|
def list
|
|
58
66
|
super
|
|
59
67
|
end
|
|
60
68
|
|
|
61
69
|
##
|
|
62
70
|
# Gets the list of region items that define this region.
|
|
71
|
+
# @rspec_example
|
|
63
72
|
# @return [RegionItem[]]
|
|
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.
|
|
73
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
74
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
75
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
67
76
|
def region_item
|
|
68
77
|
super
|
|
69
78
|
end
|
|
70
79
|
|
|
71
80
|
##
|
|
72
81
|
# Gets the version information for this interface.
|
|
82
|
+
# @rspec_example
|
|
73
83
|
# @return [String]
|
|
74
84
|
def version
|
|
75
85
|
super
|
|
@@ -77,18 +87,20 @@ module IControl::GlobalLB
|
|
|
77
87
|
|
|
78
88
|
##
|
|
79
89
|
# Removes any and all region items in this region.
|
|
80
|
-
# @
|
|
81
|
-
# @raise [IControl::Common::
|
|
82
|
-
# @raise [IControl::Common::
|
|
90
|
+
# @rspec_example
|
|
91
|
+
# @raise [IControl::IControl::Common::AccessDenied] raised if the client credentials are not valid.
|
|
92
|
+
# @raise [IControl::IControl::Common::InvalidArgument] raised if one of the arguments is invalid.
|
|
93
|
+
# @raise [IControl::IControl::Common::OperationFailed] raised if an operation error occurs.
|
|
83
94
|
def remove_all_region_items
|
|
84
95
|
super
|
|
85
96
|
end
|
|
86
97
|
|
|
87
98
|
##
|
|
88
99
|
# Removes this region items from this region definitions.
|
|
89
|
-
# @
|
|
90
|
-
# @raise [IControl::Common::
|
|
91
|
-
# @raise [IControl::Common::
|
|
100
|
+
# @rspec_example
|
|
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
|
# @param [Hash] opts
|
|
93
105
|
# @option opts [IControl::GlobalLB::Region::RegionItem[]] :items The region items to be removed from the region definitions.
|
|
94
106
|
def remove_region_item(opts)
|