virtuozzo 0.5.1

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 (43) hide show
  1. data/CHANGELOG.rdoc +86 -0
  2. data/Manifest +42 -0
  3. data/README.rdoc +52 -0
  4. data/Rakefile +20 -0
  5. data/lib/virtuozzo.rb +18 -0
  6. data/lib/virtuozzo/constants.rb +7 -0
  7. data/lib/virtuozzo/soap.rb +220 -0
  8. data/lib/virtuozzo/soap/drivers/device.rb +141 -0
  9. data/lib/virtuozzo/soap/drivers/environment.rb +301 -0
  10. data/lib/virtuozzo/soap/drivers/network.rb +101 -0
  11. data/lib/virtuozzo/soap/drivers/process.rb +69 -0
  12. data/lib/virtuozzo/soap/drivers/process_info.rb +61 -0
  13. data/lib/virtuozzo/soap/drivers/relocator.rb +101 -0
  14. data/lib/virtuozzo/soap/drivers/session.rb +149 -0
  15. data/lib/virtuozzo/soap/drivers/support.rb +109 -0
  16. data/lib/virtuozzo/soap/drivers/template.rb +117 -0
  17. data/lib/virtuozzo/soap/drivers/up2date.rb +93 -0
  18. data/lib/virtuozzo/soap/header_handler.rb +91 -0
  19. data/lib/virtuozzo/soap/mapping_registries/device.rb +3658 -0
  20. data/lib/virtuozzo/soap/mapping_registries/environment.rb +4466 -0
  21. data/lib/virtuozzo/soap/mapping_registries/network.rb +3121 -0
  22. data/lib/virtuozzo/soap/mapping_registries/process.rb +3322 -0
  23. data/lib/virtuozzo/soap/mapping_registries/process_info.rb +2990 -0
  24. data/lib/virtuozzo/soap/mapping_registries/relocator.rb +3661 -0
  25. data/lib/virtuozzo/soap/mapping_registries/session.rb +3044 -0
  26. data/lib/virtuozzo/soap/mapping_registries/support.rb +3237 -0
  27. data/lib/virtuozzo/soap/mapping_registries/template.rb +3757 -0
  28. data/lib/virtuozzo/soap/mapping_registries/up2date.rb +3317 -0
  29. data/lib/virtuozzo/soap/types/device.rb +3145 -0
  30. data/lib/virtuozzo/soap/types/environment.rb +3743 -0
  31. data/lib/virtuozzo/soap/types/network.rb +2404 -0
  32. data/lib/virtuozzo/soap/types/process.rb +2713 -0
  33. data/lib/virtuozzo/soap/types/process_info.rb +2328 -0
  34. data/lib/virtuozzo/soap/types/relocator.rb +2920 -0
  35. data/lib/virtuozzo/soap/types/session.rb +2455 -0
  36. data/lib/virtuozzo/soap/types/support.rb +2711 -0
  37. data/lib/virtuozzo/soap/types/template.rb +3086 -0
  38. data/lib/virtuozzo/soap/types/up2date.rb +2672 -0
  39. data/script/console +10 -0
  40. data/script/github-gem-test +15 -0
  41. data/tasks/yard.rake +12 -0
  42. data/virtuozzo.gemspec +37 -0
  43. metadata +154 -0
