plainprograms-virtuozzo 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
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,3079 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo; module SOAP; module Drivers; module Template
4
+
5
+
6
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet_headerType
7
+ # auth - Virtuozzo::SOAP::Drivers::Template::AuthType
8
+ # cookie - SOAP::SOAPString
9
+ # target - SOAP::SOAPString
10
+ # origin - SOAP::SOAPString
11
+ # src - Virtuozzo::SOAP::Drivers::Template::RouteType
12
+ # dst - Virtuozzo::SOAP::Drivers::Template::RouteType
13
+ # session - SOAP::SOAPString
14
+ # xmlattr_version - SOAP::SOAPString
15
+ # xmlattr_id - SOAP::SOAPString
16
+ # xmlattr_priority - SOAP::SOAPString
17
+ # xmlattr_time - SOAP::SOAPString
18
+ # xmlattr_progress - SOAP::SOAPString
19
+ # xmlattr_log - SOAP::SOAPString
20
+ # xmlattr_type - SOAP::SOAPInt
21
+ # xmlattr_timeout - SOAP::SOAPInt
22
+ # xmlattr_timeout_limit - SOAP::SOAPInt
23
+ # xmlattr_uid - SOAP::SOAPInt
24
+ class Packet_headerType
25
+ AttrC_Time = XSD::QName.new(nil, "time")
26
+ AttrId = XSD::QName.new(nil, "id")
27
+ AttrLog = XSD::QName.new(nil, "log")
28
+ AttrPriority = XSD::QName.new(nil, "priority")
29
+ AttrProgress = XSD::QName.new(nil, "progress")
30
+ AttrTimeout = XSD::QName.new(nil, "timeout")
31
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
32
+ AttrType = XSD::QName.new(nil, "type")
33
+ AttrUid = XSD::QName.new(nil, "uid")
34
+ AttrVersion = XSD::QName.new(nil, "version")
35
+
36
+ attr_accessor :auth
37
+ attr_accessor :cookie
38
+ attr_accessor :target
39
+ attr_accessor :origin
40
+ attr_accessor :src
41
+ attr_accessor :dst
42
+ attr_accessor :session
43
+
44
+ def __xmlattr
45
+ @__xmlattr ||= {}
46
+ end
47
+
48
+ def xmlattr_version
49
+ __xmlattr[AttrVersion]
50
+ end
51
+
52
+ def xmlattr_version=(value)
53
+ __xmlattr[AttrVersion] = value
54
+ end
55
+
56
+ def xmlattr_id
57
+ __xmlattr[AttrId]
58
+ end
59
+
60
+ def xmlattr_id=(value)
61
+ __xmlattr[AttrId] = value
62
+ end
63
+
64
+ def xmlattr_priority
65
+ __xmlattr[AttrPriority]
66
+ end
67
+
68
+ def xmlattr_priority=(value)
69
+ __xmlattr[AttrPriority] = value
70
+ end
71
+
72
+ def xmlattr_time
73
+ __xmlattr[AttrC_Time]
74
+ end
75
+
76
+ def xmlattr_time=(value)
77
+ __xmlattr[AttrC_Time] = value
78
+ end
79
+
80
+ def xmlattr_progress
81
+ __xmlattr[AttrProgress]
82
+ end
83
+
84
+ def xmlattr_progress=(value)
85
+ __xmlattr[AttrProgress] = value
86
+ end
87
+
88
+ def xmlattr_log
89
+ __xmlattr[AttrLog]
90
+ end
91
+
92
+ def xmlattr_log=(value)
93
+ __xmlattr[AttrLog] = value
94
+ end
95
+
96
+ def xmlattr_type
97
+ __xmlattr[AttrType]
98
+ end
99
+
100
+ def xmlattr_type=(value)
101
+ __xmlattr[AttrType] = value
102
+ end
103
+
104
+ def xmlattr_timeout
105
+ __xmlattr[AttrTimeout]
106
+ end
107
+
108
+ def xmlattr_timeout=(value)
109
+ __xmlattr[AttrTimeout] = value
110
+ end
111
+
112
+ def xmlattr_timeout_limit
113
+ __xmlattr[AttrTimeout_limit]
114
+ end
115
+
116
+ def xmlattr_timeout_limit=(value)
117
+ __xmlattr[AttrTimeout_limit] = value
118
+ end
119
+
120
+ def xmlattr_uid
121
+ __xmlattr[AttrUid]
122
+ end
123
+
124
+ def xmlattr_uid=(value)
125
+ __xmlattr[AttrUid] = value
126
+ end
127
+
128
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil)
129
+ @auth = auth
130
+ @cookie = cookie
131
+ @target = target
132
+ @origin = origin
133
+ @src = src
134
+ @dst = dst
135
+ @session = session
136
+ @__xmlattr = {}
137
+ end
138
+ end
139
+
140
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operatorType
141
+ # configuration - Virtuozzo::SOAP::Drivers::Template::ConfigurationType
142
+ class OperatorType
143
+ attr_accessor :configuration
144
+
145
+ def initialize(configuration = nil)
146
+ @configuration = configuration
147
+ end
148
+ end
149
+
150
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_functionalType
151
+ # configuration - Virtuozzo::SOAP::Drivers::Template::ConfigurationType
152
+ # ok - Virtuozzo::SOAP::Drivers::Template::Operator_functionalType::Ok
153
+ # error - Virtuozzo::SOAP::Drivers::Template::Operator_functionalType::Error
154
+ class Operator_functionalType < OperatorType
155
+
156
+ # inner class for member: ok
157
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
158
+ class Ok
159
+ def initialize
160
+ end
161
+ end
162
+
163
+ # inner class for member: error
164
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
165
+ # code - SOAP::SOAPInt
166
+ # message - SOAP::SOAPString
167
+ class Error
168
+ attr_accessor :code
169
+ attr_accessor :message
170
+
171
+ def initialize(code = nil, message = nil)
172
+ @code = code
173
+ @message = message
174
+ end
175
+ end
176
+
177
+ attr_accessor :configuration
178
+ attr_accessor :ok
179
+ attr_accessor :error
180
+
181
+ def initialize(configuration = nil, ok = [], error = [])
182
+ @configuration = configuration
183
+ @ok = ok
184
+ @error = error
185
+ end
186
+ end
187
+
188
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
189
+ # configuration - Virtuozzo::SOAP::Drivers::Template::ConfigurationType
190
+ # ok - Virtuozzo::SOAP::Drivers::Template::Operator_periodicType::Ok
191
+ # error - Virtuozzo::SOAP::Drivers::Template::Operator_periodicType::Error
192
+ # start_monitor - Virtuozzo::SOAP::Drivers::Template::Start_monitorType
193
+ # stop_monitor - Virtuozzo::SOAP::Drivers::Template::Stop_monitorType
194
+ # set_period - Virtuozzo::SOAP::Drivers::Template::Set_periodType
195
+ # report - (any)
196
+ class Operator_periodicType < Operator_functionalType
197
+
198
+ # inner class for member: ok
199
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
200
+ class Ok
201
+ def initialize
202
+ end
203
+ end
204
+
205
+ # inner class for member: error
206
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
207
+ # code - SOAP::SOAPInt
208
+ # message - SOAP::SOAPString
209
+ class Error
210
+ attr_accessor :code
211
+ attr_accessor :message
212
+
213
+ def initialize(code = nil, message = nil)
214
+ @code = code
215
+ @message = message
216
+ end
217
+ end
218
+
219
+ attr_accessor :configuration
220
+ attr_accessor :ok
221
+ attr_accessor :error
222
+ attr_accessor :start_monitor
223
+ attr_accessor :stop_monitor
224
+ attr_accessor :set_period
225
+ attr_accessor :report
226
+
227
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
228
+ @configuration = configuration
229
+ @ok = ok
230
+ @error = error
231
+ @start_monitor = start_monitor
232
+ @stop_monitor = stop_monitor
233
+ @set_period = set_period
234
+ @report = report
235
+ end
236
+ end
237
+
238
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}packagemType
239
+ # configuration - Virtuozzo::SOAP::Drivers::Template::ConfigurationType
240
+ # ok - Virtuozzo::SOAP::Drivers::Template::PackagemType::Ok
241
+ # error - Virtuozzo::SOAP::Drivers::Template::PackagemType::Error
242
+ # install - Virtuozzo::SOAP::Drivers::Template::Install
243
+ # remove - Virtuozzo::SOAP::Drivers::Template::Remove
244
+ # update - Virtuozzo::SOAP::Drivers::Template::Update
245
+ # list - Virtuozzo::SOAP::Drivers::Template::List
246
+ # get_info - Virtuozzo::SOAP::Drivers::Template::Get_info
247
+ # clean - Virtuozzo::SOAP::Drivers::Template::Clean
248
+ # fetch - Virtuozzo::SOAP::Drivers::Template::Fetch
249
+ # migrate - Virtuozzo::SOAP::Drivers::Template::Migrate
250
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
251
+ class PackagemType < Operator_functionalType
252
+
253
+ # inner class for member: ok
254
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
255
+ class Ok
256
+ def initialize
257
+ end
258
+ end
259
+
260
+ # inner class for member: error
261
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
262
+ # code - SOAP::SOAPInt
263
+ # message - SOAP::SOAPString
264
+ class Error
265
+ attr_accessor :code
266
+ attr_accessor :message
267
+
268
+ def initialize(code = nil, message = nil)
269
+ @code = code
270
+ @message = message
271
+ end
272
+ end
273
+
274
+ attr_accessor :configuration
275
+ attr_accessor :ok
276
+ attr_accessor :error
277
+ attr_accessor :install
278
+ attr_accessor :remove
279
+ attr_accessor :update
280
+ attr_accessor :list
281
+ attr_accessor :get_info
282
+ attr_accessor :clean
283
+ attr_accessor :fetch
284
+ attr_accessor :migrate
285
+ attr_accessor :packages
286
+
287
+ def initialize(configuration = nil, ok = [], error = [], install = [], remove = [], update = [], list = [], get_info = [], clean = [], fetch = [], migrate = [], packages = [])
288
+ @configuration = configuration
289
+ @ok = ok
290
+ @error = error
291
+ @install = install
292
+ @remove = remove
293
+ @update = update
294
+ @list = list
295
+ @get_info = get_info
296
+ @clean = clean
297
+ @fetch = fetch
298
+ @migrate = migrate
299
+ @packages = packages
300
+ end
301
+ end
302
+
303
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzapackagem}vzapackagemType
304
+ # configuration - Virtuozzo::SOAP::Drivers::Template::ConfigurationType
305
+ # ok - Virtuozzo::SOAP::Drivers::Template::VzapackagemType::Ok
306
+ # error - Virtuozzo::SOAP::Drivers::Template::VzapackagemType::Error
307
+ # install - Virtuozzo::SOAP::Drivers::Template::Install
308
+ # remove - Virtuozzo::SOAP::Drivers::Template::Remove
309
+ # update - Virtuozzo::SOAP::Drivers::Template::Update
310
+ # list - Virtuozzo::SOAP::Drivers::Template::List
311
+ # get_info - Virtuozzo::SOAP::Drivers::Template::Get_info
312
+ # clean - Virtuozzo::SOAP::Drivers::Template::Clean
313
+ # fetch - Virtuozzo::SOAP::Drivers::Template::Fetch
314
+ # migrate - Virtuozzo::SOAP::Drivers::Template::Migrate
315
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
316
+ class VzapackagemType < PackagemType
317
+
318
+ # inner class for member: ok
319
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
320
+ class Ok
321
+ def initialize
322
+ end
323
+ end
324
+
325
+ # inner class for member: error
326
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
327
+ # code - SOAP::SOAPInt
328
+ # message - SOAP::SOAPString
329
+ class Error
330
+ attr_accessor :code
331
+ attr_accessor :message
332
+
333
+ def initialize(code = nil, message = nil)
334
+ @code = code
335
+ @message = message
336
+ end
337
+ end
338
+
339
+ attr_accessor :configuration
340
+ attr_accessor :ok
341
+ attr_accessor :error
342
+ attr_accessor :install
343
+ attr_accessor :remove
344
+ attr_accessor :update
345
+ attr_accessor :list
346
+ attr_accessor :get_info
347
+ attr_accessor :clean
348
+ attr_accessor :fetch
349
+ attr_accessor :migrate
350
+ attr_accessor :packages
351
+
352
+ def initialize(configuration = nil, ok = [], error = [], install = [], remove = [], update = [], list = [], get_info = [], clean = [], fetch = [], migrate = [], packages = [])
353
+ @configuration = configuration
354
+ @ok = ok
355
+ @error = error
356
+ @install = install
357
+ @remove = remove
358
+ @update = update
359
+ @list = list
360
+ @get_info = get_info
361
+ @clean = clean
362
+ @fetch = fetch
363
+ @migrate = migrate
364
+ @packages = packages
365
+ end
366
+ end
367
+
368
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
369
+ # collect - SOAP::SOAPInt
370
+ # log - SOAP::SOAPInt
371
+ # report - SOAP::SOAPInt
372
+ class Set_periodType
373
+ attr_accessor :collect
374
+ attr_accessor :log
375
+ attr_accessor :report
376
+
377
+ def initialize(collect = nil, log = nil, report = nil)
378
+ @collect = collect
379
+ @log = log
380
+ @report = report
381
+ end
382
+ end
383
+
384
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
385
+ # period - SOAP::SOAPInt
386
+ class Start_monitorType
387
+ attr_accessor :period
388
+ attr_reader :__xmlele_any
389
+
390
+ def set_any(elements)
391
+ @__xmlele_any = elements
392
+ end
393
+
394
+ def initialize(period = nil)
395
+ @period = period
396
+ @__xmlele_any = nil
397
+ end
398
+ end
399
+
400
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
401
+ class Stop_monitorType
402
+ attr_reader :__xmlele_any
403
+
404
+ def set_any(elements)
405
+ @__xmlele_any = elements
406
+ end
407
+
408
+ def initialize
409
+ @__xmlele_any = nil
410
+ end
411
+ end
412
+
413
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
414
+ class AuthType
415
+ attr_reader :__xmlele_any
416
+
417
+ def set_any(elements)
418
+ @__xmlele_any = elements
419
+ end
420
+
421
+ def initialize
422
+ @__xmlele_any = nil
423
+ end
424
+ end
425
+
426
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
427
+ # director - SOAP::SOAPString
428
+ # host - SOAP::SOAPString
429
+ # index - SOAP::SOAPString
430
+ # target - SOAP::SOAPString
431
+ class RouteType
432
+ attr_accessor :director
433
+ attr_accessor :host
434
+ attr_accessor :index
435
+ attr_accessor :target
436
+
437
+ def initialize(director = nil, host = nil, index = nil, target = nil)
438
+ @director = director
439
+ @host = host
440
+ @index = index
441
+ @target = target
442
+ end
443
+ end
444
+
445
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
446
+ class DataType < ::Array
447
+ end
448
+
449
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
450
+ class ConfigurationType
451
+ def initialize
452
+ end
453
+ end
454
+
455
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
456
+ # period - SOAP::SOAPInt
457
+ class Event_configurationType < ConfigurationType
458
+ attr_accessor :period
459
+
460
+ def initialize(period = nil)
461
+ @period = period
462
+ end
463
+ end
464
+
465
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
466
+ # log_priority - SOAP::SOAPInt
467
+ # monitor_priority - SOAP::SOAPInt
468
+ # min_monitor_period - SOAP::SOAPInt
469
+ # min_monitor_period_root - SOAP::SOAPInt
470
+ class Periodic_configurationType < ConfigurationType
471
+ attr_accessor :log_priority
472
+ attr_accessor :monitor_priority
473
+ attr_accessor :min_monitor_period
474
+ attr_accessor :min_monitor_period_root
475
+
476
+ def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
477
+ @log_priority = log_priority
478
+ @monitor_priority = monitor_priority
479
+ @min_monitor_period = min_monitor_period
480
+ @min_monitor_period_root = min_monitor_period_root
481
+ end
482
+ end
483
+
484
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}osType
485
+ # platform - SOAP::SOAPString
486
+ # name - SOAP::SOAPString
487
+ # version - SOAP::SOAPString
488
+ # kernel - SOAP::SOAPString
489
+ class OsType
490
+ attr_accessor :platform
491
+ attr_accessor :name
492
+ attr_accessor :version
493
+ attr_accessor :kernel
494
+
495
+ def initialize(platform = nil, name = nil, version = nil, kernel = nil)
496
+ @platform = platform
497
+ @name = name
498
+ @version = version
499
+ @kernel = kernel
500
+ end
501
+ end
502
+
503
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_statusType
504
+ # state - SOAP::SOAPInt
505
+ # transition - SOAP::SOAPInt
506
+ class Env_statusType
507
+ attr_accessor :state
508
+ attr_accessor :transition
509
+
510
+ def initialize(state = nil, transition = nil)
511
+ @state = state
512
+ @transition = transition
513
+ end
514
+ end
515
+
516
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}qosType
517
+ # id - SOAP::SOAPString
518
+ # soft - SOAP::SOAPLong
519
+ # hard - SOAP::SOAPLong
520
+ # cur - SOAP::SOAPLong
521
+ class QosType
522
+ attr_accessor :id
523
+ attr_accessor :soft
524
+ attr_accessor :hard
525
+ attr_accessor :cur
526
+
527
+ def initialize(id = nil, soft = nil, hard = nil, cur = nil)
528
+ @id = id
529
+ @soft = soft
530
+ @hard = hard
531
+ @cur = cur
532
+ end
533
+ end
534
+
535
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_configType
536
+ # name - SOAP::SOAPString
537
+ # description - SOAP::SOAPBase64
538
+ # domain - SOAP::SOAPString
539
+ # hostname - SOAP::SOAPString
540
+ # address - Virtuozzo::SOAP::Drivers::Template::Ip_addressType
541
+ # architecture - SOAP::SOAPString
542
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
543
+ # type - SOAP::SOAPString
544
+ # nameserver - SOAP::SOAPString
545
+ # search_domain - SOAP::SOAPString
546
+ # base_sample_id - (any)
547
+ # base_snapshot_id - (any)
548
+ # child_type - SOAP::SOAPString
549
+ class Env_configType
550
+ attr_accessor :name
551
+ attr_accessor :description
552
+ attr_accessor :domain
553
+ attr_accessor :hostname
554
+ attr_accessor :address
555
+ attr_accessor :architecture
556
+ attr_accessor :os
557
+ attr_accessor :type
558
+ attr_accessor :nameserver
559
+ attr_accessor :search_domain
560
+ attr_accessor :base_sample_id
561
+ attr_accessor :base_snapshot_id
562
+ attr_accessor :child_type
563
+
564
+ 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 = [])
565
+ @name = name
566
+ @description = description
567
+ @domain = domain
568
+ @hostname = hostname
569
+ @address = address
570
+ @architecture = architecture
571
+ @os = os
572
+ @type = type
573
+ @nameserver = nameserver
574
+ @search_domain = search_domain
575
+ @base_sample_id = base_sample_id
576
+ @base_snapshot_id = base_snapshot_id
577
+ @child_type = child_type
578
+ end
579
+ end
580
+
581
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}venv_configType
582
+ # name - SOAP::SOAPString
583
+ # description - SOAP::SOAPBase64
584
+ # domain - SOAP::SOAPString
585
+ # hostname - SOAP::SOAPString
586
+ # address - Virtuozzo::SOAP::Drivers::Template::Ip_addressType
587
+ # architecture - SOAP::SOAPString
588
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
589
+ # type - SOAP::SOAPString
590
+ # nameserver - SOAP::SOAPString
591
+ # search_domain - SOAP::SOAPString
592
+ # base_sample_id - (any)
593
+ # base_snapshot_id - (any)
594
+ # child_type - SOAP::SOAPString
595
+ # qos - Virtuozzo::SOAP::Drivers::Template::QosType
596
+ class Venv_configType < Env_configType
597
+ attr_accessor :name
598
+ attr_accessor :description
599
+ attr_accessor :domain
600
+ attr_accessor :hostname
601
+ attr_accessor :address
602
+ attr_accessor :architecture
603
+ attr_accessor :os
604
+ attr_accessor :type
605
+ attr_accessor :nameserver
606
+ attr_accessor :search_domain
607
+ attr_accessor :base_sample_id
608
+ attr_accessor :base_snapshot_id
609
+ attr_accessor :child_type
610
+ attr_accessor :qos
611
+
612
+ 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 = [])
613
+ @name = name
614
+ @description = description
615
+ @domain = domain
616
+ @hostname = hostname
617
+ @address = address
618
+ @architecture = architecture
619
+ @os = os
620
+ @type = type
621
+ @nameserver = nameserver
622
+ @search_domain = search_domain
623
+ @base_sample_id = base_sample_id
624
+ @base_snapshot_id = base_snapshot_id
625
+ @child_type = child_type
626
+ @qos = qos
627
+ end
628
+ end
629
+
630
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}venv_configType
631
+ # name - SOAP::SOAPString
632
+ # description - SOAP::SOAPBase64
633
+ # domain - SOAP::SOAPString
634
+ # hostname - SOAP::SOAPString
635
+ # address - Virtuozzo::SOAP::Drivers::Template::Ip_addressType
636
+ # architecture - SOAP::SOAPString
637
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
638
+ # type - SOAP::SOAPString
639
+ # nameserver - SOAP::SOAPString
640
+ # search_domain - SOAP::SOAPString
641
+ # base_sample_id - (any)
642
+ # base_snapshot_id - (any)
643
+ # child_type - SOAP::SOAPString
644
+ # qos - Virtuozzo::SOAP::Drivers::Template::QosType
645
+ # veid - (any)
646
+ # ve_root - SOAP::SOAPString
647
+ # ve_private - SOAP::SOAPString
648
+ # on_boot - SOAP::SOAPBoolean
649
+ # template - Virtuozzo::SOAP::Drivers::Template::TemplateType
650
+ # disabled - SOAP::SOAPBoolean
651
+ # offline_management - SOAP::SOAPBoolean
652
+ # os_template - Virtuozzo::SOAP::Drivers::Template::TemplateType
653
+ # distribution - Virtuozzo::SOAP::Drivers::Template::TemplateType
654
+ # capability - Virtuozzo::SOAP::Drivers::Template::Venv_configType_::Capability
655
+ # iptables - SOAP::SOAPString
656
+ # config_customized - SOAP::SOAPBoolean
657
+ # class_id - SOAP::SOAPString
658
+ # ve_type - Virtuozzo::SOAP::Drivers::Template::Venv_configType_::Ve_type
659
+ # offline_service - SOAP::SOAPString
660
+ # wins_server - SOAP::SOAPString
661
+ # net_device - Virtuozzo::SOAP::Drivers::Template::Net_vethType
662
+ # ts_license_server - SOAP::SOAPString
663
+ # ts_mode - SOAP::SOAPInt
664
+ # uuid - SOAP::SOAPString
665
+ # allow_reboot - SOAP::SOAPBoolean
666
+ # rate_bound - SOAP::SOAPBoolean
667
+ # interface_rate - Virtuozzo::SOAP::Drivers::Template::Venv_configType_::Interface_rate
668
+ # slm_mode - SOAP::SOAPString
669
+ # origin_sample - SOAP::SOAPString
670
+ class Venv_configType_ < Venv_configType
671
+
672
+ # inner class for member: capability
673
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}capability
674
+ # id - SOAP::SOAPString
675
+ # value - SOAP::SOAPBoolean
676
+ class Capability
677
+ attr_accessor :id
678
+ attr_accessor :value
679
+
680
+ def initialize(id = nil, value = nil)
681
+ @id = id
682
+ @value = value
683
+ end
684
+ end
685
+
686
+ # inner class for member: ve_type
687
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}ve_type
688
+ # veid - (any)
689
+ # type - SOAP::SOAPInt
690
+ class Ve_type
691
+ attr_accessor :veid
692
+ attr_accessor :type
693
+
694
+ def initialize(veid = nil, type = nil)
695
+ @veid = veid
696
+ @type = type
697
+ end
698
+ end
699
+
700
+ # inner class for member: interface_rate
701
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}interface_rate
702
+ # class_id - SOAP::SOAPString
703
+ # rate - SOAP::SOAPLong
704
+ class Interface_rate
705
+ attr_accessor :class_id
706
+ attr_accessor :rate
707
+
708
+ def initialize(class_id = nil, rate = nil)
709
+ @class_id = class_id
710
+ @rate = rate
711
+ end
712
+ end
713
+
714
+ attr_accessor :name
715
+ attr_accessor :description
716
+ attr_accessor :domain
717
+ attr_accessor :hostname
718
+ attr_accessor :address
719
+ attr_accessor :architecture
720
+ attr_accessor :os
721
+ attr_accessor :type
722
+ attr_accessor :nameserver
723
+ attr_accessor :search_domain
724
+ attr_accessor :base_sample_id
725
+ attr_accessor :base_snapshot_id
726
+ attr_accessor :child_type
727
+ attr_accessor :qos
728
+ attr_accessor :veid
729
+ attr_accessor :ve_root
730
+ attr_accessor :ve_private
731
+ attr_accessor :on_boot
732
+ attr_accessor :template
733
+ attr_accessor :disabled
734
+ attr_accessor :offline_management
735
+ attr_accessor :os_template
736
+ attr_accessor :distribution
737
+ attr_accessor :capability
738
+ attr_accessor :iptables
739
+ attr_accessor :config_customized
740
+ attr_accessor :class_id
741
+ attr_accessor :ve_type
742
+ attr_accessor :offline_service
743
+ attr_accessor :wins_server
744
+ attr_accessor :net_device
745
+ attr_accessor :ts_license_server
746
+ attr_accessor :ts_mode
747
+ attr_accessor :uuid
748
+ attr_accessor :allow_reboot
749
+ attr_accessor :rate_bound
750
+ attr_accessor :interface_rate
751
+ attr_accessor :slm_mode
752
+ attr_accessor :origin_sample
753
+
754
+ 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 = [], veid = nil, ve_root = nil, ve_private = nil, on_boot = nil, template = [], disabled = nil, offline_management = nil, os_template = nil, distribution = nil, capability = [], iptables = [], config_customized = nil, class_id = nil, ve_type = nil, offline_service = [], wins_server = [], net_device = [], ts_license_server = [], ts_mode = nil, uuid = nil, allow_reboot = nil, rate_bound = nil, interface_rate = [], slm_mode = nil, origin_sample = nil)
755
+ @name = name
756
+ @description = description
757
+ @domain = domain
758
+ @hostname = hostname
759
+ @address = address
760
+ @architecture = architecture
761
+ @os = os
762
+ @type = type
763
+ @nameserver = nameserver
764
+ @search_domain = search_domain
765
+ @base_sample_id = base_sample_id
766
+ @base_snapshot_id = base_snapshot_id
767
+ @child_type = child_type
768
+ @qos = qos
769
+ @veid = veid
770
+ @ve_root = ve_root
771
+ @ve_private = ve_private
772
+ @on_boot = on_boot
773
+ @template = template
774
+ @disabled = disabled
775
+ @offline_management = offline_management
776
+ @os_template = os_template
777
+ @distribution = distribution
778
+ @capability = capability
779
+ @iptables = iptables
780
+ @config_customized = config_customized
781
+ @class_id = class_id
782
+ @ve_type = ve_type
783
+ @offline_service = offline_service
784
+ @wins_server = wins_server
785
+ @net_device = net_device
786
+ @ts_license_server = ts_license_server
787
+ @ts_mode = ts_mode
788
+ @uuid = uuid
789
+ @allow_reboot = allow_reboot
790
+ @rate_bound = rate_bound
791
+ @interface_rate = interface_rate
792
+ @slm_mode = slm_mode
793
+ @origin_sample = origin_sample
794
+ end
795
+ end
796
+
797
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}native_configType
798
+ class Native_configType
799
+ def initialize
800
+ end
801
+ end
802
+
803
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}virtuozzo_configType
804
+ # body - SOAP::SOAPBase64
805
+ class Virtuozzo_configType < Native_configType
806
+ attr_accessor :body
807
+
808
+ def initialize(body = nil)
809
+ @body = body
810
+ end
811
+ end
812
+
813
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}envType
814
+ # parent_eid - (any)
815
+ # eid - (any)
816
+ # status - Virtuozzo::SOAP::Drivers::Template::Env_statusType
817
+ # alert - SOAP::SOAPInt
818
+ # config - Virtuozzo::SOAP::Drivers::Template::Env_configType
819
+ # virtual_config - Virtuozzo::SOAP::Drivers::Template::Venv_configType
820
+ class EnvType
821
+ attr_accessor :parent_eid
822
+ attr_accessor :eid
823
+ attr_accessor :status
824
+ attr_accessor :alert
825
+ attr_accessor :config
826
+ attr_accessor :virtual_config
827
+
828
+ def initialize(parent_eid = nil, eid = nil, status = nil, alert = nil, config = nil, virtual_config = nil)
829
+ @parent_eid = parent_eid
830
+ @eid = eid
831
+ @status = status
832
+ @alert = alert
833
+ @config = config
834
+ @virtual_config = virtual_config
835
+ end
836
+ end
837
+
838
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}envType
839
+ # parent_eid - (any)
840
+ # eid - (any)
841
+ # status - Virtuozzo::SOAP::Drivers::Template::Env_statusType
842
+ # alert - SOAP::SOAPInt
843
+ # config - Virtuozzo::SOAP::Drivers::Template::Env_configType
844
+ # virtual_config - Virtuozzo::SOAP::Drivers::Template::Venv_configType
845
+ class EnvType_ < EnvType
846
+ attr_accessor :parent_eid
847
+ attr_accessor :eid
848
+ attr_accessor :status
849
+ attr_accessor :alert
850
+ attr_accessor :config
851
+ attr_accessor :virtual_config
852
+
853
+ def initialize(parent_eid = nil, eid = nil, status = nil, alert = nil, config = nil, virtual_config = nil)
854
+ @parent_eid = parent_eid
855
+ @eid = eid
856
+ @status = status
857
+ @alert = alert
858
+ @config = config
859
+ @virtual_config = virtual_config
860
+ end
861
+ end
862
+
863
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}processesType
864
+ # run - SOAP::SOAPInt
865
+ # zombie - SOAP::SOAPInt
866
+ # sleep - SOAP::SOAPInt
867
+ # uninterrupt - SOAP::SOAPInt
868
+ # stopped - SOAP::SOAPInt
869
+ # total - SOAP::SOAPInt
870
+ class ProcessesType
871
+ attr_accessor :run
872
+ attr_accessor :zombie
873
+ attr_accessor :sleep
874
+ attr_accessor :uninterrupt
875
+ attr_accessor :stopped
876
+ attr_accessor :total
877
+
878
+ def initialize(run = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
879
+ @run = run
880
+ @zombie = zombie
881
+ @sleep = sleep
882
+ @uninterrupt = uninterrupt
883
+ @stopped = stopped
884
+ @total = total
885
+ end
886
+ end
887
+
888
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avgType
889
+ # l1 - SOAP::SOAPDouble
890
+ # l2 - SOAP::SOAPDouble
891
+ # l3 - SOAP::SOAPDouble
892
+ class Load_avgType
893
+ attr_accessor :l1
894
+ attr_accessor :l2
895
+ attr_accessor :l3
896
+
897
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
898
+ @l1 = l1
899
+ @l2 = l2
900
+ @l3 = l3
901
+ end
902
+ end
903
+
904
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpu_loadType
905
+ # system - SOAP::SOAPLong
906
+ # user - SOAP::SOAPLong
907
+ # nice - SOAP::SOAPLong
908
+ # idle - SOAP::SOAPLong
909
+ class Cpu_loadType
910
+ attr_accessor :system
911
+ attr_accessor :user
912
+ attr_accessor :nice
913
+ attr_accessor :idle
914
+
915
+ def initialize(system = nil, user = nil, nice = nil, idle = nil)
916
+ @system = system
917
+ @user = user
918
+ @nice = nice
919
+ @idle = idle
920
+ end
921
+ end
922
+
923
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpuType
924
+ # mhz - SOAP::SOAPInt
925
+ # name - SOAP::SOAPString
926
+ # number - SOAP::SOAPInt
927
+ # cores - SOAP::SOAPInt
928
+ # hyperthreads - SOAP::SOAPInt
929
+ # units - SOAP::SOAPInt
930
+ # family - SOAP::SOAPString
931
+ # model - SOAP::SOAPString
932
+ # bogomips - SOAP::SOAPInt
933
+ class CpuType
934
+ attr_accessor :mhz
935
+ attr_accessor :name
936
+ attr_accessor :number
937
+ attr_accessor :cores
938
+ attr_accessor :hyperthreads
939
+ attr_accessor :units
940
+ attr_accessor :family
941
+ attr_accessor :model
942
+ attr_accessor :bogomips
943
+
944
+ def initialize(mhz = nil, name = nil, number = nil, cores = nil, hyperthreads = nil, units = nil, family = nil, model = nil, bogomips = nil)
945
+ @mhz = mhz
946
+ @name = name
947
+ @number = number
948
+ @cores = cores
949
+ @hyperthreads = hyperthreads
950
+ @units = units
951
+ @family = family
952
+ @model = model
953
+ @bogomips = bogomips
954
+ end
955
+ end
956
+
957
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transferType
958
+ # input - Virtuozzo::SOAP::Drivers::Template::TransferType::Input
959
+ # output - Virtuozzo::SOAP::Drivers::Template::TransferType::Output
960
+ class TransferType
961
+
962
+ # inner class for member: input
963
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}input
964
+ # bytes - SOAP::SOAPLong
965
+ # packets - SOAP::SOAPLong
966
+ class Input
967
+ attr_accessor :bytes
968
+ attr_accessor :packets
969
+
970
+ def initialize(bytes = nil, packets = nil)
971
+ @bytes = bytes
972
+ @packets = packets
973
+ end
974
+ end
975
+
976
+ # inner class for member: output
977
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}output
978
+ # bytes - SOAP::SOAPLong
979
+ # packets - SOAP::SOAPLong
980
+ class Output
981
+ attr_accessor :bytes
982
+ attr_accessor :packets
983
+
984
+ def initialize(bytes = nil, packets = nil)
985
+ @bytes = bytes
986
+ @packets = packets
987
+ end
988
+ end
989
+
990
+ attr_accessor :input
991
+ attr_accessor :output
992
+
993
+ def initialize(input = nil, output = nil)
994
+ @input = input
995
+ @output = output
996
+ end
997
+ end
998
+
999
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
1000
+ # address - Virtuozzo::SOAP::Drivers::Template::System_nodeType::Address
1001
+ # login - Virtuozzo::SOAP::Drivers::Template::System_nodeType::Login
1002
+ class System_nodeType
1003
+
1004
+ # inner class for member: address
1005
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
1006
+ # ip - (any)
1007
+ class Address < Ip_addressType
1008
+ attr_accessor :ip
1009
+
1010
+ def initialize(ip = nil)
1011
+ @ip = ip
1012
+ end
1013
+ end
1014
+
1015
+ # inner class for member: login
1016
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
1017
+ # user - SOAP::SOAPString
1018
+ # password - SOAP::SOAPBase64
1019
+ class Login
1020
+ attr_accessor :user
1021
+ attr_accessor :password
1022
+
1023
+ def initialize(user = nil, password = nil)
1024
+ @user = user
1025
+ @password = password
1026
+ end
1027
+ end
1028
+
1029
+ attr_accessor :address
1030
+ attr_accessor :login
1031
+
1032
+ def initialize(address = nil, login = nil)
1033
+ @address = address
1034
+ @login = login
1035
+ end
1036
+ end
1037
+
1038
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
1039
+ # total - SOAP::SOAPLong
1040
+ # used - SOAP::SOAPLong
1041
+ # free - SOAP::SOAPLong
1042
+ # avg - SOAP::SOAPLong
1043
+ # min - SOAP::SOAPLong
1044
+ # max - SOAP::SOAPLong
1045
+ class ResourceType
1046
+ attr_accessor :total
1047
+ attr_accessor :used
1048
+ attr_accessor :free
1049
+ attr_accessor :avg
1050
+ attr_accessor :min
1051
+ attr_accessor :max
1052
+
1053
+ def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
1054
+ @total = total
1055
+ @used = used
1056
+ @free = free
1057
+ @avg = avg
1058
+ @min = min
1059
+ @max = max
1060
+ end
1061
+ end
1062
+
1063
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
1064
+ # start_time - (any)
1065
+ # end_time - (any)
1066
+ class IntervalType
1067
+ attr_accessor :start_time
1068
+ attr_accessor :end_time
1069
+
1070
+ def initialize(start_time = nil, end_time = nil)
1071
+ @start_time = start_time
1072
+ @end_time = end_time
1073
+ end
1074
+ end
1075
+
1076
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
1077
+ # avg - SOAP::SOAPLong
1078
+ # min - SOAP::SOAPLong
1079
+ # max - SOAP::SOAPLong
1080
+ # total - SOAP::SOAPLong
1081
+ # cur - SOAP::SOAPLong
1082
+ # soft - SOAP::SOAPLong
1083
+ # hard - SOAP::SOAPLong
1084
+ class StatsType
1085
+ attr_accessor :avg
1086
+ attr_accessor :min
1087
+ attr_accessor :max
1088
+ attr_accessor :total
1089
+ attr_accessor :cur
1090
+ attr_accessor :soft
1091
+ attr_accessor :hard
1092
+
1093
+ def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
1094
+ @avg = avg
1095
+ @min = min
1096
+ @max = max
1097
+ @total = total
1098
+ @cur = cur
1099
+ @soft = soft
1100
+ @hard = hard
1101
+ end
1102
+ end
1103
+
1104
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
1105
+ # host - (any)
1106
+ # mask - (any)
1107
+ class Net_addressType
1108
+ attr_accessor :host
1109
+ attr_accessor :mask
1110
+
1111
+ def initialize(host = nil, mask = nil)
1112
+ @host = host
1113
+ @mask = mask
1114
+ end
1115
+ end
1116
+
1117
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
1118
+ # id - SOAP::SOAPString
1119
+ # transfer - Virtuozzo::SOAP::Drivers::Template::TransferType
1120
+ class Net_classType
1121
+ attr_accessor :id
1122
+ attr_accessor :transfer
1123
+
1124
+ def initialize(id = nil, transfer = nil)
1125
+ @id = id
1126
+ @transfer = transfer
1127
+ end
1128
+ end
1129
+
1130
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
1131
+ # id - SOAP::SOAPString
1132
+ # start_ip - (any)
1133
+ # subnet_mask - SOAP::SOAPInt
1134
+ # comment - SOAP::SOAPString
1135
+ class Ip_rangeType
1136
+ attr_accessor :id
1137
+ attr_accessor :start_ip
1138
+ attr_accessor :subnet_mask
1139
+ attr_accessor :comment
1140
+
1141
+ def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
1142
+ @id = id
1143
+ @start_ip = start_ip
1144
+ @subnet_mask = subnet_mask
1145
+ @comment = comment
1146
+ end
1147
+ end
1148
+
1149
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
1150
+ # env_config - Virtuozzo::SOAP::Drivers::Template::Env_configType
1151
+ # id - SOAP::SOAPString
1152
+ # name - SOAP::SOAPString
1153
+ # comment - SOAP::SOAPBase64
1154
+ # vt_version - Virtuozzo::SOAP::Drivers::Template::Sample_confType::Vt_version
1155
+ class Sample_confType
1156
+
1157
+ # inner class for member: vt_version
1158
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
1159
+ # platform - SOAP::SOAPString
1160
+ # architecture - SOAP::SOAPString
1161
+ # vt_technology - SOAP::SOAPString
1162
+ class Vt_version
1163
+ attr_accessor :platform
1164
+ attr_accessor :architecture
1165
+ attr_accessor :vt_technology
1166
+
1167
+ def initialize(platform = nil, architecture = nil, vt_technology = nil)
1168
+ @platform = platform
1169
+ @architecture = architecture
1170
+ @vt_technology = vt_technology
1171
+ end
1172
+ end
1173
+
1174
+ attr_accessor :env_config
1175
+ attr_accessor :id
1176
+ attr_accessor :name
1177
+ attr_accessor :comment
1178
+ attr_accessor :vt_version
1179
+
1180
+ def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
1181
+ @env_config = env_config
1182
+ @id = id
1183
+ @name = name
1184
+ @comment = comment
1185
+ @vt_version = vt_version
1186
+ end
1187
+ end
1188
+
1189
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
1190
+ # name - SOAP::SOAPString
1191
+ # bandwidth - SOAP::SOAPInt
1192
+ # transfer - Virtuozzo::SOAP::Drivers::Template::TransferType
1193
+ # ipaddress - (any)
1194
+ # flags - SOAP::SOAPInt
1195
+ class InterfaceType
1196
+ attr_accessor :name
1197
+ attr_accessor :bandwidth
1198
+ attr_accessor :transfer
1199
+ attr_accessor :ipaddress
1200
+ attr_accessor :flags
1201
+
1202
+ def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
1203
+ @name = name
1204
+ @bandwidth = bandwidth
1205
+ @transfer = transfer
1206
+ @ipaddress = ipaddress
1207
+ @flags = flags
1208
+ end
1209
+ end
1210
+
1211
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
1212
+ # load_avg - Virtuozzo::SOAP::Drivers::Template::Load_avgType
1213
+ # processes - Virtuozzo::SOAP::Drivers::Template::ProcessesType
1214
+ # cpu_load - Virtuozzo::SOAP::Drivers::Template::Cpu_loadType
1215
+ # cpu_states - Virtuozzo::SOAP::Drivers::Template::Cpu_loadType
1216
+ # users - SOAP::SOAPInt
1217
+ # uptime - SOAP::SOAPLong
1218
+ # memory - Virtuozzo::SOAP::Drivers::Template::Sys_infoType::Memory
1219
+ # swap - Virtuozzo::SOAP::Drivers::Template::Sys_infoType::Swap
1220
+ class Sys_infoType
1221
+
1222
+ # inner class for member: memory
1223
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
1224
+ # total - SOAP::SOAPLong
1225
+ # used - SOAP::SOAPLong
1226
+ class Memory < ResourceType
1227
+ attr_accessor :total
1228
+ attr_accessor :used
1229
+
1230
+ def initialize(total = nil, used = nil)
1231
+ @total = total
1232
+ @used = used
1233
+ end
1234
+ end
1235
+
1236
+ # inner class for member: swap
1237
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
1238
+ # total - SOAP::SOAPLong
1239
+ # used - SOAP::SOAPLong
1240
+ class Swap < ResourceType
1241
+ attr_accessor :total
1242
+ attr_accessor :used
1243
+
1244
+ def initialize(total = nil, used = nil)
1245
+ @total = total
1246
+ @used = used
1247
+ end
1248
+ end
1249
+
1250
+ attr_accessor :load_avg
1251
+ attr_accessor :processes
1252
+ attr_accessor :cpu_load
1253
+ attr_accessor :cpu_states
1254
+ attr_accessor :users
1255
+ attr_accessor :uptime
1256
+ attr_accessor :memory
1257
+ attr_accessor :swap
1258
+
1259
+ def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
1260
+ @load_avg = load_avg
1261
+ @processes = processes
1262
+ @cpu_load = cpu_load
1263
+ @cpu_states = cpu_states
1264
+ @users = users
1265
+ @uptime = uptime
1266
+ @memory = memory
1267
+ @swap = swap
1268
+ end
1269
+ end
1270
+
1271
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
1272
+ # process - Virtuozzo::SOAP::Drivers::Template::Ps_infoType::C_Process
1273
+ # param_id - SOAP::SOAPString
1274
+ # run - SOAP::SOAPInt
1275
+ # idle - SOAP::SOAPInt
1276
+ # zombie - SOAP::SOAPInt
1277
+ # sleep - SOAP::SOAPInt
1278
+ # uninterrupt - SOAP::SOAPInt
1279
+ # stopped - SOAP::SOAPInt
1280
+ # total - SOAP::SOAPInt
1281
+ class Ps_infoType
1282
+
1283
+ # inner class for member: process
1284
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
1285
+ # pid - SOAP::SOAPInt
1286
+ # param - SOAP::SOAPBase64
1287
+ class C_Process
1288
+ attr_accessor :pid
1289
+ attr_accessor :param
1290
+
1291
+ def initialize(pid = nil, param = [])
1292
+ @pid = pid
1293
+ @param = param
1294
+ end
1295
+ end
1296
+
1297
+ attr_accessor :process
1298
+ attr_accessor :param_id
1299
+ attr_accessor :run
1300
+ attr_accessor :idle
1301
+ attr_accessor :zombie
1302
+ attr_accessor :sleep
1303
+ attr_accessor :uninterrupt
1304
+ attr_accessor :stopped
1305
+ attr_accessor :total
1306
+
1307
+ def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
1308
+ @process = process
1309
+ @param_id = param_id
1310
+ @run = run
1311
+ @idle = idle
1312
+ @zombie = zombie
1313
+ @sleep = sleep
1314
+ @uninterrupt = uninterrupt
1315
+ @stopped = stopped
1316
+ @total = total
1317
+ end
1318
+ end
1319
+
1320
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
1321
+ # l1 - Virtuozzo::SOAP::Drivers::Template::Load_avg_statsType::L1
1322
+ # l2 - Virtuozzo::SOAP::Drivers::Template::Load_avg_statsType::L2
1323
+ # l3 - Virtuozzo::SOAP::Drivers::Template::Load_avg_statsType::L3
1324
+ class Load_avg_statsType
1325
+
1326
+ # inner class for member: l1
1327
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
1328
+ # avg - SOAP::SOAPLong
1329
+ # min - SOAP::SOAPLong
1330
+ # max - SOAP::SOAPLong
1331
+ # cur - SOAP::SOAPLong
1332
+ class L1 < StatsType
1333
+ attr_accessor :avg
1334
+ attr_accessor :min
1335
+ attr_accessor :max
1336
+ attr_accessor :cur
1337
+
1338
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1339
+ @avg = avg
1340
+ @min = min
1341
+ @max = max
1342
+ @cur = cur
1343
+ end
1344
+ end
1345
+
1346
+ # inner class for member: l2
1347
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
1348
+ # avg - SOAP::SOAPLong
1349
+ # min - SOAP::SOAPLong
1350
+ # max - SOAP::SOAPLong
1351
+ # cur - SOAP::SOAPLong
1352
+ class L2 < StatsType
1353
+ attr_accessor :avg
1354
+ attr_accessor :min
1355
+ attr_accessor :max
1356
+ attr_accessor :cur
1357
+
1358
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1359
+ @avg = avg
1360
+ @min = min
1361
+ @max = max
1362
+ @cur = cur
1363
+ end
1364
+ end
1365
+
1366
+ # inner class for member: l3
1367
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
1368
+ # avg - SOAP::SOAPLong
1369
+ # min - SOAP::SOAPLong
1370
+ # max - SOAP::SOAPLong
1371
+ # cur - SOAP::SOAPLong
1372
+ class L3 < StatsType
1373
+ attr_accessor :avg
1374
+ attr_accessor :min
1375
+ attr_accessor :max
1376
+ attr_accessor :cur
1377
+
1378
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1379
+ @avg = avg
1380
+ @min = min
1381
+ @max = max
1382
+ @cur = cur
1383
+ end
1384
+ end
1385
+
1386
+ attr_accessor :l1
1387
+ attr_accessor :l2
1388
+ attr_accessor :l3
1389
+
1390
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
1391
+ @l1 = l1
1392
+ @l2 = l2
1393
+ @l3 = l3
1394
+ end
1395
+ end
1396
+
1397
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
1398
+ # ip - (any)
1399
+ # netmask - (any)
1400
+ class Ip_addressType
1401
+ attr_accessor :ip
1402
+ attr_accessor :netmask
1403
+
1404
+ def initialize(ip = nil, netmask = nil)
1405
+ @ip = ip
1406
+ @netmask = netmask
1407
+ end
1408
+ end
1409
+
1410
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_resourceType
1411
+ # eid - (any)
1412
+ # ip_pool - Virtuozzo::SOAP::Drivers::Template::Ip_poolType
1413
+ class Env_resourceType
1414
+ attr_accessor :eid
1415
+ attr_accessor :ip_pool
1416
+
1417
+ def initialize(eid = nil, ip_pool = nil)
1418
+ @eid = eid
1419
+ @ip_pool = ip_pool
1420
+ end
1421
+ end
1422
+
1423
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_poolType
1424
+ # ip_range - Virtuozzo::SOAP::Drivers::Template::Ip_poolType::Ip_range
1425
+ # ip - (any)
1426
+ class Ip_poolType
1427
+
1428
+ # inner class for member: ip_range
1429
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_range
1430
+ # start_ip - (any)
1431
+ # end_ip - (any)
1432
+ class Ip_range
1433
+ attr_accessor :start_ip
1434
+ attr_accessor :end_ip
1435
+
1436
+ def initialize(start_ip = nil, end_ip = nil)
1437
+ @start_ip = start_ip
1438
+ @end_ip = end_ip
1439
+ end
1440
+ end
1441
+
1442
+ attr_accessor :ip_range
1443
+ attr_accessor :ip
1444
+
1445
+ def initialize(ip_range = [], ip = [])
1446
+ @ip_range = ip_range
1447
+ @ip = ip
1448
+ end
1449
+ end
1450
+
1451
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}usageType
1452
+ # total - SOAP::SOAPLong
1453
+ # used - SOAP::SOAPLong
1454
+ # free - SOAP::SOAPLong
1455
+ class UsageType
1456
+ attr_accessor :total
1457
+ attr_accessor :used
1458
+ attr_accessor :free
1459
+
1460
+ def initialize(total = nil, used = nil, free = nil)
1461
+ @total = total
1462
+ @used = used
1463
+ @free = free
1464
+ end
1465
+ end
1466
+
1467
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}credentialType
1468
+ # id - SOAP::SOAPString
1469
+ # policy - SOAP::SOAPInt
1470
+ # description - SOAP::SOAPBase64
1471
+ # cred - Virtuozzo::SOAP::Drivers::Template::CredentialType
1472
+ class CredentialType
1473
+ attr_accessor :id
1474
+ attr_accessor :policy
1475
+ attr_accessor :description
1476
+ attr_accessor :cred
1477
+
1478
+ def initialize(id = nil, policy = nil, description = nil, cred = [])
1479
+ @id = id
1480
+ @policy = policy
1481
+ @description = description
1482
+ @cred = cred
1483
+ end
1484
+ end
1485
+
1486
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}root_credentialType
1487
+ # id - SOAP::SOAPString
1488
+ # policy - SOAP::SOAPInt
1489
+ # description - SOAP::SOAPBase64
1490
+ # cred - Virtuozzo::SOAP::Drivers::Template::CredentialType
1491
+ # objects - Virtuozzo::SOAP::Drivers::Template::Root_credentialType::Objects
1492
+ class Root_credentialType < CredentialType
1493
+
1494
+ # inner class for member: objects
1495
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}objects
1496
+ class Objects < ::Array
1497
+ end
1498
+
1499
+ attr_accessor :id
1500
+ attr_accessor :policy
1501
+ attr_accessor :description
1502
+ attr_accessor :cred
1503
+ attr_accessor :objects
1504
+
1505
+ def initialize(id = nil, policy = nil, description = nil, cred = [], objects = nil)
1506
+ @id = id
1507
+ @policy = policy
1508
+ @description = description
1509
+ @cred = cred
1510
+ @objects = objects
1511
+ end
1512
+ end
1513
+
1514
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}tokenType
1515
+ # user - (any)
1516
+ # groups - Virtuozzo::SOAP::Drivers::Template::TokenType::Groups
1517
+ # deny_only_sids - Virtuozzo::SOAP::Drivers::Template::TokenType::Deny_only_sids
1518
+ # privileges - Virtuozzo::SOAP::Drivers::Template::TokenType::Privileges
1519
+ # source - Virtuozzo::SOAP::Drivers::Template::TokenType::Source
1520
+ class TokenType
1521
+
1522
+ # inner class for member: groups
1523
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groups
1524
+ class Groups < ::Array
1525
+ end
1526
+
1527
+ # inner class for member: deny_only_sids
1528
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}deny_only_sids
1529
+ class Deny_only_sids < ::Array
1530
+ end
1531
+
1532
+ # inner class for member: privileges
1533
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}privileges
1534
+ class Privileges < ::Array
1535
+ end
1536
+
1537
+ # inner class for member: source
1538
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}source
1539
+ # name - SOAP::SOAPString
1540
+ # id - (any)
1541
+ class Source
1542
+ attr_accessor :name
1543
+ attr_accessor :id
1544
+
1545
+ def initialize(name = nil, id = nil)
1546
+ @name = name
1547
+ @id = id
1548
+ end
1549
+ end
1550
+
1551
+ attr_accessor :user
1552
+ attr_accessor :groups
1553
+ attr_accessor :deny_only_sids
1554
+ attr_accessor :privileges
1555
+ attr_accessor :source
1556
+
1557
+ def initialize(user = nil, groups = nil, deny_only_sids = nil, privileges = nil, source = nil)
1558
+ @user = user
1559
+ @groups = groups
1560
+ @deny_only_sids = deny_only_sids
1561
+ @privileges = privileges
1562
+ @source = source
1563
+ end
1564
+ end
1565
+
1566
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}connectivity_infoType
1567
+ # protocol - SOAP::SOAPString
1568
+ # address - SOAP::SOAPString
1569
+ # port - SOAP::SOAPUnsignedInt
1570
+ class Connectivity_infoType
1571
+ attr_accessor :protocol
1572
+ attr_accessor :address
1573
+ attr_accessor :port
1574
+
1575
+ def initialize(protocol = nil, address = nil, port = nil)
1576
+ @protocol = protocol
1577
+ @address = address
1578
+ @port = port
1579
+ end
1580
+ end
1581
+
1582
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}connection_infoType
1583
+ # protocol - SOAP::SOAPString
1584
+ # address - SOAP::SOAPString
1585
+ # port - SOAP::SOAPUnsignedInt
1586
+ # login - Virtuozzo::SOAP::Drivers::Template::Auth_nameType
1587
+ # password - SOAP::SOAPBase64
1588
+ class Connection_infoType < Connectivity_infoType
1589
+ attr_accessor :protocol
1590
+ attr_accessor :address
1591
+ attr_accessor :port
1592
+ attr_accessor :login
1593
+ attr_accessor :password
1594
+
1595
+ def initialize(protocol = nil, address = nil, port = nil, login = nil, password = nil)
1596
+ @protocol = protocol
1597
+ @address = address
1598
+ @port = port
1599
+ @login = login
1600
+ @password = password
1601
+ end
1602
+ end
1603
+
1604
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}auth_nameType
1605
+ # name - SOAP::SOAPBase64
1606
+ # domain - SOAP::SOAPBase64
1607
+ # realm - (any)
1608
+ class Auth_nameType
1609
+ attr_accessor :name
1610
+ attr_accessor :domain
1611
+ attr_accessor :realm
1612
+
1613
+ def initialize(name = nil, domain = nil, realm = nil)
1614
+ @name = name
1615
+ @domain = domain
1616
+ @realm = realm
1617
+ end
1618
+ end
1619
+
1620
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eid_listType
1621
+ class Eid_listType < ::Array
1622
+ end
1623
+
1624
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_infoType
1625
+ class Vt_infoType
1626
+ attr_reader :__xmlele_any
1627
+
1628
+ def set_any(elements)
1629
+ @__xmlele_any = elements
1630
+ end
1631
+
1632
+ def initialize
1633
+ @__xmlele_any = nil
1634
+ end
1635
+ end
1636
+
1637
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}vt_infoType
1638
+ # sve_eid - (any)
1639
+ # version - SOAP::SOAPString
1640
+ # release - SOAP::SOAPString
1641
+ class Vt_infoType_ < Vt_infoType
1642
+ attr_reader :__xmlele_any
1643
+ attr_accessor :sve_eid
1644
+ attr_accessor :version
1645
+ attr_accessor :release
1646
+
1647
+ def set_any(elements)
1648
+ @__xmlele_any = elements
1649
+ end
1650
+
1651
+ def initialize(sve_eid = nil, version = nil, release = nil)
1652
+ @__xmlele_any = nil
1653
+ @sve_eid = sve_eid
1654
+ @version = version
1655
+ @release = release
1656
+ end
1657
+ end
1658
+
1659
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_settingsType
1660
+ # default_sample_id - (any)
1661
+ class Vt_settingsType
1662
+ attr_accessor :default_sample_id
1663
+
1664
+ def initialize(default_sample_id = nil)
1665
+ @default_sample_id = default_sample_id
1666
+ end
1667
+ end
1668
+
1669
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}vt_settingsType
1670
+ # default_sample_id - (any)
1671
+ # parameter - Virtuozzo::SOAP::Drivers::Template::Vt_settingsType_::Parameter
1672
+ # service - Virtuozzo::SOAP::Drivers::Template::Redirect_serviceType
1673
+ # qos - Virtuozzo::SOAP::Drivers::Template::QosType
1674
+ class Vt_settingsType_ < Vt_settingsType
1675
+
1676
+ # inner class for member: parameter
1677
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}parameter
1678
+ # id - SOAP::SOAPString
1679
+ # value - SOAP::SOAPString
1680
+ class Parameter
1681
+ attr_accessor :id
1682
+ attr_accessor :value
1683
+
1684
+ def initialize(id = nil, value = nil)
1685
+ @id = id
1686
+ @value = value
1687
+ end
1688
+ end
1689
+
1690
+ attr_accessor :default_sample_id
1691
+ attr_accessor :parameter
1692
+ attr_accessor :service
1693
+ attr_accessor :qos
1694
+
1695
+ def initialize(default_sample_id = nil, parameter = [], service = [], qos = [])
1696
+ @default_sample_id = default_sample_id
1697
+ @parameter = parameter
1698
+ @service = service
1699
+ @qos = qos
1700
+ end
1701
+ end
1702
+
1703
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
1704
+ # initial_group - Virtuozzo::SOAP::Drivers::Template::UserType::Initial_group
1705
+ # group - Virtuozzo::SOAP::Drivers::Template::UserType::Group
1706
+ # uid - SOAP::SOAPInt
1707
+ # shell - SOAP::SOAPString
1708
+ # password - SOAP::SOAPBase64
1709
+ # home_dir - SOAP::SOAPString
1710
+ # name - SOAP::SOAPString
1711
+ # comment - SOAP::SOAPString
1712
+ class UserType
1713
+
1714
+ # inner class for member: initial_group
1715
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
1716
+ # name - SOAP::SOAPString
1717
+ # gid - SOAP::SOAPInt
1718
+ class Initial_group < GroupType
1719
+ attr_accessor :name
1720
+ attr_accessor :gid
1721
+
1722
+ def initialize(name = nil, gid = nil)
1723
+ @name = name
1724
+ @gid = gid
1725
+ end
1726
+ end
1727
+
1728
+ # inner class for member: group
1729
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
1730
+ # name - SOAP::SOAPString
1731
+ # gid - SOAP::SOAPInt
1732
+ class Group < GroupType
1733
+ attr_accessor :name
1734
+ attr_accessor :gid
1735
+
1736
+ def initialize(name = nil, gid = nil)
1737
+ @name = name
1738
+ @gid = gid
1739
+ end
1740
+ end
1741
+
1742
+ attr_accessor :initial_group
1743
+ attr_accessor :group
1744
+ attr_accessor :uid
1745
+ attr_accessor :shell
1746
+ attr_accessor :password
1747
+ attr_accessor :home_dir
1748
+ attr_accessor :name
1749
+ attr_accessor :comment
1750
+
1751
+ def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
1752
+ @initial_group = initial_group
1753
+ @group = group
1754
+ @uid = uid
1755
+ @shell = shell
1756
+ @password = password
1757
+ @home_dir = home_dir
1758
+ @name = name
1759
+ @comment = comment
1760
+ end
1761
+ end
1762
+
1763
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1764
+ # user - Virtuozzo::SOAP::Drivers::Template::GroupType::User
1765
+ # member_group - Virtuozzo::SOAP::Drivers::Template::GroupType::Member_group
1766
+ # name - SOAP::SOAPString
1767
+ # gid - SOAP::SOAPInt
1768
+ class GroupType
1769
+
1770
+ # inner class for member: user
1771
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
1772
+ # name - SOAP::SOAPString
1773
+ class User < UserType
1774
+ attr_accessor :name
1775
+
1776
+ def initialize(name = nil)
1777
+ @name = name
1778
+ end
1779
+ end
1780
+
1781
+ # inner class for member: member_group
1782
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
1783
+ # name - SOAP::SOAPString
1784
+ class Member_group < GroupType
1785
+ attr_accessor :name
1786
+
1787
+ def initialize(name = nil)
1788
+ @name = name
1789
+ end
1790
+ end
1791
+
1792
+ attr_accessor :user
1793
+ attr_accessor :member_group
1794
+ attr_accessor :name
1795
+ attr_accessor :gid
1796
+
1797
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1798
+ @user = user
1799
+ @member_group = member_group
1800
+ @name = name
1801
+ @gid = gid
1802
+ end
1803
+ end
1804
+
1805
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
1806
+ # name - SOAP::SOAPString
1807
+ # summary - SOAP::SOAPString
1808
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1809
+ # description - SOAP::SOAPString
1810
+ # arch - SOAP::SOAPString
1811
+ # version - SOAP::SOAPString
1812
+ class PackageType
1813
+ attr_accessor :name
1814
+ attr_accessor :summary
1815
+ attr_accessor :os
1816
+ attr_accessor :description
1817
+ attr_accessor :arch
1818
+ attr_accessor :version
1819
+
1820
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
1821
+ @name = name
1822
+ @summary = summary
1823
+ @os = os
1824
+ @description = description
1825
+ @arch = arch
1826
+ @version = version
1827
+ end
1828
+ end
1829
+
1830
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}package_vztemplateType
1831
+ # name - SOAP::SOAPString
1832
+ # summary - SOAP::SOAPString
1833
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1834
+ # description - SOAP::SOAPString
1835
+ # arch - SOAP::SOAPString
1836
+ # version - SOAP::SOAPString
1837
+ # technology - SOAP::SOAPString
1838
+ # os_template - SOAP::SOAPBoolean
1839
+ # cached - SOAP::SOAPBoolean
1840
+ # path - SOAP::SOAPBase64
1841
+ # uptodate - SOAP::SOAPBoolean
1842
+ class Package_vztemplateType < PackageType
1843
+ attr_accessor :name
1844
+ attr_accessor :summary
1845
+ attr_accessor :os
1846
+ attr_accessor :description
1847
+ attr_accessor :arch
1848
+ attr_accessor :version
1849
+ attr_accessor :technology
1850
+ attr_accessor :os_template
1851
+ attr_accessor :cached
1852
+ attr_accessor :path
1853
+ attr_accessor :uptodate
1854
+
1855
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, technology = [], os_template = nil, cached = nil, path = nil, uptodate = nil)
1856
+ @name = name
1857
+ @summary = summary
1858
+ @os = os
1859
+ @description = description
1860
+ @arch = arch
1861
+ @version = version
1862
+ @technology = technology
1863
+ @os_template = os_template
1864
+ @cached = cached
1865
+ @path = path
1866
+ @uptodate = uptodate
1867
+ end
1868
+ end
1869
+
1870
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}package_std_vztemplateType
1871
+ # name - SOAP::SOAPString
1872
+ # summary - SOAP::SOAPString
1873
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1874
+ # description - SOAP::SOAPString
1875
+ # arch - SOAP::SOAPString
1876
+ # version - SOAP::SOAPString
1877
+ # technology - SOAP::SOAPString
1878
+ # os_template - SOAP::SOAPBoolean
1879
+ # cached - SOAP::SOAPBoolean
1880
+ # path - SOAP::SOAPBase64
1881
+ # uptodate - SOAP::SOAPBoolean
1882
+ # base - SOAP::SOAPBoolean
1883
+ class Package_std_vztemplateType < Package_vztemplateType
1884
+ attr_accessor :name
1885
+ attr_accessor :summary
1886
+ attr_accessor :os
1887
+ attr_accessor :description
1888
+ attr_accessor :arch
1889
+ attr_accessor :version
1890
+ attr_accessor :technology
1891
+ attr_accessor :os_template
1892
+ attr_accessor :cached
1893
+ attr_accessor :path
1894
+ attr_accessor :uptodate
1895
+ attr_accessor :base
1896
+
1897
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, technology = [], os_template = nil, cached = nil, path = nil, uptodate = nil, base = nil)
1898
+ @name = name
1899
+ @summary = summary
1900
+ @os = os
1901
+ @description = description
1902
+ @arch = arch
1903
+ @version = version
1904
+ @technology = technology
1905
+ @os_template = os_template
1906
+ @cached = cached
1907
+ @path = path
1908
+ @uptodate = uptodate
1909
+ @base = base
1910
+ end
1911
+ end
1912
+
1913
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}package_linuxType
1914
+ # name - SOAP::SOAPString
1915
+ # summary - SOAP::SOAPString
1916
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1917
+ # description - SOAP::SOAPString
1918
+ # arch - SOAP::SOAPString
1919
+ # version - SOAP::SOAPString
1920
+ # path - SOAP::SOAPBase64
1921
+ class Package_linuxType < PackageType
1922
+ attr_accessor :name
1923
+ attr_accessor :summary
1924
+ attr_accessor :os
1925
+ attr_accessor :description
1926
+ attr_accessor :arch
1927
+ attr_accessor :version
1928
+ attr_accessor :path
1929
+
1930
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, path = nil)
1931
+ @name = name
1932
+ @summary = summary
1933
+ @os = os
1934
+ @description = description
1935
+ @arch = arch
1936
+ @version = version
1937
+ @path = path
1938
+ end
1939
+ end
1940
+
1941
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}package_rpmType
1942
+ # name - SOAP::SOAPString
1943
+ # summary - SOAP::SOAPString
1944
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1945
+ # description - SOAP::SOAPString
1946
+ # arch - SOAP::SOAPString
1947
+ # version - SOAP::SOAPString
1948
+ # path - SOAP::SOAPBase64
1949
+ class Package_rpmType < Package_linuxType
1950
+ attr_accessor :name
1951
+ attr_accessor :summary
1952
+ attr_accessor :os
1953
+ attr_accessor :description
1954
+ attr_accessor :arch
1955
+ attr_accessor :version
1956
+ attr_accessor :path
1957
+
1958
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, path = nil)
1959
+ @name = name
1960
+ @summary = summary
1961
+ @os = os
1962
+ @description = description
1963
+ @arch = arch
1964
+ @version = version
1965
+ @path = path
1966
+ end
1967
+ end
1968
+
1969
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}package_debType
1970
+ # name - SOAP::SOAPString
1971
+ # summary - SOAP::SOAPString
1972
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1973
+ # description - SOAP::SOAPString
1974
+ # arch - SOAP::SOAPString
1975
+ # version - SOAP::SOAPString
1976
+ # path - SOAP::SOAPBase64
1977
+ class Package_debType < Package_linuxType
1978
+ attr_accessor :name
1979
+ attr_accessor :summary
1980
+ attr_accessor :os
1981
+ attr_accessor :description
1982
+ attr_accessor :arch
1983
+ attr_accessor :version
1984
+ attr_accessor :path
1985
+
1986
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, path = nil)
1987
+ @name = name
1988
+ @summary = summary
1989
+ @os = os
1990
+ @description = description
1991
+ @arch = arch
1992
+ @version = version
1993
+ @path = path
1994
+ end
1995
+ end
1996
+
1997
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
1998
+ class Event_dataType
1999
+ def initialize
2000
+ end
2001
+ end
2002
+
2003
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
2004
+ # type - SOAP::SOAPInt
2005
+ class Alert_dataType < Event_dataType
2006
+ attr_accessor :type
2007
+
2008
+ def initialize(type = nil)
2009
+ @type = type
2010
+ end
2011
+ end
2012
+
2013
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
2014
+ # name - SOAP::SOAPString
2015
+ # value - SOAP::SOAPBase64
2016
+ class Named_listType
2017
+ attr_accessor :name
2018
+ attr_accessor :value
2019
+
2020
+ def initialize(name = nil, value = [])
2021
+ @name = name
2022
+ @value = value
2023
+ end
2024
+ end
2025
+
2026
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
2027
+ # name - SOAP::SOAPString
2028
+ # value - SOAP::SOAPBase64
2029
+ # op - SOAP::SOAPInt
2030
+ class ModType < Named_listType
2031
+ attr_accessor :name
2032
+ attr_accessor :value
2033
+ attr_accessor :op
2034
+
2035
+ def initialize(name = nil, value = [], op = nil)
2036
+ @name = name
2037
+ @value = value
2038
+ @op = op
2039
+ end
2040
+ end
2041
+
2042
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
2043
+ # id - (any)
2044
+ # type - SOAP::SOAPInt
2045
+ # name - SOAP::SOAPString
2046
+ # builtin - (any)
2047
+ class RealmType
2048
+ attr_accessor :id
2049
+ attr_accessor :type
2050
+ attr_accessor :name
2051
+ attr_accessor :builtin
2052
+
2053
+ def initialize(id = nil, type = nil, name = nil, builtin = nil)
2054
+ @id = id
2055
+ @type = type
2056
+ @name = name
2057
+ @builtin = builtin
2058
+ end
2059
+ end
2060
+
2061
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
2062
+ # eid - (any)
2063
+ # time - (any)
2064
+ # source - SOAP::SOAPString
2065
+ # category - SOAP::SOAPString
2066
+ # sid - (any)
2067
+ # count - SOAP::SOAPInt
2068
+ # id - (any)
2069
+ # info - Virtuozzo::SOAP::Drivers::Template::InfoType
2070
+ # data - Virtuozzo::SOAP::Drivers::Template::EventType::C_Data
2071
+ class EventType
2072
+
2073
+ # inner class for member: data
2074
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
2075
+ # event_data - Virtuozzo::SOAP::Drivers::Template::Event_dataType
2076
+ class C_Data
2077
+ attr_accessor :event_data
2078
+
2079
+ def initialize(event_data = nil)
2080
+ @event_data = event_data
2081
+ end
2082
+ end
2083
+
2084
+ attr_accessor :eid
2085
+ attr_accessor :time
2086
+ attr_accessor :source
2087
+ attr_accessor :category
2088
+ attr_accessor :sid
2089
+ attr_accessor :count
2090
+ attr_accessor :id
2091
+ attr_accessor :info
2092
+ attr_accessor :data
2093
+
2094
+ def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
2095
+ @eid = eid
2096
+ @time = time
2097
+ @source = source
2098
+ @category = category
2099
+ @sid = sid
2100
+ @count = count
2101
+ @id = id
2102
+ @info = info
2103
+ @data = data
2104
+ end
2105
+ end
2106
+
2107
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
2108
+ # message - SOAP::SOAPBase64
2109
+ # translate - (any)
2110
+ # parameter - Virtuozzo::SOAP::Drivers::Template::InfoType
2111
+ # name - SOAP::SOAPString
2112
+ class InfoType
2113
+ attr_accessor :message
2114
+ attr_accessor :translate
2115
+ attr_accessor :parameter
2116
+ attr_accessor :name
2117
+
2118
+ def initialize(message = nil, translate = nil, parameter = [], name = nil)
2119
+ @message = message
2120
+ @translate = translate
2121
+ @parameter = parameter
2122
+ @name = name
2123
+ end
2124
+ end
2125
+
2126
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
2127
+ # type - SOAP::SOAPInt
2128
+ # sid - (any)
2129
+ # rights - SOAP::SOAPBase64
2130
+ class AceType
2131
+ attr_accessor :type
2132
+ attr_accessor :sid
2133
+ attr_accessor :rights
2134
+
2135
+ def initialize(type = nil, sid = nil, rights = nil)
2136
+ @type = type
2137
+ @sid = sid
2138
+ @rights = rights
2139
+ end
2140
+ end
2141
+
2142
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
2143
+ # owner - (any)
2144
+ # group - (any)
2145
+ # dacl - Virtuozzo::SOAP::Drivers::Template::Security_descriptorType::Dacl
2146
+ class Security_descriptorType
2147
+
2148
+ # inner class for member: dacl
2149
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
2150
+ class Dacl < ::Array
2151
+ end
2152
+
2153
+ attr_accessor :owner
2154
+ attr_accessor :group
2155
+ attr_accessor :dacl
2156
+
2157
+ def initialize(owner = nil, group = nil, dacl = nil)
2158
+ @owner = owner
2159
+ @group = group
2160
+ @dacl = dacl
2161
+ end
2162
+ end
2163
+
2164
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
2165
+ # abstract
2166
+ class Security_objectType
2167
+ def initialize
2168
+ end
2169
+ end
2170
+
2171
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
2172
+ # eid - (any)
2173
+ class Env_security_objectType < Security_objectType
2174
+ attr_accessor :eid
2175
+
2176
+ def initialize(eid = nil)
2177
+ @eid = eid
2178
+ end
2179
+ end
2180
+
2181
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}env_security_objectType
2182
+ # eid - (any)
2183
+ class Env_security_objectType_ < Env_security_objectType
2184
+ attr_accessor :eid
2185
+
2186
+ def initialize(eid = nil)
2187
+ @eid = eid
2188
+ end
2189
+ end
2190
+
2191
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
2192
+ # id - SOAP::SOAPString
2193
+ # ip_address - Virtuozzo::SOAP::Drivers::Template::Ip_addressType
2194
+ # dhcp - (any)
2195
+ # network_id - SOAP::SOAPBase64
2196
+ # status - Virtuozzo::SOAP::Drivers::Template::Net_deviceType::Status
2197
+ class Net_deviceType
2198
+
2199
+ # inner class for member: status
2200
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2201
+ # up - (any)
2202
+ # down - (any)
2203
+ class Status
2204
+ attr_accessor :up
2205
+ attr_accessor :down
2206
+
2207
+ def initialize(up = nil, down = nil)
2208
+ @up = up
2209
+ @down = down
2210
+ end
2211
+ end
2212
+
2213
+ attr_accessor :id
2214
+ attr_accessor :ip_address
2215
+ attr_accessor :dhcp
2216
+ attr_accessor :network_id
2217
+ attr_accessor :status
2218
+
2219
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
2220
+ @id = id
2221
+ @ip_address = ip_address
2222
+ @dhcp = dhcp
2223
+ @network_id = network_id
2224
+ @status = status
2225
+ end
2226
+ end
2227
+
2228
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
2229
+ # id - SOAP::SOAPString
2230
+ # ip_address - Virtuozzo::SOAP::Drivers::Template::Ip_addressType
2231
+ # dhcp - (any)
2232
+ # network_id - SOAP::SOAPBase64
2233
+ # status - Virtuozzo::SOAP::Drivers::Template::Net_nicType::Status
2234
+ # mac_address - SOAP::SOAPString
2235
+ class Net_nicType < Net_deviceType
2236
+
2237
+ # inner class for member: status
2238
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2239
+ # up - (any)
2240
+ # down - (any)
2241
+ class Status
2242
+ attr_accessor :up
2243
+ attr_accessor :down
2244
+
2245
+ def initialize(up = nil, down = nil)
2246
+ @up = up
2247
+ @down = down
2248
+ end
2249
+ end
2250
+
2251
+ attr_accessor :id
2252
+ attr_accessor :ip_address
2253
+ attr_accessor :dhcp
2254
+ attr_accessor :network_id
2255
+ attr_accessor :status
2256
+ attr_accessor :mac_address
2257
+
2258
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
2259
+ @id = id
2260
+ @ip_address = ip_address
2261
+ @dhcp = dhcp
2262
+ @network_id = network_id
2263
+ @status = status
2264
+ @mac_address = mac_address
2265
+ end
2266
+ end
2267
+
2268
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}net_vethType
2269
+ # id - SOAP::SOAPString
2270
+ # ip_address - Virtuozzo::SOAP::Drivers::Template::Ip_addressType
2271
+ # dhcp - (any)
2272
+ # network_id - SOAP::SOAPBase64
2273
+ # status - Virtuozzo::SOAP::Drivers::Template::Net_vethType::Status
2274
+ # mac_address - SOAP::SOAPString
2275
+ # wins_server - SOAP::SOAPString
2276
+ # nameserver - SOAP::SOAPString
2277
+ # default_gateway - SOAP::SOAPString
2278
+ # host_routed - (any)
2279
+ class Net_vethType < Net_nicType
2280
+
2281
+ # inner class for member: status
2282
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2283
+ # up - (any)
2284
+ # down - (any)
2285
+ class Status
2286
+ attr_accessor :up
2287
+ attr_accessor :down
2288
+
2289
+ def initialize(up = nil, down = nil)
2290
+ @up = up
2291
+ @down = down
2292
+ end
2293
+ end
2294
+
2295
+ attr_accessor :id
2296
+ attr_accessor :ip_address
2297
+ attr_accessor :dhcp
2298
+ attr_accessor :network_id
2299
+ attr_accessor :status
2300
+ attr_accessor :mac_address
2301
+ attr_accessor :wins_server
2302
+ attr_accessor :nameserver
2303
+ attr_accessor :default_gateway
2304
+ attr_accessor :host_routed
2305
+
2306
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil, wins_server = [], nameserver = [], default_gateway = nil, host_routed = nil)
2307
+ @id = id
2308
+ @ip_address = ip_address
2309
+ @dhcp = dhcp
2310
+ @network_id = network_id
2311
+ @status = status
2312
+ @mac_address = mac_address
2313
+ @wins_server = wins_server
2314
+ @nameserver = nameserver
2315
+ @default_gateway = default_gateway
2316
+ @host_routed = host_routed
2317
+ end
2318
+ end
2319
+
2320
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
2321
+ # id - SOAP::SOAPString
2322
+ # type - SOAP::SOAPString
2323
+ # min - SOAP::SOAPString
2324
+ # max - SOAP::SOAPString
2325
+ # long - SOAP::SOAPString
2326
+ # short - SOAP::SOAPString
2327
+ # category - SOAP::SOAPString
2328
+ # complex - SOAP::SOAPString
2329
+ # default - SOAP::SOAPString
2330
+ # measure - SOAP::SOAPString
2331
+ # data - (any)
2332
+ # name - (any)
2333
+ class Voc_parameterType
2334
+ attr_accessor :id
2335
+ attr_accessor :type
2336
+ attr_accessor :min
2337
+ attr_accessor :max
2338
+ attr_accessor :long
2339
+ attr_accessor :short
2340
+ attr_accessor :category
2341
+ attr_accessor :complex
2342
+ attr_accessor :default
2343
+ attr_accessor :measure
2344
+ attr_accessor :data
2345
+ attr_accessor :name
2346
+
2347
+ 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)
2348
+ @id = id
2349
+ @type = type
2350
+ @min = min
2351
+ @max = max
2352
+ @long = long
2353
+ @short = short
2354
+ @category = category
2355
+ @complex = complex
2356
+ @default = default
2357
+ @measure = measure
2358
+ @data = data
2359
+ @name = name
2360
+ end
2361
+ end
2362
+
2363
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
2364
+ # name - SOAP::SOAPString
2365
+ # parameter - Virtuozzo::SOAP::Drivers::Template::Voc_parameterType
2366
+ # category - Virtuozzo::SOAP::Drivers::Template::Voc_parameterType
2367
+ class VocabularyType
2368
+ attr_accessor :name
2369
+ attr_accessor :parameter
2370
+ attr_accessor :category
2371
+
2372
+ def initialize(name = nil, parameter = [], category = [])
2373
+ @name = name
2374
+ @parameter = parameter
2375
+ @category = category
2376
+ end
2377
+ end
2378
+
2379
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
2380
+ # cur - SOAP::SOAPAnySimpleType
2381
+ # avg - SOAP::SOAPAnySimpleType
2382
+ # max - SOAP::SOAPAnySimpleType
2383
+ # min - SOAP::SOAPAnySimpleType
2384
+ class Perf_statType
2385
+ attr_accessor :cur
2386
+ attr_accessor :avg
2387
+ attr_accessor :max
2388
+ attr_accessor :min
2389
+
2390
+ def initialize(cur = nil, avg = nil, max = nil, min = nil)
2391
+ @cur = cur
2392
+ @avg = avg
2393
+ @max = max
2394
+ @min = min
2395
+ end
2396
+ end
2397
+
2398
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
2399
+ # eid - (any)
2400
+ # m_class - Virtuozzo::SOAP::Drivers::Template::Perf_dataType::C_Class
2401
+ # interval - Virtuozzo::SOAP::Drivers::Template::IntervalType
2402
+ class Perf_dataType
2403
+
2404
+ # inner class for member: class
2405
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
2406
+ # name - SOAP::SOAPString
2407
+ # instance - Virtuozzo::SOAP::Drivers::Template::Perf_dataType::C_Class::Instance
2408
+ class C_Class
2409
+
2410
+ # inner class for member: instance
2411
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
2412
+ # name - SOAP::SOAPString
2413
+ # counter - Virtuozzo::SOAP::Drivers::Template::Perf_dataType::C_Class::Instance::Counter
2414
+ class Instance
2415
+
2416
+ # inner class for member: counter
2417
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
2418
+ # name - SOAP::SOAPString
2419
+ # value - Virtuozzo::SOAP::Drivers::Template::Perf_statType
2420
+ class Counter
2421
+ attr_accessor :name
2422
+ attr_accessor :value
2423
+
2424
+ def initialize(name = nil, value = nil)
2425
+ @name = name
2426
+ @value = value
2427
+ end
2428
+ end
2429
+
2430
+ attr_accessor :name
2431
+ attr_accessor :counter
2432
+
2433
+ def initialize(name = nil, counter = [])
2434
+ @name = name
2435
+ @counter = counter
2436
+ end
2437
+ end
2438
+
2439
+ attr_accessor :name
2440
+ attr_accessor :instance
2441
+
2442
+ def initialize(name = nil, instance = [])
2443
+ @name = name
2444
+ @instance = instance
2445
+ end
2446
+ end
2447
+
2448
+ attr_accessor :eid
2449
+ attr_accessor :interval
2450
+
2451
+ def m_class
2452
+ @v_class
2453
+ end
2454
+
2455
+ def m_class=(value)
2456
+ @v_class = value
2457
+ end
2458
+
2459
+ def initialize(eid = nil, v_class = [], interval = nil)
2460
+ @eid = eid
2461
+ @v_class = v_class
2462
+ @interval = interval
2463
+ end
2464
+ end
2465
+
2466
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
2467
+ class Log_options_baseType
2468
+ def initialize
2469
+ end
2470
+ end
2471
+
2472
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
2473
+ class Log_optionsType < Log_options_baseType
2474
+ def initialize
2475
+ end
2476
+ end
2477
+
2478
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}log_optionsType
2479
+ # type - SOAP::SOAPInt
2480
+ class Log_optionsType_ < Log_options_baseType
2481
+ attr_accessor :type
2482
+
2483
+ def initialize(type = nil)
2484
+ @type = type
2485
+ end
2486
+ end
2487
+
2488
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}redirect_serviceType
2489
+ # id - SOAP::SOAPString
2490
+ # port - SOAP::SOAPInt
2491
+ # dst - (any)
2492
+ # default - (any)
2493
+ class Redirect_serviceType
2494
+ attr_accessor :id
2495
+ attr_accessor :port
2496
+ attr_accessor :dst
2497
+ attr_accessor :default
2498
+
2499
+ def initialize(id = nil, port = nil, dst = nil, default = nil)
2500
+ @id = id
2501
+ @port = port
2502
+ @dst = dst
2503
+ @default = default
2504
+ end
2505
+ end
2506
+
2507
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}templateType
2508
+ # name - SOAP::SOAPString
2509
+ # version - SOAP::SOAPString
2510
+ class TemplateType
2511
+ attr_accessor :name
2512
+ attr_accessor :version
2513
+
2514
+ def initialize(name = nil, version = nil)
2515
+ @name = name
2516
+ @version = version
2517
+ end
2518
+ end
2519
+
2520
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}pkg_paramsType
2521
+ class Pkg_paramsType
2522
+ def initialize
2523
+ end
2524
+ end
2525
+
2526
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}pkg_setup_cmdType
2527
+ # eid - (any)
2528
+ # installation_package - Virtuozzo::SOAP::Drivers::Template::Pkg_setup_cmdType::Installation_package
2529
+ # options - Virtuozzo::SOAP::Drivers::Template::Pkg_setup_cmdType::Options
2530
+ class Pkg_setup_cmdType < Pkg_paramsType
2531
+
2532
+ # inner class for member: installation_package
2533
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}installation_package
2534
+ # package - Virtuozzo::SOAP::Drivers::Template::PackageType
2535
+ # path - SOAP::SOAPBase64
2536
+ class Installation_package
2537
+ attr_accessor :package
2538
+ attr_accessor :path
2539
+
2540
+ def initialize(package = nil, path = nil)
2541
+ @package = package
2542
+ @path = path
2543
+ end
2544
+ end
2545
+
2546
+ # inner class for member: options
2547
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2548
+ # check - (any)
2549
+ # force - (any)
2550
+ # dependencies - (any)
2551
+ class Options
2552
+ attr_accessor :check
2553
+ attr_accessor :force
2554
+ attr_accessor :dependencies
2555
+
2556
+ def initialize(check = nil, force = nil, dependencies = nil)
2557
+ @check = check
2558
+ @force = force
2559
+ @dependencies = dependencies
2560
+ end
2561
+ end
2562
+
2563
+ attr_accessor :eid
2564
+ attr_accessor :installation_package
2565
+ attr_accessor :options
2566
+
2567
+ def initialize(eid = nil, installation_package = [], options = nil)
2568
+ @eid = eid
2569
+ @installation_package = installation_package
2570
+ @options = options
2571
+ end
2572
+ end
2573
+
2574
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}pkg_cmdType
2575
+ # eid - (any)
2576
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2577
+ class Pkg_cmdType < Pkg_paramsType
2578
+ attr_accessor :eid
2579
+ attr_accessor :packages
2580
+
2581
+ def initialize(eid = nil, packages = nil)
2582
+ @eid = eid
2583
+ @packages = packages
2584
+ end
2585
+ end
2586
+
2587
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}packagesType
2588
+ class PackagesType < ::Array
2589
+ end
2590
+
2591
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
2592
+ class Transport_type < ::String
2593
+ Tcp = Transport_type.new("tcp")
2594
+ Udp = Transport_type.new("udp")
2595
+ end
2596
+
2597
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
2598
+ class Yes_no_type < ::String
2599
+ No = Yes_no_type.new("no")
2600
+ Yes = Yes_no_type.new("yes")
2601
+ end
2602
+
2603
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
2604
+ # auth - Virtuozzo::SOAP::Drivers::Template::AuthType
2605
+ # cookie - SOAP::SOAPString
2606
+ # target - SOAP::SOAPString
2607
+ # origin - SOAP::SOAPString
2608
+ # src - Virtuozzo::SOAP::Drivers::Template::RouteType
2609
+ # dst - Virtuozzo::SOAP::Drivers::Template::RouteType
2610
+ # session - SOAP::SOAPString
2611
+ # data - Virtuozzo::SOAP::Drivers::Template::Packet::C_Data
2612
+ # xmlattr_version - SOAP::SOAPString
2613
+ # xmlattr_id - SOAP::SOAPString
2614
+ # xmlattr_priority - SOAP::SOAPString
2615
+ # xmlattr_time - SOAP::SOAPString
2616
+ # xmlattr_progress - SOAP::SOAPString
2617
+ # xmlattr_log - SOAP::SOAPString
2618
+ # xmlattr_type - SOAP::SOAPInt
2619
+ # xmlattr_timeout - SOAP::SOAPInt
2620
+ # xmlattr_timeout_limit - SOAP::SOAPInt
2621
+ # xmlattr_uid - SOAP::SOAPInt
2622
+ class Packet < Packet_headerType
2623
+ AttrC_Time = XSD::QName.new(nil, "time")
2624
+ AttrId = XSD::QName.new(nil, "id")
2625
+ AttrLog = XSD::QName.new(nil, "log")
2626
+ AttrPriority = XSD::QName.new(nil, "priority")
2627
+ AttrProgress = XSD::QName.new(nil, "progress")
2628
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2629
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2630
+ AttrType = XSD::QName.new(nil, "type")
2631
+ AttrUid = XSD::QName.new(nil, "uid")
2632
+ AttrVersion = XSD::QName.new(nil, "version")
2633
+
2634
+ # inner class for member: data
2635
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2636
+ class C_Data < ::Array
2637
+ end
2638
+
2639
+ attr_accessor :auth
2640
+ attr_accessor :cookie
2641
+ attr_accessor :target
2642
+ attr_accessor :origin
2643
+ attr_accessor :src
2644
+ attr_accessor :dst
2645
+ attr_accessor :session
2646
+ attr_accessor :data
2647
+
2648
+ def __xmlattr
2649
+ @__xmlattr ||= {}
2650
+ end
2651
+
2652
+ def xmlattr_version
2653
+ __xmlattr[AttrVersion]
2654
+ end
2655
+
2656
+ def xmlattr_version=(value)
2657
+ __xmlattr[AttrVersion] = value
2658
+ end
2659
+
2660
+ def xmlattr_id
2661
+ __xmlattr[AttrId]
2662
+ end
2663
+
2664
+ def xmlattr_id=(value)
2665
+ __xmlattr[AttrId] = value
2666
+ end
2667
+
2668
+ def xmlattr_priority
2669
+ __xmlattr[AttrPriority]
2670
+ end
2671
+
2672
+ def xmlattr_priority=(value)
2673
+ __xmlattr[AttrPriority] = value
2674
+ end
2675
+
2676
+ def xmlattr_time
2677
+ __xmlattr[AttrC_Time]
2678
+ end
2679
+
2680
+ def xmlattr_time=(value)
2681
+ __xmlattr[AttrC_Time] = value
2682
+ end
2683
+
2684
+ def xmlattr_progress
2685
+ __xmlattr[AttrProgress]
2686
+ end
2687
+
2688
+ def xmlattr_progress=(value)
2689
+ __xmlattr[AttrProgress] = value
2690
+ end
2691
+
2692
+ def xmlattr_log
2693
+ __xmlattr[AttrLog]
2694
+ end
2695
+
2696
+ def xmlattr_log=(value)
2697
+ __xmlattr[AttrLog] = value
2698
+ end
2699
+
2700
+ def xmlattr_type
2701
+ __xmlattr[AttrType]
2702
+ end
2703
+
2704
+ def xmlattr_type=(value)
2705
+ __xmlattr[AttrType] = value
2706
+ end
2707
+
2708
+ def xmlattr_timeout
2709
+ __xmlattr[AttrTimeout]
2710
+ end
2711
+
2712
+ def xmlattr_timeout=(value)
2713
+ __xmlattr[AttrTimeout] = value
2714
+ end
2715
+
2716
+ def xmlattr_timeout_limit
2717
+ __xmlattr[AttrTimeout_limit]
2718
+ end
2719
+
2720
+ def xmlattr_timeout_limit=(value)
2721
+ __xmlattr[AttrTimeout_limit] = value
2722
+ end
2723
+
2724
+ def xmlattr_uid
2725
+ __xmlattr[AttrUid]
2726
+ end
2727
+
2728
+ def xmlattr_uid=(value)
2729
+ __xmlattr[AttrUid] = value
2730
+ end
2731
+
2732
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2733
+ @auth = auth
2734
+ @cookie = cookie
2735
+ @target = target
2736
+ @origin = origin
2737
+ @src = src
2738
+ @dst = dst
2739
+ @session = session
2740
+ @data = data
2741
+ @__xmlattr = {}
2742
+ end
2743
+ end
2744
+
2745
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
2746
+ class Ok < ::String
2747
+ def initialize(*arg)
2748
+ super
2749
+ end
2750
+ end
2751
+
2752
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}interface_rate
2753
+ # class_id - SOAP::SOAPString
2754
+ # net_device_id - SOAP::SOAPString
2755
+ # rate - SOAP::SOAPLong
2756
+ class Interface_rate
2757
+ attr_accessor :class_id
2758
+ attr_accessor :net_device_id
2759
+ attr_accessor :rate
2760
+
2761
+ def initialize(class_id = nil, net_device_id = nil, rate = nil)
2762
+ @class_id = class_id
2763
+ @net_device_id = net_device_id
2764
+ @rate = rate
2765
+ end
2766
+ end
2767
+
2768
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}install
2769
+ # eid - (any)
2770
+ # installation_package - Virtuozzo::SOAP::Drivers::Template::Install::Installation_package
2771
+ # options - Virtuozzo::SOAP::Drivers::Template::Install::Options
2772
+ class Install < Pkg_setup_cmdType
2773
+
2774
+ # inner class for member: installation_package
2775
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}installation_package
2776
+ # package - Virtuozzo::SOAP::Drivers::Template::PackageType
2777
+ # path - SOAP::SOAPBase64
2778
+ class Installation_package
2779
+ attr_accessor :package
2780
+ attr_accessor :path
2781
+
2782
+ def initialize(package = nil, path = nil)
2783
+ @package = package
2784
+ @path = path
2785
+ end
2786
+ end
2787
+
2788
+ # inner class for member: options
2789
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2790
+ # check - (any)
2791
+ # force - (any)
2792
+ # dependencies - (any)
2793
+ class Options
2794
+ attr_accessor :check
2795
+ attr_accessor :force
2796
+ attr_accessor :dependencies
2797
+
2798
+ def initialize(check = nil, force = nil, dependencies = nil)
2799
+ @check = check
2800
+ @force = force
2801
+ @dependencies = dependencies
2802
+ end
2803
+ end
2804
+
2805
+ attr_accessor :eid
2806
+ attr_accessor :installation_package
2807
+ attr_accessor :options
2808
+
2809
+ def initialize(eid = nil, installation_package = [], options = nil)
2810
+ @eid = eid
2811
+ @installation_package = installation_package
2812
+ @options = options
2813
+ end
2814
+ end
2815
+
2816
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}remove
2817
+ # eid - (any)
2818
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2819
+ # options - Virtuozzo::SOAP::Drivers::Template::Remove::Options
2820
+ class Remove < Pkg_cmdType
2821
+
2822
+ # inner class for member: options
2823
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2824
+ # check - (any)
2825
+ # force - (any)
2826
+ # dependencies - (any)
2827
+ class Options
2828
+ attr_accessor :check
2829
+ attr_accessor :force
2830
+ attr_accessor :dependencies
2831
+
2832
+ def initialize(check = nil, force = nil, dependencies = nil)
2833
+ @check = check
2834
+ @force = force
2835
+ @dependencies = dependencies
2836
+ end
2837
+ end
2838
+
2839
+ attr_accessor :eid
2840
+ attr_accessor :packages
2841
+ attr_accessor :options
2842
+
2843
+ def initialize(eid = nil, packages = nil, options = nil)
2844
+ @eid = eid
2845
+ @packages = packages
2846
+ @options = options
2847
+ end
2848
+ end
2849
+
2850
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}update
2851
+ # eid - (any)
2852
+ # installation_package - Virtuozzo::SOAP::Drivers::Template::Update::Installation_package
2853
+ # options - Virtuozzo::SOAP::Drivers::Template::Update::Options
2854
+ class Update < Pkg_setup_cmdType
2855
+
2856
+ # inner class for member: installation_package
2857
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}installation_package
2858
+ # package - Virtuozzo::SOAP::Drivers::Template::PackageType
2859
+ # path - SOAP::SOAPBase64
2860
+ class Installation_package
2861
+ attr_accessor :package
2862
+ attr_accessor :path
2863
+
2864
+ def initialize(package = nil, path = nil)
2865
+ @package = package
2866
+ @path = path
2867
+ end
2868
+ end
2869
+
2870
+ # inner class for member: options
2871
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2872
+ # check - (any)
2873
+ # force - (any)
2874
+ # dependencies - (any)
2875
+ class Options
2876
+ attr_accessor :check
2877
+ attr_accessor :force
2878
+ attr_accessor :dependencies
2879
+
2880
+ def initialize(check = nil, force = nil, dependencies = nil)
2881
+ @check = check
2882
+ @force = force
2883
+ @dependencies = dependencies
2884
+ end
2885
+ end
2886
+
2887
+ attr_accessor :eid
2888
+ attr_accessor :installation_package
2889
+ attr_accessor :options
2890
+
2891
+ def initialize(eid = nil, installation_package = [], options = nil)
2892
+ @eid = eid
2893
+ @installation_package = installation_package
2894
+ @options = options
2895
+ end
2896
+ end
2897
+
2898
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}list
2899
+ # eid - (any)
2900
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2901
+ # options - Virtuozzo::SOAP::Drivers::Template::List::Options
2902
+ class List < Pkg_cmdType
2903
+
2904
+ # inner class for member: options
2905
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2906
+ # type - SOAP::SOAPString
2907
+ # summary - (any)
2908
+ # compatible - (any)
2909
+ class Options
2910
+ attr_accessor :type
2911
+ attr_accessor :summary
2912
+ attr_accessor :compatible
2913
+
2914
+ def initialize(type = [], summary = nil, compatible = nil)
2915
+ @type = type
2916
+ @summary = summary
2917
+ @compatible = compatible
2918
+ end
2919
+ end
2920
+
2921
+ attr_accessor :eid
2922
+ attr_accessor :packages
2923
+ attr_accessor :options
2924
+
2925
+ def initialize(eid = nil, packages = nil, options = nil)
2926
+ @eid = eid
2927
+ @packages = packages
2928
+ @options = options
2929
+ end
2930
+ end
2931
+
2932
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}get_info
2933
+ # eid - (any)
2934
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2935
+ class Get_info < Pkg_cmdType
2936
+ attr_accessor :eid
2937
+ attr_accessor :packages
2938
+
2939
+ def initialize(eid = nil, packages = nil)
2940
+ @eid = eid
2941
+ @packages = packages
2942
+ end
2943
+ end
2944
+
2945
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}clean
2946
+ class Clean < ::Array
2947
+ end
2948
+
2949
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}fetch
2950
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2951
+ class Fetch
2952
+ attr_accessor :packages
2953
+
2954
+ def initialize(packages = nil)
2955
+ @packages = packages
2956
+ end
2957
+ end
2958
+
2959
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}migrate
2960
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2961
+ # src - Virtuozzo::SOAP::Drivers::Template::Connection_infoType
2962
+ # dst - Virtuozzo::SOAP::Drivers::Template::Connection_infoType
2963
+ # options - Virtuozzo::SOAP::Drivers::Template::Migrate::Options
2964
+ class Migrate
2965
+
2966
+ # inner class for member: options
2967
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2968
+ # policy - Virtuozzo::SOAP::Drivers::Template::Migrate::Options::Policy
2969
+ class Options
2970
+
2971
+ # inner class for member: policy
2972
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}policy
2973
+ # ignore_error - (any)
2974
+ class Policy
2975
+ attr_accessor :ignore_error
2976
+
2977
+ def initialize(ignore_error = nil)
2978
+ @ignore_error = ignore_error
2979
+ end
2980
+ end
2981
+
2982
+ attr_accessor :policy
2983
+
2984
+ def initialize(policy = nil)
2985
+ @policy = policy
2986
+ end
2987
+ end
2988
+
2989
+ attr_accessor :packages
2990
+ attr_accessor :src
2991
+ attr_accessor :dst
2992
+ attr_accessor :options
2993
+
2994
+ def initialize(packages = nil, src = nil, dst = nil, options = nil)
2995
+ @packages = packages
2996
+ @src = src
2997
+ @dst = dst
2998
+ @options = options
2999
+ end
3000
+ end
3001
+
3002
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}installResponse
3003
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3004
+ class InstallResponse
3005
+ attr_accessor :packages
3006
+
3007
+ def initialize(packages = nil)
3008
+ @packages = packages
3009
+ end
3010
+ end
3011
+
3012
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}removeResponse
3013
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3014
+ class RemoveResponse
3015
+ attr_accessor :packages
3016
+
3017
+ def initialize(packages = nil)
3018
+ @packages = packages
3019
+ end
3020
+ end
3021
+
3022
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}updateResponse
3023
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3024
+ class UpdateResponse
3025
+ attr_accessor :packages
3026
+
3027
+ def initialize(packages = nil)
3028
+ @packages = packages
3029
+ end
3030
+ end
3031
+
3032
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}listResponse
3033
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3034
+ class ListResponse
3035
+ attr_accessor :packages
3036
+
3037
+ def initialize(packages = nil)
3038
+ @packages = packages
3039
+ end
3040
+ end
3041
+
3042
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}get_infoResponse
3043
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3044
+ class Get_infoResponse
3045
+ attr_accessor :packages
3046
+
3047
+ def initialize(packages = nil)
3048
+ @packages = packages
3049
+ end
3050
+ end
3051
+
3052
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}cleanResponse
3053
+ class CleanResponse
3054
+ def initialize
3055
+ end
3056
+ end
3057
+
3058
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}fetchResponse
3059
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3060
+ class FetchResponse
3061
+ attr_accessor :packages
3062
+
3063
+ def initialize(packages = nil)
3064
+ @packages = packages
3065
+ end
3066
+ end
3067
+
3068
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}migrateResponse
3069
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3070
+ class MigrateResponse
3071
+ attr_accessor :packages
3072
+
3073
+ def initialize(packages = nil)
3074
+ @packages = packages
3075
+ end
3076
+ end
3077
+
3078
+
3079
+ end; end; end; end