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