virtuozzo 0.5.1

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