plainprograms-virtuozzo 0.5.3 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +21 -0
- data/Rakefile +3 -3
- data/TODO.rdoc +20 -0
- data/lib/virtuozzo/soap.rb +216 -0
- data/lib/virtuozzo/soap/drivers/alertm.rb +78 -0
- data/lib/virtuozzo/soap/drivers/authm.rb +172 -0
- data/lib/virtuozzo/soap/drivers/backupm.rb +108 -0
- data/lib/virtuozzo/soap/drivers/computerm.rb +108 -0
- data/lib/virtuozzo/soap/drivers/env_samplem.rb +84 -0
- data/lib/virtuozzo/soap/drivers/event_log.rb +60 -0
- data/lib/virtuozzo/soap/drivers/filer.rb +156 -0
- data/lib/virtuozzo/soap/drivers/firewallm.rb +100 -0
- data/lib/virtuozzo/soap/drivers/licensem.rb +100 -0
- data/lib/virtuozzo/soap/drivers/mailer.rb +108 -0
- data/lib/virtuozzo/soap/drivers/op_log.rb +60 -0
- data/lib/virtuozzo/soap/drivers/perf_mon.rb +76 -0
- data/lib/virtuozzo/soap/drivers/res_log.rb +84 -0
- data/lib/virtuozzo/soap/drivers/resourcem.rb +100 -0
- data/lib/virtuozzo/soap/drivers/scheduler.rb +84 -0
- data/lib/virtuozzo/soap/drivers/server_group.rb +140 -0
- data/lib/virtuozzo/soap/drivers/servicem.rb +100 -0
- data/lib/virtuozzo/soap/drivers/userm.rb +156 -0
- data/lib/virtuozzo/soap/mapping_registries/alertm.rb +2799 -0
- data/lib/virtuozzo/soap/mapping_registries/authm.rb +3292 -0
- data/lib/virtuozzo/soap/mapping_registries/backupm.rb +3597 -0
- data/lib/virtuozzo/soap/mapping_registries/computerm.rb +2896 -0
- data/lib/virtuozzo/soap/mapping_registries/env_samplem.rb +2735 -0
- data/lib/virtuozzo/soap/mapping_registries/event_log.rb +2695 -0
- data/lib/virtuozzo/soap/mapping_registries/filer.rb +3211 -0
- data/lib/virtuozzo/soap/mapping_registries/firewallm.rb +2815 -0
- data/lib/virtuozzo/soap/mapping_registries/licensem.rb +2889 -0
- data/lib/virtuozzo/soap/mapping_registries/mailer.rb +2831 -0
- data/lib/virtuozzo/soap/mapping_registries/op_log.rb +2724 -0
- data/lib/virtuozzo/soap/mapping_registries/perf_mon.rb +2798 -0
- data/lib/virtuozzo/soap/mapping_registries/res_log.rb +2946 -0
- data/lib/virtuozzo/soap/mapping_registries/resourcem.rb +2837 -0
- data/lib/virtuozzo/soap/mapping_registries/scheduler.rb +2928 -0
- data/lib/virtuozzo/soap/mapping_registries/server_group.rb +3161 -0
- data/lib/virtuozzo/soap/mapping_registries/servicem.rb +2949 -0
- data/lib/virtuozzo/soap/mapping_registries/userm.rb +3173 -0
- data/lib/virtuozzo/soap/types/alertm.rb +2233 -0
- data/lib/virtuozzo/soap/types/authm.rb +2655 -0
- data/lib/virtuozzo/soap/types/backupm.rb +2773 -0
- data/lib/virtuozzo/soap/types/computerm.rb +2334 -0
- data/lib/virtuozzo/soap/types/env_samplem.rb +2159 -0
- data/lib/virtuozzo/soap/types/event_log.rb +2125 -0
- data/lib/virtuozzo/soap/types/filer.rb +2807 -0
- data/lib/virtuozzo/soap/types/firewallm.rb +2225 -0
- data/lib/virtuozzo/soap/types/licensem.rb +2266 -0
- data/lib/virtuozzo/soap/types/mailer.rb +2311 -0
- data/lib/virtuozzo/soap/types/op_log.rb +2156 -0
- data/lib/virtuozzo/soap/types/perf_mon.rb +2258 -0
- data/lib/virtuozzo/soap/types/res_log.rb +2340 -0
- data/lib/virtuozzo/soap/types/resourcem.rb +2213 -0
- data/lib/virtuozzo/soap/types/scheduler.rb +2307 -0
- data/lib/virtuozzo/soap/types/server_group.rb +2467 -0
- data/lib/virtuozzo/soap/types/servicem.rb +2292 -0
- data/lib/virtuozzo/soap/types/userm.rb +2599 -0
- data/virtuozzo.gemspec +10 -10
- metadata +116 -6
@@ -0,0 +1,2159 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module Virtuozzo
|
4
|
+
module SOAP
|
5
|
+
module Types
|
6
|
+
module EnvSamplem
|
7
|
+
|
8
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}osType
|
9
|
+
# platform - SOAP::SOAPString
|
10
|
+
# name - SOAP::SOAPString
|
11
|
+
# version - SOAP::SOAPString
|
12
|
+
# kernel - SOAP::SOAPString
|
13
|
+
class OsType
|
14
|
+
attr_accessor :platform
|
15
|
+
attr_accessor :name
|
16
|
+
attr_accessor :version
|
17
|
+
attr_accessor :kernel
|
18
|
+
|
19
|
+
def initialize(platform = nil, name = nil, version = nil, kernel = nil)
|
20
|
+
@platform = platform
|
21
|
+
@name = name
|
22
|
+
@version = version
|
23
|
+
@kernel = kernel
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_statusType
|
28
|
+
# state - SOAP::SOAPInt
|
29
|
+
# transition - SOAP::SOAPInt
|
30
|
+
class Env_statusType
|
31
|
+
attr_accessor :state
|
32
|
+
attr_accessor :transition
|
33
|
+
|
34
|
+
def initialize(state = nil, transition = nil)
|
35
|
+
@state = state
|
36
|
+
@transition = transition
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}qosType
|
41
|
+
# id - SOAP::SOAPString
|
42
|
+
# soft - SOAP::SOAPLong
|
43
|
+
# hard - SOAP::SOAPLong
|
44
|
+
# cur - SOAP::SOAPLong
|
45
|
+
class QosType
|
46
|
+
attr_accessor :id
|
47
|
+
attr_accessor :soft
|
48
|
+
attr_accessor :hard
|
49
|
+
attr_accessor :cur
|
50
|
+
|
51
|
+
def initialize(id = nil, soft = nil, hard = nil, cur = nil)
|
52
|
+
@id = id
|
53
|
+
@soft = soft
|
54
|
+
@hard = hard
|
55
|
+
@cur = cur
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_configType
|
60
|
+
# name - SOAP::SOAPString
|
61
|
+
# description - SOAP::SOAPBase64
|
62
|
+
# domain - SOAP::SOAPString
|
63
|
+
# hostname - SOAP::SOAPString
|
64
|
+
# address - Virtuozzo::SOAP::Drivers::Ip_addressType
|
65
|
+
# architecture - SOAP::SOAPString
|
66
|
+
# os - Virtuozzo::SOAP::Drivers::OsType
|
67
|
+
# type - SOAP::SOAPString
|
68
|
+
# nameserver - SOAP::SOAPString
|
69
|
+
# search_domain - SOAP::SOAPString
|
70
|
+
# base_sample_id - (any)
|
71
|
+
# base_snapshot_id - (any)
|
72
|
+
# child_type - SOAP::SOAPString
|
73
|
+
class Env_configType
|
74
|
+
attr_accessor :name
|
75
|
+
attr_accessor :description
|
76
|
+
attr_accessor :domain
|
77
|
+
attr_accessor :hostname
|
78
|
+
attr_accessor :address
|
79
|
+
attr_accessor :architecture
|
80
|
+
attr_accessor :os
|
81
|
+
attr_accessor :type
|
82
|
+
attr_accessor :nameserver
|
83
|
+
attr_accessor :search_domain
|
84
|
+
attr_accessor :base_sample_id
|
85
|
+
attr_accessor :base_snapshot_id
|
86
|
+
attr_accessor :child_type
|
87
|
+
|
88
|
+
def initialize(name = nil, description = nil, domain = nil, hostname = nil, address = [], architecture = nil, os = nil, type = nil, nameserver = [], search_domain = [], base_sample_id = nil, base_snapshot_id = nil, child_type = [])
|
89
|
+
@name = name
|
90
|
+
@description = description
|
91
|
+
@domain = domain
|
92
|
+
@hostname = hostname
|
93
|
+
@address = address
|
94
|
+
@architecture = architecture
|
95
|
+
@os = os
|
96
|
+
@type = type
|
97
|
+
@nameserver = nameserver
|
98
|
+
@search_domain = search_domain
|
99
|
+
@base_sample_id = base_sample_id
|
100
|
+
@base_snapshot_id = base_snapshot_id
|
101
|
+
@child_type = child_type
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}venv_configType
|
106
|
+
# name - SOAP::SOAPString
|
107
|
+
# description - SOAP::SOAPBase64
|
108
|
+
# domain - SOAP::SOAPString
|
109
|
+
# hostname - SOAP::SOAPString
|
110
|
+
# address - Virtuozzo::SOAP::Drivers::Ip_addressType
|
111
|
+
# architecture - SOAP::SOAPString
|
112
|
+
# os - Virtuozzo::SOAP::Drivers::OsType
|
113
|
+
# type - SOAP::SOAPString
|
114
|
+
# nameserver - SOAP::SOAPString
|
115
|
+
# search_domain - SOAP::SOAPString
|
116
|
+
# base_sample_id - (any)
|
117
|
+
# base_snapshot_id - (any)
|
118
|
+
# child_type - SOAP::SOAPString
|
119
|
+
# qos - Virtuozzo::SOAP::Drivers::QosType
|
120
|
+
class Venv_configType < Env_configType
|
121
|
+
attr_accessor :name
|
122
|
+
attr_accessor :description
|
123
|
+
attr_accessor :domain
|
124
|
+
attr_accessor :hostname
|
125
|
+
attr_accessor :address
|
126
|
+
attr_accessor :architecture
|
127
|
+
attr_accessor :os
|
128
|
+
attr_accessor :type
|
129
|
+
attr_accessor :nameserver
|
130
|
+
attr_accessor :search_domain
|
131
|
+
attr_accessor :base_sample_id
|
132
|
+
attr_accessor :base_snapshot_id
|
133
|
+
attr_accessor :child_type
|
134
|
+
attr_accessor :qos
|
135
|
+
|
136
|
+
def initialize(name = nil, description = nil, domain = nil, hostname = nil, address = [], architecture = nil, os = nil, type = nil, nameserver = [], search_domain = [], base_sample_id = nil, base_snapshot_id = nil, child_type = [], qos = [])
|
137
|
+
@name = name
|
138
|
+
@description = description
|
139
|
+
@domain = domain
|
140
|
+
@hostname = hostname
|
141
|
+
@address = address
|
142
|
+
@architecture = architecture
|
143
|
+
@os = os
|
144
|
+
@type = type
|
145
|
+
@nameserver = nameserver
|
146
|
+
@search_domain = search_domain
|
147
|
+
@base_sample_id = base_sample_id
|
148
|
+
@base_snapshot_id = base_snapshot_id
|
149
|
+
@child_type = child_type
|
150
|
+
@qos = qos
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}native_configType
|
155
|
+
class Native_configType
|
156
|
+
def initialize
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}envType
|
161
|
+
# parent_eid - (any)
|
162
|
+
# eid - (any)
|
163
|
+
# status - Virtuozzo::SOAP::Drivers::Env_statusType
|
164
|
+
# alert - SOAP::SOAPInt
|
165
|
+
# config - Virtuozzo::SOAP::Drivers::Env_configType
|
166
|
+
# virtual_config - Virtuozzo::SOAP::Drivers::Venv_configType
|
167
|
+
class EnvType
|
168
|
+
attr_accessor :parent_eid
|
169
|
+
attr_accessor :eid
|
170
|
+
attr_accessor :status
|
171
|
+
attr_accessor :alert
|
172
|
+
attr_accessor :config
|
173
|
+
attr_accessor :virtual_config
|
174
|
+
|
175
|
+
def initialize(parent_eid = nil, eid = nil, status = nil, alert = nil, config = nil, virtual_config = nil)
|
176
|
+
@parent_eid = parent_eid
|
177
|
+
@eid = eid
|
178
|
+
@status = status
|
179
|
+
@alert = alert
|
180
|
+
@config = config
|
181
|
+
@virtual_config = virtual_config
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}processesType
|
186
|
+
# run - SOAP::SOAPInt
|
187
|
+
# zombie - SOAP::SOAPInt
|
188
|
+
# sleep - SOAP::SOAPInt
|
189
|
+
# uninterrupt - SOAP::SOAPInt
|
190
|
+
# stopped - SOAP::SOAPInt
|
191
|
+
# total - SOAP::SOAPInt
|
192
|
+
class ProcessesType
|
193
|
+
attr_accessor :run
|
194
|
+
attr_accessor :zombie
|
195
|
+
attr_accessor :sleep
|
196
|
+
attr_accessor :uninterrupt
|
197
|
+
attr_accessor :stopped
|
198
|
+
attr_accessor :total
|
199
|
+
|
200
|
+
def initialize(run = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
|
201
|
+
@run = run
|
202
|
+
@zombie = zombie
|
203
|
+
@sleep = sleep
|
204
|
+
@uninterrupt = uninterrupt
|
205
|
+
@stopped = stopped
|
206
|
+
@total = total
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avgType
|
211
|
+
# l1 - SOAP::SOAPDouble
|
212
|
+
# l2 - SOAP::SOAPDouble
|
213
|
+
# l3 - SOAP::SOAPDouble
|
214
|
+
class Load_avgType
|
215
|
+
attr_accessor :l1
|
216
|
+
attr_accessor :l2
|
217
|
+
attr_accessor :l3
|
218
|
+
|
219
|
+
def initialize(l1 = nil, l2 = nil, l3 = nil)
|
220
|
+
@l1 = l1
|
221
|
+
@l2 = l2
|
222
|
+
@l3 = l3
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpu_loadType
|
227
|
+
# system - SOAP::SOAPLong
|
228
|
+
# user - SOAP::SOAPLong
|
229
|
+
# nice - SOAP::SOAPLong
|
230
|
+
# idle - SOAP::SOAPLong
|
231
|
+
class Cpu_loadType
|
232
|
+
attr_accessor :system
|
233
|
+
attr_accessor :user
|
234
|
+
attr_accessor :nice
|
235
|
+
attr_accessor :idle
|
236
|
+
|
237
|
+
def initialize(system = nil, user = nil, nice = nil, idle = nil)
|
238
|
+
@system = system
|
239
|
+
@user = user
|
240
|
+
@nice = nice
|
241
|
+
@idle = idle
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpuType
|
246
|
+
# mhz - SOAP::SOAPInt
|
247
|
+
# name - SOAP::SOAPString
|
248
|
+
# number - SOAP::SOAPInt
|
249
|
+
# cores - SOAP::SOAPInt
|
250
|
+
# hyperthreads - SOAP::SOAPInt
|
251
|
+
# units - SOAP::SOAPInt
|
252
|
+
# family - SOAP::SOAPString
|
253
|
+
# model - SOAP::SOAPString
|
254
|
+
# bogomips - SOAP::SOAPInt
|
255
|
+
class CpuType
|
256
|
+
attr_accessor :mhz
|
257
|
+
attr_accessor :name
|
258
|
+
attr_accessor :number
|
259
|
+
attr_accessor :cores
|
260
|
+
attr_accessor :hyperthreads
|
261
|
+
attr_accessor :units
|
262
|
+
attr_accessor :family
|
263
|
+
attr_accessor :model
|
264
|
+
attr_accessor :bogomips
|
265
|
+
|
266
|
+
def initialize(mhz = nil, name = nil, number = nil, cores = nil, hyperthreads = nil, units = nil, family = nil, model = nil, bogomips = nil)
|
267
|
+
@mhz = mhz
|
268
|
+
@name = name
|
269
|
+
@number = number
|
270
|
+
@cores = cores
|
271
|
+
@hyperthreads = hyperthreads
|
272
|
+
@units = units
|
273
|
+
@family = family
|
274
|
+
@model = model
|
275
|
+
@bogomips = bogomips
|
276
|
+
end
|
277
|
+
end
|
278
|
+
|
279
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}transferType
|
280
|
+
# input - Virtuozzo::SOAP::Drivers::TransferType::Input
|
281
|
+
# output - Virtuozzo::SOAP::Drivers::TransferType::Output
|
282
|
+
class TransferType
|
283
|
+
|
284
|
+
# inner class for member: input
|
285
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}input
|
286
|
+
# bytes - SOAP::SOAPLong
|
287
|
+
# packets - SOAP::SOAPLong
|
288
|
+
class Input
|
289
|
+
attr_accessor :bytes
|
290
|
+
attr_accessor :packets
|
291
|
+
|
292
|
+
def initialize(bytes = nil, packets = nil)
|
293
|
+
@bytes = bytes
|
294
|
+
@packets = packets
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
298
|
+
# inner class for member: output
|
299
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}output
|
300
|
+
# bytes - SOAP::SOAPLong
|
301
|
+
# packets - SOAP::SOAPLong
|
302
|
+
class Output
|
303
|
+
attr_accessor :bytes
|
304
|
+
attr_accessor :packets
|
305
|
+
|
306
|
+
def initialize(bytes = nil, packets = nil)
|
307
|
+
@bytes = bytes
|
308
|
+
@packets = packets
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
attr_accessor :input
|
313
|
+
attr_accessor :output
|
314
|
+
|
315
|
+
def initialize(input = nil, output = nil)
|
316
|
+
@input = input
|
317
|
+
@output = output
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
|
322
|
+
# address - Virtuozzo::SOAP::Drivers::System_nodeType::Address
|
323
|
+
# login - Virtuozzo::SOAP::Drivers::System_nodeType::Login
|
324
|
+
class System_nodeType
|
325
|
+
|
326
|
+
# inner class for member: address
|
327
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
|
328
|
+
# ip - (any)
|
329
|
+
class Address < Ip_addressType
|
330
|
+
attr_accessor :ip
|
331
|
+
|
332
|
+
def initialize(ip = nil)
|
333
|
+
@ip = ip
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
# inner class for member: login
|
338
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
|
339
|
+
# user - SOAP::SOAPString
|
340
|
+
# password - SOAP::SOAPBase64
|
341
|
+
class Login
|
342
|
+
attr_accessor :user
|
343
|
+
attr_accessor :password
|
344
|
+
|
345
|
+
def initialize(user = nil, password = nil)
|
346
|
+
@user = user
|
347
|
+
@password = password
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
attr_accessor :address
|
352
|
+
attr_accessor :login
|
353
|
+
|
354
|
+
def initialize(address = nil, login = nil)
|
355
|
+
@address = address
|
356
|
+
@login = login
|
357
|
+
end
|
358
|
+
end
|
359
|
+
|
360
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
|
361
|
+
# total - SOAP::SOAPLong
|
362
|
+
# used - SOAP::SOAPLong
|
363
|
+
# free - SOAP::SOAPLong
|
364
|
+
# avg - SOAP::SOAPLong
|
365
|
+
# min - SOAP::SOAPLong
|
366
|
+
# max - SOAP::SOAPLong
|
367
|
+
class ResourceType
|
368
|
+
attr_accessor :total
|
369
|
+
attr_accessor :used
|
370
|
+
attr_accessor :free
|
371
|
+
attr_accessor :avg
|
372
|
+
attr_accessor :min
|
373
|
+
attr_accessor :max
|
374
|
+
|
375
|
+
def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
|
376
|
+
@total = total
|
377
|
+
@used = used
|
378
|
+
@free = free
|
379
|
+
@avg = avg
|
380
|
+
@min = min
|
381
|
+
@max = max
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
385
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
|
386
|
+
# start_time - (any)
|
387
|
+
# end_time - (any)
|
388
|
+
class IntervalType
|
389
|
+
attr_accessor :start_time
|
390
|
+
attr_accessor :end_time
|
391
|
+
|
392
|
+
def initialize(start_time = nil, end_time = nil)
|
393
|
+
@start_time = start_time
|
394
|
+
@end_time = end_time
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
398
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
|
399
|
+
# avg - SOAP::SOAPLong
|
400
|
+
# min - SOAP::SOAPLong
|
401
|
+
# max - SOAP::SOAPLong
|
402
|
+
# total - SOAP::SOAPLong
|
403
|
+
# cur - SOAP::SOAPLong
|
404
|
+
# soft - SOAP::SOAPLong
|
405
|
+
# hard - SOAP::SOAPLong
|
406
|
+
class StatsType
|
407
|
+
attr_accessor :avg
|
408
|
+
attr_accessor :min
|
409
|
+
attr_accessor :max
|
410
|
+
attr_accessor :total
|
411
|
+
attr_accessor :cur
|
412
|
+
attr_accessor :soft
|
413
|
+
attr_accessor :hard
|
414
|
+
|
415
|
+
def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
|
416
|
+
@avg = avg
|
417
|
+
@min = min
|
418
|
+
@max = max
|
419
|
+
@total = total
|
420
|
+
@cur = cur
|
421
|
+
@soft = soft
|
422
|
+
@hard = hard
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
426
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
|
427
|
+
# host - (any)
|
428
|
+
# mask - (any)
|
429
|
+
class Net_addressType
|
430
|
+
attr_accessor :host
|
431
|
+
attr_accessor :mask
|
432
|
+
|
433
|
+
def initialize(host = nil, mask = nil)
|
434
|
+
@host = host
|
435
|
+
@mask = mask
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
|
440
|
+
# id - SOAP::SOAPString
|
441
|
+
# transfer - Virtuozzo::SOAP::Drivers::TransferType
|
442
|
+
class Net_classType
|
443
|
+
attr_accessor :id
|
444
|
+
attr_accessor :transfer
|
445
|
+
|
446
|
+
def initialize(id = nil, transfer = nil)
|
447
|
+
@id = id
|
448
|
+
@transfer = transfer
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
|
453
|
+
# id - SOAP::SOAPString
|
454
|
+
# start_ip - (any)
|
455
|
+
# subnet_mask - SOAP::SOAPInt
|
456
|
+
# comment - SOAP::SOAPString
|
457
|
+
class Ip_rangeType
|
458
|
+
attr_accessor :id
|
459
|
+
attr_accessor :start_ip
|
460
|
+
attr_accessor :subnet_mask
|
461
|
+
attr_accessor :comment
|
462
|
+
|
463
|
+
def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
|
464
|
+
@id = id
|
465
|
+
@start_ip = start_ip
|
466
|
+
@subnet_mask = subnet_mask
|
467
|
+
@comment = comment
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
|
472
|
+
# env_config - Virtuozzo::SOAP::Drivers::Env_configType
|
473
|
+
# id - SOAP::SOAPString
|
474
|
+
# name - SOAP::SOAPString
|
475
|
+
# comment - SOAP::SOAPBase64
|
476
|
+
# vt_version - Virtuozzo::SOAP::Drivers::Sample_confType::Vt_version
|
477
|
+
class Sample_confType
|
478
|
+
|
479
|
+
# inner class for member: vt_version
|
480
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
|
481
|
+
# platform - SOAP::SOAPString
|
482
|
+
# architecture - SOAP::SOAPString
|
483
|
+
# vt_technology - SOAP::SOAPString
|
484
|
+
class Vt_version
|
485
|
+
attr_accessor :platform
|
486
|
+
attr_accessor :architecture
|
487
|
+
attr_accessor :vt_technology
|
488
|
+
|
489
|
+
def initialize(platform = nil, architecture = nil, vt_technology = nil)
|
490
|
+
@platform = platform
|
491
|
+
@architecture = architecture
|
492
|
+
@vt_technology = vt_technology
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
attr_accessor :env_config
|
497
|
+
attr_accessor :id
|
498
|
+
attr_accessor :name
|
499
|
+
attr_accessor :comment
|
500
|
+
attr_accessor :vt_version
|
501
|
+
|
502
|
+
def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
|
503
|
+
@env_config = env_config
|
504
|
+
@id = id
|
505
|
+
@name = name
|
506
|
+
@comment = comment
|
507
|
+
@vt_version = vt_version
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
511
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
|
512
|
+
# name - SOAP::SOAPString
|
513
|
+
# bandwidth - SOAP::SOAPInt
|
514
|
+
# transfer - Virtuozzo::SOAP::Drivers::TransferType
|
515
|
+
# ipaddress - (any)
|
516
|
+
# flags - SOAP::SOAPInt
|
517
|
+
class InterfaceType
|
518
|
+
attr_accessor :name
|
519
|
+
attr_accessor :bandwidth
|
520
|
+
attr_accessor :transfer
|
521
|
+
attr_accessor :ipaddress
|
522
|
+
attr_accessor :flags
|
523
|
+
|
524
|
+
def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
|
525
|
+
@name = name
|
526
|
+
@bandwidth = bandwidth
|
527
|
+
@transfer = transfer
|
528
|
+
@ipaddress = ipaddress
|
529
|
+
@flags = flags
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
|
534
|
+
# load_avg - Virtuozzo::SOAP::Drivers::Load_avgType
|
535
|
+
# processes - Virtuozzo::SOAP::Drivers::ProcessesType
|
536
|
+
# cpu_load - Virtuozzo::SOAP::Drivers::Cpu_loadType
|
537
|
+
# cpu_states - Virtuozzo::SOAP::Drivers::Cpu_loadType
|
538
|
+
# users - SOAP::SOAPInt
|
539
|
+
# uptime - SOAP::SOAPLong
|
540
|
+
# memory - Virtuozzo::SOAP::Drivers::Sys_infoType::Memory
|
541
|
+
# swap - Virtuozzo::SOAP::Drivers::Sys_infoType::Swap
|
542
|
+
class Sys_infoType
|
543
|
+
|
544
|
+
# inner class for member: memory
|
545
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
|
546
|
+
# total - SOAP::SOAPLong
|
547
|
+
# used - SOAP::SOAPLong
|
548
|
+
class Memory < ResourceType
|
549
|
+
attr_accessor :total
|
550
|
+
attr_accessor :used
|
551
|
+
|
552
|
+
def initialize(total = nil, used = nil)
|
553
|
+
@total = total
|
554
|
+
@used = used
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
# inner class for member: swap
|
559
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
|
560
|
+
# total - SOAP::SOAPLong
|
561
|
+
# used - SOAP::SOAPLong
|
562
|
+
class Swap < ResourceType
|
563
|
+
attr_accessor :total
|
564
|
+
attr_accessor :used
|
565
|
+
|
566
|
+
def initialize(total = nil, used = nil)
|
567
|
+
@total = total
|
568
|
+
@used = used
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
attr_accessor :load_avg
|
573
|
+
attr_accessor :processes
|
574
|
+
attr_accessor :cpu_load
|
575
|
+
attr_accessor :cpu_states
|
576
|
+
attr_accessor :users
|
577
|
+
attr_accessor :uptime
|
578
|
+
attr_accessor :memory
|
579
|
+
attr_accessor :swap
|
580
|
+
|
581
|
+
def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
|
582
|
+
@load_avg = load_avg
|
583
|
+
@processes = processes
|
584
|
+
@cpu_load = cpu_load
|
585
|
+
@cpu_states = cpu_states
|
586
|
+
@users = users
|
587
|
+
@uptime = uptime
|
588
|
+
@memory = memory
|
589
|
+
@swap = swap
|
590
|
+
end
|
591
|
+
end
|
592
|
+
|
593
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
|
594
|
+
# process - Virtuozzo::SOAP::Drivers::Ps_infoType::C_Process
|
595
|
+
# param_id - SOAP::SOAPString
|
596
|
+
# run - SOAP::SOAPInt
|
597
|
+
# idle - SOAP::SOAPInt
|
598
|
+
# zombie - SOAP::SOAPInt
|
599
|
+
# sleep - SOAP::SOAPInt
|
600
|
+
# uninterrupt - SOAP::SOAPInt
|
601
|
+
# stopped - SOAP::SOAPInt
|
602
|
+
# total - SOAP::SOAPInt
|
603
|
+
class Ps_infoType
|
604
|
+
|
605
|
+
# inner class for member: process
|
606
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
|
607
|
+
# pid - SOAP::SOAPInt
|
608
|
+
# param - SOAP::SOAPBase64
|
609
|
+
class C_Process
|
610
|
+
attr_accessor :pid
|
611
|
+
attr_accessor :param
|
612
|
+
|
613
|
+
def initialize(pid = nil, param = [])
|
614
|
+
@pid = pid
|
615
|
+
@param = param
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
619
|
+
attr_accessor :process
|
620
|
+
attr_accessor :param_id
|
621
|
+
attr_accessor :run
|
622
|
+
attr_accessor :idle
|
623
|
+
attr_accessor :zombie
|
624
|
+
attr_accessor :sleep
|
625
|
+
attr_accessor :uninterrupt
|
626
|
+
attr_accessor :stopped
|
627
|
+
attr_accessor :total
|
628
|
+
|
629
|
+
def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
|
630
|
+
@process = process
|
631
|
+
@param_id = param_id
|
632
|
+
@run = run
|
633
|
+
@idle = idle
|
634
|
+
@zombie = zombie
|
635
|
+
@sleep = sleep
|
636
|
+
@uninterrupt = uninterrupt
|
637
|
+
@stopped = stopped
|
638
|
+
@total = total
|
639
|
+
end
|
640
|
+
end
|
641
|
+
|
642
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
|
643
|
+
# l1 - Virtuozzo::SOAP::Drivers::Load_avg_statsType::L1
|
644
|
+
# l2 - Virtuozzo::SOAP::Drivers::Load_avg_statsType::L2
|
645
|
+
# l3 - Virtuozzo::SOAP::Drivers::Load_avg_statsType::L3
|
646
|
+
class Load_avg_statsType
|
647
|
+
|
648
|
+
# inner class for member: l1
|
649
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
|
650
|
+
# avg - SOAP::SOAPLong
|
651
|
+
# min - SOAP::SOAPLong
|
652
|
+
# max - SOAP::SOAPLong
|
653
|
+
# cur - SOAP::SOAPLong
|
654
|
+
class L1 < StatsType
|
655
|
+
attr_accessor :avg
|
656
|
+
attr_accessor :min
|
657
|
+
attr_accessor :max
|
658
|
+
attr_accessor :cur
|
659
|
+
|
660
|
+
def initialize(avg = nil, min = nil, max = nil, cur = nil)
|
661
|
+
@avg = avg
|
662
|
+
@min = min
|
663
|
+
@max = max
|
664
|
+
@cur = cur
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
668
|
+
# inner class for member: l2
|
669
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
|
670
|
+
# avg - SOAP::SOAPLong
|
671
|
+
# min - SOAP::SOAPLong
|
672
|
+
# max - SOAP::SOAPLong
|
673
|
+
# cur - SOAP::SOAPLong
|
674
|
+
class L2 < StatsType
|
675
|
+
attr_accessor :avg
|
676
|
+
attr_accessor :min
|
677
|
+
attr_accessor :max
|
678
|
+
attr_accessor :cur
|
679
|
+
|
680
|
+
def initialize(avg = nil, min = nil, max = nil, cur = nil)
|
681
|
+
@avg = avg
|
682
|
+
@min = min
|
683
|
+
@max = max
|
684
|
+
@cur = cur
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
# inner class for member: l3
|
689
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
|
690
|
+
# avg - SOAP::SOAPLong
|
691
|
+
# min - SOAP::SOAPLong
|
692
|
+
# max - SOAP::SOAPLong
|
693
|
+
# cur - SOAP::SOAPLong
|
694
|
+
class L3 < StatsType
|
695
|
+
attr_accessor :avg
|
696
|
+
attr_accessor :min
|
697
|
+
attr_accessor :max
|
698
|
+
attr_accessor :cur
|
699
|
+
|
700
|
+
def initialize(avg = nil, min = nil, max = nil, cur = nil)
|
701
|
+
@avg = avg
|
702
|
+
@min = min
|
703
|
+
@max = max
|
704
|
+
@cur = cur
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
attr_accessor :l1
|
709
|
+
attr_accessor :l2
|
710
|
+
attr_accessor :l3
|
711
|
+
|
712
|
+
def initialize(l1 = nil, l2 = nil, l3 = nil)
|
713
|
+
@l1 = l1
|
714
|
+
@l2 = l2
|
715
|
+
@l3 = l3
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
719
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
|
720
|
+
# ip - (any)
|
721
|
+
# netmask - (any)
|
722
|
+
class Ip_addressType
|
723
|
+
attr_accessor :ip
|
724
|
+
attr_accessor :netmask
|
725
|
+
|
726
|
+
def initialize(ip = nil, netmask = nil)
|
727
|
+
@ip = ip
|
728
|
+
@netmask = netmask
|
729
|
+
end
|
730
|
+
end
|
731
|
+
|
732
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_resourceType
|
733
|
+
# eid - (any)
|
734
|
+
# ip_pool - Virtuozzo::SOAP::Drivers::Ip_poolType
|
735
|
+
class Env_resourceType
|
736
|
+
attr_accessor :eid
|
737
|
+
attr_accessor :ip_pool
|
738
|
+
|
739
|
+
def initialize(eid = nil, ip_pool = nil)
|
740
|
+
@eid = eid
|
741
|
+
@ip_pool = ip_pool
|
742
|
+
end
|
743
|
+
end
|
744
|
+
|
745
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_poolType
|
746
|
+
# ip_range - Virtuozzo::SOAP::Drivers::Ip_poolType::Ip_range
|
747
|
+
# ip - (any)
|
748
|
+
class Ip_poolType
|
749
|
+
|
750
|
+
# inner class for member: ip_range
|
751
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_range
|
752
|
+
# start_ip - (any)
|
753
|
+
# end_ip - (any)
|
754
|
+
class Ip_range
|
755
|
+
attr_accessor :start_ip
|
756
|
+
attr_accessor :end_ip
|
757
|
+
|
758
|
+
def initialize(start_ip = nil, end_ip = nil)
|
759
|
+
@start_ip = start_ip
|
760
|
+
@end_ip = end_ip
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
764
|
+
attr_accessor :ip_range
|
765
|
+
attr_accessor :ip
|
766
|
+
|
767
|
+
def initialize(ip_range = [], ip = [])
|
768
|
+
@ip_range = ip_range
|
769
|
+
@ip = ip
|
770
|
+
end
|
771
|
+
end
|
772
|
+
|
773
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}usageType
|
774
|
+
# total - SOAP::SOAPLong
|
775
|
+
# used - SOAP::SOAPLong
|
776
|
+
# free - SOAP::SOAPLong
|
777
|
+
class UsageType
|
778
|
+
attr_accessor :total
|
779
|
+
attr_accessor :used
|
780
|
+
attr_accessor :free
|
781
|
+
|
782
|
+
def initialize(total = nil, used = nil, free = nil)
|
783
|
+
@total = total
|
784
|
+
@used = used
|
785
|
+
@free = free
|
786
|
+
end
|
787
|
+
end
|
788
|
+
|
789
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}credentialType
|
790
|
+
# id - SOAP::SOAPString
|
791
|
+
# policy - SOAP::SOAPInt
|
792
|
+
# description - SOAP::SOAPBase64
|
793
|
+
# cred - Virtuozzo::SOAP::Drivers::CredentialType
|
794
|
+
class CredentialType
|
795
|
+
attr_accessor :id
|
796
|
+
attr_accessor :policy
|
797
|
+
attr_accessor :description
|
798
|
+
attr_accessor :cred
|
799
|
+
|
800
|
+
def initialize(id = nil, policy = nil, description = nil, cred = [])
|
801
|
+
@id = id
|
802
|
+
@policy = policy
|
803
|
+
@description = description
|
804
|
+
@cred = cred
|
805
|
+
end
|
806
|
+
end
|
807
|
+
|
808
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}root_credentialType
|
809
|
+
# id - SOAP::SOAPString
|
810
|
+
# policy - SOAP::SOAPInt
|
811
|
+
# description - SOAP::SOAPBase64
|
812
|
+
# cred - Virtuozzo::SOAP::Drivers::CredentialType
|
813
|
+
# objects - Virtuozzo::SOAP::Drivers::Root_credentialType::Objects
|
814
|
+
class Root_credentialType < CredentialType
|
815
|
+
|
816
|
+
# inner class for member: objects
|
817
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}objects
|
818
|
+
class Objects < ::Array
|
819
|
+
end
|
820
|
+
|
821
|
+
attr_accessor :id
|
822
|
+
attr_accessor :policy
|
823
|
+
attr_accessor :description
|
824
|
+
attr_accessor :cred
|
825
|
+
attr_accessor :objects
|
826
|
+
|
827
|
+
def initialize(id = nil, policy = nil, description = nil, cred = [], objects = nil)
|
828
|
+
@id = id
|
829
|
+
@policy = policy
|
830
|
+
@description = description
|
831
|
+
@cred = cred
|
832
|
+
@objects = objects
|
833
|
+
end
|
834
|
+
end
|
835
|
+
|
836
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}tokenType
|
837
|
+
# user - (any)
|
838
|
+
# groups - Virtuozzo::SOAP::Drivers::TokenType::Groups
|
839
|
+
# deny_only_sids - Virtuozzo::SOAP::Drivers::TokenType::Deny_only_sids
|
840
|
+
# privileges - Virtuozzo::SOAP::Drivers::TokenType::Privileges
|
841
|
+
# source - Virtuozzo::SOAP::Drivers::TokenType::Source
|
842
|
+
class TokenType
|
843
|
+
|
844
|
+
# inner class for member: groups
|
845
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}groups
|
846
|
+
class Groups < ::Array
|
847
|
+
end
|
848
|
+
|
849
|
+
# inner class for member: deny_only_sids
|
850
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}deny_only_sids
|
851
|
+
class Deny_only_sids < ::Array
|
852
|
+
end
|
853
|
+
|
854
|
+
# inner class for member: privileges
|
855
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}privileges
|
856
|
+
class Privileges < ::Array
|
857
|
+
end
|
858
|
+
|
859
|
+
# inner class for member: source
|
860
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}source
|
861
|
+
# name - SOAP::SOAPString
|
862
|
+
# id - (any)
|
863
|
+
class Source
|
864
|
+
attr_accessor :name
|
865
|
+
attr_accessor :id
|
866
|
+
|
867
|
+
def initialize(name = nil, id = nil)
|
868
|
+
@name = name
|
869
|
+
@id = id
|
870
|
+
end
|
871
|
+
end
|
872
|
+
|
873
|
+
attr_accessor :user
|
874
|
+
attr_accessor :groups
|
875
|
+
attr_accessor :deny_only_sids
|
876
|
+
attr_accessor :privileges
|
877
|
+
attr_accessor :source
|
878
|
+
|
879
|
+
def initialize(user = nil, groups = nil, deny_only_sids = nil, privileges = nil, source = nil)
|
880
|
+
@user = user
|
881
|
+
@groups = groups
|
882
|
+
@deny_only_sids = deny_only_sids
|
883
|
+
@privileges = privileges
|
884
|
+
@source = source
|
885
|
+
end
|
886
|
+
end
|
887
|
+
|
888
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}connectivity_infoType
|
889
|
+
# protocol - SOAP::SOAPString
|
890
|
+
# address - SOAP::SOAPString
|
891
|
+
# port - SOAP::SOAPUnsignedInt
|
892
|
+
class Connectivity_infoType
|
893
|
+
attr_accessor :protocol
|
894
|
+
attr_accessor :address
|
895
|
+
attr_accessor :port
|
896
|
+
|
897
|
+
def initialize(protocol = nil, address = nil, port = nil)
|
898
|
+
@protocol = protocol
|
899
|
+
@address = address
|
900
|
+
@port = port
|
901
|
+
end
|
902
|
+
end
|
903
|
+
|
904
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}connection_infoType
|
905
|
+
# protocol - SOAP::SOAPString
|
906
|
+
# address - SOAP::SOAPString
|
907
|
+
# port - SOAP::SOAPUnsignedInt
|
908
|
+
# login - Virtuozzo::SOAP::Drivers::Auth_nameType
|
909
|
+
# password - SOAP::SOAPBase64
|
910
|
+
class Connection_infoType < Connectivity_infoType
|
911
|
+
attr_accessor :protocol
|
912
|
+
attr_accessor :address
|
913
|
+
attr_accessor :port
|
914
|
+
attr_accessor :login
|
915
|
+
attr_accessor :password
|
916
|
+
|
917
|
+
def initialize(protocol = nil, address = nil, port = nil, login = nil, password = nil)
|
918
|
+
@protocol = protocol
|
919
|
+
@address = address
|
920
|
+
@port = port
|
921
|
+
@login = login
|
922
|
+
@password = password
|
923
|
+
end
|
924
|
+
end
|
925
|
+
|
926
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}auth_nameType
|
927
|
+
# name - SOAP::SOAPBase64
|
928
|
+
# domain - SOAP::SOAPBase64
|
929
|
+
# realm - (any)
|
930
|
+
class Auth_nameType
|
931
|
+
attr_accessor :name
|
932
|
+
attr_accessor :domain
|
933
|
+
attr_accessor :realm
|
934
|
+
|
935
|
+
def initialize(name = nil, domain = nil, realm = nil)
|
936
|
+
@name = name
|
937
|
+
@domain = domain
|
938
|
+
@realm = realm
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
942
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}eid_listType
|
943
|
+
class Eid_listType < ::Array
|
944
|
+
end
|
945
|
+
|
946
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_infoType
|
947
|
+
class Vt_infoType
|
948
|
+
attr_reader :__xmlele_any
|
949
|
+
|
950
|
+
def set_any(elements)
|
951
|
+
@__xmlele_any = elements
|
952
|
+
end
|
953
|
+
|
954
|
+
def initialize
|
955
|
+
@__xmlele_any = nil
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
959
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_settingsType
|
960
|
+
# default_sample_id - (any)
|
961
|
+
class Vt_settingsType
|
962
|
+
attr_accessor :default_sample_id
|
963
|
+
|
964
|
+
def initialize(default_sample_id = nil)
|
965
|
+
@default_sample_id = default_sample_id
|
966
|
+
end
|
967
|
+
end
|
968
|
+
|
969
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
|
970
|
+
# initial_group - Virtuozzo::SOAP::Drivers::UserType::Initial_group
|
971
|
+
# group - Virtuozzo::SOAP::Drivers::UserType::Group
|
972
|
+
# uid - SOAP::SOAPInt
|
973
|
+
# shell - SOAP::SOAPString
|
974
|
+
# password - SOAP::SOAPBase64
|
975
|
+
# home_dir - SOAP::SOAPString
|
976
|
+
# name - SOAP::SOAPString
|
977
|
+
# comment - SOAP::SOAPString
|
978
|
+
class UserType
|
979
|
+
|
980
|
+
# inner class for member: initial_group
|
981
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
|
982
|
+
# name - SOAP::SOAPString
|
983
|
+
# gid - SOAP::SOAPInt
|
984
|
+
class Initial_group < GroupType
|
985
|
+
attr_accessor :name
|
986
|
+
attr_accessor :gid
|
987
|
+
|
988
|
+
def initialize(name = nil, gid = nil)
|
989
|
+
@name = name
|
990
|
+
@gid = gid
|
991
|
+
end
|
992
|
+
end
|
993
|
+
|
994
|
+
# inner class for member: group
|
995
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
|
996
|
+
# name - SOAP::SOAPString
|
997
|
+
# gid - SOAP::SOAPInt
|
998
|
+
class Group < GroupType
|
999
|
+
attr_accessor :name
|
1000
|
+
attr_accessor :gid
|
1001
|
+
|
1002
|
+
def initialize(name = nil, gid = nil)
|
1003
|
+
@name = name
|
1004
|
+
@gid = gid
|
1005
|
+
end
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
attr_accessor :initial_group
|
1009
|
+
attr_accessor :group
|
1010
|
+
attr_accessor :uid
|
1011
|
+
attr_accessor :shell
|
1012
|
+
attr_accessor :password
|
1013
|
+
attr_accessor :home_dir
|
1014
|
+
attr_accessor :name
|
1015
|
+
attr_accessor :comment
|
1016
|
+
|
1017
|
+
def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
|
1018
|
+
@initial_group = initial_group
|
1019
|
+
@group = group
|
1020
|
+
@uid = uid
|
1021
|
+
@shell = shell
|
1022
|
+
@password = password
|
1023
|
+
@home_dir = home_dir
|
1024
|
+
@name = name
|
1025
|
+
@comment = comment
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
|
1030
|
+
# user - Virtuozzo::SOAP::Drivers::GroupType::User
|
1031
|
+
# member_group - Virtuozzo::SOAP::Drivers::GroupType::Member_group
|
1032
|
+
# name - SOAP::SOAPString
|
1033
|
+
# gid - SOAP::SOAPInt
|
1034
|
+
class GroupType
|
1035
|
+
|
1036
|
+
# inner class for member: user
|
1037
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
|
1038
|
+
# name - SOAP::SOAPString
|
1039
|
+
class User < UserType
|
1040
|
+
attr_accessor :name
|
1041
|
+
|
1042
|
+
def initialize(name = nil)
|
1043
|
+
@name = name
|
1044
|
+
end
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
# inner class for member: member_group
|
1048
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
|
1049
|
+
# name - SOAP::SOAPString
|
1050
|
+
class Member_group < GroupType
|
1051
|
+
attr_accessor :name
|
1052
|
+
|
1053
|
+
def initialize(name = nil)
|
1054
|
+
@name = name
|
1055
|
+
end
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
attr_accessor :user
|
1059
|
+
attr_accessor :member_group
|
1060
|
+
attr_accessor :name
|
1061
|
+
attr_accessor :gid
|
1062
|
+
|
1063
|
+
def initialize(user = [], member_group = [], name = nil, gid = nil)
|
1064
|
+
@user = user
|
1065
|
+
@member_group = member_group
|
1066
|
+
@name = name
|
1067
|
+
@gid = gid
|
1068
|
+
end
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
|
1072
|
+
# name - SOAP::SOAPString
|
1073
|
+
# summary - SOAP::SOAPString
|
1074
|
+
# os - Virtuozzo::SOAP::Drivers::OsType
|
1075
|
+
# description - SOAP::SOAPString
|
1076
|
+
# arch - SOAP::SOAPString
|
1077
|
+
# version - SOAP::SOAPString
|
1078
|
+
class PackageType
|
1079
|
+
attr_accessor :name
|
1080
|
+
attr_accessor :summary
|
1081
|
+
attr_accessor :os
|
1082
|
+
attr_accessor :description
|
1083
|
+
attr_accessor :arch
|
1084
|
+
attr_accessor :version
|
1085
|
+
|
1086
|
+
def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
|
1087
|
+
@name = name
|
1088
|
+
@summary = summary
|
1089
|
+
@os = os
|
1090
|
+
@description = description
|
1091
|
+
@arch = arch
|
1092
|
+
@version = version
|
1093
|
+
end
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
|
1097
|
+
class Event_dataType
|
1098
|
+
def initialize
|
1099
|
+
end
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
|
1103
|
+
# type - SOAP::SOAPInt
|
1104
|
+
class Alert_dataType < Event_dataType
|
1105
|
+
attr_accessor :type
|
1106
|
+
|
1107
|
+
def initialize(type = nil)
|
1108
|
+
@type = type
|
1109
|
+
end
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
|
1113
|
+
# name - SOAP::SOAPString
|
1114
|
+
# value - SOAP::SOAPBase64
|
1115
|
+
class Named_listType
|
1116
|
+
attr_accessor :name
|
1117
|
+
attr_accessor :value
|
1118
|
+
|
1119
|
+
def initialize(name = nil, value = [])
|
1120
|
+
@name = name
|
1121
|
+
@value = value
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
|
1126
|
+
# name - SOAP::SOAPString
|
1127
|
+
# value - SOAP::SOAPBase64
|
1128
|
+
# op - SOAP::SOAPInt
|
1129
|
+
class ModType < Named_listType
|
1130
|
+
attr_accessor :name
|
1131
|
+
attr_accessor :value
|
1132
|
+
attr_accessor :op
|
1133
|
+
|
1134
|
+
def initialize(name = nil, value = [], op = nil)
|
1135
|
+
@name = name
|
1136
|
+
@value = value
|
1137
|
+
@op = op
|
1138
|
+
end
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
|
1142
|
+
# id - (any)
|
1143
|
+
# type - SOAP::SOAPInt
|
1144
|
+
# name - SOAP::SOAPString
|
1145
|
+
# builtin - (any)
|
1146
|
+
class RealmType
|
1147
|
+
attr_accessor :id
|
1148
|
+
attr_accessor :type
|
1149
|
+
attr_accessor :name
|
1150
|
+
attr_accessor :builtin
|
1151
|
+
|
1152
|
+
def initialize(id = nil, type = nil, name = nil, builtin = nil)
|
1153
|
+
@id = id
|
1154
|
+
@type = type
|
1155
|
+
@name = name
|
1156
|
+
@builtin = builtin
|
1157
|
+
end
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
|
1161
|
+
# eid - (any)
|
1162
|
+
# time - (any)
|
1163
|
+
# source - SOAP::SOAPString
|
1164
|
+
# category - SOAP::SOAPString
|
1165
|
+
# sid - (any)
|
1166
|
+
# count - SOAP::SOAPInt
|
1167
|
+
# id - (any)
|
1168
|
+
# info - Virtuozzo::SOAP::Drivers::InfoType
|
1169
|
+
# data - Virtuozzo::SOAP::Drivers::EventType::C_Data
|
1170
|
+
class EventType
|
1171
|
+
|
1172
|
+
# inner class for member: data
|
1173
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
|
1174
|
+
# event_data - Virtuozzo::SOAP::Drivers::Event_dataType
|
1175
|
+
class C_Data
|
1176
|
+
attr_accessor :event_data
|
1177
|
+
|
1178
|
+
def initialize(event_data = nil)
|
1179
|
+
@event_data = event_data
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
attr_accessor :eid
|
1184
|
+
attr_accessor :time
|
1185
|
+
attr_accessor :source
|
1186
|
+
attr_accessor :category
|
1187
|
+
attr_accessor :sid
|
1188
|
+
attr_accessor :count
|
1189
|
+
attr_accessor :id
|
1190
|
+
attr_accessor :info
|
1191
|
+
attr_accessor :data
|
1192
|
+
|
1193
|
+
def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
|
1194
|
+
@eid = eid
|
1195
|
+
@time = time
|
1196
|
+
@source = source
|
1197
|
+
@category = category
|
1198
|
+
@sid = sid
|
1199
|
+
@count = count
|
1200
|
+
@id = id
|
1201
|
+
@info = info
|
1202
|
+
@data = data
|
1203
|
+
end
|
1204
|
+
end
|
1205
|
+
|
1206
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
|
1207
|
+
# message - SOAP::SOAPBase64
|
1208
|
+
# translate - (any)
|
1209
|
+
# parameter - Virtuozzo::SOAP::Drivers::InfoType
|
1210
|
+
# name - SOAP::SOAPString
|
1211
|
+
class InfoType
|
1212
|
+
attr_accessor :message
|
1213
|
+
attr_accessor :translate
|
1214
|
+
attr_accessor :parameter
|
1215
|
+
attr_accessor :name
|
1216
|
+
|
1217
|
+
def initialize(message = nil, translate = nil, parameter = [], name = nil)
|
1218
|
+
@message = message
|
1219
|
+
@translate = translate
|
1220
|
+
@parameter = parameter
|
1221
|
+
@name = name
|
1222
|
+
end
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
|
1226
|
+
# type - SOAP::SOAPInt
|
1227
|
+
# sid - (any)
|
1228
|
+
# rights - SOAP::SOAPBase64
|
1229
|
+
class AceType
|
1230
|
+
attr_accessor :type
|
1231
|
+
attr_accessor :sid
|
1232
|
+
attr_accessor :rights
|
1233
|
+
|
1234
|
+
def initialize(type = nil, sid = nil, rights = nil)
|
1235
|
+
@type = type
|
1236
|
+
@sid = sid
|
1237
|
+
@rights = rights
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
|
1242
|
+
# owner - (any)
|
1243
|
+
# group - (any)
|
1244
|
+
# dacl - Virtuozzo::SOAP::Drivers::Security_descriptorType::Dacl
|
1245
|
+
class Security_descriptorType
|
1246
|
+
|
1247
|
+
# inner class for member: dacl
|
1248
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
|
1249
|
+
class Dacl < ::Array
|
1250
|
+
end
|
1251
|
+
|
1252
|
+
attr_accessor :owner
|
1253
|
+
attr_accessor :group
|
1254
|
+
attr_accessor :dacl
|
1255
|
+
|
1256
|
+
def initialize(owner = nil, group = nil, dacl = nil)
|
1257
|
+
@owner = owner
|
1258
|
+
@group = group
|
1259
|
+
@dacl = dacl
|
1260
|
+
end
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
|
1264
|
+
# abstract
|
1265
|
+
class Security_objectType
|
1266
|
+
def initialize
|
1267
|
+
end
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
|
1271
|
+
# eid - (any)
|
1272
|
+
class Env_security_objectType < Security_objectType
|
1273
|
+
attr_accessor :eid
|
1274
|
+
|
1275
|
+
def initialize(eid = nil)
|
1276
|
+
@eid = eid
|
1277
|
+
end
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
|
1281
|
+
# id - SOAP::SOAPString
|
1282
|
+
# ip_address - Virtuozzo::SOAP::Drivers::Ip_addressType
|
1283
|
+
# dhcp - (any)
|
1284
|
+
# network_id - SOAP::SOAPBase64
|
1285
|
+
# status - Virtuozzo::SOAP::Drivers::Net_deviceType::Status
|
1286
|
+
class Net_deviceType
|
1287
|
+
|
1288
|
+
# inner class for member: status
|
1289
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
|
1290
|
+
# up - (any)
|
1291
|
+
# down - (any)
|
1292
|
+
class Status
|
1293
|
+
attr_accessor :up
|
1294
|
+
attr_accessor :down
|
1295
|
+
|
1296
|
+
def initialize(up = nil, down = nil)
|
1297
|
+
@up = up
|
1298
|
+
@down = down
|
1299
|
+
end
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
attr_accessor :id
|
1303
|
+
attr_accessor :ip_address
|
1304
|
+
attr_accessor :dhcp
|
1305
|
+
attr_accessor :network_id
|
1306
|
+
attr_accessor :status
|
1307
|
+
|
1308
|
+
def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
|
1309
|
+
@id = id
|
1310
|
+
@ip_address = ip_address
|
1311
|
+
@dhcp = dhcp
|
1312
|
+
@network_id = network_id
|
1313
|
+
@status = status
|
1314
|
+
end
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
|
1318
|
+
# id - SOAP::SOAPString
|
1319
|
+
# ip_address - Virtuozzo::SOAP::Drivers::Ip_addressType
|
1320
|
+
# dhcp - (any)
|
1321
|
+
# network_id - SOAP::SOAPBase64
|
1322
|
+
# status - Virtuozzo::SOAP::Drivers::Net_nicType::Status
|
1323
|
+
# mac_address - SOAP::SOAPString
|
1324
|
+
class Net_nicType < Net_deviceType
|
1325
|
+
|
1326
|
+
# inner class for member: status
|
1327
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
|
1328
|
+
# up - (any)
|
1329
|
+
# down - (any)
|
1330
|
+
class Status
|
1331
|
+
attr_accessor :up
|
1332
|
+
attr_accessor :down
|
1333
|
+
|
1334
|
+
def initialize(up = nil, down = nil)
|
1335
|
+
@up = up
|
1336
|
+
@down = down
|
1337
|
+
end
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
attr_accessor :id
|
1341
|
+
attr_accessor :ip_address
|
1342
|
+
attr_accessor :dhcp
|
1343
|
+
attr_accessor :network_id
|
1344
|
+
attr_accessor :status
|
1345
|
+
attr_accessor :mac_address
|
1346
|
+
|
1347
|
+
def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
|
1348
|
+
@id = id
|
1349
|
+
@ip_address = ip_address
|
1350
|
+
@dhcp = dhcp
|
1351
|
+
@network_id = network_id
|
1352
|
+
@status = status
|
1353
|
+
@mac_address = mac_address
|
1354
|
+
end
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
|
1358
|
+
# id - SOAP::SOAPString
|
1359
|
+
# type - SOAP::SOAPString
|
1360
|
+
# min - SOAP::SOAPString
|
1361
|
+
# max - SOAP::SOAPString
|
1362
|
+
# long - SOAP::SOAPString
|
1363
|
+
# short - SOAP::SOAPString
|
1364
|
+
# category - SOAP::SOAPString
|
1365
|
+
# complex - SOAP::SOAPString
|
1366
|
+
# default - SOAP::SOAPString
|
1367
|
+
# measure - SOAP::SOAPString
|
1368
|
+
# data - (any)
|
1369
|
+
# name - (any)
|
1370
|
+
class Voc_parameterType
|
1371
|
+
attr_accessor :id
|
1372
|
+
attr_accessor :type
|
1373
|
+
attr_accessor :min
|
1374
|
+
attr_accessor :max
|
1375
|
+
attr_accessor :long
|
1376
|
+
attr_accessor :short
|
1377
|
+
attr_accessor :category
|
1378
|
+
attr_accessor :complex
|
1379
|
+
attr_accessor :default
|
1380
|
+
attr_accessor :measure
|
1381
|
+
attr_accessor :data
|
1382
|
+
attr_accessor :name
|
1383
|
+
|
1384
|
+
def initialize(id = nil, type = nil, min = nil, max = nil, long = nil, short = nil, category = [], complex = nil, default = nil, measure = nil, data = nil, name = nil)
|
1385
|
+
@id = id
|
1386
|
+
@type = type
|
1387
|
+
@min = min
|
1388
|
+
@max = max
|
1389
|
+
@long = long
|
1390
|
+
@short = short
|
1391
|
+
@category = category
|
1392
|
+
@complex = complex
|
1393
|
+
@default = default
|
1394
|
+
@measure = measure
|
1395
|
+
@data = data
|
1396
|
+
@name = name
|
1397
|
+
end
|
1398
|
+
end
|
1399
|
+
|
1400
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
|
1401
|
+
# name - SOAP::SOAPString
|
1402
|
+
# parameter - Virtuozzo::SOAP::Drivers::Voc_parameterType
|
1403
|
+
# category - Virtuozzo::SOAP::Drivers::Voc_parameterType
|
1404
|
+
class VocabularyType
|
1405
|
+
attr_accessor :name
|
1406
|
+
attr_accessor :parameter
|
1407
|
+
attr_accessor :category
|
1408
|
+
|
1409
|
+
def initialize(name = nil, parameter = [], category = [])
|
1410
|
+
@name = name
|
1411
|
+
@parameter = parameter
|
1412
|
+
@category = category
|
1413
|
+
end
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
|
1417
|
+
# cur - SOAP::SOAPAnySimpleType
|
1418
|
+
# avg - SOAP::SOAPAnySimpleType
|
1419
|
+
# max - SOAP::SOAPAnySimpleType
|
1420
|
+
# min - SOAP::SOAPAnySimpleType
|
1421
|
+
class Perf_statType
|
1422
|
+
attr_accessor :cur
|
1423
|
+
attr_accessor :avg
|
1424
|
+
attr_accessor :max
|
1425
|
+
attr_accessor :min
|
1426
|
+
|
1427
|
+
def initialize(cur = nil, avg = nil, max = nil, min = nil)
|
1428
|
+
@cur = cur
|
1429
|
+
@avg = avg
|
1430
|
+
@max = max
|
1431
|
+
@min = min
|
1432
|
+
end
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
|
1436
|
+
# eid - (any)
|
1437
|
+
# m_class - Virtuozzo::SOAP::Drivers::Perf_dataType::C_Class
|
1438
|
+
# interval - Virtuozzo::SOAP::Drivers::IntervalType
|
1439
|
+
class Perf_dataType
|
1440
|
+
|
1441
|
+
# inner class for member: class
|
1442
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
|
1443
|
+
# name - SOAP::SOAPString
|
1444
|
+
# instance - Virtuozzo::SOAP::Drivers::Perf_dataType::C_Class::Instance
|
1445
|
+
class C_Class
|
1446
|
+
|
1447
|
+
# inner class for member: instance
|
1448
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
|
1449
|
+
# name - SOAP::SOAPString
|
1450
|
+
# counter - Virtuozzo::SOAP::Drivers::Perf_dataType::C_Class::Instance::Counter
|
1451
|
+
class Instance
|
1452
|
+
|
1453
|
+
# inner class for member: counter
|
1454
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
|
1455
|
+
# name - SOAP::SOAPString
|
1456
|
+
# value - Virtuozzo::SOAP::Drivers::Perf_statType
|
1457
|
+
class Counter
|
1458
|
+
attr_accessor :name
|
1459
|
+
attr_accessor :value
|
1460
|
+
|
1461
|
+
def initialize(name = nil, value = nil)
|
1462
|
+
@name = name
|
1463
|
+
@value = value
|
1464
|
+
end
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
attr_accessor :name
|
1468
|
+
attr_accessor :counter
|
1469
|
+
|
1470
|
+
def initialize(name = nil, counter = [])
|
1471
|
+
@name = name
|
1472
|
+
@counter = counter
|
1473
|
+
end
|
1474
|
+
end
|
1475
|
+
|
1476
|
+
attr_accessor :name
|
1477
|
+
attr_accessor :instance
|
1478
|
+
|
1479
|
+
def initialize(name = nil, instance = [])
|
1480
|
+
@name = name
|
1481
|
+
@instance = instance
|
1482
|
+
end
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
attr_accessor :eid
|
1486
|
+
attr_accessor :interval
|
1487
|
+
|
1488
|
+
def m_class
|
1489
|
+
@v_class
|
1490
|
+
end
|
1491
|
+
|
1492
|
+
def m_class=(value)
|
1493
|
+
@v_class = value
|
1494
|
+
end
|
1495
|
+
|
1496
|
+
def initialize(eid = nil, v_class = [], interval = nil)
|
1497
|
+
@eid = eid
|
1498
|
+
@v_class = v_class
|
1499
|
+
@interval = interval
|
1500
|
+
end
|
1501
|
+
end
|
1502
|
+
|
1503
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
|
1504
|
+
class Log_options_baseType
|
1505
|
+
def initialize
|
1506
|
+
end
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
|
1510
|
+
class Log_optionsType < Log_options_baseType
|
1511
|
+
def initialize
|
1512
|
+
end
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet_headerType
|
1516
|
+
# auth - Virtuozzo::SOAP::Drivers::AuthType
|
1517
|
+
# cookie - SOAP::SOAPString
|
1518
|
+
# target - SOAP::SOAPString
|
1519
|
+
# origin - SOAP::SOAPString
|
1520
|
+
# src - Virtuozzo::SOAP::Drivers::RouteType
|
1521
|
+
# dst - Virtuozzo::SOAP::Drivers::RouteType
|
1522
|
+
# session - SOAP::SOAPString
|
1523
|
+
# xmlattr_version - SOAP::SOAPString
|
1524
|
+
# xmlattr_id - SOAP::SOAPString
|
1525
|
+
# xmlattr_priority - SOAP::SOAPString
|
1526
|
+
# xmlattr_time - SOAP::SOAPString
|
1527
|
+
# xmlattr_progress - SOAP::SOAPString
|
1528
|
+
# xmlattr_log - SOAP::SOAPString
|
1529
|
+
# xmlattr_type - SOAP::SOAPInt
|
1530
|
+
# xmlattr_timeout - SOAP::SOAPInt
|
1531
|
+
# xmlattr_timeout_limit - SOAP::SOAPInt
|
1532
|
+
# xmlattr_uid - SOAP::SOAPInt
|
1533
|
+
class Packet_headerType
|
1534
|
+
AttrC_Time = XSD::QName.new(nil, "time")
|
1535
|
+
AttrId = XSD::QName.new(nil, "id")
|
1536
|
+
AttrLog = XSD::QName.new(nil, "log")
|
1537
|
+
AttrPriority = XSD::QName.new(nil, "priority")
|
1538
|
+
AttrProgress = XSD::QName.new(nil, "progress")
|
1539
|
+
AttrTimeout = XSD::QName.new(nil, "timeout")
|
1540
|
+
AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
|
1541
|
+
AttrType = XSD::QName.new(nil, "type")
|
1542
|
+
AttrUid = XSD::QName.new(nil, "uid")
|
1543
|
+
AttrVersion = XSD::QName.new(nil, "version")
|
1544
|
+
|
1545
|
+
attr_accessor :auth
|
1546
|
+
attr_accessor :cookie
|
1547
|
+
attr_accessor :target
|
1548
|
+
attr_accessor :origin
|
1549
|
+
attr_accessor :src
|
1550
|
+
attr_accessor :dst
|
1551
|
+
attr_accessor :session
|
1552
|
+
|
1553
|
+
def __xmlattr
|
1554
|
+
@__xmlattr ||= {}
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
def xmlattr_version
|
1558
|
+
__xmlattr[AttrVersion]
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
def xmlattr_version=(value)
|
1562
|
+
__xmlattr[AttrVersion] = value
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
def xmlattr_id
|
1566
|
+
__xmlattr[AttrId]
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
def xmlattr_id=(value)
|
1570
|
+
__xmlattr[AttrId] = value
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
def xmlattr_priority
|
1574
|
+
__xmlattr[AttrPriority]
|
1575
|
+
end
|
1576
|
+
|
1577
|
+
def xmlattr_priority=(value)
|
1578
|
+
__xmlattr[AttrPriority] = value
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
def xmlattr_time
|
1582
|
+
__xmlattr[AttrC_Time]
|
1583
|
+
end
|
1584
|
+
|
1585
|
+
def xmlattr_time=(value)
|
1586
|
+
__xmlattr[AttrC_Time] = value
|
1587
|
+
end
|
1588
|
+
|
1589
|
+
def xmlattr_progress
|
1590
|
+
__xmlattr[AttrProgress]
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
def xmlattr_progress=(value)
|
1594
|
+
__xmlattr[AttrProgress] = value
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
def xmlattr_log
|
1598
|
+
__xmlattr[AttrLog]
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
def xmlattr_log=(value)
|
1602
|
+
__xmlattr[AttrLog] = value
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
def xmlattr_type
|
1606
|
+
__xmlattr[AttrType]
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
def xmlattr_type=(value)
|
1610
|
+
__xmlattr[AttrType] = value
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
def xmlattr_timeout
|
1614
|
+
__xmlattr[AttrTimeout]
|
1615
|
+
end
|
1616
|
+
|
1617
|
+
def xmlattr_timeout=(value)
|
1618
|
+
__xmlattr[AttrTimeout] = value
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
def xmlattr_timeout_limit
|
1622
|
+
__xmlattr[AttrTimeout_limit]
|
1623
|
+
end
|
1624
|
+
|
1625
|
+
def xmlattr_timeout_limit=(value)
|
1626
|
+
__xmlattr[AttrTimeout_limit] = value
|
1627
|
+
end
|
1628
|
+
|
1629
|
+
def xmlattr_uid
|
1630
|
+
__xmlattr[AttrUid]
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
def xmlattr_uid=(value)
|
1634
|
+
__xmlattr[AttrUid] = value
|
1635
|
+
end
|
1636
|
+
|
1637
|
+
def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil)
|
1638
|
+
@auth = auth
|
1639
|
+
@cookie = cookie
|
1640
|
+
@target = target
|
1641
|
+
@origin = origin
|
1642
|
+
@src = src
|
1643
|
+
@dst = dst
|
1644
|
+
@session = session
|
1645
|
+
@__xmlattr = {}
|
1646
|
+
end
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operatorType
|
1650
|
+
# configuration - Virtuozzo::SOAP::Drivers::ConfigurationType
|
1651
|
+
class OperatorType
|
1652
|
+
attr_accessor :configuration
|
1653
|
+
|
1654
|
+
def initialize(configuration = nil)
|
1655
|
+
@configuration = configuration
|
1656
|
+
end
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_functionalType
|
1660
|
+
# configuration - Virtuozzo::SOAP::Drivers::ConfigurationType
|
1661
|
+
# ok - Virtuozzo::SOAP::Drivers::Operator_functionalType::Ok
|
1662
|
+
# error - Virtuozzo::SOAP::Drivers::Operator_functionalType::Error
|
1663
|
+
class Operator_functionalType < OperatorType
|
1664
|
+
|
1665
|
+
# inner class for member: ok
|
1666
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
|
1667
|
+
class Ok
|
1668
|
+
def initialize
|
1669
|
+
end
|
1670
|
+
end
|
1671
|
+
|
1672
|
+
# inner class for member: error
|
1673
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
|
1674
|
+
# code - SOAP::SOAPInt
|
1675
|
+
# message - SOAP::SOAPString
|
1676
|
+
class Error
|
1677
|
+
attr_accessor :code
|
1678
|
+
attr_accessor :message
|
1679
|
+
|
1680
|
+
def initialize(code = nil, message = nil)
|
1681
|
+
@code = code
|
1682
|
+
@message = message
|
1683
|
+
end
|
1684
|
+
end
|
1685
|
+
|
1686
|
+
attr_accessor :configuration
|
1687
|
+
attr_accessor :ok
|
1688
|
+
attr_accessor :error
|
1689
|
+
|
1690
|
+
def initialize(configuration = nil, ok = [], error = [])
|
1691
|
+
@configuration = configuration
|
1692
|
+
@ok = ok
|
1693
|
+
@error = error
|
1694
|
+
end
|
1695
|
+
end
|
1696
|
+
|
1697
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/env_samplem}env_samplemType
|
1698
|
+
# configuration - Virtuozzo::SOAP::Drivers::ConfigurationType
|
1699
|
+
# ok - Virtuozzo::SOAP::Drivers::Env_samplemType::Ok
|
1700
|
+
# error - Virtuozzo::SOAP::Drivers::Env_samplemType::Error
|
1701
|
+
# get_sample_conf - Virtuozzo::SOAP::Drivers::Get_sample_conf
|
1702
|
+
# set_sample_conf - Virtuozzo::SOAP::Drivers::Set_sample_conf
|
1703
|
+
# del_sample_conf - Virtuozzo::SOAP::Drivers::Del_sample_conf
|
1704
|
+
# get_env_by_sample - Virtuozzo::SOAP::Drivers::Get_env_by_sample
|
1705
|
+
# sample_conf - Virtuozzo::SOAP::Drivers::Sample_confType
|
1706
|
+
# sample_env_list - Virtuozzo::SOAP::Drivers::Sample_env_list
|
1707
|
+
class Env_samplemType < Operator_functionalType
|
1708
|
+
|
1709
|
+
# inner class for member: ok
|
1710
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
|
1711
|
+
class Ok
|
1712
|
+
def initialize
|
1713
|
+
end
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
# inner class for member: error
|
1717
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
|
1718
|
+
# code - SOAP::SOAPInt
|
1719
|
+
# message - SOAP::SOAPString
|
1720
|
+
class Error
|
1721
|
+
attr_accessor :code
|
1722
|
+
attr_accessor :message
|
1723
|
+
|
1724
|
+
def initialize(code = nil, message = nil)
|
1725
|
+
@code = code
|
1726
|
+
@message = message
|
1727
|
+
end
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
attr_accessor :configuration
|
1731
|
+
attr_accessor :ok
|
1732
|
+
attr_accessor :error
|
1733
|
+
attr_accessor :get_sample_conf
|
1734
|
+
attr_accessor :set_sample_conf
|
1735
|
+
attr_accessor :del_sample_conf
|
1736
|
+
attr_accessor :get_env_by_sample
|
1737
|
+
attr_accessor :sample_conf
|
1738
|
+
attr_accessor :sample_env_list
|
1739
|
+
|
1740
|
+
def initialize(configuration = nil, ok = [], error = [], get_sample_conf = nil, set_sample_conf = nil, del_sample_conf = nil, get_env_by_sample = nil, sample_conf = [], sample_env_list = [])
|
1741
|
+
@configuration = configuration
|
1742
|
+
@ok = ok
|
1743
|
+
@error = error
|
1744
|
+
@get_sample_conf = get_sample_conf
|
1745
|
+
@set_sample_conf = set_sample_conf
|
1746
|
+
@del_sample_conf = del_sample_conf
|
1747
|
+
@get_env_by_sample = get_env_by_sample
|
1748
|
+
@sample_conf = sample_conf
|
1749
|
+
@sample_env_list = sample_env_list
|
1750
|
+
end
|
1751
|
+
end
|
1752
|
+
|
1753
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
|
1754
|
+
# configuration - Virtuozzo::SOAP::Drivers::ConfigurationType
|
1755
|
+
# ok - Virtuozzo::SOAP::Drivers::Operator_periodicType::Ok
|
1756
|
+
# error - Virtuozzo::SOAP::Drivers::Operator_periodicType::Error
|
1757
|
+
# start_monitor - Virtuozzo::SOAP::Drivers::Start_monitorType
|
1758
|
+
# stop_monitor - Virtuozzo::SOAP::Drivers::Stop_monitorType
|
1759
|
+
# set_period - Virtuozzo::SOAP::Drivers::Set_periodType
|
1760
|
+
# report - (any)
|
1761
|
+
class Operator_periodicType < Operator_functionalType
|
1762
|
+
|
1763
|
+
# inner class for member: ok
|
1764
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
|
1765
|
+
class Ok
|
1766
|
+
def initialize
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
# inner class for member: error
|
1771
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
|
1772
|
+
# code - SOAP::SOAPInt
|
1773
|
+
# message - SOAP::SOAPString
|
1774
|
+
class Error
|
1775
|
+
attr_accessor :code
|
1776
|
+
attr_accessor :message
|
1777
|
+
|
1778
|
+
def initialize(code = nil, message = nil)
|
1779
|
+
@code = code
|
1780
|
+
@message = message
|
1781
|
+
end
|
1782
|
+
end
|
1783
|
+
|
1784
|
+
attr_accessor :configuration
|
1785
|
+
attr_accessor :ok
|
1786
|
+
attr_accessor :error
|
1787
|
+
attr_accessor :start_monitor
|
1788
|
+
attr_accessor :stop_monitor
|
1789
|
+
attr_accessor :set_period
|
1790
|
+
attr_accessor :report
|
1791
|
+
|
1792
|
+
def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
|
1793
|
+
@configuration = configuration
|
1794
|
+
@ok = ok
|
1795
|
+
@error = error
|
1796
|
+
@start_monitor = start_monitor
|
1797
|
+
@stop_monitor = stop_monitor
|
1798
|
+
@set_period = set_period
|
1799
|
+
@report = report
|
1800
|
+
end
|
1801
|
+
end
|
1802
|
+
|
1803
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
|
1804
|
+
# collect - SOAP::SOAPInt
|
1805
|
+
# log - SOAP::SOAPInt
|
1806
|
+
# report - SOAP::SOAPInt
|
1807
|
+
class Set_periodType
|
1808
|
+
attr_accessor :collect
|
1809
|
+
attr_accessor :log
|
1810
|
+
attr_accessor :report
|
1811
|
+
|
1812
|
+
def initialize(collect = nil, log = nil, report = nil)
|
1813
|
+
@collect = collect
|
1814
|
+
@log = log
|
1815
|
+
@report = report
|
1816
|
+
end
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
|
1820
|
+
# period - SOAP::SOAPInt
|
1821
|
+
class Start_monitorType
|
1822
|
+
attr_accessor :period
|
1823
|
+
attr_reader :__xmlele_any
|
1824
|
+
|
1825
|
+
def set_any(elements)
|
1826
|
+
@__xmlele_any = elements
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
def initialize(period = nil)
|
1830
|
+
@period = period
|
1831
|
+
@__xmlele_any = nil
|
1832
|
+
end
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
|
1836
|
+
class Stop_monitorType
|
1837
|
+
attr_reader :__xmlele_any
|
1838
|
+
|
1839
|
+
def set_any(elements)
|
1840
|
+
@__xmlele_any = elements
|
1841
|
+
end
|
1842
|
+
|
1843
|
+
def initialize
|
1844
|
+
@__xmlele_any = nil
|
1845
|
+
end
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
|
1849
|
+
class AuthType
|
1850
|
+
attr_reader :__xmlele_any
|
1851
|
+
|
1852
|
+
def set_any(elements)
|
1853
|
+
@__xmlele_any = elements
|
1854
|
+
end
|
1855
|
+
|
1856
|
+
def initialize
|
1857
|
+
@__xmlele_any = nil
|
1858
|
+
end
|
1859
|
+
end
|
1860
|
+
|
1861
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
|
1862
|
+
# director - SOAP::SOAPString
|
1863
|
+
# host - SOAP::SOAPString
|
1864
|
+
# index - SOAP::SOAPString
|
1865
|
+
# target - SOAP::SOAPString
|
1866
|
+
class RouteType
|
1867
|
+
attr_accessor :director
|
1868
|
+
attr_accessor :host
|
1869
|
+
attr_accessor :index
|
1870
|
+
attr_accessor :target
|
1871
|
+
|
1872
|
+
def initialize(director = nil, host = nil, index = nil, target = nil)
|
1873
|
+
@director = director
|
1874
|
+
@host = host
|
1875
|
+
@index = index
|
1876
|
+
@target = target
|
1877
|
+
end
|
1878
|
+
end
|
1879
|
+
|
1880
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
|
1881
|
+
class DataType < ::Array
|
1882
|
+
end
|
1883
|
+
|
1884
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
|
1885
|
+
class ConfigurationType
|
1886
|
+
def initialize
|
1887
|
+
end
|
1888
|
+
end
|
1889
|
+
|
1890
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
|
1891
|
+
# period - SOAP::SOAPInt
|
1892
|
+
class Event_configurationType < ConfigurationType
|
1893
|
+
attr_accessor :period
|
1894
|
+
|
1895
|
+
def initialize(period = nil)
|
1896
|
+
@period = period
|
1897
|
+
end
|
1898
|
+
end
|
1899
|
+
|
1900
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
|
1901
|
+
# log_priority - SOAP::SOAPInt
|
1902
|
+
# monitor_priority - SOAP::SOAPInt
|
1903
|
+
# min_monitor_period - SOAP::SOAPInt
|
1904
|
+
# min_monitor_period_root - SOAP::SOAPInt
|
1905
|
+
class Periodic_configurationType < ConfigurationType
|
1906
|
+
attr_accessor :log_priority
|
1907
|
+
attr_accessor :monitor_priority
|
1908
|
+
attr_accessor :min_monitor_period
|
1909
|
+
attr_accessor :min_monitor_period_root
|
1910
|
+
|
1911
|
+
def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
|
1912
|
+
@log_priority = log_priority
|
1913
|
+
@monitor_priority = monitor_priority
|
1914
|
+
@min_monitor_period = min_monitor_period
|
1915
|
+
@min_monitor_period_root = min_monitor_period_root
|
1916
|
+
end
|
1917
|
+
end
|
1918
|
+
|
1919
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
|
1920
|
+
class Transport_type < ::String
|
1921
|
+
Tcp = Transport_type.new("tcp")
|
1922
|
+
Udp = Transport_type.new("udp")
|
1923
|
+
end
|
1924
|
+
|
1925
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
|
1926
|
+
class Yes_no_type < ::String
|
1927
|
+
No = Yes_no_type.new("no")
|
1928
|
+
Yes = Yes_no_type.new("yes")
|
1929
|
+
end
|
1930
|
+
|
1931
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/env_samplem}sample_env_list
|
1932
|
+
# sample_id - SOAP::SOAPString
|
1933
|
+
# eid_list - Virtuozzo::SOAP::Drivers::Eid_listType
|
1934
|
+
class Sample_env_list
|
1935
|
+
attr_accessor :sample_id
|
1936
|
+
attr_accessor :eid_list
|
1937
|
+
|
1938
|
+
def initialize(sample_id = nil, eid_list = nil)
|
1939
|
+
@sample_id = sample_id
|
1940
|
+
@eid_list = eid_list
|
1941
|
+
end
|
1942
|
+
end
|
1943
|
+
|
1944
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/env_samplem}get_sample_conf
|
1945
|
+
# sample_id - SOAP::SOAPString
|
1946
|
+
# eid - (any)
|
1947
|
+
class Get_sample_conf
|
1948
|
+
attr_accessor :sample_id
|
1949
|
+
attr_accessor :eid
|
1950
|
+
|
1951
|
+
def initialize(sample_id = [], eid = nil)
|
1952
|
+
@sample_id = sample_id
|
1953
|
+
@eid = eid
|
1954
|
+
end
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/env_samplem}set_sample_conf
|
1958
|
+
# force - (any)
|
1959
|
+
# sample_conf - Virtuozzo::SOAP::Drivers::Sample_confType
|
1960
|
+
class Set_sample_conf
|
1961
|
+
attr_accessor :force
|
1962
|
+
attr_accessor :sample_conf
|
1963
|
+
|
1964
|
+
def initialize(force = nil, sample_conf = nil)
|
1965
|
+
@force = force
|
1966
|
+
@sample_conf = sample_conf
|
1967
|
+
end
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/env_samplem}get_env_by_sample
|
1971
|
+
class Get_env_by_sample < ::Array
|
1972
|
+
end
|
1973
|
+
|
1974
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/env_samplem}del_sample_conf
|
1975
|
+
# sample_id - (any)
|
1976
|
+
class Del_sample_conf
|
1977
|
+
attr_accessor :sample_id
|
1978
|
+
|
1979
|
+
def initialize(sample_id = nil)
|
1980
|
+
@sample_id = sample_id
|
1981
|
+
end
|
1982
|
+
end
|
1983
|
+
|
1984
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/env_samplem}get_sample_confResponse
|
1985
|
+
class Get_sample_confResponse < ::Array
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/env_samplem}set_sample_confResponse
|
1989
|
+
# id - (any)
|
1990
|
+
class Set_sample_confResponse
|
1991
|
+
attr_accessor :id
|
1992
|
+
|
1993
|
+
def initialize(id = nil)
|
1994
|
+
@id = id
|
1995
|
+
end
|
1996
|
+
end
|
1997
|
+
|
1998
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/env_samplem}del_sample_confResponse
|
1999
|
+
class Del_sample_confResponse
|
2000
|
+
def initialize
|
2001
|
+
end
|
2002
|
+
end
|
2003
|
+
|
2004
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/env_samplem}get_env_by_sampleResponse
|
2005
|
+
class Get_env_by_sampleResponse < ::Array
|
2006
|
+
end
|
2007
|
+
|
2008
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
|
2009
|
+
class Ok < ::String
|
2010
|
+
def initialize(*arg)
|
2011
|
+
super
|
2012
|
+
end
|
2013
|
+
end
|
2014
|
+
|
2015
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
|
2016
|
+
# auth - Virtuozzo::SOAP::Drivers::AuthType
|
2017
|
+
# cookie - SOAP::SOAPString
|
2018
|
+
# target - SOAP::SOAPString
|
2019
|
+
# origin - SOAP::SOAPString
|
2020
|
+
# src - Virtuozzo::SOAP::Drivers::RouteType
|
2021
|
+
# dst - Virtuozzo::SOAP::Drivers::RouteType
|
2022
|
+
# session - SOAP::SOAPString
|
2023
|
+
# data - Virtuozzo::SOAP::Drivers::Packet::C_Data
|
2024
|
+
# xmlattr_version - SOAP::SOAPString
|
2025
|
+
# xmlattr_id - SOAP::SOAPString
|
2026
|
+
# xmlattr_priority - SOAP::SOAPString
|
2027
|
+
# xmlattr_time - SOAP::SOAPString
|
2028
|
+
# xmlattr_progress - SOAP::SOAPString
|
2029
|
+
# xmlattr_log - SOAP::SOAPString
|
2030
|
+
# xmlattr_type - SOAP::SOAPInt
|
2031
|
+
# xmlattr_timeout - SOAP::SOAPInt
|
2032
|
+
# xmlattr_timeout_limit - SOAP::SOAPInt
|
2033
|
+
# xmlattr_uid - SOAP::SOAPInt
|
2034
|
+
class Packet < Packet_headerType
|
2035
|
+
AttrC_Time = XSD::QName.new(nil, "time")
|
2036
|
+
AttrId = XSD::QName.new(nil, "id")
|
2037
|
+
AttrLog = XSD::QName.new(nil, "log")
|
2038
|
+
AttrPriority = XSD::QName.new(nil, "priority")
|
2039
|
+
AttrProgress = XSD::QName.new(nil, "progress")
|
2040
|
+
AttrTimeout = XSD::QName.new(nil, "timeout")
|
2041
|
+
AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
|
2042
|
+
AttrType = XSD::QName.new(nil, "type")
|
2043
|
+
AttrUid = XSD::QName.new(nil, "uid")
|
2044
|
+
AttrVersion = XSD::QName.new(nil, "version")
|
2045
|
+
|
2046
|
+
# inner class for member: data
|
2047
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
|
2048
|
+
class C_Data < ::Array
|
2049
|
+
end
|
2050
|
+
|
2051
|
+
attr_accessor :auth
|
2052
|
+
attr_accessor :cookie
|
2053
|
+
attr_accessor :target
|
2054
|
+
attr_accessor :origin
|
2055
|
+
attr_accessor :src
|
2056
|
+
attr_accessor :dst
|
2057
|
+
attr_accessor :session
|
2058
|
+
attr_accessor :data
|
2059
|
+
|
2060
|
+
def __xmlattr
|
2061
|
+
@__xmlattr ||= {}
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
def xmlattr_version
|
2065
|
+
__xmlattr[AttrVersion]
|
2066
|
+
end
|
2067
|
+
|
2068
|
+
def xmlattr_version=(value)
|
2069
|
+
__xmlattr[AttrVersion] = value
|
2070
|
+
end
|
2071
|
+
|
2072
|
+
def xmlattr_id
|
2073
|
+
__xmlattr[AttrId]
|
2074
|
+
end
|
2075
|
+
|
2076
|
+
def xmlattr_id=(value)
|
2077
|
+
__xmlattr[AttrId] = value
|
2078
|
+
end
|
2079
|
+
|
2080
|
+
def xmlattr_priority
|
2081
|
+
__xmlattr[AttrPriority]
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
def xmlattr_priority=(value)
|
2085
|
+
__xmlattr[AttrPriority] = value
|
2086
|
+
end
|
2087
|
+
|
2088
|
+
def xmlattr_time
|
2089
|
+
__xmlattr[AttrC_Time]
|
2090
|
+
end
|
2091
|
+
|
2092
|
+
def xmlattr_time=(value)
|
2093
|
+
__xmlattr[AttrC_Time] = value
|
2094
|
+
end
|
2095
|
+
|
2096
|
+
def xmlattr_progress
|
2097
|
+
__xmlattr[AttrProgress]
|
2098
|
+
end
|
2099
|
+
|
2100
|
+
def xmlattr_progress=(value)
|
2101
|
+
__xmlattr[AttrProgress] = value
|
2102
|
+
end
|
2103
|
+
|
2104
|
+
def xmlattr_log
|
2105
|
+
__xmlattr[AttrLog]
|
2106
|
+
end
|
2107
|
+
|
2108
|
+
def xmlattr_log=(value)
|
2109
|
+
__xmlattr[AttrLog] = value
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
def xmlattr_type
|
2113
|
+
__xmlattr[AttrType]
|
2114
|
+
end
|
2115
|
+
|
2116
|
+
def xmlattr_type=(value)
|
2117
|
+
__xmlattr[AttrType] = value
|
2118
|
+
end
|
2119
|
+
|
2120
|
+
def xmlattr_timeout
|
2121
|
+
__xmlattr[AttrTimeout]
|
2122
|
+
end
|
2123
|
+
|
2124
|
+
def xmlattr_timeout=(value)
|
2125
|
+
__xmlattr[AttrTimeout] = value
|
2126
|
+
end
|
2127
|
+
|
2128
|
+
def xmlattr_timeout_limit
|
2129
|
+
__xmlattr[AttrTimeout_limit]
|
2130
|
+
end
|
2131
|
+
|
2132
|
+
def xmlattr_timeout_limit=(value)
|
2133
|
+
__xmlattr[AttrTimeout_limit] = value
|
2134
|
+
end
|
2135
|
+
|
2136
|
+
def xmlattr_uid
|
2137
|
+
__xmlattr[AttrUid]
|
2138
|
+
end
|
2139
|
+
|
2140
|
+
def xmlattr_uid=(value)
|
2141
|
+
__xmlattr[AttrUid] = value
|
2142
|
+
end
|
2143
|
+
|
2144
|
+
def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
|
2145
|
+
@auth = auth
|
2146
|
+
@cookie = cookie
|
2147
|
+
@target = target
|
2148
|
+
@origin = origin
|
2149
|
+
@src = src
|
2150
|
+
@dst = dst
|
2151
|
+
@session = session
|
2152
|
+
@data = data
|
2153
|
+
@__xmlattr = {}
|
2154
|
+
end
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
end
|
2158
|
+
end
|
2159
|
+
end
|