plainprograms-virtuozzo 0.1.0

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