zeus-api 0.1.0

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.
@@ -0,0 +1,106 @@
1
+
2
+ require 'rubygems'
3
+ gem 'soap4r'
4
+
5
+ require 'soap/mapping'
6
+
7
+ module CatalogRuleMappingRegistry
8
+ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
9
+ LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
10
+ NsC_10 = "http://soap.zeus.com/zxtm/1.0/"
11
+
12
+ EncodedRegistry.register(
13
+ :class => CatalogRuleRuleInfo,
14
+ :schema_type => XSD::QName.new(NsC_10, "Catalog.Rule.RuleInfo"),
15
+ :schema_element => [
16
+ ["rule_text", ["SOAP::SOAPString", XSD::QName.new(nil, "rule_text")]],
17
+ ["rule_notes", ["SOAP::SOAPString", XSD::QName.new(nil, "rule_notes")]]
18
+ ]
19
+ )
20
+
21
+ EncodedRegistry.set(
22
+ CatalogRuleRuleInfoArray,
23
+ ::SOAP::SOAPArray,
24
+ ::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
25
+ { :type => XSD::QName.new(NsC_10, "Catalog.Rule.RuleInfo") }
26
+ )
27
+
28
+ EncodedRegistry.register(
29
+ :class => CatalogRuleSyntaxCheck,
30
+ :schema_type => XSD::QName.new(NsC_10, "Catalog.Rule.SyntaxCheck"),
31
+ :schema_element => [
32
+ ["valid", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "valid")]],
33
+ ["warnings", ["SOAP::SOAPString", XSD::QName.new(nil, "warnings")]],
34
+ ["errors", ["SOAP::SOAPString", XSD::QName.new(nil, "errors")]]
35
+ ]
36
+ )
37
+
38
+ EncodedRegistry.set(
39
+ CatalogRuleSyntaxCheckArray,
40
+ ::SOAP::SOAPArray,
41
+ ::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
42
+ { :type => XSD::QName.new(NsC_10, "Catalog.Rule.SyntaxCheck") }
43
+ )
44
+
45
+ EncodedRegistry.set(
46
+ StringArray,
47
+ ::SOAP::SOAPArray,
48
+ ::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
49
+ { :type => XSD::QName.new("http://www.w3.org/2001/XMLSchema", "string") }
50
+ )
51
+
52
+ EncodedRegistry.set(
53
+ StringArrayArray,
54
+ ::SOAP::SOAPArray,
55
+ ::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
56
+ { :type => XSD::QName.new(NsC_10, "StringArray") }
57
+ )
58
+
59
+ EncodedRegistry.set(
60
+ BooleanArray,
61
+ ::SOAP::SOAPArray,
62
+ ::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
63
+ { :type => XSD::QName.new("http://www.w3.org/2001/XMLSchema", "boolean") }
64
+ )
65
+
66
+ EncodedRegistry.set(
67
+ BooleanArrayArray,
68
+ ::SOAP::SOAPArray,
69
+ ::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
70
+ { :type => XSD::QName.new(NsC_10, "booleanArray") }
71
+ )
72
+
73
+ EncodedRegistry.set(
74
+ IntArray,
75
+ ::SOAP::SOAPArray,
76
+ ::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
77
+ { :type => XSD::QName.new("http://www.w3.org/2001/XMLSchema", "int") }
78
+ )
79
+
80
+ EncodedRegistry.set(
81
+ UnsignedIntArray,
82
+ ::SOAP::SOAPArray,
83
+ ::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
84
+ { :type => XSD::QName.new("http://www.w3.org/2001/XMLSchema", "unsignedInt") }
85
+ )
86
+
87
+ LiteralRegistry.register(
88
+ :class => CatalogRuleRuleInfo,
89
+ :schema_type => XSD::QName.new(NsC_10, "Catalog.Rule.RuleInfo"),
90
+ :schema_element => [
91
+ ["rule_text", ["SOAP::SOAPString", XSD::QName.new(nil, "rule_text")]],
92
+ ["rule_notes", ["SOAP::SOAPString", XSD::QName.new(nil, "rule_notes")]]
93
+ ]
94
+ )
95
+
96
+ LiteralRegistry.register(
97
+ :class => CatalogRuleSyntaxCheck,
98
+ :schema_type => XSD::QName.new(NsC_10, "Catalog.Rule.SyntaxCheck"),
99
+ :schema_element => [
100
+ ["valid", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "valid")]],
101
+ ["warnings", ["SOAP::SOAPString", XSD::QName.new(nil, "warnings")]],
102
+ ["errors", ["SOAP::SOAPString", XSD::QName.new(nil, "errors")]]
103
+ ]
104
+ )
105
+
106
+ end
@@ -0,0 +1,172 @@
1
+
2
+ #
3
+ # CatalogRuleService
4
+ #
5
+ # This class provides a facade for SOAP method calls to the
6
+ # ZXTM Virtual Server web service.
7
+ #
8
+ class CatalogRuleService
9
+
10
+ attr_accessor :driver
11
+
12
+ def initialize(endpoint=nil, username=nil, password=nil)
13
+ @driver = CatalogRulePort.new(endpoint)
14
+ @driver.options["protocol.http.ssl_config.verify_mode"] = OpenSSL::SSL::VERIFY_NONE
15
+ @driver.options["protocol.http.basic_auth"] << [endpoint, username, password]
16
+ end
17
+
18
+ # Creates a new rule
19
+ #
20
+ # Args
21
+ # name (String) - Rule name
22
+ # text (String) - Rule text
23
+ #
24
+ # Examples
25
+ # create("route-traffic", ["text_of_rule"]) - Creates new rule called "route-traffic" with text of rule as supplied.
26
+ #
27
+ def create(name, text)
28
+ @driver.addRule([name], [text])
29
+ end
30
+
31
+ # List rules by name
32
+ #
33
+ # Args
34
+ # None
35
+ #
36
+ # Examples
37
+ # list - Returns a list of rule names
38
+ #
39
+ def list
40
+ @driver.getRuleNames
41
+ end
42
+
43
+ # Checks whether the text of a rule is valid TrafficScript
44
+ #
45
+ # Args
46
+ # text (String) - Rule text
47
+ #
48
+ # Returns
49
+ # valid (boolean) - True if valid
50
+ #
51
+ # Examples
52
+ # valid?("text_of_rule") - Calls a check on the rule, returns boolean
53
+ #
54
+ def valid?(text)
55
+ res = @driver.checkSyntax([text])
56
+ return res.first.valid
57
+ end
58
+
59
+ # Returns a list of errors for the rule
60
+ #
61
+ # Args
62
+ # text (String) - Rule text
63
+ #
64
+ # Returns
65
+ # errors (Array) - Array of errors
66
+ #
67
+ # Examples
68
+ # errors("text_of_rule")
69
+ #
70
+ def errors(text)
71
+ res = @driver.checkSyntax([text])
72
+ return res.first.errors
73
+ end
74
+
75
+ # Returns a list of warnings for the rule
76
+ #
77
+ # Args
78
+ # text (String) - Rule text
79
+ #
80
+ # Returns
81
+ # warnings (Array) - Array of errors
82
+ #
83
+ # Examples
84
+ # warnings("text_of_rule")
85
+ #
86
+ def warnings(text)
87
+ res = @driver.checkSyntax([text])
88
+ return res.first.warnings
89
+ end
90
+
91
+ # Copies a rule
92
+ #
93
+ # Args
94
+ # name (String) - Name of current rule
95
+ # new_name (String) - Name of new rule
96
+ #
97
+ # Examples
98
+ # copy(name, new_name) - Copies rule called "name" to a new rule, called "new_name"
99
+ #
100
+ def copy(name, new_name)
101
+ @driver.copyRule([name], [new_name])
102
+ end
103
+
104
+ # Deletes a rule
105
+ #
106
+ # Args
107
+ # name (String) - Name of rule
108
+ #
109
+ # Examples
110
+ # delete(name) - Deletes rule called "name"
111
+ #
112
+ def delete(name)
113
+ @driver.deleteRule([name])
114
+ end
115
+
116
+ # Fetches details about a rule
117
+ #
118
+ # Args
119
+ # name (String) - Name of rule
120
+ #
121
+ # Returns
122
+ #
123
+ # Examples
124
+ # details(name) - returns CatalogRuleRuleInfo object for rule
125
+ #
126
+ def details(name)
127
+ @driver.getRuleDetails([name]).first
128
+ end
129
+
130
+ # Renames a rule
131
+ #
132
+ # name (String) - Name of current rule
133
+ # new_name (String) - Name of new rule
134
+ #
135
+ # Examples
136
+ # rename(name, new_name) - Copies rule called "name" to a new rule, called "new_name"
137
+ def rename(name, new_name)
138
+ @driver.renameRule([name], [new_name])
139
+ end
140
+
141
+ # Sets or returns the note for a rule
142
+ #
143
+ # name (String) - Name of rule
144
+ # note (String) - Text of note
145
+ #
146
+ # Examples
147
+ # note(name, note) - Sets the note for a rule called "name"
148
+ def note(name, note=nil)
149
+ if note.nil?
150
+ details(name).rule_notes
151
+ else
152
+ @driver.setRuleNotes([name], [note])
153
+ end
154
+
155
+ end
156
+
157
+ # Sets or returns the text for a rule
158
+ #
159
+ # name (String) - Name of rule
160
+ # text (String) - Text of rule
161
+ #
162
+ # Examples
163
+ # text(name, text) - Sets the text for a rule called "name"
164
+ def text(name, text=nil)
165
+ if text.nil?
166
+ details(name).rule_text
167
+ else
168
+ @driver.setRuleText([name], [text])
169
+ end
170
+ end
171
+
172
+ end
@@ -0,0 +1,82 @@
1
+ require 'xsd/qname'
2
+
3
+ # {http://soap.zeus.com/zxtm/1.0/}Pool.PriorityValueDefinition
4
+ # node - SOAP::SOAPString
5
+ # priority - SOAP::SOAPInt
6
+ class PoolPriorityValueDefinition
7
+ attr_accessor :node
8
+ attr_accessor :priority
9
+
10
+ def initialize(node = nil, priority = nil)
11
+ @node = node
12
+ @priority = priority
13
+ end
14
+ end
15
+
16
+ # {http://soap.zeus.com/zxtm/1.0/}Pool.WeightingsDefinition
17
+ # node - SOAP::SOAPString
18
+ # weighting - SOAP::SOAPInt
19
+ class PoolWeightingsDefinition
20
+ attr_accessor :node
21
+ attr_accessor :weighting
22
+
23
+ def initialize(node = nil, weighting = nil)
24
+ @node = node
25
+ @weighting = weighting
26
+ end
27
+ end
28
+
29
+ # {http://soap.zeus.com/zxtm/1.0/}Pool.LoadBalancingAlgorithmArray
30
+ class PoolLoadBalancingAlgorithmArray < ::Array
31
+ end
32
+
33
+ # {http://soap.zeus.com/zxtm/1.0/}Pool.PriorityValueDefinitionArray
34
+ class PoolPriorityValueDefinitionArray < ::Array
35
+ end
36
+
37
+ # {http://soap.zeus.com/zxtm/1.0/}Pool.PriorityValueDefinitionArrayArray
38
+ class PoolPriorityValueDefinitionArrayArray < ::Array
39
+ end
40
+
41
+ # {http://soap.zeus.com/zxtm/1.0/}Pool.WeightingsDefinitionArray
42
+ class PoolWeightingsDefinitionArray < ::Array
43
+ end
44
+
45
+ # {http://soap.zeus.com/zxtm/1.0/}Pool.WeightingsDefinitionArrayArray
46
+ class PoolWeightingsDefinitionArrayArray < ::Array
47
+ end
48
+
49
+ # {http://soap.zeus.com/zxtm/1.0/}StringArray
50
+ class StringArray < ::Array
51
+ end
52
+
53
+ # {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
54
+ class StringArrayArray < ::Array
55
+ end
56
+
57
+ # {http://soap.zeus.com/zxtm/1.0/}booleanArray
58
+ class BooleanArray < ::Array
59
+ end
60
+
61
+ # {http://soap.zeus.com/zxtm/1.0/}booleanArrayArray
62
+ class BooleanArrayArray < ::Array
63
+ end
64
+
65
+ # {http://soap.zeus.com/zxtm/1.0/}intArray
66
+ class IntArray < ::Array
67
+ end
68
+
69
+ # {http://soap.zeus.com/zxtm/1.0/}unsignedIntArray
70
+ class UnsignedIntArray < ::Array
71
+ end
72
+
73
+ # {http://soap.zeus.com/zxtm/1.0/}Pool.LoadBalancingAlgorithm
74
+ class PoolLoadBalancingAlgorithm < ::String
75
+ Cells = PoolLoadBalancingAlgorithm.new("cells")
76
+ Connections = PoolLoadBalancingAlgorithm.new("connections")
77
+ Random = PoolLoadBalancingAlgorithm.new("random")
78
+ Responsetimes = PoolLoadBalancingAlgorithm.new("responsetimes")
79
+ Roundrobin = PoolLoadBalancingAlgorithm.new("roundrobin")
80
+ Wconnections = PoolLoadBalancingAlgorithm.new("wconnections")
81
+ Wroundrobin = PoolLoadBalancingAlgorithm.new("wroundrobin")
82
+ end
@@ -0,0 +1,851 @@
1
+ #!/usr/bin/env ruby
2
+ require 'PoolDriver.rb'
3
+
4
+ endpoint_url = ARGV.shift
5
+ obj = PoolPort.new(endpoint_url)
6
+
7
+ # run ruby with -d to see SOAP wiredumps.
8
+ obj.wiredump_dev = STDERR if $DEBUG
9
+
10
+ # SYNOPSIS
11
+ # addDrainingNodes(names, values)
12
+ #
13
+ # ARGS
14
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
15
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
16
+ #
17
+ # RETURNS
18
+ # N/A
19
+ #
20
+ names = values = nil
21
+ puts obj.addDrainingNodes(names, values)
22
+
23
+ # SYNOPSIS
24
+ # addMonitors(names, values)
25
+ #
26
+ # ARGS
27
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
28
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
29
+ #
30
+ # RETURNS
31
+ # N/A
32
+ #
33
+ names = values = nil
34
+ puts obj.addMonitors(names, values)
35
+
36
+ # SYNOPSIS
37
+ # addNodes(names, values)
38
+ #
39
+ # ARGS
40
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
41
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
42
+ #
43
+ # RETURNS
44
+ # N/A
45
+ #
46
+ names = values = nil
47
+ puts obj.addNodes(names, values)
48
+
49
+ # SYNOPSIS
50
+ # addPool(names, nodes)
51
+ #
52
+ # ARGS
53
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
54
+ # nodes StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
55
+ #
56
+ # RETURNS
57
+ # N/A
58
+ #
59
+ names = nodes = nil
60
+ puts obj.addPool(names, nodes)
61
+
62
+ # SYNOPSIS
63
+ # copyPool(names, new_names)
64
+ #
65
+ # ARGS
66
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
67
+ # new_names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
68
+ #
69
+ # RETURNS
70
+ # N/A
71
+ #
72
+ names = new_names = nil
73
+ puts obj.copyPool(names, new_names)
74
+
75
+ # SYNOPSIS
76
+ # deletePool(names)
77
+ #
78
+ # ARGS
79
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
80
+ #
81
+ # RETURNS
82
+ # N/A
83
+ #
84
+ names = nil
85
+ puts obj.deletePool(names)
86
+
87
+ # SYNOPSIS
88
+ # getBandwidthClass(names)
89
+ #
90
+ # ARGS
91
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
92
+ #
93
+ # RETURNS
94
+ # values StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
95
+ #
96
+ names = nil
97
+ puts obj.getBandwidthClass(names)
98
+
99
+ # SYNOPSIS
100
+ # getDrainingNodes(names)
101
+ #
102
+ # ARGS
103
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
104
+ #
105
+ # RETURNS
106
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
107
+ #
108
+ names = nil
109
+ puts obj.getDrainingNodes(names)
110
+
111
+ # SYNOPSIS
112
+ # getErrorFile(names)
113
+ #
114
+ # ARGS
115
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
116
+ #
117
+ # RETURNS
118
+ # values StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
119
+ #
120
+ names = nil
121
+ puts obj.getErrorFile(names)
122
+
123
+ # SYNOPSIS
124
+ # getFTPSupportRfc2428(names)
125
+ #
126
+ # ARGS
127
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
128
+ #
129
+ # RETURNS
130
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
131
+ #
132
+ names = nil
133
+ puts obj.getFTPSupportRfc2428(names)
134
+
135
+ # SYNOPSIS
136
+ # getFailpool(names)
137
+ #
138
+ # ARGS
139
+ # names StringArray - {http://soap.zeus.comm/zxtm/1.0/}StringArray
140
+ #
141
+ # RETURNS
142
+ # values StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
143
+ #
144
+ names = nil
145
+ puts obj.getFailpool(names)
146
+
147
+ # SYNOPSIS
148
+ # getKeepalive(names)
149
+ #
150
+ # ARGS
151
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
152
+ #
153
+ # RETURNS
154
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
155
+ #
156
+ names = nil
157
+ puts obj.getKeepalive(names)
158
+
159
+ # SYNOPSIS
160
+ # getLoadBalancingAlgorithm(names)
161
+ #
162
+ # ARGS
163
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
164
+ #
165
+ # RETURNS
166
+ # values PoolLoadBalancingAlgorithmArray - {http://soap.zeus.com/zxtm/1.0/}Pool.LoadBalancingAlgorithmArray
167
+ #
168
+ names = nil
169
+ puts obj.getLoadBalancingAlgorithm(names)
170
+
171
+ # SYNOPSIS
172
+ # getMaxConnectTime(names)
173
+ #
174
+ # ARGS
175
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
176
+ #
177
+ # RETURNS
178
+ # values UnsignedIntArray - {http://soap.zeus.com/zxtm/1.0/}unsignedIntArray
179
+ #
180
+ names = nil
181
+ puts obj.getMaxConnectTime(names)
182
+
183
+ # SYNOPSIS
184
+ # getMaxIdleConnectionsPerNode(names)
185
+ #
186
+ # ARGS
187
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
188
+ #
189
+ # RETURNS
190
+ # values UnsignedIntArray - {http://soap.zeus.com/zxtm/1.0/}unsignedIntArray
191
+ #
192
+ names = nil
193
+ puts obj.getMaxIdleConnectionsPerNode(names)
194
+
195
+ # SYNOPSIS
196
+ # getMaxReplyTime(names)
197
+ #
198
+ # ARGS
199
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
200
+ #
201
+ # RETURNS
202
+ # values UnsignedIntArray - {http://soap.zeus.com/zxtm/1.0/}unsignedIntArray
203
+ #
204
+ names = nil
205
+ puts obj.getMaxReplyTime(names)
206
+
207
+ # SYNOPSIS
208
+ # getMonitors(names)
209
+ #
210
+ # ARGS
211
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
212
+ #
213
+ # RETURNS
214
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
215
+ #
216
+ names = nil
217
+ puts obj.getMonitors(names)
218
+
219
+ # SYNOPSIS
220
+ # getNodes(names)
221
+ #
222
+ # ARGS
223
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
224
+ #
225
+ # RETURNS
226
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
227
+ #
228
+ names = nil
229
+ puts obj.getNodes(names)
230
+
231
+ # SYNOPSIS
232
+ # getNodesConnectionCounts(nodes)
233
+ #
234
+ # ARGS
235
+ # nodes StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
236
+ #
237
+ # RETURNS
238
+ # nodes_connection_counts IntArray - {http://soap.zeus.com/zxtm/1.0/}intArray
239
+ #
240
+ nodes = nil
241
+ puts obj.getNodesConnectionCounts(nodes)
242
+
243
+ # SYNOPSIS
244
+ # getNodesLastUsed(nodes)
245
+ #
246
+ # ARGS
247
+ # nodes StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
248
+ #
249
+ # RETURNS
250
+ # nodes_last_used IntArray - {http://soap.zeus.com/zxtm/1.0/}intArray
251
+ #
252
+ nodes = nil
253
+ puts obj.getNodesLastUsed(nodes)
254
+
255
+ # SYNOPSIS
256
+ # getNodesPriorityValue(names, nodes)
257
+ #
258
+ # ARGS
259
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
260
+ # nodes StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
261
+ #
262
+ # RETURNS
263
+ # node_values PoolPriorityValueDefinitionArrayArray - {http://soap.zeus.com/zxtm/1.0/}Pool.PriorityValueDefinitionArrayArray
264
+ #
265
+ names = nodes = nil
266
+ puts obj.getNodesPriorityValue(names, nodes)
267
+
268
+ # SYNOPSIS
269
+ # getNodesWeightings(names, nodes)
270
+ #
271
+ # ARGS
272
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
273
+ # nodes StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
274
+ #
275
+ # RETURNS
276
+ # node_values PoolWeightingsDefinitionArrayArray - {http://soap.zeus.com/zxtm/1.0/}Pool.WeightingsDefinitionArrayArray
277
+ #
278
+ names = nodes = nil
279
+ puts obj.getNodesWeightings(names, nodes)
280
+
281
+ # SYNOPSIS
282
+ # getPassiveMonitoring(names)
283
+ #
284
+ # ARGS
285
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
286
+ #
287
+ # RETURNS
288
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
289
+ #
290
+ names = nil
291
+ puts obj.getPassiveMonitoring(names)
292
+
293
+ # SYNOPSIS
294
+ # getPersistence(names)
295
+ #
296
+ # ARGS
297
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
298
+ #
299
+ # RETURNS
300
+ # values StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
301
+ #
302
+ names = nil
303
+ puts obj.getPersistence(names)
304
+
305
+ # SYNOPSIS
306
+ # getPoolNames
307
+ #
308
+ # ARGS
309
+ # N/A
310
+ #
311
+ # RETURNS
312
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
313
+ #
314
+
315
+ puts obj.getPoolNames
316
+
317
+ # SYNOPSIS
318
+ # getPriorityEnabled(names)
319
+ #
320
+ # ARGS
321
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
322
+ #
323
+ # RETURNS
324
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
325
+ #
326
+ names = nil
327
+ puts obj.getPriorityEnabled(names)
328
+
329
+ # SYNOPSIS
330
+ # getPriorityNodes(names)
331
+ #
332
+ # ARGS
333
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
334
+ #
335
+ # RETURNS
336
+ # values UnsignedIntArray - {http://soap.zeus.com/zxtm/1.0/}unsignedIntArray
337
+ #
338
+ names = nil
339
+ puts obj.getPriorityNodes(names)
340
+
341
+ # SYNOPSIS
342
+ # getPriorityValues(names)
343
+ #
344
+ # ARGS
345
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
346
+ #
347
+ # RETURNS
348
+ # node_values PoolPriorityValueDefinitionArrayArray - {http://soap.zeus.com/zxtm/1.0/}Pool.PriorityValueDefinitionArrayArray
349
+ #
350
+ names = nil
351
+ puts obj.getPriorityValues(names)
352
+
353
+ # SYNOPSIS
354
+ # getSMTPSendStartTLS(names)
355
+ #
356
+ # ARGS
357
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
358
+ #
359
+ # RETURNS
360
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
361
+ #
362
+ names = nil
363
+ puts obj.getSMTPSendStartTLS(names)
364
+
365
+ # SYNOPSIS
366
+ # getSSLClientAuth(names)
367
+ #
368
+ # ARGS
369
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
370
+ #
371
+ # RETURNS
372
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
373
+ #
374
+ names = nil
375
+ puts obj.getSSLClientAuth(names)
376
+
377
+ # SYNOPSIS
378
+ # getSSLEncrypt(names)
379
+ #
380
+ # ARGS
381
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
382
+ #
383
+ # RETURNS
384
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
385
+ #
386
+ names = nil
387
+ puts obj.getSSLEncrypt(names)
388
+
389
+ # SYNOPSIS
390
+ # getSSLEnhance(names)
391
+ #
392
+ # ARGS
393
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
394
+ #
395
+ # RETURNS
396
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
397
+ #
398
+ names = nil
399
+ puts obj.getSSLEnhance(names)
400
+
401
+ # SYNOPSIS
402
+ # getSSLSendCloseAlerts(names)
403
+ #
404
+ # ARGS
405
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
406
+ #
407
+ # RETURNS
408
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
409
+ #
410
+ names = nil
411
+ puts obj.getSSLSendCloseAlerts(names)
412
+
413
+ # SYNOPSIS
414
+ # getSSLServerNameExtension(names)
415
+ #
416
+ # ARGS
417
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
418
+ #
419
+ # RETURNS
420
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
421
+ #
422
+ names = nil
423
+ puts obj.getSSLServerNameExtension(names)
424
+
425
+ # SYNOPSIS
426
+ # getSSLStrictVerify(names)
427
+ #
428
+ # ARGS
429
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
430
+ #
431
+ # RETURNS
432
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
433
+ #
434
+ names = nil
435
+ puts obj.getSSLStrictVerify(names)
436
+
437
+ # SYNOPSIS
438
+ # getTransparent(names)
439
+ #
440
+ # ARGS
441
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
442
+ #
443
+ # RETURNS
444
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
445
+ #
446
+ names = nil
447
+ puts obj.getTransparent(names)
448
+
449
+ # SYNOPSIS
450
+ # getWeightings(names)
451
+ #
452
+ # ARGS
453
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
454
+ #
455
+ # RETURNS
456
+ # node_values PoolWeightingsDefinitionArrayArray - {http://soap.zeus.com/zxtm/1.0/}Pool.WeightingsDefinitionArrayArray
457
+ #
458
+ names = nil
459
+ puts obj.getWeightings(names)
460
+
461
+ # SYNOPSIS
462
+ # removeDrainingNodes(names, values)
463
+ #
464
+ # ARGS
465
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
466
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
467
+ #
468
+ # RETURNS
469
+ # N/A
470
+ #
471
+ names = values = nil
472
+ puts obj.removeDrainingNodes(names, values)
473
+
474
+ # SYNOPSIS
475
+ # removeMonitors(names, values)
476
+ #
477
+ # ARGS
478
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
479
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
480
+ #
481
+ # RETURNS
482
+ # N/A
483
+ #
484
+ names = values = nil
485
+ puts obj.removeMonitors(names, values)
486
+
487
+ # SYNOPSIS
488
+ # removeNodes(names, values)
489
+ #
490
+ # ARGS
491
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
492
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
493
+ #
494
+ # RETURNS
495
+ # N/A
496
+ #
497
+ names = values = nil
498
+ puts obj.removeNodes(names, values)
499
+
500
+ # SYNOPSIS
501
+ # renamePool(names, new_names)
502
+ #
503
+ # ARGS
504
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
505
+ # new_names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
506
+ #
507
+ # RETURNS
508
+ # N/A
509
+ #
510
+ names = new_names = nil
511
+ puts obj.renamePool(names, new_names)
512
+
513
+ # SYNOPSIS
514
+ # setBandwidthClass(names, values)
515
+ #
516
+ # ARGS
517
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
518
+ # values StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
519
+ #
520
+ # RETURNS
521
+ # N/A
522
+ #
523
+ names = values = nil
524
+ puts obj.setBandwidthClass(names, values)
525
+
526
+ # SYNOPSIS
527
+ # setDrainingNodes(names, values)
528
+ #
529
+ # ARGS
530
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
531
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
532
+ #
533
+ # RETURNS
534
+ # N/A
535
+ #
536
+ names = values = nil
537
+ puts obj.setDrainingNodes(names, values)
538
+
539
+ # SYNOPSIS
540
+ # setErrorFile(names, values)
541
+ #
542
+ # ARGS
543
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
544
+ # values StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
545
+ #
546
+ # RETURNS
547
+ # N/A
548
+ #
549
+ names = values = nil
550
+ puts obj.setErrorFile(names, values)
551
+
552
+ # SYNOPSIS
553
+ # setFTPSupportRfc2428(names, values)
554
+ #
555
+ # ARGS
556
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
557
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
558
+ #
559
+ # RETURNS
560
+ # N/A
561
+ #
562
+ names = values = nil
563
+ puts obj.setFTPSupportRfc2428(names, values)
564
+
565
+ # SYNOPSIS
566
+ # setFailpool(names, values)
567
+ #
568
+ # ARGS
569
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
570
+ # values StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
571
+ #
572
+ # RETURNS
573
+ # N/A
574
+ #
575
+ names = values = nil
576
+ puts obj.setFailpool(names, values)
577
+
578
+ # SYNOPSIS
579
+ # setKeepalive(names, values)
580
+ #
581
+ # ARGS
582
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
583
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
584
+ #
585
+ # RETURNS
586
+ # N/A
587
+ #
588
+ names = values = nil
589
+ puts obj.setKeepalive(names, values)
590
+
591
+ # SYNOPSIS
592
+ # setLoadBalancingAlgorithm(names, values)
593
+ #
594
+ # ARGS
595
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
596
+ # values PoolLoadBalancingAlgorithmArray - {http://soap.zeus.com/zxtm/1.0/}Pool.LoadBalancingAlgorithmArray
597
+ #
598
+ # RETURNS
599
+ # N/A
600
+ #
601
+ names = values = nil
602
+ puts obj.setLoadBalancingAlgorithm(names, values)
603
+
604
+ # SYNOPSIS
605
+ # setMaxConnectTime(names, values)
606
+ #
607
+ # ARGS
608
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
609
+ # values UnsignedIntArray - {http://soap.zeus.com/zxtm/1.0/}unsignedIntArray
610
+ #
611
+ # RETURNS
612
+ # N/A
613
+ #
614
+ names = values = nil
615
+ puts obj.setMaxConnectTime(names, values)
616
+
617
+ # SYNOPSIS
618
+ # setMaxIdleConnectionsPerNode(names, values)
619
+ #
620
+ # ARGS
621
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
622
+ # values UnsignedIntArray - {http://soap.zeus.com/zxtm/1.0/}unsignedIntArray
623
+ #
624
+ # RETURNS
625
+ # N/A
626
+ #
627
+ names = values = nil
628
+ puts obj.setMaxIdleConnectionsPerNode(names, values)
629
+
630
+ # SYNOPSIS
631
+ # setMaxReplyTime(names, values)
632
+ #
633
+ # ARGS
634
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
635
+ # values UnsignedIntArray - {http://soap.zeus.com/zxtm/1.0/}unsignedIntArray
636
+ #
637
+ # RETURNS
638
+ # N/A
639
+ #
640
+ names = values = nil
641
+ puts obj.setMaxReplyTime(names, values)
642
+
643
+ # SYNOPSIS
644
+ # setMonitors(names, values)
645
+ #
646
+ # ARGS
647
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
648
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
649
+ #
650
+ # RETURNS
651
+ # N/A
652
+ #
653
+ names = values = nil
654
+ puts obj.setMonitors(names, values)
655
+
656
+ # SYNOPSIS
657
+ # setNodes(names, values)
658
+ #
659
+ # ARGS
660
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
661
+ # values StringArrayArray - {http://soap.zeus.com/zxtm/1.0/}StringArrayArray
662
+ #
663
+ # RETURNS
664
+ # N/A
665
+ #
666
+ names = values = nil
667
+ puts obj.setNodes(names, values)
668
+
669
+ # SYNOPSIS
670
+ # setNodesPriorityValue(names, node_values)
671
+ #
672
+ # ARGS
673
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
674
+ # node_values PoolPriorityValueDefinitionArrayArray - {http://soap.zeus.com/zxtm/1.0/}Pool.PriorityValueDefinitionArrayArray
675
+ #
676
+ # RETURNS
677
+ # N/A
678
+ #
679
+ names = node_values = nil
680
+ puts obj.setNodesPriorityValue(names, node_values)
681
+
682
+ # SYNOPSIS
683
+ # setNodesWeightings(names, nodes_values)
684
+ #
685
+ # ARGS
686
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
687
+ # nodes_values PoolWeightingsDefinitionArrayArray - {http://soap.zeus.com/zxtm/1.0/}Pool.WeightingsDefinitionArrayArray
688
+ #
689
+ # RETURNS
690
+ # N/A
691
+ #
692
+ names = nodes_values = nil
693
+ puts obj.setNodesWeightings(names, nodes_values)
694
+
695
+ # SYNOPSIS
696
+ # setPassiveMonitoring(names, values)
697
+ #
698
+ # ARGS
699
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
700
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
701
+ #
702
+ # RETURNS
703
+ # N/A
704
+ #
705
+ names = values = nil
706
+ puts obj.setPassiveMonitoring(names, values)
707
+
708
+ # SYNOPSIS
709
+ # setPersistence(names, values)
710
+ #
711
+ # ARGS
712
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
713
+ # values StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
714
+ #
715
+ # RETURNS
716
+ # N/A
717
+ #
718
+ names = values = nil
719
+ puts obj.setPersistence(names, values)
720
+
721
+ # SYNOPSIS
722
+ # setPriorityEnabled(names, values)
723
+ #
724
+ # ARGS
725
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
726
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
727
+ #
728
+ # RETURNS
729
+ # N/A
730
+ #
731
+ names = values = nil
732
+ puts obj.setPriorityEnabled(names, values)
733
+
734
+ # SYNOPSIS
735
+ # setPriorityNodes(names, values)
736
+ #
737
+ # ARGS
738
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
739
+ # values UnsignedIntArray - {http://soap.zeus.com/zxtm/1.0/}unsignedIntArray
740
+ #
741
+ # RETURNS
742
+ # N/A
743
+ #
744
+ names = values = nil
745
+ puts obj.setPriorityNodes(names, values)
746
+
747
+ # SYNOPSIS
748
+ # setSMTPSendStartTLS(names, values)
749
+ #
750
+ # ARGS
751
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
752
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
753
+ #
754
+ # RETURNS
755
+ # N/A
756
+ #
757
+ names = values = nil
758
+ puts obj.setSMTPSendStartTLS(names, values)
759
+
760
+ # SYNOPSIS
761
+ # setSSLClientAuth(names, values)
762
+ #
763
+ # ARGS
764
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
765
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
766
+ #
767
+ # RETURNS
768
+ # N/A
769
+ #
770
+ names = values = nil
771
+ puts obj.setSSLClientAuth(names, values)
772
+
773
+ # SYNOPSIS
774
+ # setSSLEncrypt(names, values)
775
+ #
776
+ # ARGS
777
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
778
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
779
+ #
780
+ # RETURNS
781
+ # N/A
782
+ #
783
+ names = values = nil
784
+ puts obj.setSSLEncrypt(names, values)
785
+
786
+ # SYNOPSIS
787
+ # setSSLEnhance(names, values)
788
+ #
789
+ # ARGS
790
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
791
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
792
+ #
793
+ # RETURNS
794
+ # N/A
795
+ #
796
+ names = values = nil
797
+ puts obj.setSSLEnhance(names, values)
798
+
799
+ # SYNOPSIS
800
+ # setSSLSendCloseAlerts(names, values)
801
+ #
802
+ # ARGS
803
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
804
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
805
+ #
806
+ # RETURNS
807
+ # N/A
808
+ #
809
+ names = values = nil
810
+ puts obj.setSSLSendCloseAlerts(names, values)
811
+
812
+ # SYNOPSIS
813
+ # setSSLServerNameExtension(names, values)
814
+ #
815
+ # ARGS
816
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
817
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
818
+ #
819
+ # RETURNS
820
+ # N/A
821
+ #
822
+ names = values = nil
823
+ puts obj.setSSLServerNameExtension(names, values)
824
+
825
+ # SYNOPSIS
826
+ # setSSLStrictVerify(names, values)
827
+ #
828
+ # ARGS
829
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
830
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
831
+ #
832
+ # RETURNS
833
+ # N/A
834
+ #
835
+ names = values = nil
836
+ puts obj.setSSLStrictVerify(names, values)
837
+
838
+ # SYNOPSIS
839
+ # setTransparent(names, values)
840
+ #
841
+ # ARGS
842
+ # names StringArray - {http://soap.zeus.com/zxtm/1.0/}StringArray
843
+ # values BooleanArray - {http://soap.zeus.com/zxtm/1.0/}booleanArray
844
+ #
845
+ # RETURNS
846
+ # N/A
847
+ #
848
+ names = values = nil
849
+ puts obj.setTransparent(names, values)
850
+
851
+