plainprograms-virtuozzo 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. data/CHANGELOG.rdoc +54 -0
  2. data/README.rdoc +52 -0
  3. data/Rakefile +15 -0
  4. data/lib/virtuozzo/constants.rb +10 -0
  5. data/lib/virtuozzo/soap/drivers/device/mapping_registry.rb +3653 -0
  6. data/lib/virtuozzo/soap/drivers/device/types.rb +3144 -0
  7. data/lib/virtuozzo/soap/drivers/device_driver.rb +141 -0
  8. data/lib/virtuozzo/soap/drivers/environment/mapping_registry.rb +4461 -0
  9. data/lib/virtuozzo/soap/drivers/environment/types.rb +3743 -0
  10. data/lib/virtuozzo/soap/drivers/environment_driver.rb +300 -0
  11. data/lib/virtuozzo/soap/drivers/network/mapping_registry.rb +3116 -0
  12. data/lib/virtuozzo/soap/drivers/network/types.rb +2401 -0
  13. data/lib/virtuozzo/soap/drivers/network_driver.rb +101 -0
  14. data/lib/virtuozzo/soap/drivers/process/mapping_registry.rb +3317 -0
  15. data/lib/virtuozzo/soap/drivers/process/types.rb +2711 -0
  16. data/lib/virtuozzo/soap/drivers/process_driver.rb +69 -0
  17. data/lib/virtuozzo/soap/drivers/process_info/mapping_registry.rb +2985 -0
  18. data/lib/virtuozzo/soap/drivers/process_info/types.rb +2328 -0
  19. data/lib/virtuozzo/soap/drivers/process_info_driver.rb +61 -0
  20. data/lib/virtuozzo/soap/drivers/relocator/mapping_registry.rb +3656 -0
  21. data/lib/virtuozzo/soap/drivers/relocator/types.rb +2916 -0
  22. data/lib/virtuozzo/soap/drivers/relocator_driver.rb +101 -0
  23. data/lib/virtuozzo/soap/drivers/session/mapping_registry.rb +3039 -0
  24. data/lib/virtuozzo/soap/drivers/session/types.rb +2453 -0
  25. data/lib/virtuozzo/soap/drivers/session_driver.rb +149 -0
  26. data/lib/virtuozzo/soap/drivers/support/mapping_registry.rb +3232 -0
  27. data/lib/virtuozzo/soap/drivers/support/types.rb +2708 -0
  28. data/lib/virtuozzo/soap/drivers/support_driver.rb +109 -0
  29. data/lib/virtuozzo/soap/drivers/template/mapping_registry.rb +3752 -0
  30. data/lib/virtuozzo/soap/drivers/template/types.rb +3079 -0
  31. data/lib/virtuozzo/soap/drivers/template_driver.rb +117 -0
  32. data/lib/virtuozzo/soap/drivers/up2date/mapping_registry.rb +3312 -0
  33. data/lib/virtuozzo/soap/drivers/up2date/types.rb +2670 -0
  34. data/lib/virtuozzo/soap/drivers/up2date_driver.rb +92 -0
  35. data/lib/virtuozzo/soap.rb +149 -0
  36. data/lib/virtuozzo.rb +18 -0
  37. data/script/console +10 -0
  38. data/script/github-gem-test +15 -0
  39. data/virtuozzo.gemspec +34 -0
  40. metadata +139 -0
