plainprograms-virtuozzo 0.5.3 → 0.6.0

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