virtuozzo 0.5.1

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