@@ -0,0 +1,2328 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo; module SOAP; module Types; 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}ip_addressType
320
+ # ip - (any)
321
+ # netmask - (any)
322
+ class Ip_addressType
323
+ attr_accessor :ip
324
+ attr_accessor :netmask
325
+
326
+ def initialize(ip = nil, netmask = nil)
327
+ @ip = ip
328
+ @netmask = netmask
329
+ end
330
+ end
331
+
332
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
333
+ # address - Virtuozzo::SOAP::Drivers::ProcessInfo::System_nodeType::Address
334
+ # login - Virtuozzo::SOAP::Drivers::ProcessInfo::System_nodeType::Login
335
+ class System_nodeType
336
+
337
+ # inner class for member: address
338
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
339
+ # ip - (any)
340
+ class Address < Ip_addressType
341
+ attr_accessor :ip
342
+
343
+ def initialize(ip = nil)
344
+ @ip = ip
345
+ end
346
+ end
347
+
348
+ # inner class for member: login
349
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
350
+ # user - SOAP::SOAPString
351
+ # password - SOAP::SOAPBase64
352
+ class Login
353
+ attr_accessor :user
354
+ attr_accessor :password
355
+
356
+ def initialize(user = nil, password = nil)
357
+ @user = user
358
+ @password = password
359
+ end
360
+ end
361
+
362
+ attr_accessor :address
363
+ attr_accessor :login
364
+
365
+ def initialize(address = nil, login = nil)
366
+ @address = address
367
+ @login = login
368
+ end
369
+ end
370
+
371
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
372
+ # total - SOAP::SOAPLong
373
+ # used - SOAP::SOAPLong
374
+ # free - SOAP::SOAPLong
375
+ # avg - SOAP::SOAPLong
376
+ # min - SOAP::SOAPLong
377
+ # max - SOAP::SOAPLong
378
+ class ResourceType
379
+ attr_accessor :total
380
+ attr_accessor :used
381
+ attr_accessor :free
382
+ attr_accessor :avg
383
+ attr_accessor :min
384
+ attr_accessor :max
385
+
386
+ def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
387
+ @total = total
388
+ @used = used
389
+ @free = free
390
+ @avg = avg
391
+ @min = min
392
+ @max = max
393
+ end
394
+ end
395
+
396
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
397
+ # start_time - (any)
398
+ # end_time - (any)
399
+ class IntervalType
400
+ attr_accessor :start_time
401
+ attr_accessor :end_time
402
+
403
+ def initialize(start_time = nil, end_time = nil)
404
+ @start_time = start_time
405
+ @end_time = end_time
406
+ end
407
+ end
408
+
409
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
410
+ # avg - SOAP::SOAPLong
411
+ # min - SOAP::SOAPLong
412
+ # max - SOAP::SOAPLong
413
+ # total - SOAP::SOAPLong
414
+ # cur - SOAP::SOAPLong
415
+ # soft - SOAP::SOAPLong
416
+ # hard - SOAP::SOAPLong
417
+ class StatsType
418
+ attr_accessor :avg
419
+ attr_accessor :min
420
+ attr_accessor :max
421
+ attr_accessor :total
422
+ attr_accessor :cur
423
+ attr_accessor :soft
424
+ attr_accessor :hard
425
+
426
+ def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
427
+ @avg = avg
428
+ @min = min
429
+ @max = max
430
+ @total = total
431
+ @cur = cur
432
+ @soft = soft
433
+ @hard = hard
434
+ end
435
+ end
436
+
437
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
438
+ # host - (any)
439
+ # mask - (any)
440
+ class Net_addressType
441
+ attr_accessor :host
442
+ attr_accessor :mask
443
+
444
+ def initialize(host = nil, mask = nil)
445
+ @host = host
446
+ @mask = mask
447
+ end
448
+ end
449
+
450
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
451
+ # id - SOAP::SOAPString
452
+ # transfer - Virtuozzo::SOAP::Drivers::ProcessInfo::TransferType
453
+ class Net_classType
454
+ attr_accessor :id
455
+ attr_accessor :transfer
456
+
457
+ def initialize(id = nil, transfer = nil)
458
+ @id = id
459
+ @transfer = transfer
460
+ end
461
+ end
462
+
463
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
464
+ # id - SOAP::SOAPString
465
+ # start_ip - (any)
466
+ # subnet_mask - SOAP::SOAPInt
467
+ # comment - SOAP::SOAPString
468
+ class Ip_rangeType
469
+ attr_accessor :id
470
+ attr_accessor :start_ip
471
+ attr_accessor :subnet_mask
472
+ attr_accessor :comment
473
+
474
+ def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
475
+ @id = id
476
+ @start_ip = start_ip
477
+ @subnet_mask = subnet_mask
478
+ @comment = comment
479
+ end
480
+ end
481
+
482
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
483
+ # env_config - Virtuozzo::SOAP::Drivers::ProcessInfo::Env_configType
484
+ # id - SOAP::SOAPString
485
+ # name - SOAP::SOAPString
486
+ # comment - SOAP::SOAPBase64
487
+ # vt_version - Virtuozzo::SOAP::Drivers::ProcessInfo::Sample_confType::Vt_version
488
+ class Sample_confType
489
+
490
+ # inner class for member: vt_version
491
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
492
+ # platform - SOAP::SOAPString
493
+ # architecture - SOAP::SOAPString
494
+ # vt_technology - SOAP::SOAPString
495
+ class Vt_version
496
+ attr_accessor :platform
497
+ attr_accessor :architecture
498
+ attr_accessor :vt_technology
499
+
500
+ def initialize(platform = nil, architecture = nil, vt_technology = nil)
501
+ @platform = platform
502
+ @architecture = architecture
503
+ @vt_technology = vt_technology
504
+ end
505
+ end
506
+
507
+ attr_accessor :env_config
508
+ attr_accessor :id
509
+ attr_accessor :name
510
+ attr_accessor :comment
511
+ attr_accessor :vt_version
512
+
513
+ def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
514
+ @env_config = env_config
515
+ @id = id
516
+ @name = name
517
+ @comment = comment
518
+ @vt_version = vt_version
519
+ end
520
+ end
521
+
522
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
523
+ # name - SOAP::SOAPString
524
+ # bandwidth - SOAP::SOAPInt
525
+ # transfer - Virtuozzo::SOAP::Drivers::ProcessInfo::TransferType
526
+ # ipaddress - (any)
527
+ # flags - SOAP::SOAPInt
528
+ class InterfaceType
529
+ attr_accessor :name
530
+ attr_accessor :bandwidth
531
+ attr_accessor :transfer
532
+ attr_accessor :ipaddress
533
+ attr_accessor :flags
534
+
535
+ def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
536
+ @name = name
537
+ @bandwidth = bandwidth
538
+ @transfer = transfer
539
+ @ipaddress = ipaddress
540
+ @flags = flags
541
+ end
542
+ end
543
+
544
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
545
+ # load_avg - Virtuozzo::SOAP::Drivers::ProcessInfo::Load_avgType
546
+ # processes - Virtuozzo::SOAP::Drivers::ProcessInfo::ProcessesType
547
+ # cpu_load - Virtuozzo::SOAP::Drivers::ProcessInfo::Cpu_loadType
548
+ # cpu_states - Virtuozzo::SOAP::Drivers::ProcessInfo::Cpu_loadType
549
+ # users - SOAP::SOAPInt
550
+ # uptime - SOAP::SOAPLong
551
+ # memory - Virtuozzo::SOAP::Drivers::ProcessInfo::Sys_infoType::Memory
552
+ # swap - Virtuozzo::SOAP::Drivers::ProcessInfo::Sys_infoType::Swap
553
+ class Sys_infoType
554
+
555
+ # inner class for member: memory
556
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
557
+ # total - SOAP::SOAPLong
558
+ # used - SOAP::SOAPLong
559
+ class Memory < ResourceType
560
+ attr_accessor :total
561
+ attr_accessor :used
562
+
563
+ def initialize(total = nil, used = nil)
564
+ @total = total
565
+ @used = used
566
+ end
567
+ end
568
+
569
+ # inner class for member: swap
570
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
571
+ # total - SOAP::SOAPLong
572
+ # used - SOAP::SOAPLong
573
+ class Swap < ResourceType
574
+ attr_accessor :total
575
+ attr_accessor :used
576
+
577
+ def initialize(total = nil, used = nil)
578
+ @total = total
579
+ @used = used
580
+ end
581
+ end
582
+
583
+ attr_accessor :load_avg
584
+ attr_accessor :processes
585
+ attr_accessor :cpu_load
586
+ attr_accessor :cpu_states
587
+ attr_accessor :users
588
+ attr_accessor :uptime
589
+ attr_accessor :memory
590
+ attr_accessor :swap
591
+
592
+ def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
593
+ @load_avg = load_avg
594
+ @processes = processes
595
+ @cpu_load = cpu_load
596
+ @cpu_states = cpu_states
597
+ @users = users
598
+ @uptime = uptime
599
+ @memory = memory
600
+ @swap = swap
601
+ end
602
+ end
603
+
604
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
605
+ # process - Virtuozzo::SOAP::Drivers::ProcessInfo::Ps_infoType::C_Process
606
+ # param_id - SOAP::SOAPString
607
+ # run - SOAP::SOAPInt
608
+ # idle - SOAP::SOAPInt
609
+ # zombie - SOAP::SOAPInt
610
+ # sleep - SOAP::SOAPInt
611
+ # uninterrupt - SOAP::SOAPInt
612
+ # stopped - SOAP::SOAPInt
613
+ # total - SOAP::SOAPInt
614
+ class Ps_infoType
615
+
616
+ # inner class for member: process
617
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
618
+ # pid - SOAP::SOAPInt
619
+ # param - SOAP::SOAPBase64
620
+ class C_Process
621
+ attr_accessor :pid
622
+ attr_accessor :param
623
+
624
+ def initialize(pid = nil, param = [])
625
+ @pid = pid
626
+ @param = param
627
+ end
628
+ end
629
+
630
+ attr_accessor :process
631
+ attr_accessor :param_id
632
+ attr_accessor :run
633
+ attr_accessor :idle
634
+ attr_accessor :zombie
635
+ attr_accessor :sleep
636
+ attr_accessor :uninterrupt
637
+ attr_accessor :stopped
638
+ attr_accessor :total
639
+
640
+ def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
641
+ @process = process
642
+ @param_id = param_id
643
+ @run = run
644
+ @idle = idle
645
+ @zombie = zombie
646
+ @sleep = sleep
647
+ @uninterrupt = uninterrupt
648
+ @stopped = stopped
649
+ @total = total
650
+ end
651
+ end
652
+
653
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
654
+ # l1 - Virtuozzo::SOAP::Drivers::ProcessInfo::Load_avg_statsType::L1
655
+ # l2 - Virtuozzo::SOAP::Drivers::ProcessInfo::Load_avg_statsType::L2
656
+ # l3 - Virtuozzo::SOAP::Drivers::ProcessInfo::Load_avg_statsType::L3
657
+ class Load_avg_statsType
658
+
659
+ # inner class for member: l1
660
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
661
+ # avg - SOAP::SOAPLong
662
+ # min - SOAP::SOAPLong
663
+ # max - SOAP::SOAPLong
664
+ # cur - SOAP::SOAPLong
665
+ class L1 < StatsType
666
+ attr_accessor :avg
667
+ attr_accessor :min
668
+ attr_accessor :max
669
+ attr_accessor :cur
670
+
671
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
672
+ @avg = avg
673
+ @min = min
674
+ @max = max
675
+ @cur = cur
676
+ end
677
+ end
678
+
679
+ # inner class for member: l2
680
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
681
+ # avg - SOAP::SOAPLong
682
+ # min - SOAP::SOAPLong
683
+ # max - SOAP::SOAPLong
684
+ # cur - SOAP::SOAPLong
685
+ class L2 < StatsType
686
+ attr_accessor :avg
687
+ attr_accessor :min
688
+ attr_accessor :max
689
+ attr_accessor :cur
690
+
691
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
692
+ @avg = avg
693
+ @min = min
694
+ @max = max
695
+ @cur = cur
696
+ end
697
+ end
698
+
699
+ # inner class for member: l3
700
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
701
+ # avg - SOAP::SOAPLong
702
+ # min - SOAP::SOAPLong
703
+ # max - SOAP::SOAPLong
704
+ # cur - SOAP::SOAPLong
705
+ class L3 < StatsType
706
+ attr_accessor :avg
707
+ attr_accessor :min
708
+ attr_accessor :max
709
+ attr_accessor :cur
710
+
711
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
712
+ @avg = avg
713
+ @min = min
714
+ @max = max
715
+ @cur = cur
716
+ end
717
+ end
718
+
719
+ attr_accessor :l1
720
+ attr_accessor :l2
721
+ attr_accessor :l3
722
+
723
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
724
+ @l1 = l1
725
+ @l2 = l2
726
+ @l3 = l3
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}groupType
968
+ # user - Virtuozzo::SOAP::Drivers::ProcessInfo::GroupType::User
969
+ # member_group - Virtuozzo::SOAP::Drivers::ProcessInfo::GroupType::Member_group
970
+ # name - SOAP::SOAPString
971
+ # gid - SOAP::SOAPInt
972
+ class GroupType
973
+ attr_accessor :user
974
+ attr_accessor :member_group
975
+ attr_accessor :name
976
+ attr_accessor :gid
977
+
978
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
979
+ @user = user
980
+ @member_group = member_group
981
+ @name = name
982
+ @gid = gid
983
+ end
984
+ end
985
+
986
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
987
+ # initial_group - Virtuozzo::SOAP::Drivers::ProcessInfo::UserType::Initial_group
988
+ # group - Virtuozzo::SOAP::Drivers::ProcessInfo::UserType::Group
989
+ # uid - SOAP::SOAPInt
990
+ # shell - SOAP::SOAPString
991
+ # password - SOAP::SOAPBase64
992
+ # home_dir - SOAP::SOAPString
993
+ # name - SOAP::SOAPString
994
+ # comment - SOAP::SOAPString
995
+ class UserType
996
+
997
+ # inner class for member: initial_group
998
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
999
+ # name - SOAP::SOAPString
1000
+ # gid - SOAP::SOAPInt
1001
+ class Initial_group < GroupType
1002
+ attr_accessor :name
1003
+ attr_accessor :gid
1004
+
1005
+ def initialize(name = nil, gid = nil)
1006
+ @name = name
1007
+ @gid = gid
1008
+ end
1009
+ end
1010
+
1011
+ # inner class for member: group
1012
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
1013
+ # name - SOAP::SOAPString
1014
+ # gid - SOAP::SOAPInt
1015
+ class Group < GroupType
1016
+ attr_accessor :name
1017
+ attr_accessor :gid
1018
+
1019
+ def initialize(name = nil, gid = nil)
1020
+ @name = name
1021
+ @gid = gid
1022
+ end
1023
+ end
1024
+
1025
+ attr_accessor :initial_group
1026
+ attr_accessor :group
1027
+ attr_accessor :uid
1028
+ attr_accessor :shell
1029
+ attr_accessor :password
1030
+ attr_accessor :home_dir
1031
+ attr_accessor :name
1032
+ attr_accessor :comment
1033
+
1034
+ def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
1035
+ @initial_group = initial_group
1036
+ @group = group
1037
+ @uid = uid
1038
+ @shell = shell
1039
+ @password = password
1040
+ @home_dir = home_dir
1041
+ @name = name
1042
+ @comment = comment
1043
+ end
1044
+ end
1045
+
1046
+ class GroupType
1047
+
1048
+ # inner class for member: user
1049
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
1050
+ # name - SOAP::SOAPString
1051
+ class User < UserType
1052
+ attr_accessor :name
1053
+
1054
+ def initialize(name = nil)
1055
+ @name = name
1056
+ end
1057
+ end
1058
+
1059
+ # inner class for member: member_group
1060
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
1061
+ # name - SOAP::SOAPString
1062
+ class Member_group < GroupType
1063
+ attr_accessor :name
1064
+
1065
+ def initialize(name = nil)
1066
+ @name = name
1067
+ end
1068
+ end
1069
+ end
1070
+
1071
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
1072
+ # name - SOAP::SOAPString
1073
+ # summary - SOAP::SOAPString
1074
+ # os - Virtuozzo::SOAP::Drivers::ProcessInfo::OsType
1075
+ # description - SOAP::SOAPString
1076
+ # arch - SOAP::SOAPString
1077
+ # version - SOAP::SOAPString
1078
+ class PackageType
1079
+ attr_accessor :name
1080
+ attr_accessor :summary
1081
+ attr_accessor :os
1082
+ attr_accessor :description
1083
+ attr_accessor :arch
1084
+ attr_accessor :version
1085
+
1086
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
1087
+ @name = name
1088
+ @summary = summary
1089
+ @os = os
1090
+ @description = description
1091
+ @arch = arch
1092
+ @version = version
1093
+ end
1094
+ end
1095
+
1096
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
1097
+ class Event_dataType
1098
+ def initialize
1099
+ end
1100
+ end
1101
+
1102
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
1103
+ # type - SOAP::SOAPInt
1104
+ class Alert_dataType < Event_dataType
1105
+ attr_accessor :type
1106
+
1107
+ def initialize(type = nil)
1108
+ @type = type
1109
+ end
1110
+ end
1111
+
1112
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
1113
+ # name - SOAP::SOAPString
1114
+ # value - SOAP::SOAPBase64
1115
+ class Named_listType
1116
+ attr_accessor :name
1117
+ attr_accessor :value
1118
+
1119
+ def initialize(name = nil, value = [])
1120
+ @name = name
1121
+ @value = value
1122
+ end
1123
+ end
1124
+
1125
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
1126
+ # name - SOAP::SOAPString
1127
+ # value - SOAP::SOAPBase64
1128
+ # op - SOAP::SOAPInt
1129
+ class ModType < Named_listType
1130
+ attr_accessor :name
1131
+ attr_accessor :value
1132
+ attr_accessor :op
1133
+
1134
+ def initialize(name = nil, value = [], op = nil)
1135
+ @name = name
1136
+ @value = value
1137
+ @op = op
1138
+ end
1139
+ end
1140
+
1141
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
1142
+ # id - (any)
1143
+ # type - SOAP::SOAPInt
1144
+ # name - SOAP::SOAPString
1145
+ # builtin - (any)
1146
+ class RealmType
1147
+ attr_accessor :id
1148
+ attr_accessor :type
1149
+ attr_accessor :name
1150
+ attr_accessor :builtin
1151
+
1152
+ def initialize(id = nil, type = nil, name = nil, builtin = nil)
1153
+ @id = id
1154
+ @type = type
1155
+ @name = name
1156
+ @builtin = builtin
1157
+ end
1158
+ end
1159
+
1160
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
1161
+ # eid - (any)
1162
+ # time - (any)
1163
+ # source - SOAP::SOAPString
1164
+ # category - SOAP::SOAPString
1165
+ # sid - (any)
1166
+ # count - SOAP::SOAPInt
1167
+ # id - (any)
1168
+ # info - Virtuozzo::SOAP::Drivers::ProcessInfo::InfoType
1169
+ # data - Virtuozzo::SOAP::Drivers::ProcessInfo::EventType::C_Data
1170
+ class EventType
1171
+
1172
+ # inner class for member: data
1173
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
1174
+ # event_data - Virtuozzo::SOAP::Drivers::ProcessInfo::Event_dataType
1175
+ class C_Data
1176
+ attr_accessor :event_data
1177
+
1178
+ def initialize(event_data = nil)
1179
+ @event_data = event_data
1180
+ end
1181
+ end
1182
+
1183
+ attr_accessor :eid
1184
+ attr_accessor :time
1185
+ attr_accessor :source
1186
+ attr_accessor :category
1187
+ attr_accessor :sid
1188
+ attr_accessor :count
1189
+ attr_accessor :id
1190
+ attr_accessor :info
1191
+ attr_accessor :data
1192
+
1193
+ def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
1194
+ @eid = eid
1195
+ @time = time
1196
+ @source = source
1197
+ @category = category
1198
+ @sid = sid
1199
+ @count = count
1200
+ @id = id
1201
+ @info = info
1202
+ @data = data
1203
+ end
1204
+ end
1205
+
1206
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
1207
+ # message - SOAP::SOAPBase64
1208
+ # translate - (any)
1209
+ # parameter - Virtuozzo::SOAP::Drivers::ProcessInfo::InfoType
1210
+ # name - SOAP::SOAPString
1211
+ class InfoType
1212
+ attr_accessor :message
1213
+ attr_accessor :translate
1214
+ attr_accessor :parameter
1215
+ attr_accessor :name
1216
+
1217
+ def initialize(message = nil, translate = nil, parameter = [], name = nil)
1218
+ @message = message
1219
+ @translate = translate
1220
+ @parameter = parameter
1221
+ @name = name
1222
+ end
1223
+ end
1224
+
1225
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
1226
+ # type - SOAP::SOAPInt
1227
+ # sid - (any)
1228
+ # rights - SOAP::SOAPBase64
1229
+ class AceType
1230
+ attr_accessor :type
1231
+ attr_accessor :sid
1232
+ attr_accessor :rights
1233
+
1234
+ def initialize(type = nil, sid = nil, rights = nil)
1235
+ @type = type
1236
+ @sid = sid
1237
+ @rights = rights
1238
+ end
1239
+ end
1240
+
1241
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
1242
+ # owner - (any)
1243
+ # group - (any)
1244
+ # dacl - Virtuozzo::SOAP::Drivers::ProcessInfo::Security_descriptorType::Dacl
1245
+ class Security_descriptorType
1246
+
1247
+ # inner class for member: dacl
1248
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
1249
+ class Dacl < ::Array
1250
+ end
1251
+
1252
+ attr_accessor :owner
1253
+ attr_accessor :group
1254
+ attr_accessor :dacl
1255
+
1256
+ def initialize(owner = nil, group = nil, dacl = nil)
1257
+ @owner = owner
1258
+ @group = group
1259
+ @dacl = dacl
1260
+ end
1261
+ end
1262
+
1263
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
1264
+ # abstract
1265
+ class Security_objectType
1266
+ def initialize
1267
+ end
1268
+ end
1269
+
1270
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
1271
+ # eid - (any)
1272
+ class Env_security_objectType < Security_objectType
1273
+ attr_accessor :eid
1274
+
1275
+ def initialize(eid = nil)
1276
+ @eid = eid
1277
+ end
1278
+ end
1279
+
1280
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
1281
+ # id - SOAP::SOAPString
1282
+ # ip_address - Virtuozzo::SOAP::Drivers::ProcessInfo::Ip_addressType
1283
+ # dhcp - (any)
1284
+ # network_id - SOAP::SOAPBase64
1285
+ # status - Virtuozzo::SOAP::Drivers::ProcessInfo::Net_deviceType::Status
1286
+ class Net_deviceType
1287
+
1288
+ # inner class for member: status
1289
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1290
+ # up - (any)
1291
+ # down - (any)
1292
+ class Status
1293
+ attr_accessor :up
1294
+ attr_accessor :down
1295
+
1296
+ def initialize(up = nil, down = nil)
1297
+ @up = up
1298
+ @down = down
1299
+ end
1300
+ end
1301
+
1302
+ attr_accessor :id
1303
+ attr_accessor :ip_address
1304
+ attr_accessor :dhcp
1305
+ attr_accessor :network_id
1306
+ attr_accessor :status
1307
+
1308
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
1309
+ @id = id
1310
+ @ip_address = ip_address
1311
+ @dhcp = dhcp
1312
+ @network_id = network_id
1313
+ @status = status
1314
+ end
1315
+ end
1316
+
1317
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
1318
+ # id - SOAP::SOAPString
1319
+ # ip_address - Virtuozzo::SOAP::Drivers::ProcessInfo::Ip_addressType
1320
+ # dhcp - (any)
1321
+ # network_id - SOAP::SOAPBase64
1322
+ # status - Virtuozzo::SOAP::Drivers::ProcessInfo::Net_nicType::Status
1323
+ # mac_address - SOAP::SOAPString
1324
+ class Net_nicType < Net_deviceType
1325
+
1326
+ # inner class for member: status
1327
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1328
+ # up - (any)
1329
+ # down - (any)
1330
+ class Status
1331
+ attr_accessor :up
1332
+ attr_accessor :down
1333
+
1334
+ def initialize(up = nil, down = nil)
1335
+ @up = up
1336
+ @down = down
1337
+ end
1338
+ end
1339
+
1340
+ attr_accessor :id
1341
+ attr_accessor :ip_address
1342
+ attr_accessor :dhcp
1343
+ attr_accessor :network_id
1344
+ attr_accessor :status
1345
+ attr_accessor :mac_address
1346
+
1347
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
1348
+ @id = id
1349
+ @ip_address = ip_address
1350
+ @dhcp = dhcp
1351
+ @network_id = network_id
1352
+ @status = status
1353
+ @mac_address = mac_address
1354
+ end
1355
+ end
1356
+
1357
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
1358
+ # id - SOAP::SOAPString
1359
+ # type - SOAP::SOAPString
1360
+ # min - SOAP::SOAPString
1361
+ # max - SOAP::SOAPString
1362
+ # long - SOAP::SOAPString
1363
+ # short - SOAP::SOAPString
1364
+ # category - SOAP::SOAPString
1365
+ # complex - SOAP::SOAPString
1366
+ # default - SOAP::SOAPString
1367
+ # measure - SOAP::SOAPString
1368
+ # data - (any)
1369
+ # name - (any)
1370
+ class Voc_parameterType
1371
+ attr_accessor :id
1372
+ attr_accessor :type
1373
+ attr_accessor :min
1374
+ attr_accessor :max
1375
+ attr_accessor :long
1376
+ attr_accessor :short
1377
+ attr_accessor :category
1378
+ attr_accessor :complex
1379
+ attr_accessor :default
1380
+ attr_accessor :measure
1381
+ attr_accessor :data
1382
+ attr_accessor :name
1383
+
1384
+ def initialize(id = nil, type = nil, min = nil, max = nil, long = nil, short = nil, category = [], complex = nil, default = nil, measure = nil, data = nil, name = nil)
1385
+ @id = id
1386
+ @type = type
1387
+ @min = min
1388
+ @max = max
1389
+ @long = long
1390
+ @short = short
1391
+ @category = category
1392
+ @complex = complex
1393
+ @default = default
1394
+ @measure = measure
1395
+ @data = data
1396
+ @name = name
1397
+ end
1398
+ end
1399
+
1400
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
1401
+ # name - SOAP::SOAPString
1402
+ # parameter - Virtuozzo::SOAP::Drivers::ProcessInfo::Voc_parameterType
1403
+ # category - Virtuozzo::SOAP::Drivers::ProcessInfo::Voc_parameterType
1404
+ class VocabularyType
1405
+ attr_accessor :name
1406
+ attr_accessor :parameter
1407
+ attr_accessor :category
1408
+
1409
+ def initialize(name = nil, parameter = [], category = [])
1410
+ @name = name
1411
+ @parameter = parameter
1412
+ @category = category
1413
+ end
1414
+ end
1415
+
1416
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
1417
+ # cur - SOAP::SOAPAnySimpleType
1418
+ # avg - SOAP::SOAPAnySimpleType
1419
+ # max - SOAP::SOAPAnySimpleType
1420
+ # min - SOAP::SOAPAnySimpleType
1421
+ class Perf_statType
1422
+ attr_accessor :cur
1423
+ attr_accessor :avg
1424
+ attr_accessor :max
1425
+ attr_accessor :min
1426
+
1427
+ def initialize(cur = nil, avg = nil, max = nil, min = nil)
1428
+ @cur = cur
1429
+ @avg = avg
1430
+ @max = max
1431
+ @min = min
1432
+ end
1433
+ end
1434
+
1435
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
1436
+ # eid - (any)
1437
+ # m_class - Virtuozzo::SOAP::Drivers::ProcessInfo::Perf_dataType::C_Class
1438
+ # interval - Virtuozzo::SOAP::Drivers::ProcessInfo::IntervalType
1439
+ class Perf_dataType
1440
+
1441
+ # inner class for member: class
1442
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
1443
+ # name - SOAP::SOAPString
1444
+ # instance - Virtuozzo::SOAP::Drivers::ProcessInfo::Perf_dataType::C_Class::Instance
1445
+ class C_Class
1446
+
1447
+ # inner class for member: instance
1448
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
1449
+ # name - SOAP::SOAPString
1450
+ # counter - Virtuozzo::SOAP::Drivers::ProcessInfo::Perf_dataType::C_Class::Instance::Counter
1451
+ class Instance
1452
+
1453
+ # inner class for member: counter
1454
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
1455
+ # name - SOAP::SOAPString
1456
+ # value - Virtuozzo::SOAP::Drivers::ProcessInfo::Perf_statType
1457
+ class Counter
1458
+ attr_accessor :name
1459
+ attr_accessor :value
1460
+
1461
+ def initialize(name = nil, value = nil)
1462
+ @name = name
1463
+ @value = value
1464
+ end
1465
+ end
1466
+
1467
+ attr_accessor :name
1468
+ attr_accessor :counter
1469
+
1470
+ def initialize(name = nil, counter = [])
1471
+ @name = name
1472
+ @counter = counter
1473
+ end
1474
+ end
1475
+
1476
+ attr_accessor :name
1477
+ attr_accessor :instance
1478
+
1479
+ def initialize(name = nil, instance = [])
1480
+ @name = name
1481
+ @instance = instance
1482
+ end
1483
+ end
1484
+
1485
+ attr_accessor :eid
1486
+ attr_accessor :interval
1487
+
1488
+ def m_class
1489
+ @v_class
1490
+ end
1491
+
1492
+ def m_class=(value)
1493
+ @v_class = value
1494
+ end
1495
+
1496
+ def initialize(eid = nil, v_class = [], interval = nil)
1497
+ @eid = eid
1498
+ @v_class = v_class
1499
+ @interval = interval
1500
+ end
1501
+ end
1502
+
1503
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
1504
+ class Log_options_baseType
1505
+ def initialize
1506
+ end
1507
+ end
1508
+
1509
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
1510
+ class Log_optionsType < Log_options_baseType
1511
+ def initialize
1512
+ end
1513
+ end
1514
+
1515
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet_headerType
1516
+ # auth - Virtuozzo::SOAP::Drivers::ProcessInfo::AuthType
1517
+ # cookie - SOAP::SOAPString
1518
+ # target - SOAP::SOAPString
1519
+ # origin - SOAP::SOAPString
1520
+ # src - Virtuozzo::SOAP::Drivers::ProcessInfo::RouteType
1521
+ # dst - Virtuozzo::SOAP::Drivers::ProcessInfo::RouteType
1522
+ # session - SOAP::SOAPString
1523
+ # xmlattr_version - SOAP::SOAPString
1524
+ # xmlattr_id - SOAP::SOAPString
1525
+ # xmlattr_priority - SOAP::SOAPString
1526
+ # xmlattr_time - SOAP::SOAPString
1527
+ # xmlattr_progress - SOAP::SOAPString
1528
+ # xmlattr_log - SOAP::SOAPString
1529
+ # xmlattr_type - SOAP::SOAPInt
1530
+ # xmlattr_timeout - SOAP::SOAPInt
1531
+ # xmlattr_timeout_limit - SOAP::SOAPInt
1532
+ # xmlattr_uid - SOAP::SOAPInt
1533
+ class Packet_headerType
1534
+ AttrC_Time = XSD::QName.new(nil, "time")
1535
+ AttrId = XSD::QName.new(nil, "id")
1536
+ AttrLog = XSD::QName.new(nil, "log")
1537
+ AttrPriority = XSD::QName.new(nil, "priority")
1538
+ AttrProgress = XSD::QName.new(nil, "progress")
1539
+ AttrTimeout = XSD::QName.new(nil, "timeout")
1540
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
1541
+ AttrType = XSD::QName.new(nil, "type")
1542
+ AttrUid = XSD::QName.new(nil, "uid")
1543
+ AttrVersion = XSD::QName.new(nil, "version")
1544
+
1545
+ attr_accessor :auth
1546
+ attr_accessor :cookie
1547
+ attr_accessor :target
1548
+ attr_accessor :origin
1549
+ attr_accessor :src
1550
+ attr_accessor :dst
1551
+ attr_accessor :session
1552
+
1553
+ def __xmlattr
1554
+ @__xmlattr ||= {}
1555
+ end
1556
+
1557
+ def xmlattr_version
1558
+ __xmlattr[AttrVersion]
1559
+ end
1560
+
1561
+ def xmlattr_version=(value)
1562
+ __xmlattr[AttrVersion] = value
1563
+ end
1564
+
1565
+ def xmlattr_id
1566
+ __xmlattr[AttrId]
1567
+ end
1568
+
1569
+ def xmlattr_id=(value)
1570
+ __xmlattr[AttrId] = value
1571
+ end
1572
+
1573
+ def xmlattr_priority
1574
+ __xmlattr[AttrPriority]
1575
+ end
1576
+
1577
+ def xmlattr_priority=(value)
1578
+ __xmlattr[AttrPriority] = value
1579
+ end
1580
+
1581
+ def xmlattr_time
1582
+ __xmlattr[AttrC_Time]
1583
+ end
1584
+
1585
+ def xmlattr_time=(value)
1586
+ __xmlattr[AttrC_Time] = value
1587
+ end
1588
+
1589
+ def xmlattr_progress
1590
+ __xmlattr[AttrProgress]
1591
+ end
1592
+
1593
+ def xmlattr_progress=(value)
1594
+ __xmlattr[AttrProgress] = value
1595
+ end
1596
+
1597
+ def xmlattr_log
1598
+ __xmlattr[AttrLog]
1599
+ end
1600
+
1601
+ def xmlattr_log=(value)
1602
+ __xmlattr[AttrLog] = value
1603
+ end
1604
+
1605
+ def xmlattr_type
1606
+ __xmlattr[AttrType]
1607
+ end
1608
+
1609
+ def xmlattr_type=(value)
1610
+ __xmlattr[AttrType] = value
1611
+ end
1612
+
1613
+ def xmlattr_timeout
1614
+ __xmlattr[AttrTimeout]
1615
+ end
1616
+
1617
+ def xmlattr_timeout=(value)
1618
+ __xmlattr[AttrTimeout] = value
1619
+ end
1620
+
1621
+ def xmlattr_timeout_limit
1622
+ __xmlattr[AttrTimeout_limit]
1623
+ end
1624
+
1625
+ def xmlattr_timeout_limit=(value)
1626
+ __xmlattr[AttrTimeout_limit] = value
1627
+ end
1628
+
1629
+ def xmlattr_uid
1630
+ __xmlattr[AttrUid]
1631
+ end
1632
+
1633
+ def xmlattr_uid=(value)
1634
+ __xmlattr[AttrUid] = value
1635
+ end
1636
+
1637
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil)
1638
+ @auth = auth
1639
+ @cookie = cookie
1640
+ @target = target
1641
+ @origin = origin
1642
+ @src = src
1643
+ @dst = dst
1644
+ @session = session
1645
+ @__xmlattr = {}
1646
+ end
1647
+ end
1648
+
1649
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operatorType
1650
+ # configuration - Virtuozzo::SOAP::Drivers::ProcessInfo::ConfigurationType
1651
+ class OperatorType
1652
+ attr_accessor :configuration
1653
+
1654
+ def initialize(configuration = nil)
1655
+ @configuration = configuration
1656
+ end
1657
+ end
1658
+
1659
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_functionalType
1660
+ # configuration - Virtuozzo::SOAP::Drivers::ProcessInfo::ConfigurationType
1661
+ # ok - Virtuozzo::SOAP::Drivers::ProcessInfo::Operator_functionalType::Ok
1662
+ # error - Virtuozzo::SOAP::Drivers::ProcessInfo::Operator_functionalType::Error
1663
+ class Operator_functionalType < OperatorType
1664
+
1665
+ # inner class for member: ok
1666
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1667
+ class Ok
1668
+ def initialize
1669
+ end
1670
+ end
1671
+
1672
+ # inner class for member: error
1673
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1674
+ # code - SOAP::SOAPInt
1675
+ # message - SOAP::SOAPString
1676
+ class Error
1677
+ attr_accessor :code
1678
+ attr_accessor :message
1679
+
1680
+ def initialize(code = nil, message = nil)
1681
+ @code = code
1682
+ @message = message
1683
+ end
1684
+ end
1685
+
1686
+ attr_accessor :configuration
1687
+ attr_accessor :ok
1688
+ attr_accessor :error
1689
+
1690
+ def initialize(configuration = nil, ok = [], error = [])
1691
+ @configuration = configuration
1692
+ @ok = ok
1693
+ @error = error
1694
+ end
1695
+ end
1696
+
1697
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
1698
+ # configuration - Virtuozzo::SOAP::Drivers::ProcessInfo::ConfigurationType
1699
+ # ok - Virtuozzo::SOAP::Drivers::ProcessInfo::Operator_periodicType::Ok
1700
+ # error - Virtuozzo::SOAP::Drivers::ProcessInfo::Operator_periodicType::Error
1701
+ # start_monitor - Virtuozzo::SOAP::Drivers::ProcessInfo::Start_monitorType
1702
+ # stop_monitor - Virtuozzo::SOAP::Drivers::ProcessInfo::Stop_monitorType
1703
+ # set_period - Virtuozzo::SOAP::Drivers::ProcessInfo::Set_periodType
1704
+ # report - (any)
1705
+ class Operator_periodicType < Operator_functionalType
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
+ attr_accessor :start_monitor
1732
+ attr_accessor :stop_monitor
1733
+ attr_accessor :set_period
1734
+ attr_accessor :report
1735
+
1736
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
1737
+ @configuration = configuration
1738
+ @ok = ok
1739
+ @error = error
1740
+ @start_monitor = start_monitor
1741
+ @stop_monitor = stop_monitor
1742
+ @set_period = set_period
1743
+ @report = report
1744
+ end
1745
+ end
1746
+
1747
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/proc_info}proc_infoType
1748
+ # configuration - Virtuozzo::SOAP::Drivers::ProcessInfo::ConfigurationType
1749
+ # ok - Virtuozzo::SOAP::Drivers::ProcessInfo::Proc_infoType::Ok
1750
+ # error - Virtuozzo::SOAP::Drivers::ProcessInfo::Proc_infoType::Error
1751
+ # start_monitor - Virtuozzo::SOAP::Drivers::ProcessInfo::Proc_infoType::Start_monitor
1752
+ # stop_monitor - Virtuozzo::SOAP::Drivers::ProcessInfo::Proc_infoType::Stop_monitor
1753
+ # get - Virtuozzo::SOAP::Drivers::ProcessInfo::Get
1754
+ # ps_info - Virtuozzo::SOAP::Drivers::ProcessInfo::Ps_infoType
1755
+ class Proc_infoType < Operator_functionalType
1756
+
1757
+ # inner class for member: ok
1758
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1759
+ class Ok
1760
+ def initialize
1761
+ end
1762
+ end
1763
+
1764
+ # inner class for member: error
1765
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1766
+ # code - SOAP::SOAPInt
1767
+ # message - SOAP::SOAPString
1768
+ class Error
1769
+ attr_accessor :code
1770
+ attr_accessor :message
1771
+
1772
+ def initialize(code = nil, message = nil)
1773
+ @code = code
1774
+ @message = message
1775
+ end
1776
+ end
1777
+
1778
+ # inner class for member: start_monitor
1779
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/proc_info}start_monitor
1780
+ # period - SOAP::SOAPInt
1781
+ # key - SOAP::SOAPString
1782
+ # limit - SOAP::SOAPInt
1783
+ # descending - (any)
1784
+ class Start_monitor
1785
+ attr_accessor :period
1786
+ attr_accessor :key
1787
+ attr_accessor :limit
1788
+ attr_accessor :descending
1789
+
1790
+ def initialize(period = nil, key = nil, limit = nil, descending = nil)
1791
+ @period = period
1792
+ @key = key
1793
+ @limit = limit
1794
+ @descending = descending
1795
+ end
1796
+ end
1797
+
1798
+ # inner class for member: stop_monitor
1799
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/proc_info}stop_monitor
1800
+ class Stop_monitor
1801
+ def initialize
1802
+ end
1803
+ end
1804
+
1805
+ attr_accessor :configuration
1806
+ attr_accessor :ok
1807
+ attr_accessor :error
1808
+ attr_accessor :start_monitor
1809
+ attr_accessor :stop_monitor
1810
+ attr_accessor :get
1811
+ attr_accessor :ps_info
1812
+
1813
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = [], stop_monitor = [], get = [], ps_info = [])
1814
+ @configuration = configuration
1815
+ @ok = ok
1816
+ @error = error
1817
+ @start_monitor = start_monitor
1818
+ @stop_monitor = stop_monitor
1819
+ @get = get
1820
+ @ps_info = ps_info
1821
+ end
1822
+ end
1823
+
1824
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaproc_info}vzaproc_infoType
1825
+ # configuration - Virtuozzo::SOAP::Drivers::ProcessInfo::ConfigurationType
1826
+ # ok - Virtuozzo::SOAP::Drivers::ProcessInfo::Vzaproc_infoType::Ok
1827
+ # error - Virtuozzo::SOAP::Drivers::ProcessInfo::Vzaproc_infoType::Error
1828
+ # start_monitor - Virtuozzo::SOAP::Drivers::ProcessInfo::Vzaproc_infoType::Start_monitor
1829
+ # stop_monitor - Virtuozzo::SOAP::Drivers::ProcessInfo::Vzaproc_infoType::Stop_monitor
1830
+ # get - Virtuozzo::SOAP::Drivers::ProcessInfo::Get
1831
+ # ps_info - Virtuozzo::SOAP::Drivers::ProcessInfo::Ps_infoType
1832
+ class Vzaproc_infoType < Proc_infoType
1833
+
1834
+ # inner class for member: ok
1835
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1836
+ class Ok
1837
+ def initialize
1838
+ end
1839
+ end
1840
+
1841
+ # inner class for member: error
1842
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1843
+ # code - SOAP::SOAPInt
1844
+ # message - SOAP::SOAPString
1845
+ class Error
1846
+ attr_accessor :code
1847
+ attr_accessor :message
1848
+
1849
+ def initialize(code = nil, message = nil)
1850
+ @code = code
1851
+ @message = message
1852
+ end
1853
+ end
1854
+
1855
+ # inner class for member: start_monitor
1856
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/proc_info}start_monitor
1857
+ # period - SOAP::SOAPInt
1858
+ # key - SOAP::SOAPString
1859
+ # limit - SOAP::SOAPInt
1860
+ # descending - (any)
1861
+ class Start_monitor
1862
+ attr_accessor :period
1863
+ attr_accessor :key
1864
+ attr_accessor :limit
1865
+ attr_accessor :descending
1866
+
1867
+ def initialize(period = nil, key = nil, limit = nil, descending = nil)
1868
+ @period = period
1869
+ @key = key
1870
+ @limit = limit
1871
+ @descending = descending
1872
+ end
1873
+ end
1874
+
1875
+ # inner class for member: stop_monitor
1876
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/proc_info}stop_monitor
1877
+ class Stop_monitor
1878
+ def initialize
1879
+ end
1880
+ end
1881
+
1882
+ attr_accessor :configuration
1883
+ attr_accessor :ok
1884
+ attr_accessor :error
1885
+ attr_accessor :start_monitor
1886
+ attr_accessor :stop_monitor
1887
+ attr_accessor :get
1888
+ attr_accessor :ps_info
1889
+
1890
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = [], stop_monitor = [], get = [], ps_info = [])
1891
+ @configuration = configuration
1892
+ @ok = ok
1893
+ @error = error
1894
+ @start_monitor = start_monitor
1895
+ @stop_monitor = stop_monitor
1896
+ @get = get
1897
+ @ps_info = ps_info
1898
+ end
1899
+ end
1900
+
1901
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
1902
+ # collect - SOAP::SOAPInt
1903
+ # log - SOAP::SOAPInt
1904
+ # report - SOAP::SOAPInt
1905
+ class Set_periodType
1906
+ attr_accessor :collect
1907
+ attr_accessor :log
1908
+ attr_accessor :report
1909
+
1910
+ def initialize(collect = nil, log = nil, report = nil)
1911
+ @collect = collect
1912
+ @log = log
1913
+ @report = report
1914
+ end
1915
+ end
1916
+
1917
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
1918
+ # period - SOAP::SOAPInt
1919
+ class Start_monitorType
1920
+ attr_accessor :period
1921
+ attr_reader :__xmlele_any
1922
+
1923
+ def set_any(elements)
1924
+ @__xmlele_any = elements
1925
+ end
1926
+
1927
+ def initialize(period = nil)
1928
+ @period = period
1929
+ @__xmlele_any = nil
1930
+ end
1931
+ end
1932
+
1933
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
1934
+ class Stop_monitorType
1935
+ attr_reader :__xmlele_any
1936
+
1937
+ def set_any(elements)
1938
+ @__xmlele_any = elements
1939
+ end
1940
+
1941
+ def initialize
1942
+ @__xmlele_any = nil
1943
+ end
1944
+ end
1945
+
1946
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
1947
+ class AuthType
1948
+ attr_reader :__xmlele_any
1949
+
1950
+ def set_any(elements)
1951
+ @__xmlele_any = elements
1952
+ end
1953
+
1954
+ def initialize
1955
+ @__xmlele_any = nil
1956
+ end
1957
+ end
1958
+
1959
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
1960
+ # director - SOAP::SOAPString
1961
+ # host - SOAP::SOAPString
1962
+ # index - SOAP::SOAPString
1963
+ # target - SOAP::SOAPString
1964
+ class RouteType
1965
+ attr_accessor :director
1966
+ attr_accessor :host
1967
+ attr_accessor :index
1968
+ attr_accessor :target
1969
+
1970
+ def initialize(director = nil, host = nil, index = nil, target = nil)
1971
+ @director = director
1972
+ @host = host
1973
+ @index = index
1974
+ @target = target
1975
+ end
1976
+ end
1977
+
1978
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
1979
+ class DataType < ::Array
1980
+ end
1981
+
1982
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
1983
+ class ConfigurationType
1984
+ def initialize
1985
+ end
1986
+ end
1987
+
1988
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
1989
+ # period - SOAP::SOAPInt
1990
+ class Event_configurationType < ConfigurationType
1991
+ attr_accessor :period
1992
+
1993
+ def initialize(period = nil)
1994
+ @period = period
1995
+ end
1996
+ end
1997
+
1998
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
1999
+ # log_priority - SOAP::SOAPInt
2000
+ # monitor_priority - SOAP::SOAPInt
2001
+ # min_monitor_period - SOAP::SOAPInt
2002
+ # min_monitor_period_root - SOAP::SOAPInt
2003
+ class Periodic_configurationType < ConfigurationType
2004
+ attr_accessor :log_priority
2005
+ attr_accessor :monitor_priority
2006
+ attr_accessor :min_monitor_period
2007
+ attr_accessor :min_monitor_period_root
2008
+
2009
+ def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
2010
+ @log_priority = log_priority
2011
+ @monitor_priority = monitor_priority
2012
+ @min_monitor_period = min_monitor_period
2013
+ @min_monitor_period_root = min_monitor_period_root
2014
+ end
2015
+ end
2016
+
2017
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/proc_info}proc_info_configurationType
2018
+ # priority - SOAP::SOAPInt
2019
+ # min_monitor_period - SOAP::SOAPInt
2020
+ class Proc_info_configurationType < ConfigurationType
2021
+ attr_accessor :priority
2022
+ attr_accessor :min_monitor_period
2023
+
2024
+ def initialize(priority = nil, min_monitor_period = nil)
2025
+ @priority = priority
2026
+ @min_monitor_period = min_monitor_period
2027
+ end
2028
+ end
2029
+
2030
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
2031
+ class Transport_type < ::String
2032
+ Tcp = Transport_type.new("tcp")
2033
+ Udp = Transport_type.new("udp")
2034
+ end
2035
+
2036
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
2037
+ class Yes_no_type < ::String
2038
+ No = Yes_no_type.new("no")
2039
+ Yes = Yes_no_type.new("yes")
2040
+ end
2041
+
2042
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaproc_info}vzaproc_info
2043
+ # configuration - Virtuozzo::SOAP::Drivers::ProcessInfo::ConfigurationType
2044
+ # ok - Virtuozzo::SOAP::Drivers::ProcessInfo::Vzaproc_info::Ok
2045
+ # error - Virtuozzo::SOAP::Drivers::ProcessInfo::Vzaproc_info::Error
2046
+ # start_monitor - Virtuozzo::SOAP::Drivers::ProcessInfo::Vzaproc_info::Start_monitor
2047
+ # stop_monitor - Virtuozzo::SOAP::Drivers::ProcessInfo::Vzaproc_info::Stop_monitor
2048
+ # get - Virtuozzo::SOAP::Drivers::ProcessInfo::Get
2049
+ # ps_info - Virtuozzo::SOAP::Drivers::ProcessInfo::Ps_infoType
2050
+ # get - Virtuozzo::SOAP::Drivers::ProcessInfo::Get_
2051
+ # ps_info - Virtuozzo::SOAP::Drivers::ProcessInfo::Ps_infoType
2052
+ class Vzaproc_info < Vzaproc_infoType
2053
+
2054
+ # inner class for member: ok
2055
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
2056
+ class Ok
2057
+ def initialize
2058
+ end
2059
+ end
2060
+
2061
+ # inner class for member: error
2062
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
2063
+ # code - SOAP::SOAPInt
2064
+ # message - SOAP::SOAPString
2065
+ class Error
2066
+ attr_accessor :code
2067
+ attr_accessor :message
2068
+
2069
+ def initialize(code = nil, message = nil)
2070
+ @code = code
2071
+ @message = message
2072
+ end
2073
+ end
2074
+
2075
+ # inner class for member: start_monitor
2076
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/proc_info}start_monitor
2077
+ # period - SOAP::SOAPInt
2078
+ # key - SOAP::SOAPString
2079
+ # limit - SOAP::SOAPInt
2080
+ # descending - (any)
2081
+ class Start_monitor
2082
+ attr_accessor :period
2083
+ attr_accessor :key
2084
+ attr_accessor :limit
2085
+ attr_accessor :descending
2086
+
2087
+ def initialize(period = nil, key = nil, limit = nil, descending = nil)
2088
+ @period = period
2089
+ @key = key
2090
+ @limit = limit
2091
+ @descending = descending
2092
+ end
2093
+ end
2094
+
2095
+ # inner class for member: stop_monitor
2096
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/proc_info}stop_monitor
2097
+ class Stop_monitor
2098
+ def initialize
2099
+ end
2100
+ end
2101
+
2102
+ attr_accessor :configuration
2103
+ attr_accessor :ok
2104
+ attr_accessor :error
2105
+ attr_accessor :start_monitor
2106
+ attr_accessor :stop_monitor
2107
+ attr_accessor :get
2108
+ attr_accessor :ps_info
2109
+ attr_accessor :get
2110
+ attr_accessor :ps_info
2111
+
2112
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = [], stop_monitor = [], get = [], ps_info = [])
2113
+ @configuration = configuration
2114
+ @ok = ok
2115
+ @error = error
2116
+ @start_monitor = start_monitor
2117
+ @stop_monitor = stop_monitor
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