@@ -0,0 +1,2401 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo; module SOAP; module Drivers; 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}system_nodeType
394
+ # address - Virtuozzo::SOAP::Drivers::Network::System_nodeType::Address
395
+ # login - Virtuozzo::SOAP::Drivers::Network::System_nodeType::Login
396
+ class System_nodeType
397
+
398
+ # inner class for member: address
399
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
400
+ # ip - (any)
401
+ class Address < Ip_addressType
402
+ attr_accessor :ip
403
+
404
+ def initialize(ip = nil)
405
+ @ip = ip
406
+ end
407
+ end
408
+
409
+ # inner class for member: login
410
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
411
+ # user - SOAP::SOAPString
412
+ # password - SOAP::SOAPBase64
413
+ class Login
414
+ attr_accessor :user
415
+ attr_accessor :password
416
+
417
+ def initialize(user = nil, password = nil)
418
+ @user = user
419
+ @password = password
420
+ end
421
+ end
422
+
423
+ attr_accessor :address
424
+ attr_accessor :login
425
+
426
+ def initialize(address = nil, login = nil)
427
+ @address = address
428
+ @login = login
429
+ end
430
+ end
431
+
432
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
433
+ # total - SOAP::SOAPLong
434
+ # used - SOAP::SOAPLong
435
+ # free - SOAP::SOAPLong
436
+ # avg - SOAP::SOAPLong
437
+ # min - SOAP::SOAPLong
438
+ # max - SOAP::SOAPLong
439
+ class ResourceType
440
+ attr_accessor :total
441
+ attr_accessor :used
442
+ attr_accessor :free
443
+ attr_accessor :avg
444
+ attr_accessor :min
445
+ attr_accessor :max
446
+
447
+ def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
448
+ @total = total
449
+ @used = used
450
+ @free = free
451
+ @avg = avg
452
+ @min = min
453
+ @max = max
454
+ end
455
+ end
456
+
457
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
458
+ # start_time - (any)
459
+ # end_time - (any)
460
+ class IntervalType
461
+ attr_accessor :start_time
462
+ attr_accessor :end_time
463
+
464
+ def initialize(start_time = nil, end_time = nil)
465
+ @start_time = start_time
466
+ @end_time = end_time
467
+ end
468
+ end
469
+
470
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
471
+ # avg - SOAP::SOAPLong
472
+ # min - SOAP::SOAPLong
473
+ # max - SOAP::SOAPLong
474
+ # total - SOAP::SOAPLong
475
+ # cur - SOAP::SOAPLong
476
+ # soft - SOAP::SOAPLong
477
+ # hard - SOAP::SOAPLong
478
+ class StatsType
479
+ attr_accessor :avg
480
+ attr_accessor :min
481
+ attr_accessor :max
482
+ attr_accessor :total
483
+ attr_accessor :cur
484
+ attr_accessor :soft
485
+ attr_accessor :hard
486
+
487
+ def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
488
+ @avg = avg
489
+ @min = min
490
+ @max = max
491
+ @total = total
492
+ @cur = cur
493
+ @soft = soft
494
+ @hard = hard
495
+ end
496
+ end
497
+
498
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
499
+ # host - (any)
500
+ # mask - (any)
501
+ class Net_addressType
502
+ attr_accessor :host
503
+ attr_accessor :mask
504
+
505
+ def initialize(host = nil, mask = nil)
506
+ @host = host
507
+ @mask = mask
508
+ end
509
+ end
510
+
511
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
512
+ # id - SOAP::SOAPString
513
+ # transfer - Virtuozzo::SOAP::Drivers::Network::TransferType
514
+ class Net_classType
515
+ attr_accessor :id
516
+ attr_accessor :transfer
517
+
518
+ def initialize(id = nil, transfer = nil)
519
+ @id = id
520
+ @transfer = transfer
521
+ end
522
+ end
523
+
524
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
525
+ # id - SOAP::SOAPString
526
+ # start_ip - (any)
527
+ # subnet_mask - SOAP::SOAPInt
528
+ # comment - SOAP::SOAPString
529
+ class Ip_rangeType
530
+ attr_accessor :id
531
+ attr_accessor :start_ip
532
+ attr_accessor :subnet_mask
533
+ attr_accessor :comment
534
+
535
+ def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
536
+ @id = id
537
+ @start_ip = start_ip
538
+ @subnet_mask = subnet_mask
539
+ @comment = comment
540
+ end
541
+ end
542
+
543
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
544
+ # env_config - Virtuozzo::SOAP::Drivers::Network::Env_configType
545
+ # id - SOAP::SOAPString
546
+ # name - SOAP::SOAPString
547
+ # comment - SOAP::SOAPBase64
548
+ # vt_version - Virtuozzo::SOAP::Drivers::Network::Sample_confType::Vt_version
549
+ class Sample_confType
550
+
551
+ # inner class for member: vt_version
552
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
553
+ # platform - SOAP::SOAPString
554
+ # architecture - SOAP::SOAPString
555
+ # vt_technology - SOAP::SOAPString
556
+ class Vt_version
557
+ attr_accessor :platform
558
+ attr_accessor :architecture
559
+ attr_accessor :vt_technology
560
+
561
+ def initialize(platform = nil, architecture = nil, vt_technology = nil)
562
+ @platform = platform
563
+ @architecture = architecture
564
+ @vt_technology = vt_technology
565
+ end
566
+ end
567
+
568
+ attr_accessor :env_config
569
+ attr_accessor :id
570
+ attr_accessor :name
571
+ attr_accessor :comment
572
+ attr_accessor :vt_version
573
+
574
+ def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
575
+ @env_config = env_config
576
+ @id = id
577
+ @name = name
578
+ @comment = comment
579
+ @vt_version = vt_version
580
+ end
581
+ end
582
+
583
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
584
+ # name - SOAP::SOAPString
585
+ # bandwidth - SOAP::SOAPInt
586
+ # transfer - Virtuozzo::SOAP::Drivers::Network::TransferType
587
+ # ipaddress - (any)
588
+ # flags - SOAP::SOAPInt
589
+ class InterfaceType
590
+ attr_accessor :name
591
+ attr_accessor :bandwidth
592
+ attr_accessor :transfer
593
+ attr_accessor :ipaddress
594
+ attr_accessor :flags
595
+
596
+ def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
597
+ @name = name
598
+ @bandwidth = bandwidth
599
+ @transfer = transfer
600
+ @ipaddress = ipaddress
601
+ @flags = flags
602
+ end
603
+ end
604
+
605
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
606
+ # load_avg - Virtuozzo::SOAP::Drivers::Network::Load_avgType
607
+ # processes - Virtuozzo::SOAP::Drivers::Network::ProcessesType
608
+ # cpu_load - Virtuozzo::SOAP::Drivers::Network::Cpu_loadType
609
+ # cpu_states - Virtuozzo::SOAP::Drivers::Network::Cpu_loadType
610
+ # users - SOAP::SOAPInt
611
+ # uptime - SOAP::SOAPLong
612
+ # memory - Virtuozzo::SOAP::Drivers::Network::Sys_infoType::Memory
613
+ # swap - Virtuozzo::SOAP::Drivers::Network::Sys_infoType::Swap
614
+ class Sys_infoType
615
+
616
+ # inner class for member: memory
617
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
618
+ # total - SOAP::SOAPLong
619
+ # used - SOAP::SOAPLong
620
+ class Memory < ResourceType
621
+ attr_accessor :total
622
+ attr_accessor :used
623
+
624
+ def initialize(total = nil, used = nil)
625
+ @total = total
626
+ @used = used
627
+ end
628
+ end
629
+
630
+ # inner class for member: swap
631
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
632
+ # total - SOAP::SOAPLong
633
+ # used - SOAP::SOAPLong
634
+ class Swap < ResourceType
635
+ attr_accessor :total
636
+ attr_accessor :used
637
+
638
+ def initialize(total = nil, used = nil)
639
+ @total = total
640
+ @used = used
641
+ end
642
+ end
643
+
644
+ attr_accessor :load_avg
645
+ attr_accessor :processes
646
+ attr_accessor :cpu_load
647
+ attr_accessor :cpu_states
648
+ attr_accessor :users
649
+ attr_accessor :uptime
650
+ attr_accessor :memory
651
+ attr_accessor :swap
652
+
653
+ def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
654
+ @load_avg = load_avg
655
+ @processes = processes
656
+ @cpu_load = cpu_load
657
+ @cpu_states = cpu_states
658
+ @users = users
659
+ @uptime = uptime
660
+ @memory = memory
661
+ @swap = swap
662
+ end
663
+ end
664
+
665
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
666
+ # process - Virtuozzo::SOAP::Drivers::Network::Ps_infoType::C_Process
667
+ # param_id - SOAP::SOAPString
668
+ # run - SOAP::SOAPInt
669
+ # idle - SOAP::SOAPInt
670
+ # zombie - SOAP::SOAPInt
671
+ # sleep - SOAP::SOAPInt
672
+ # uninterrupt - SOAP::SOAPInt
673
+ # stopped - SOAP::SOAPInt
674
+ # total - SOAP::SOAPInt
675
+ class Ps_infoType
676
+
677
+ # inner class for member: process
678
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
679
+ # pid - SOAP::SOAPInt
680
+ # param - SOAP::SOAPBase64
681
+ class C_Process
682
+ attr_accessor :pid
683
+ attr_accessor :param
684
+
685
+ def initialize(pid = nil, param = [])
686
+ @pid = pid
687
+ @param = param
688
+ end
689
+ end
690
+
691
+ attr_accessor :process
692
+ attr_accessor :param_id
693
+ attr_accessor :run
694
+ attr_accessor :idle
695
+ attr_accessor :zombie
696
+ attr_accessor :sleep
697
+ attr_accessor :uninterrupt
698
+ attr_accessor :stopped
699
+ attr_accessor :total
700
+
701
+ def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
702
+ @process = process
703
+ @param_id = param_id
704
+ @run = run
705
+ @idle = idle
706
+ @zombie = zombie
707
+ @sleep = sleep
708
+ @uninterrupt = uninterrupt
709
+ @stopped = stopped
710
+ @total = total
711
+ end
712
+ end
713
+
714
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
715
+ # l1 - Virtuozzo::SOAP::Drivers::Network::Load_avg_statsType::L1
716
+ # l2 - Virtuozzo::SOAP::Drivers::Network::Load_avg_statsType::L2
717
+ # l3 - Virtuozzo::SOAP::Drivers::Network::Load_avg_statsType::L3
718
+ class Load_avg_statsType
719
+
720
+ # inner class for member: l1
721
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
722
+ # avg - SOAP::SOAPLong
723
+ # min - SOAP::SOAPLong
724
+ # max - SOAP::SOAPLong
725
+ # cur - SOAP::SOAPLong
726
+ class L1 < StatsType
727
+ attr_accessor :avg
728
+ attr_accessor :min
729
+ attr_accessor :max
730
+ attr_accessor :cur
731
+
732
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
733
+ @avg = avg
734
+ @min = min
735
+ @max = max
736
+ @cur = cur
737
+ end
738
+ end
739
+
740
+ # inner class for member: l2
741
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
742
+ # avg - SOAP::SOAPLong
743
+ # min - SOAP::SOAPLong
744
+ # max - SOAP::SOAPLong
745
+ # cur - SOAP::SOAPLong
746
+ class L2 < StatsType
747
+ attr_accessor :avg
748
+ attr_accessor :min
749
+ attr_accessor :max
750
+ attr_accessor :cur
751
+
752
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
753
+ @avg = avg
754
+ @min = min
755
+ @max = max
756
+ @cur = cur
757
+ end
758
+ end
759
+
760
+ # inner class for member: l3
761
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
762
+ # avg - SOAP::SOAPLong
763
+ # min - SOAP::SOAPLong
764
+ # max - SOAP::SOAPLong
765
+ # cur - SOAP::SOAPLong
766
+ class L3 < StatsType
767
+ attr_accessor :avg
768
+ attr_accessor :min
769
+ attr_accessor :max
770
+ attr_accessor :cur
771
+
772
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
773
+ @avg = avg
774
+ @min = min
775
+ @max = max
776
+ @cur = cur
777
+ end
778
+ end
779
+
780
+ attr_accessor :l1
781
+ attr_accessor :l2
782
+ attr_accessor :l3
783
+
784
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
785
+ @l1 = l1
786
+ @l2 = l2
787
+ @l3 = l3
788
+ end
789
+ end
790
+
791
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
792
+ # ip - (any)
793
+ # netmask - (any)
794
+ class Ip_addressType
795
+ attr_accessor :ip
796
+ attr_accessor :netmask
797
+
798
+ def initialize(ip = nil, netmask = nil)
799
+ @ip = ip
800
+ @netmask = netmask
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}userType
1042
+ # initial_group - Virtuozzo::SOAP::Drivers::Network::UserType::Initial_group
1043
+ # group - Virtuozzo::SOAP::Drivers::Network::UserType::Group
1044
+ # uid - SOAP::SOAPInt
1045
+ # shell - SOAP::SOAPString
1046
+ # password - SOAP::SOAPBase64
1047
+ # home_dir - SOAP::SOAPString
1048
+ # name - SOAP::SOAPString
1049
+ # comment - SOAP::SOAPString
1050
+ class UserType
1051
+
1052
+ # inner class for member: initial_group
1053
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
1054
+ # name - SOAP::SOAPString
1055
+ # gid - SOAP::SOAPInt
1056
+ class Initial_group < GroupType
1057
+ attr_accessor :name
1058
+ attr_accessor :gid
1059
+
1060
+ def initialize(name = nil, gid = nil)
1061
+ @name = name
1062
+ @gid = gid
1063
+ end
1064
+ end
1065
+
1066
+ # inner class for member: group
1067
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
1068
+ # name - SOAP::SOAPString
1069
+ # gid - SOAP::SOAPInt
1070
+ class Group < GroupType
1071
+ attr_accessor :name
1072
+ attr_accessor :gid
1073
+
1074
+ def initialize(name = nil, gid = nil)
1075
+ @name = name
1076
+ @gid = gid
1077
+ end
1078
+ end
1079
+
1080
+ attr_accessor :initial_group
1081
+ attr_accessor :group
1082
+ attr_accessor :uid
1083
+ attr_accessor :shell
1084
+ attr_accessor :password
1085
+ attr_accessor :home_dir
1086
+ attr_accessor :name
1087
+ attr_accessor :comment
1088
+
1089
+ def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
1090
+ @initial_group = initial_group
1091
+ @group = group
1092
+ @uid = uid
1093
+ @shell = shell
1094
+ @password = password
1095
+ @home_dir = home_dir
1096
+ @name = name
1097
+ @comment = comment
1098
+ end
1099
+ end
1100
+
1101
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1102
+ # user - Virtuozzo::SOAP::Drivers::Network::GroupType::User
1103
+ # member_group - Virtuozzo::SOAP::Drivers::Network::GroupType::Member_group
1104
+ # name - SOAP::SOAPString
1105
+ # gid - SOAP::SOAPInt
1106
+ class GroupType
1107
+
1108
+ # inner class for member: user
1109
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
1110
+ # name - SOAP::SOAPString
1111
+ class User < UserType
1112
+ attr_accessor :name
1113
+
1114
+ def initialize(name = nil)
1115
+ @name = name
1116
+ end
1117
+ end
1118
+
1119
+ # inner class for member: member_group
1120
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
1121
+ # name - SOAP::SOAPString
1122
+ class Member_group < GroupType
1123
+ attr_accessor :name
1124
+
1125
+ def initialize(name = nil)
1126
+ @name = name
1127
+ end
1128
+ end
1129
+
1130
+ attr_accessor :user
1131
+ attr_accessor :member_group
1132
+ attr_accessor :name
1133
+ attr_accessor :gid
1134
+
1135
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1136
+ @user = user
1137
+ @member_group = member_group
1138
+ @name = name
1139
+ @gid = gid
1140
+ end
1141
+ end
1142
+
1143
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
1144
+ # name - SOAP::SOAPString
1145
+ # summary - SOAP::SOAPString
1146
+ # os - Virtuozzo::SOAP::Drivers::Network::OsType
1147
+ # description - SOAP::SOAPString
1148
+ # arch - SOAP::SOAPString
1149
+ # version - SOAP::SOAPString
1150
+ class PackageType
1151
+ attr_accessor :name
1152
+ attr_accessor :summary
1153
+ attr_accessor :os
1154
+ attr_accessor :description
1155
+ attr_accessor :arch
1156
+ attr_accessor :version
1157
+
1158
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
1159
+ @name = name
1160
+ @summary = summary
1161
+ @os = os
1162
+ @description = description
1163
+ @arch = arch
1164
+ @version = version
1165
+ end
1166
+ end
1167
+
1168
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
1169
+ class Event_dataType
1170
+ def initialize
1171
+ end
1172
+ end
1173
+
1174
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
1175
+ # type - SOAP::SOAPInt
1176
+ class Alert_dataType < Event_dataType
1177
+ attr_accessor :type
1178
+
1179
+ def initialize(type = nil)
1180
+ @type = type
1181
+ end
1182
+ end
1183
+
1184
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
1185
+ # name - SOAP::SOAPString
1186
+ # value - SOAP::SOAPBase64
1187
+ class Named_listType
1188
+ attr_accessor :name
1189
+ attr_accessor :value
1190
+
1191
+ def initialize(name = nil, value = [])
1192
+ @name = name
1193
+ @value = value
1194
+ end
1195
+ end
1196
+
1197
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
1198
+ # name - SOAP::SOAPString
1199
+ # value - SOAP::SOAPBase64
1200
+ # op - SOAP::SOAPInt
1201
+ class ModType < Named_listType
1202
+ attr_accessor :name
1203
+ attr_accessor :value
1204
+ attr_accessor :op
1205
+
1206
+ def initialize(name = nil, value = [], op = nil)
1207
+ @name = name
1208
+ @value = value
1209
+ @op = op
1210
+ end
1211
+ end
1212
+
1213
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
1214
+ # id - (any)
1215
+ # type - SOAP::SOAPInt
1216
+ # name - SOAP::SOAPString
1217
+ # builtin - (any)
1218
+ class RealmType
1219
+ attr_accessor :id
1220
+ attr_accessor :type
1221
+ attr_accessor :name
1222
+ attr_accessor :builtin
1223
+
1224
+ def initialize(id = nil, type = nil, name = nil, builtin = nil)
1225
+ @id = id
1226
+ @type = type
1227
+ @name = name
1228
+ @builtin = builtin
1229
+ end
1230
+ end
1231
+
1232
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
1233
+ # eid - (any)
1234
+ # time - (any)
1235
+ # source - SOAP::SOAPString
1236
+ # category - SOAP::SOAPString
1237
+ # sid - (any)
1238
+ # count - SOAP::SOAPInt
1239
+ # id - (any)
1240
+ # info - Virtuozzo::SOAP::Drivers::Network::InfoType
1241
+ # data - Virtuozzo::SOAP::Drivers::Network::EventType::C_Data
1242
+ class EventType
1243
+
1244
+ # inner class for member: data
1245
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
1246
+ # event_data - Virtuozzo::SOAP::Drivers::Network::Event_dataType
1247
+ class C_Data
1248
+ attr_accessor :event_data
1249
+
1250
+ def initialize(event_data = nil)
1251
+ @event_data = event_data
1252
+ end
1253
+ end
1254
+
1255
+ attr_accessor :eid
1256
+ attr_accessor :time
1257
+ attr_accessor :source
1258
+ attr_accessor :category
1259
+ attr_accessor :sid
1260
+ attr_accessor :count
1261
+ attr_accessor :id
1262
+ attr_accessor :info
1263
+ attr_accessor :data
1264
+
1265
+ def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
1266
+ @eid = eid
1267
+ @time = time
1268
+ @source = source
1269
+ @category = category
1270
+ @sid = sid
1271
+ @count = count
1272
+ @id = id
1273
+ @info = info
1274
+ @data = data
1275
+ end
1276
+ end
1277
+
1278
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
1279
+ # message - SOAP::SOAPBase64
1280
+ # translate - (any)
1281
+ # parameter - Virtuozzo::SOAP::Drivers::Network::InfoType
1282
+ # name - SOAP::SOAPString
1283
+ class InfoType
1284
+ attr_accessor :message
1285
+ attr_accessor :translate
1286
+ attr_accessor :parameter
1287
+ attr_accessor :name
1288
+
1289
+ def initialize(message = nil, translate = nil, parameter = [], name = nil)
1290
+ @message = message
1291
+ @translate = translate
1292
+ @parameter = parameter
1293
+ @name = name
1294
+ end
1295
+ end
1296
+
1297
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
1298
+ # type - SOAP::SOAPInt
1299
+ # sid - (any)
1300
+ # rights - SOAP::SOAPBase64
1301
+ class AceType
1302
+ attr_accessor :type
1303
+ attr_accessor :sid
1304
+ attr_accessor :rights
1305
+
1306
+ def initialize(type = nil, sid = nil, rights = nil)
1307
+ @type = type
1308
+ @sid = sid
1309
+ @rights = rights
1310
+ end
1311
+ end
1312
+
1313
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
1314
+ # owner - (any)
1315
+ # group - (any)
1316
+ # dacl - Virtuozzo::SOAP::Drivers::Network::Security_descriptorType::Dacl
1317
+ class Security_descriptorType
1318
+
1319
+ # inner class for member: dacl
1320
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
1321
+ class Dacl < ::Array
1322
+ end
1323
+
1324
+ attr_accessor :owner
1325
+ attr_accessor :group
1326
+ attr_accessor :dacl
1327
+
1328
+ def initialize(owner = nil, group = nil, dacl = nil)
1329
+ @owner = owner
1330
+ @group = group
1331
+ @dacl = dacl
1332
+ end
1333
+ end
1334
+
1335
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
1336
+ # abstract
1337
+ class Security_objectType
1338
+ def initialize
1339
+ end
1340
+ end
1341
+
1342
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
1343
+ # eid - (any)
1344
+ class Env_security_objectType < Security_objectType
1345
+ attr_accessor :eid
1346
+
1347
+ def initialize(eid = nil)
1348
+ @eid = eid
1349
+ end
1350
+ end
1351
+
1352
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
1353
+ # id - SOAP::SOAPString
1354
+ # ip_address - Virtuozzo::SOAP::Drivers::Network::Ip_addressType
1355
+ # dhcp - (any)
1356
+ # network_id - SOAP::SOAPBase64
1357
+ # status - Virtuozzo::SOAP::Drivers::Network::Net_deviceType::Status
1358
+ class Net_deviceType
1359
+
1360
+ # inner class for member: status
1361
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1362
+ # up - (any)
1363
+ # down - (any)
1364
+ class Status
1365
+ attr_accessor :up
1366
+ attr_accessor :down
1367
+
1368
+ def initialize(up = nil, down = nil)
1369
+ @up = up
1370
+ @down = down
1371
+ end
1372
+ end
1373
+
1374
+ attr_accessor :id
1375
+ attr_accessor :ip_address
1376
+ attr_accessor :dhcp
1377
+ attr_accessor :network_id
1378
+ attr_accessor :status
1379
+
1380
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
1381
+ @id = id
1382
+ @ip_address = ip_address
1383
+ @dhcp = dhcp
1384
+ @network_id = network_id
1385
+ @status = status
1386
+ end
1387
+ end
1388
+
1389
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
1390
+ # id - SOAP::SOAPString
1391
+ # ip_address - Virtuozzo::SOAP::Drivers::Network::Ip_addressType
1392
+ # dhcp - (any)
1393
+ # network_id - SOAP::SOAPBase64
1394
+ # status - Virtuozzo::SOAP::Drivers::Network::Net_nicType::Status
1395
+ # mac_address - SOAP::SOAPString
1396
+ class Net_nicType < Net_deviceType
1397
+
1398
+ # inner class for member: status
1399
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1400
+ # up - (any)
1401
+ # down - (any)
1402
+ class Status
1403
+ attr_accessor :up
1404
+ attr_accessor :down
1405
+
1406
+ def initialize(up = nil, down = nil)
1407
+ @up = up
1408
+ @down = down
1409
+ end
1410
+ end
1411
+
1412
+ attr_accessor :id
1413
+ attr_accessor :ip_address
1414
+ attr_accessor :dhcp
1415
+ attr_accessor :network_id
1416
+ attr_accessor :status
1417
+ attr_accessor :mac_address
1418
+
1419
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
1420
+ @id = id
1421
+ @ip_address = ip_address
1422
+ @dhcp = dhcp
1423
+ @network_id = network_id
1424
+ @status = status
1425
+ @mac_address = mac_address
1426
+ end
1427
+ end
1428
+
1429
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}net_vlanType
1430
+ # id - SOAP::SOAPString
1431
+ # ip_address - Virtuozzo::SOAP::Drivers::Network::Ip_addressType
1432
+ # dhcp - (any)
1433
+ # network_id - SOAP::SOAPBase64
1434
+ # status - Virtuozzo::SOAP::Drivers::Network::Net_vlanType::Status
1435
+ # vlan_id - SOAP::SOAPString
1436
+ # base_device_id - SOAP::SOAPString
1437
+ # mac_address - SOAP::SOAPString
1438
+ class Net_vlanType < Net_deviceType
1439
+
1440
+ # inner class for member: status
1441
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1442
+ # up - (any)
1443
+ # down - (any)
1444
+ class Status
1445
+ attr_accessor :up
1446
+ attr_accessor :down
1447
+
1448
+ def initialize(up = nil, down = nil)
1449
+ @up = up
1450
+ @down = down
1451
+ end
1452
+ end
1453
+
1454
+ attr_accessor :id
1455
+ attr_accessor :ip_address
1456
+ attr_accessor :dhcp
1457
+ attr_accessor :network_id
1458
+ attr_accessor :status
1459
+ attr_accessor :vlan_id
1460
+ attr_accessor :base_device_id
1461
+ attr_accessor :mac_address
1462
+
1463
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, vlan_id = nil, base_device_id = nil, mac_address = nil)
1464
+ @id = id
1465
+ @ip_address = ip_address
1466
+ @dhcp = dhcp
1467
+ @network_id = network_id
1468
+ @status = status
1469
+ @vlan_id = vlan_id
1470
+ @base_device_id = base_device_id
1471
+ @mac_address = mac_address
1472
+ end
1473
+ end
1474
+
1475
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}net_bridgeType
1476
+ # id - SOAP::SOAPString
1477
+ # ip_address - Virtuozzo::SOAP::Drivers::Network::Ip_addressType
1478
+ # dhcp - (any)
1479
+ # network_id - SOAP::SOAPBase64
1480
+ # status - Virtuozzo::SOAP::Drivers::Network::Net_bridgeType::Status
1481
+ class Net_bridgeType < Net_deviceType
1482
+
1483
+ # inner class for member: status
1484
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1485
+ # up - (any)
1486
+ # down - (any)
1487
+ class Status
1488
+ attr_accessor :up
1489
+ attr_accessor :down
1490
+
1491
+ def initialize(up = nil, down = nil)
1492
+ @up = up
1493
+ @down = down
1494
+ end
1495
+ end
1496
+
1497
+ attr_accessor :id
1498
+ attr_accessor :ip_address
1499
+ attr_accessor :dhcp
1500
+ attr_accessor :network_id
1501
+ attr_accessor :status
1502
+
1503
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
1504
+ @id = id
1505
+ @ip_address = ip_address
1506
+ @dhcp = dhcp
1507
+ @network_id = network_id
1508
+ @status = status
1509
+ end
1510
+ end
1511
+
1512
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
1513
+ # id - SOAP::SOAPString
1514
+ # type - SOAP::SOAPString
1515
+ # min - SOAP::SOAPString
1516
+ # max - SOAP::SOAPString
1517
+ # long - SOAP::SOAPString
1518
+ # short - SOAP::SOAPString
1519
+ # category - SOAP::SOAPString
1520
+ # complex - SOAP::SOAPString
1521
+ # default - SOAP::SOAPString
1522
+ # measure - SOAP::SOAPString
1523
+ # data - (any)
1524
+ # name - (any)
1525
+ class Voc_parameterType
1526
+ attr_accessor :id
1527
+ attr_accessor :type
1528
+ attr_accessor :min
1529
+ attr_accessor :max
1530
+ attr_accessor :long
1531
+ attr_accessor :short
1532
+ attr_accessor :category
1533
+ attr_accessor :complex
1534
+ attr_accessor :default
1535
+ attr_accessor :measure
1536
+ attr_accessor :data
1537
+ attr_accessor :name
1538
+
1539
+ 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)
1540
+ @id = id
1541
+ @type = type
1542
+ @min = min
1543
+ @max = max
1544
+ @long = long
1545
+ @short = short
1546
+ @category = category
1547
+ @complex = complex
1548
+ @default = default
1549
+ @measure = measure
1550
+ @data = data
1551
+ @name = name
1552
+ end
1553
+ end
1554
+
1555
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
1556
+ # name - SOAP::SOAPString
1557
+ # parameter - Virtuozzo::SOAP::Drivers::Network::Voc_parameterType
1558
+ # category - Virtuozzo::SOAP::Drivers::Network::Voc_parameterType
1559
+ class VocabularyType
1560
+ attr_accessor :name
1561
+ attr_accessor :parameter
1562
+ attr_accessor :category
1563
+
1564
+ def initialize(name = nil, parameter = [], category = [])
1565
+ @name = name
1566
+ @parameter = parameter
1567
+ @category = category
1568
+ end
1569
+ end
1570
+
1571
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
1572
+ # cur - SOAP::SOAPAnySimpleType
1573
+ # avg - SOAP::SOAPAnySimpleType
1574
+ # max - SOAP::SOAPAnySimpleType
1575
+ # min - SOAP::SOAPAnySimpleType
1576
+ class Perf_statType
1577
+ attr_accessor :cur
1578
+ attr_accessor :avg
1579
+ attr_accessor :max
1580
+ attr_accessor :min
1581
+
1582
+ def initialize(cur = nil, avg = nil, max = nil, min = nil)
1583
+ @cur = cur
1584
+ @avg = avg
1585
+ @max = max
1586
+ @min = min
1587
+ end
1588
+ end
1589
+
1590
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
1591
+ # eid - (any)
1592
+ # m_class - Virtuozzo::SOAP::Drivers::Network::Perf_dataType::C_Class
1593
+ # interval - Virtuozzo::SOAP::Drivers::Network::IntervalType
1594
+ class Perf_dataType
1595
+
1596
+ # inner class for member: class
1597
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
1598
+ # name - SOAP::SOAPString
1599
+ # instance - Virtuozzo::SOAP::Drivers::Network::Perf_dataType::C_Class::Instance
1600
+ class C_Class
1601
+
1602
+ # inner class for member: instance
1603
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
1604
+ # name - SOAP::SOAPString
1605
+ # counter - Virtuozzo::SOAP::Drivers::Network::Perf_dataType::C_Class::Instance::Counter
1606
+ class Instance
1607
+
1608
+ # inner class for member: counter
1609
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
1610
+ # name - SOAP::SOAPString
1611
+ # value - Virtuozzo::SOAP::Drivers::Network::Perf_statType
1612
+ class Counter
1613
+ attr_accessor :name
1614
+ attr_accessor :value
1615
+
1616
+ def initialize(name = nil, value = nil)
1617
+ @name = name
1618
+ @value = value
1619
+ end
1620
+ end
1621
+
1622
+ attr_accessor :name
1623
+ attr_accessor :counter
1624
+
1625
+ def initialize(name = nil, counter = [])
1626
+ @name = name
1627
+ @counter = counter
1628
+ end
1629
+ end
1630
+
1631
+ attr_accessor :name
1632
+ attr_accessor :instance
1633
+
1634
+ def initialize(name = nil, instance = [])
1635
+ @name = name
1636
+ @instance = instance
1637
+ end
1638
+ end
1639
+
1640
+ attr_accessor :eid
1641
+ attr_accessor :interval
1642
+
1643
+ def m_class
1644
+ @v_class
1645
+ end
1646
+
1647
+ def m_class=(value)
1648
+ @v_class = value
1649
+ end
1650
+
1651
+ def initialize(eid = nil, v_class = [], interval = nil)
1652
+ @eid = eid
1653
+ @v_class = v_class
1654
+ @interval = interval
1655
+ end
1656
+ end
1657
+
1658
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
1659
+ class Log_options_baseType
1660
+ def initialize
1661
+ end
1662
+ end
1663
+
1664
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
1665
+ class Log_optionsType < Log_options_baseType
1666
+ def initialize
1667
+ end
1668
+ end
1669
+
1670
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}ip_routeType
1671
+ # destination - Virtuozzo::SOAP::Drivers::Network::Ip_addressType
1672
+ # gateway - (any)
1673
+ class Ip_routeType
1674
+ attr_accessor :destination
1675
+ attr_accessor :gateway
1676
+
1677
+ def initialize(destination = nil, gateway = nil)
1678
+ @destination = destination
1679
+ @gateway = gateway
1680
+ end
1681
+ end
1682
+
1683
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet_headerType
1684
+ # auth - Virtuozzo::SOAP::Drivers::Network::AuthType
1685
+ # cookie - SOAP::SOAPString
1686
+ # target - SOAP::SOAPString
1687
+ # origin - SOAP::SOAPString
1688
+ # src - Virtuozzo::SOAP::Drivers::Network::RouteType
1689
+ # dst - Virtuozzo::SOAP::Drivers::Network::RouteType
1690
+ # session - SOAP::SOAPString
1691
+ # xmlattr_version - SOAP::SOAPString
1692
+ # xmlattr_id - SOAP::SOAPString
1693
+ # xmlattr_priority - SOAP::SOAPString
1694
+ # xmlattr_time - SOAP::SOAPString
1695
+ # xmlattr_progress - SOAP::SOAPString
1696
+ # xmlattr_log - SOAP::SOAPString
1697
+ # xmlattr_type - SOAP::SOAPInt
1698
+ # xmlattr_timeout - SOAP::SOAPInt
1699
+ # xmlattr_timeout_limit - SOAP::SOAPInt
1700
+ # xmlattr_uid - SOAP::SOAPInt
1701
+ class Packet_headerType
1702
+ AttrC_Time = XSD::QName.new(nil, "time")
1703
+ AttrId = XSD::QName.new(nil, "id")
1704
+ AttrLog = XSD::QName.new(nil, "log")
1705
+ AttrPriority = XSD::QName.new(nil, "priority")
1706
+ AttrProgress = XSD::QName.new(nil, "progress")
1707
+ AttrTimeout = XSD::QName.new(nil, "timeout")
1708
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
1709
+ AttrType = XSD::QName.new(nil, "type")
1710
+ AttrUid = XSD::QName.new(nil, "uid")
1711
+ AttrVersion = XSD::QName.new(nil, "version")
1712
+
1713
+ attr_accessor :auth
1714
+ attr_accessor :cookie
1715
+ attr_accessor :target
1716
+ attr_accessor :origin
1717
+ attr_accessor :src
1718
+ attr_accessor :dst
1719
+ attr_accessor :session
1720
+
1721
+ def __xmlattr
1722
+ @__xmlattr ||= {}
1723
+ end
1724
+
1725
+ def xmlattr_version
1726
+ __xmlattr[AttrVersion]
1727
+ end
1728
+
1729
+ def xmlattr_version=(value)
1730
+ __xmlattr[AttrVersion] = value
1731
+ end
1732
+
1733
+ def xmlattr_id
1734
+ __xmlattr[AttrId]
1735
+ end
1736
+
1737
+ def xmlattr_id=(value)
1738
+ __xmlattr[AttrId] = value
1739
+ end
1740
+
1741
+ def xmlattr_priority
1742
+ __xmlattr[AttrPriority]
1743
+ end
1744
+
1745
+ def xmlattr_priority=(value)
1746
+ __xmlattr[AttrPriority] = value
1747
+ end
1748
+
1749
+ def xmlattr_time
1750
+ __xmlattr[AttrC_Time]
1751
+ end
1752
+
1753
+ def xmlattr_time=(value)
1754
+ __xmlattr[AttrC_Time] = value
1755
+ end
1756
+
1757
+ def xmlattr_progress
1758
+ __xmlattr[AttrProgress]
1759
+ end
1760
+
1761
+ def xmlattr_progress=(value)
1762
+ __xmlattr[AttrProgress] = value
1763
+ end
1764
+
1765
+ def xmlattr_log
1766
+ __xmlattr[AttrLog]
1767
+ end
1768
+
1769
+ def xmlattr_log=(value)
1770
+ __xmlattr[AttrLog] = value
1771
+ end
1772
+
1773
+ def xmlattr_type
1774
+ __xmlattr[AttrType]
1775
+ end
1776
+
1777
+ def xmlattr_type=(value)
1778
+ __xmlattr[AttrType] = value
1779
+ end
1780
+
1781
+ def xmlattr_timeout
1782
+ __xmlattr[AttrTimeout]
1783
+ end
1784
+
1785
+ def xmlattr_timeout=(value)
1786
+ __xmlattr[AttrTimeout] = value
1787
+ end
1788
+
1789
+ def xmlattr_timeout_limit
1790
+ __xmlattr[AttrTimeout_limit]
1791
+ end
1792
+
1793
+ def xmlattr_timeout_limit=(value)
1794
+ __xmlattr[AttrTimeout_limit] = value
1795
+ end
1796
+
1797
+ def xmlattr_uid
1798
+ __xmlattr[AttrUid]
1799
+ end
1800
+
1801
+ def xmlattr_uid=(value)
1802
+ __xmlattr[AttrUid] = value
1803
+ end
1804
+
1805
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil)
1806
+ @auth = auth
1807
+ @cookie = cookie
1808
+ @target = target
1809
+ @origin = origin
1810
+ @src = src
1811
+ @dst = dst
1812
+ @session = session
1813
+ @__xmlattr = {}
1814
+ end
1815
+ end
1816
+
1817
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operatorType
1818
+ # configuration - Virtuozzo::SOAP::Drivers::Network::ConfigurationType
1819
+ class OperatorType
1820
+ attr_accessor :configuration
1821
+
1822
+ def initialize(configuration = nil)
1823
+ @configuration = configuration
1824
+ end
1825
+ end
1826
+
1827
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_functionalType
1828
+ # configuration - Virtuozzo::SOAP::Drivers::Network::ConfigurationType
1829
+ # ok - Virtuozzo::SOAP::Drivers::Network::Operator_functionalType::Ok
1830
+ # error - Virtuozzo::SOAP::Drivers::Network::Operator_functionalType::Error
1831
+ class Operator_functionalType < OperatorType
1832
+
1833
+ # inner class for member: ok
1834
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1835
+ class Ok
1836
+ def initialize
1837
+ end
1838
+ end
1839
+
1840
+ # inner class for member: error
1841
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1842
+ # code - SOAP::SOAPInt
1843
+ # message - SOAP::SOAPString
1844
+ class Error
1845
+ attr_accessor :code
1846
+ attr_accessor :message
1847
+
1848
+ def initialize(code = nil, message = nil)
1849
+ @code = code
1850
+ @message = message
1851
+ end
1852
+ end
1853
+
1854
+ attr_accessor :configuration
1855
+ attr_accessor :ok
1856
+ attr_accessor :error
1857
+
1858
+ def initialize(configuration = nil, ok = [], error = [])
1859
+ @configuration = configuration
1860
+ @ok = ok
1861
+ @error = error
1862
+ end
1863
+ end
1864
+
1865
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}networkmType
1866
+ # configuration - Virtuozzo::SOAP::Drivers::Network::ConfigurationType
1867
+ # ok - Virtuozzo::SOAP::Drivers::Network::NetworkmType::Ok
1868
+ # error - Virtuozzo::SOAP::Drivers::Network::NetworkmType::Error
1869
+ # add - Virtuozzo::SOAP::Drivers::Network::Add
1870
+ # list - Virtuozzo::SOAP::Drivers::Network::List
1871
+ # set - Virtuozzo::SOAP::Drivers::Network::Set
1872
+ # del - Virtuozzo::SOAP::Drivers::Network::Del
1873
+ # net_device - Virtuozzo::SOAP::Drivers::Network::Net_deviceType
1874
+ class NetworkmType < Operator_functionalType
1875
+
1876
+ # inner class for member: ok
1877
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1878
+ class Ok
1879
+ def initialize
1880
+ end
1881
+ end
1882
+
1883
+ # inner class for member: error
1884
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1885
+ # code - SOAP::SOAPInt
1886
+ # message - SOAP::SOAPString
1887
+ class Error
1888
+ attr_accessor :code
1889
+ attr_accessor :message
1890
+
1891
+ def initialize(code = nil, message = nil)
1892
+ @code = code
1893
+ @message = message
1894
+ end
1895
+ end
1896
+
1897
+ attr_accessor :configuration
1898
+ attr_accessor :ok
1899
+ attr_accessor :error
1900
+ attr_accessor :add
1901
+ attr_accessor :list
1902
+ attr_accessor :set
1903
+ attr_accessor :del
1904
+ attr_accessor :net_device
1905
+
1906
+ def initialize(configuration = nil, ok = [], error = [], add = nil, list = nil, set = nil, del = nil, net_device = [])
1907
+ @configuration = configuration
1908
+ @ok = ok
1909
+ @error = error
1910
+ @add = add
1911
+ @list = list
1912
+ @set = set
1913
+ @del = del
1914
+ @net_device = net_device
1915
+ end
1916
+ end
1917
+
1918
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzanetworkm}vzanetworkmType
1919
+ # configuration - Virtuozzo::SOAP::Drivers::Network::ConfigurationType
1920
+ # ok - Virtuozzo::SOAP::Drivers::Network::VzanetworkmType::Ok
1921
+ # error - Virtuozzo::SOAP::Drivers::Network::VzanetworkmType::Error
1922
+ # add - Virtuozzo::SOAP::Drivers::Network::Add
1923
+ # list - Virtuozzo::SOAP::Drivers::Network::List
1924
+ # set - Virtuozzo::SOAP::Drivers::Network::Set
1925
+ # del - Virtuozzo::SOAP::Drivers::Network::Del
1926
+ # net_device - Virtuozzo::SOAP::Drivers::Network::Net_deviceType
1927
+ # set_config - Virtuozzo::SOAP::Drivers::Network::Set_config
1928
+ # get_config - Virtuozzo::SOAP::Drivers::Network::Get_config
1929
+ # net_config - Virtuozzo::SOAP::Drivers::Network::Net_configType
1930
+ class VzanetworkmType < NetworkmType
1931
+
1932
+ # inner class for member: ok
1933
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1934
+ class Ok
1935
+ def initialize
1936
+ end
1937
+ end
1938
+
1939
+ # inner class for member: error
1940
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1941
+ # code - SOAP::SOAPInt
1942
+ # message - SOAP::SOAPString
1943
+ class Error
1944
+ attr_accessor :code
1945
+ attr_accessor :message
1946
+
1947
+ def initialize(code = nil, message = nil)
1948
+ @code = code
1949
+ @message = message
1950
+ end
1951
+ end
1952
+
1953
+ attr_accessor :configuration
1954
+ attr_accessor :ok
1955
+ attr_accessor :error
1956
+ attr_accessor :add
1957
+ attr_accessor :list
1958
+ attr_accessor :set
1959
+ attr_accessor :del
1960
+ attr_accessor :net_device
1961
+ attr_accessor :set_config
1962
+ attr_accessor :get_config
1963
+ attr_accessor :net_config
1964
+
1965
+ 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)
1966
+ @configuration = configuration
1967
+ @ok = ok
1968
+ @error = error
1969
+ @add = add
1970
+ @list = list
1971
+ @set = set
1972
+ @del = del
1973
+ @net_device = net_device
1974
+ @set_config = set_config
1975
+ @get_config = get_config
1976
+ @net_config = net_config
1977
+ end
1978
+ end
1979
+
1980
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
1981
+ # configuration - Virtuozzo::SOAP::Drivers::Network::ConfigurationType
1982
+ # ok - Virtuozzo::SOAP::Drivers::Network::Operator_periodicType::Ok
1983
+ # error - Virtuozzo::SOAP::Drivers::Network::Operator_periodicType::Error
1984
+ # start_monitor - Virtuozzo::SOAP::Drivers::Network::Start_monitorType
1985
+ # stop_monitor - Virtuozzo::SOAP::Drivers::Network::Stop_monitorType
1986
+ # set_period - Virtuozzo::SOAP::Drivers::Network::Set_periodType
1987
+ # report - (any)
1988
+ class Operator_periodicType < Operator_functionalType
1989
+
1990
+ # inner class for member: ok
1991
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1992
+ class Ok
1993
+ def initialize
1994
+ end
1995
+ end
1996
+
1997
+ # inner class for member: error
1998
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1999
+ # code - SOAP::SOAPInt
2000
+ # message - SOAP::SOAPString
2001
+ class Error
2002
+ attr_accessor :code
2003
+ attr_accessor :message
2004
+
2005
+ def initialize(code = nil, message = nil)
2006
+ @code = code
2007
+ @message = message
2008
+ end
2009
+ end
2010
+
2011
+ attr_accessor :configuration
2012
+ attr_accessor :ok
2013
+ attr_accessor :error
2014
+ attr_accessor :start_monitor
2015
+ attr_accessor :stop_monitor
2016
+ attr_accessor :set_period
2017
+ attr_accessor :report
2018
+
2019
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
2020
+ @configuration = configuration
2021
+ @ok = ok
2022
+ @error = error
2023
+ @start_monitor = start_monitor
2024
+ @stop_monitor = stop_monitor
2025
+ @set_period = set_period
2026
+ @report = report
2027
+ end
2028
+ end
2029
+
2030
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
2031
+ # collect - SOAP::SOAPInt
2032
+ # log - SOAP::SOAPInt
2033
+ # report - SOAP::SOAPInt
2034
+ class Set_periodType
2035
+ attr_accessor :collect
2036
+ attr_accessor :log
2037
+ attr_accessor :report
2038
+
2039
+ def initialize(collect = nil, log = nil, report = nil)
2040
+ @collect = collect
2041
+ @log = log
2042
+ @report = report
2043
+ end
2044
+ end
2045
+
2046
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
2047
+ # period - SOAP::SOAPInt
2048
+ class Start_monitorType
2049
+ attr_accessor :period
2050
+ attr_reader :__xmlele_any
2051
+
2052
+ def set_any(elements)
2053
+ @__xmlele_any = elements
2054
+ end
2055
+
2056
+ def initialize(period = nil)
2057
+ @period = period
2058
+ @__xmlele_any = nil
2059
+ end
2060
+ end
2061
+
2062
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
2063
+ class Stop_monitorType
2064
+ attr_reader :__xmlele_any
2065
+
2066
+ def set_any(elements)
2067
+ @__xmlele_any = elements
2068
+ end
2069
+
2070
+ def initialize
2071
+ @__xmlele_any = nil
2072
+ end
2073
+ end
2074
+
2075
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
2076
+ class AuthType
2077
+ attr_reader :__xmlele_any
2078
+
2079
+ def set_any(elements)
2080
+ @__xmlele_any = elements
2081
+ end
2082
+
2083
+ def initialize
2084
+ @__xmlele_any = nil
2085
+ end
2086
+ end
2087
+
2088
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
2089
+ # director - SOAP::SOAPString
2090
+ # host - SOAP::SOAPString
2091
+ # index - SOAP::SOAPString
2092
+ # target - SOAP::SOAPString
2093
+ class RouteType
2094
+ attr_accessor :director
2095
+ attr_accessor :host
2096
+ attr_accessor :index
2097
+ attr_accessor :target
2098
+
2099
+ def initialize(director = nil, host = nil, index = nil, target = nil)
2100
+ @director = director
2101
+ @host = host
2102
+ @index = index
2103
+ @target = target
2104
+ end
2105
+ end
2106
+
2107
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
2108
+ class DataType < ::Array
2109
+ end
2110
+
2111
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
2112
+ class ConfigurationType
2113
+ def initialize
2114
+ end
2115
+ end
2116
+
2117
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
2118
+ # period - SOAP::SOAPInt
2119
+ class Event_configurationType < ConfigurationType
2120
+ attr_accessor :period
2121
+
2122
+ def initialize(period = nil)
2123
+ @period = period
2124
+ end
2125
+ end
2126
+
2127
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
2128
+ # log_priority - SOAP::SOAPInt
2129
+ # monitor_priority - SOAP::SOAPInt
2130
+ # min_monitor_period - SOAP::SOAPInt
2131
+ # min_monitor_period_root - SOAP::SOAPInt
2132
+ class Periodic_configurationType < ConfigurationType
2133
+ attr_accessor :log_priority
2134
+ attr_accessor :monitor_priority
2135
+ attr_accessor :min_monitor_period
2136
+ attr_accessor :min_monitor_period_root
2137
+
2138
+ def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
2139
+ @log_priority = log_priority
2140
+ @monitor_priority = monitor_priority
2141
+ @min_monitor_period = min_monitor_period
2142
+ @min_monitor_period_root = min_monitor_period_root
2143
+ end
2144
+ end
2145
+
2146
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
2147
+ class Transport_type < ::String
2148
+ Tcp = Transport_type.new("tcp")
2149
+ Udp = Transport_type.new("udp")
2150
+ end
2151
+
2152
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
2153
+ class Yes_no_type < ::String
2154
+ No = Yes_no_type.new("no")
2155
+ Yes = Yes_no_type.new("yes")
2156
+ end
2157
+
2158
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzanetworkm}set_config
2159
+ # net_config - Virtuozzo::SOAP::Drivers::Network::Net_configType
2160
+ class Set_config
2161
+ attr_accessor :net_config
2162
+
2163
+ def initialize(net_config = nil)
2164
+ @net_config = net_config
2165
+ end
2166
+ end
2167
+
2168
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzanetworkm}get_config
2169
+ class Get_config < ::String
2170
+ def initialize(*arg)
2171
+ super
2172
+ end
2173
+ end
2174
+
2175
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzanetworkm}set_configResponse
2176
+ class Set_configResponse
2177
+ def initialize
2178
+ end
2179
+ end
2180
+
2181
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzanetworkm}get_configResponse
2182
+ # net_config - Virtuozzo::SOAP::Drivers::Network::Net_configType
2183
+ class Get_configResponse
2184
+ attr_accessor :net_config
2185
+
2186
+ def initialize(net_config = nil)
2187
+ @net_config = net_config
2188
+ end
2189
+ end
2190
+
2191
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
2192
+ class Ok < ::String
2193
+ def initialize(*arg)
2194
+ super
2195
+ end
2196
+ end
2197
+
2198
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}add
2199
+ # net_device - Virtuozzo::SOAP::Drivers::Network::Net_deviceType
2200
+ class Add
2201
+ attr_accessor :net_device
2202
+
2203
+ def initialize(net_device = nil)
2204
+ @net_device = net_device
2205
+ end
2206
+ end
2207
+
2208
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}list
2209
+ class List < ::Array
2210
+ end
2211
+
2212
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}set
2213
+ # net_device - Virtuozzo::SOAP::Drivers::Network::Net_deviceType
2214
+ class Set
2215
+ attr_accessor :net_device
2216
+
2217
+ def initialize(net_device = nil)
2218
+ @net_device = net_device
2219
+ end
2220
+ end
2221
+
2222
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}del
2223
+ # net_device - Virtuozzo::SOAP::Drivers::Network::Net_deviceType
2224
+ class Del
2225
+ attr_accessor :net_device
2226
+
2227
+ def initialize(net_device = nil)
2228
+ @net_device = net_device
2229
+ end
2230
+ end
2231
+
2232
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}addResponse
2233
+ # net_device - Virtuozzo::SOAP::Drivers::Network::Net_deviceType
2234
+ class AddResponse
2235
+ attr_accessor :net_device
2236
+
2237
+ def initialize(net_device = nil)
2238
+ @net_device = net_device
2239
+ end
2240
+ end
2241
+
2242
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}listResponse
2243
+ class ListResponse < ::Array
2244
+ end
2245
+
2246
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}setResponse
2247
+ class SetResponse
2248
+ def initialize
2249
+ end
2250
+ end
2251
+
2252
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/networkm}delResponse
2253
+ class DelResponse
2254
+ def initialize
2255
+ end
2256
+ end
2257
+
2258
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
2259
+ # auth - Virtuozzo::SOAP::Drivers::Network::AuthType
2260
+ # cookie - SOAP::SOAPString
2261
+ # target - SOAP::SOAPString
2262
+ # origin - SOAP::SOAPString
2263
+ # src - Virtuozzo::SOAP::Drivers::Network::RouteType
2264
+ # dst - Virtuozzo::SOAP::Drivers::Network::RouteType
2265
+ # session - SOAP::SOAPString
2266
+ # data - Virtuozzo::SOAP::Drivers::Network::Packet::C_Data
2267
+ # xmlattr_version - SOAP::SOAPString
2268
+ # xmlattr_id - SOAP::SOAPString
2269
+ # xmlattr_priority - SOAP::SOAPString
2270
+ # xmlattr_time - SOAP::SOAPString
2271
+ # xmlattr_progress - SOAP::SOAPString
2272
+ # xmlattr_log - SOAP::SOAPString
2273
+ # xmlattr_type - SOAP::SOAPInt
2274
+ # xmlattr_timeout - SOAP::SOAPInt
2275
+ # xmlattr_timeout_limit - SOAP::SOAPInt
2276
+ # xmlattr_uid - SOAP::SOAPInt
2277
+ class Packet < Packet_headerType
2278
+ AttrC_Time = XSD::QName.new(nil, "time")
2279
+ AttrId = XSD::QName.new(nil, "id")
2280
+ AttrLog = XSD::QName.new(nil, "log")
2281
+ AttrPriority = XSD::QName.new(nil, "priority")
2282
+ AttrProgress = XSD::QName.new(nil, "progress")
2283
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2284
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2285
+ AttrType = XSD::QName.new(nil, "type")
2286
+ AttrUid = XSD::QName.new(nil, "uid")
2287
+ AttrVersion = XSD::QName.new(nil, "version")
2288
+
2289
+ # inner class for member: data
2290
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2291
+ class C_Data < ::Array
2292
+ end
2293
+
2294
+ attr_accessor :auth
2295
+ attr_accessor :cookie
2296
+ attr_accessor :target
2297
+ attr_accessor :origin
2298
+ attr_accessor :src
2299
+ attr_accessor :dst
2300
+ attr_accessor :session
2301
+ attr_accessor :data
2302
+
2303
+ def __xmlattr
2304
+ @__xmlattr ||= {}
2305
+ end
2306
+
2307
+ def xmlattr_version
2308
+ __xmlattr[AttrVersion]
2309
+ end
2310
+
2311
+ def xmlattr_version=(value)
2312
+ __xmlattr[AttrVersion] = value
2313
+ end
2314
+
2315
+ def xmlattr_id
2316
+ __xmlattr[AttrId]
2317
+ end
2318
+
2319
+ def xmlattr_id=(value)
2320
+ __xmlattr[AttrId] = value
2321
+ end
2322
+
2323
+ def xmlattr_priority
2324
+ __xmlattr[AttrPriority]
2325
+ end
2326
+
2327
+ def xmlattr_priority=(value)
2328
+ __xmlattr[AttrPriority] = value
2329
+ end
2330
+
2331
+ def xmlattr_time
2332
+ __xmlattr[AttrC_Time]
2333
+ end
2334
+
2335
+ def xmlattr_time=(value)
2336
+ __xmlattr[AttrC_Time] = value
2337
+ end
2338
+
2339
+ def xmlattr_progress
2340
+ __xmlattr[AttrProgress]
2341
+ end
2342
+
2343
+ def xmlattr_progress=(value)
2344
+ __xmlattr[AttrProgress] = value
2345
+ end
2346
+
2347
+ def xmlattr_log
2348
+ __xmlattr[AttrLog]
2349
+ end
2350
+
2351
+ def xmlattr_log=(value)
2352
+ __xmlattr[AttrLog] = value
2353
+ end
2354
+
2355
+ def xmlattr_type
2356
+ __xmlattr[AttrType]
2357
+ end
2358
+
2359
+ def xmlattr_type=(value)
2360
+ __xmlattr[AttrType] = value
2361
+ end
2362
+
2363
+ def xmlattr_timeout
2364
+ __xmlattr[AttrTimeout]
2365
+ end
2366
+
2367
+ def xmlattr_timeout=(value)
2368
+ __xmlattr[AttrTimeout] = value
2369
+ end
2370
+
2371
+ def xmlattr_timeout_limit
2372
+ __xmlattr[AttrTimeout_limit]
2373
+ end
2374
+
2375
+ def xmlattr_timeout_limit=(value)
2376
+ __xmlattr[AttrTimeout_limit] = value
2377
+ end
2378
+
2379
+ def xmlattr_uid
2380
+ __xmlattr[AttrUid]
2381
+ end
2382
+
2383
+ def xmlattr_uid=(value)
2384
+ __xmlattr[AttrUid] = value
2385
+ end
2386
+
2387
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2388
+ @auth = auth
2389
+ @cookie = cookie
2390
+ @target = target
2391
+ @origin = origin
2392
+ @src = src
2393
+ @dst = dst
2394
+ @session = session
2395
+ @data = data
2396
+ @__xmlattr = {}
2397
+ end
2398
+ end
2399
+
2400
+
2401
+ end; end; end; end