virtuozzo 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/CHANGELOG.rdoc +86 -0
  2. data/Manifest +42 -0
  3. data/README.rdoc +52 -0
  4. data/Rakefile +20 -0
  5. data/lib/virtuozzo.rb +18 -0
  6. data/lib/virtuozzo/constants.rb +7 -0
  7. data/lib/virtuozzo/soap.rb +220 -0
  8. data/lib/virtuozzo/soap/drivers/device.rb +141 -0
  9. data/lib/virtuozzo/soap/drivers/environment.rb +301 -0
  10. data/lib/virtuozzo/soap/drivers/network.rb +101 -0
  11. data/lib/virtuozzo/soap/drivers/process.rb +69 -0
  12. data/lib/virtuozzo/soap/drivers/process_info.rb +61 -0
  13. data/lib/virtuozzo/soap/drivers/relocator.rb +101 -0
  14. data/lib/virtuozzo/soap/drivers/session.rb +149 -0
  15. data/lib/virtuozzo/soap/drivers/support.rb +109 -0
  16. data/lib/virtuozzo/soap/drivers/template.rb +117 -0
  17. data/lib/virtuozzo/soap/drivers/up2date.rb +93 -0
  18. data/lib/virtuozzo/soap/header_handler.rb +91 -0
  19. data/lib/virtuozzo/soap/mapping_registries/device.rb +3658 -0
  20. data/lib/virtuozzo/soap/mapping_registries/environment.rb +4466 -0
  21. data/lib/virtuozzo/soap/mapping_registries/network.rb +3121 -0
  22. data/lib/virtuozzo/soap/mapping_registries/process.rb +3322 -0
  23. data/lib/virtuozzo/soap/mapping_registries/process_info.rb +2990 -0
  24. data/lib/virtuozzo/soap/mapping_registries/relocator.rb +3661 -0
  25. data/lib/virtuozzo/soap/mapping_registries/session.rb +3044 -0
  26. data/lib/virtuozzo/soap/mapping_registries/support.rb +3237 -0
  27. data/lib/virtuozzo/soap/mapping_registries/template.rb +3757 -0
  28. data/lib/virtuozzo/soap/mapping_registries/up2date.rb +3317 -0
  29. data/lib/virtuozzo/soap/types/device.rb +3145 -0
  30. data/lib/virtuozzo/soap/types/environment.rb +3743 -0
  31. data/lib/virtuozzo/soap/types/network.rb +2404 -0
  32. data/lib/virtuozzo/soap/types/process.rb +2713 -0
  33. data/lib/virtuozzo/soap/types/process_info.rb +2328 -0
  34. data/lib/virtuozzo/soap/types/relocator.rb +2920 -0
  35. data/lib/virtuozzo/soap/types/session.rb +2455 -0
  36. data/lib/virtuozzo/soap/types/support.rb +2711 -0
  37. data/lib/virtuozzo/soap/types/template.rb +3086 -0
  38. data/lib/virtuozzo/soap/types/up2date.rb +2672 -0
  39. data/script/console +10 -0
  40. data/script/github-gem-test +15 -0
  41. data/tasks/yard.rake +12 -0
  42. data/virtuozzo.gemspec +37 -0
  43. metadata +154 -0
@@ -0,0 +1,3086 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo; module SOAP; module Types; 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}ip_addressType
1000
+ # ip - (any)
1001
+ # netmask - (any)
1002
+ class Ip_addressType
1003
+ attr_accessor :ip
1004
+ attr_accessor :netmask
1005
+
1006
+ def initialize(ip = nil, netmask = nil)
1007
+ @ip = ip
1008
+ @netmask = netmask
1009
+ end
1010
+ end
1011
+
1012
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
1013
+ # address - Virtuozzo::SOAP::Drivers::Template::System_nodeType::Address
1014
+ # login - Virtuozzo::SOAP::Drivers::Template::System_nodeType::Login
1015
+ class System_nodeType
1016
+
1017
+ # inner class for member: address
1018
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
1019
+ # ip - (any)
1020
+ class Address < Ip_addressType
1021
+ attr_accessor :ip
1022
+
1023
+ def initialize(ip = nil)
1024
+ @ip = ip
1025
+ end
1026
+ end
1027
+
1028
+ # inner class for member: login
1029
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
1030
+ # user - SOAP::SOAPString
1031
+ # password - SOAP::SOAPBase64
1032
+ class Login
1033
+ attr_accessor :user
1034
+ attr_accessor :password
1035
+
1036
+ def initialize(user = nil, password = nil)
1037
+ @user = user
1038
+ @password = password
1039
+ end
1040
+ end
1041
+
1042
+ attr_accessor :address
1043
+ attr_accessor :login
1044
+
1045
+ def initialize(address = nil, login = nil)
1046
+ @address = address
1047
+ @login = login
1048
+ end
1049
+ end
1050
+
1051
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
1052
+ # total - SOAP::SOAPLong
1053
+ # used - SOAP::SOAPLong
1054
+ # free - SOAP::SOAPLong
1055
+ # avg - SOAP::SOAPLong
1056
+ # min - SOAP::SOAPLong
1057
+ # max - SOAP::SOAPLong
1058
+ class ResourceType
1059
+ attr_accessor :total
1060
+ attr_accessor :used
1061
+ attr_accessor :free
1062
+ attr_accessor :avg
1063
+ attr_accessor :min
1064
+ attr_accessor :max
1065
+
1066
+ def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
1067
+ @total = total
1068
+ @used = used
1069
+ @free = free
1070
+ @avg = avg
1071
+ @min = min
1072
+ @max = max
1073
+ end
1074
+ end
1075
+
1076
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
1077
+ # start_time - (any)
1078
+ # end_time - (any)
1079
+ class IntervalType
1080
+ attr_accessor :start_time
1081
+ attr_accessor :end_time
1082
+
1083
+ def initialize(start_time = nil, end_time = nil)
1084
+ @start_time = start_time
1085
+ @end_time = end_time
1086
+ end
1087
+ end
1088
+
1089
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
1090
+ # avg - SOAP::SOAPLong
1091
+ # min - SOAP::SOAPLong
1092
+ # max - SOAP::SOAPLong
1093
+ # total - SOAP::SOAPLong
1094
+ # cur - SOAP::SOAPLong
1095
+ # soft - SOAP::SOAPLong
1096
+ # hard - SOAP::SOAPLong
1097
+ class StatsType
1098
+ attr_accessor :avg
1099
+ attr_accessor :min
1100
+ attr_accessor :max
1101
+ attr_accessor :total
1102
+ attr_accessor :cur
1103
+ attr_accessor :soft
1104
+ attr_accessor :hard
1105
+
1106
+ def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
1107
+ @avg = avg
1108
+ @min = min
1109
+ @max = max
1110
+ @total = total
1111
+ @cur = cur
1112
+ @soft = soft
1113
+ @hard = hard
1114
+ end
1115
+ end
1116
+
1117
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
1118
+ # host - (any)
1119
+ # mask - (any)
1120
+ class Net_addressType
1121
+ attr_accessor :host
1122
+ attr_accessor :mask
1123
+
1124
+ def initialize(host = nil, mask = nil)
1125
+ @host = host
1126
+ @mask = mask
1127
+ end
1128
+ end
1129
+
1130
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
1131
+ # id - SOAP::SOAPString
1132
+ # transfer - Virtuozzo::SOAP::Drivers::Template::TransferType
1133
+ class Net_classType
1134
+ attr_accessor :id
1135
+ attr_accessor :transfer
1136
+
1137
+ def initialize(id = nil, transfer = nil)
1138
+ @id = id
1139
+ @transfer = transfer
1140
+ end
1141
+ end
1142
+
1143
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
1144
+ # id - SOAP::SOAPString
1145
+ # start_ip - (any)
1146
+ # subnet_mask - SOAP::SOAPInt
1147
+ # comment - SOAP::SOAPString
1148
+ class Ip_rangeType
1149
+ attr_accessor :id
1150
+ attr_accessor :start_ip
1151
+ attr_accessor :subnet_mask
1152
+ attr_accessor :comment
1153
+
1154
+ def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
1155
+ @id = id
1156
+ @start_ip = start_ip
1157
+ @subnet_mask = subnet_mask
1158
+ @comment = comment
1159
+ end
1160
+ end
1161
+
1162
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
1163
+ # env_config - Virtuozzo::SOAP::Drivers::Template::Env_configType
1164
+ # id - SOAP::SOAPString
1165
+ # name - SOAP::SOAPString
1166
+ # comment - SOAP::SOAPBase64
1167
+ # vt_version - Virtuozzo::SOAP::Drivers::Template::Sample_confType::Vt_version
1168
+ class Sample_confType
1169
+
1170
+ # inner class for member: vt_version
1171
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
1172
+ # platform - SOAP::SOAPString
1173
+ # architecture - SOAP::SOAPString
1174
+ # vt_technology - SOAP::SOAPString
1175
+ class Vt_version
1176
+ attr_accessor :platform
1177
+ attr_accessor :architecture
1178
+ attr_accessor :vt_technology
1179
+
1180
+ def initialize(platform = nil, architecture = nil, vt_technology = nil)
1181
+ @platform = platform
1182
+ @architecture = architecture
1183
+ @vt_technology = vt_technology
1184
+ end
1185
+ end
1186
+
1187
+ attr_accessor :env_config
1188
+ attr_accessor :id
1189
+ attr_accessor :name
1190
+ attr_accessor :comment
1191
+ attr_accessor :vt_version
1192
+
1193
+ def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
1194
+ @env_config = env_config
1195
+ @id = id
1196
+ @name = name
1197
+ @comment = comment
1198
+ @vt_version = vt_version
1199
+ end
1200
+ end
1201
+
1202
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
1203
+ # name - SOAP::SOAPString
1204
+ # bandwidth - SOAP::SOAPInt
1205
+ # transfer - Virtuozzo::SOAP::Drivers::Template::TransferType
1206
+ # ipaddress - (any)
1207
+ # flags - SOAP::SOAPInt
1208
+ class InterfaceType
1209
+ attr_accessor :name
1210
+ attr_accessor :bandwidth
1211
+ attr_accessor :transfer
1212
+ attr_accessor :ipaddress
1213
+ attr_accessor :flags
1214
+
1215
+ def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
1216
+ @name = name
1217
+ @bandwidth = bandwidth
1218
+ @transfer = transfer
1219
+ @ipaddress = ipaddress
1220
+ @flags = flags
1221
+ end
1222
+ end
1223
+
1224
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
1225
+ # load_avg - Virtuozzo::SOAP::Drivers::Template::Load_avgType
1226
+ # processes - Virtuozzo::SOAP::Drivers::Template::ProcessesType
1227
+ # cpu_load - Virtuozzo::SOAP::Drivers::Template::Cpu_loadType
1228
+ # cpu_states - Virtuozzo::SOAP::Drivers::Template::Cpu_loadType
1229
+ # users - SOAP::SOAPInt
1230
+ # uptime - SOAP::SOAPLong
1231
+ # memory - Virtuozzo::SOAP::Drivers::Template::Sys_infoType::Memory
1232
+ # swap - Virtuozzo::SOAP::Drivers::Template::Sys_infoType::Swap
1233
+ class Sys_infoType
1234
+
1235
+ # inner class for member: memory
1236
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
1237
+ # total - SOAP::SOAPLong
1238
+ # used - SOAP::SOAPLong
1239
+ class Memory < ResourceType
1240
+ attr_accessor :total
1241
+ attr_accessor :used
1242
+
1243
+ def initialize(total = nil, used = nil)
1244
+ @total = total
1245
+ @used = used
1246
+ end
1247
+ end
1248
+
1249
+ # inner class for member: swap
1250
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
1251
+ # total - SOAP::SOAPLong
1252
+ # used - SOAP::SOAPLong
1253
+ class Swap < ResourceType
1254
+ attr_accessor :total
1255
+ attr_accessor :used
1256
+
1257
+ def initialize(total = nil, used = nil)
1258
+ @total = total
1259
+ @used = used
1260
+ end
1261
+ end
1262
+
1263
+ attr_accessor :load_avg
1264
+ attr_accessor :processes
1265
+ attr_accessor :cpu_load
1266
+ attr_accessor :cpu_states
1267
+ attr_accessor :users
1268
+ attr_accessor :uptime
1269
+ attr_accessor :memory
1270
+ attr_accessor :swap
1271
+
1272
+ def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
1273
+ @load_avg = load_avg
1274
+ @processes = processes
1275
+ @cpu_load = cpu_load
1276
+ @cpu_states = cpu_states
1277
+ @users = users
1278
+ @uptime = uptime
1279
+ @memory = memory
1280
+ @swap = swap
1281
+ end
1282
+ end
1283
+
1284
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
1285
+ # process - Virtuozzo::SOAP::Drivers::Template::Ps_infoType::C_Process
1286
+ # param_id - SOAP::SOAPString
1287
+ # run - SOAP::SOAPInt
1288
+ # idle - SOAP::SOAPInt
1289
+ # zombie - SOAP::SOAPInt
1290
+ # sleep - SOAP::SOAPInt
1291
+ # uninterrupt - SOAP::SOAPInt
1292
+ # stopped - SOAP::SOAPInt
1293
+ # total - SOAP::SOAPInt
1294
+ class Ps_infoType
1295
+
1296
+ # inner class for member: process
1297
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
1298
+ # pid - SOAP::SOAPInt
1299
+ # param - SOAP::SOAPBase64
1300
+ class C_Process
1301
+ attr_accessor :pid
1302
+ attr_accessor :param
1303
+
1304
+ def initialize(pid = nil, param = [])
1305
+ @pid = pid
1306
+ @param = param
1307
+ end
1308
+ end
1309
+
1310
+ attr_accessor :process
1311
+ attr_accessor :param_id
1312
+ attr_accessor :run
1313
+ attr_accessor :idle
1314
+ attr_accessor :zombie
1315
+ attr_accessor :sleep
1316
+ attr_accessor :uninterrupt
1317
+ attr_accessor :stopped
1318
+ attr_accessor :total
1319
+
1320
+ def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
1321
+ @process = process
1322
+ @param_id = param_id
1323
+ @run = run
1324
+ @idle = idle
1325
+ @zombie = zombie
1326
+ @sleep = sleep
1327
+ @uninterrupt = uninterrupt
1328
+ @stopped = stopped
1329
+ @total = total
1330
+ end
1331
+ end
1332
+
1333
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
1334
+ # l1 - Virtuozzo::SOAP::Drivers::Template::Load_avg_statsType::L1
1335
+ # l2 - Virtuozzo::SOAP::Drivers::Template::Load_avg_statsType::L2
1336
+ # l3 - Virtuozzo::SOAP::Drivers::Template::Load_avg_statsType::L3
1337
+ class Load_avg_statsType
1338
+
1339
+ # inner class for member: l1
1340
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
1341
+ # avg - SOAP::SOAPLong
1342
+ # min - SOAP::SOAPLong
1343
+ # max - SOAP::SOAPLong
1344
+ # cur - SOAP::SOAPLong
1345
+ class L1 < StatsType
1346
+ attr_accessor :avg
1347
+ attr_accessor :min
1348
+ attr_accessor :max
1349
+ attr_accessor :cur
1350
+
1351
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1352
+ @avg = avg
1353
+ @min = min
1354
+ @max = max
1355
+ @cur = cur
1356
+ end
1357
+ end
1358
+
1359
+ # inner class for member: l2
1360
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
1361
+ # avg - SOAP::SOAPLong
1362
+ # min - SOAP::SOAPLong
1363
+ # max - SOAP::SOAPLong
1364
+ # cur - SOAP::SOAPLong
1365
+ class L2 < StatsType
1366
+ attr_accessor :avg
1367
+ attr_accessor :min
1368
+ attr_accessor :max
1369
+ attr_accessor :cur
1370
+
1371
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1372
+ @avg = avg
1373
+ @min = min
1374
+ @max = max
1375
+ @cur = cur
1376
+ end
1377
+ end
1378
+
1379
+ # inner class for member: l3
1380
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
1381
+ # avg - SOAP::SOAPLong
1382
+ # min - SOAP::SOAPLong
1383
+ # max - SOAP::SOAPLong
1384
+ # cur - SOAP::SOAPLong
1385
+ class L3 < StatsType
1386
+ attr_accessor :avg
1387
+ attr_accessor :min
1388
+ attr_accessor :max
1389
+ attr_accessor :cur
1390
+
1391
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1392
+ @avg = avg
1393
+ @min = min
1394
+ @max = max
1395
+ @cur = cur
1396
+ end
1397
+ end
1398
+
1399
+ attr_accessor :l1
1400
+ attr_accessor :l2
1401
+ attr_accessor :l3
1402
+
1403
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
1404
+ @l1 = l1
1405
+ @l2 = l2
1406
+ @l3 = l3
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}groupType
1704
+ # user - Virtuozzo::SOAP::Drivers::Template::GroupType::User
1705
+ # member_group - Virtuozzo::SOAP::Drivers::Template::GroupType::Member_group
1706
+ # name - SOAP::SOAPString
1707
+ # gid - SOAP::SOAPInt
1708
+ class GroupType
1709
+ attr_accessor :user
1710
+ attr_accessor :member_group
1711
+ attr_accessor :name
1712
+ attr_accessor :gid
1713
+
1714
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1715
+ @user = user
1716
+ @member_group = member_group
1717
+ @name = name
1718
+ @gid = gid
1719
+ end
1720
+ end
1721
+
1722
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
1723
+ # initial_group - Virtuozzo::SOAP::Drivers::Template::UserType::Initial_group
1724
+ # group - Virtuozzo::SOAP::Drivers::Template::UserType::Group
1725
+ # uid - SOAP::SOAPInt
1726
+ # shell - SOAP::SOAPString
1727
+ # password - SOAP::SOAPBase64
1728
+ # home_dir - SOAP::SOAPString
1729
+ # name - SOAP::SOAPString
1730
+ # comment - SOAP::SOAPString
1731
+ class UserType
1732
+
1733
+ # inner class for member: initial_group
1734
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
1735
+ # name - SOAP::SOAPString
1736
+ # gid - SOAP::SOAPInt
1737
+ class Initial_group < GroupType
1738
+ attr_accessor :name
1739
+ attr_accessor :gid
1740
+
1741
+ def initialize(name = nil, gid = nil)
1742
+ @name = name
1743
+ @gid = gid
1744
+ end
1745
+ end
1746
+
1747
+ # inner class for member: group
1748
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
1749
+ # name - SOAP::SOAPString
1750
+ # gid - SOAP::SOAPInt
1751
+ class Group < GroupType
1752
+ attr_accessor :name
1753
+ attr_accessor :gid
1754
+
1755
+ def initialize(name = nil, gid = nil)
1756
+ @name = name
1757
+ @gid = gid
1758
+ end
1759
+ end
1760
+
1761
+ attr_accessor :initial_group
1762
+ attr_accessor :group
1763
+ attr_accessor :uid
1764
+ attr_accessor :shell
1765
+ attr_accessor :password
1766
+ attr_accessor :home_dir
1767
+ attr_accessor :name
1768
+ attr_accessor :comment
1769
+
1770
+ def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
1771
+ @initial_group = initial_group
1772
+ @group = group
1773
+ @uid = uid
1774
+ @shell = shell
1775
+ @password = password
1776
+ @home_dir = home_dir
1777
+ @name = name
1778
+ @comment = comment
1779
+ end
1780
+ end
1781
+
1782
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1783
+ # user - Virtuozzo::SOAP::Drivers::Template::GroupType::User
1784
+ # member_group - Virtuozzo::SOAP::Drivers::Template::GroupType::Member_group
1785
+ # name - SOAP::SOAPString
1786
+ # gid - SOAP::SOAPInt
1787
+ class GroupType
1788
+
1789
+ # inner class for member: user
1790
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
1791
+ # name - SOAP::SOAPString
1792
+ class User < UserType
1793
+ attr_accessor :name
1794
+
1795
+ def initialize(name = nil)
1796
+ @name = name
1797
+ end
1798
+ end
1799
+
1800
+ # inner class for member: member_group
1801
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
1802
+ # name - SOAP::SOAPString
1803
+ class Member_group < GroupType
1804
+ attr_accessor :name
1805
+
1806
+ def initialize(name = nil)
1807
+ @name = name
1808
+ end
1809
+ end
1810
+ end
1811
+
1812
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
1813
+ # name - SOAP::SOAPString
1814
+ # summary - SOAP::SOAPString
1815
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1816
+ # description - SOAP::SOAPString
1817
+ # arch - SOAP::SOAPString
1818
+ # version - SOAP::SOAPString
1819
+ class PackageType
1820
+ attr_accessor :name
1821
+ attr_accessor :summary
1822
+ attr_accessor :os
1823
+ attr_accessor :description
1824
+ attr_accessor :arch
1825
+ attr_accessor :version
1826
+
1827
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
1828
+ @name = name
1829
+ @summary = summary
1830
+ @os = os
1831
+ @description = description
1832
+ @arch = arch
1833
+ @version = version
1834
+ end
1835
+ end
1836
+
1837
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}package_vztemplateType
1838
+ # name - SOAP::SOAPString
1839
+ # summary - SOAP::SOAPString
1840
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1841
+ # description - SOAP::SOAPString
1842
+ # arch - SOAP::SOAPString
1843
+ # version - SOAP::SOAPString
1844
+ # technology - SOAP::SOAPString
1845
+ # os_template - SOAP::SOAPBoolean
1846
+ # cached - SOAP::SOAPBoolean
1847
+ # path - SOAP::SOAPBase64
1848
+ # uptodate - SOAP::SOAPBoolean
1849
+ class Package_vztemplateType < PackageType
1850
+ attr_accessor :name
1851
+ attr_accessor :summary
1852
+ attr_accessor :os
1853
+ attr_accessor :description
1854
+ attr_accessor :arch
1855
+ attr_accessor :version
1856
+ attr_accessor :technology
1857
+ attr_accessor :os_template
1858
+ attr_accessor :cached
1859
+ attr_accessor :path
1860
+ attr_accessor :uptodate
1861
+
1862
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, technology = [], os_template = nil, cached = nil, path = nil, uptodate = nil)
1863
+ @name = name
1864
+ @summary = summary
1865
+ @os = os
1866
+ @description = description
1867
+ @arch = arch
1868
+ @version = version
1869
+ @technology = technology
1870
+ @os_template = os_template
1871
+ @cached = cached
1872
+ @path = path
1873
+ @uptodate = uptodate
1874
+ end
1875
+ end
1876
+
1877
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}package_std_vztemplateType
1878
+ # name - SOAP::SOAPString
1879
+ # summary - SOAP::SOAPString
1880
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1881
+ # description - SOAP::SOAPString
1882
+ # arch - SOAP::SOAPString
1883
+ # version - SOAP::SOAPString
1884
+ # technology - SOAP::SOAPString
1885
+ # os_template - SOAP::SOAPBoolean
1886
+ # cached - SOAP::SOAPBoolean
1887
+ # path - SOAP::SOAPBase64
1888
+ # uptodate - SOAP::SOAPBoolean
1889
+ # base - SOAP::SOAPBoolean
1890
+ class Package_std_vztemplateType < Package_vztemplateType
1891
+ attr_accessor :name
1892
+ attr_accessor :summary
1893
+ attr_accessor :os
1894
+ attr_accessor :description
1895
+ attr_accessor :arch
1896
+ attr_accessor :version
1897
+ attr_accessor :technology
1898
+ attr_accessor :os_template
1899
+ attr_accessor :cached
1900
+ attr_accessor :path
1901
+ attr_accessor :uptodate
1902
+ attr_accessor :base
1903
+
1904
+ 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)
1905
+ @name = name
1906
+ @summary = summary
1907
+ @os = os
1908
+ @description = description
1909
+ @arch = arch
1910
+ @version = version
1911
+ @technology = technology
1912
+ @os_template = os_template
1913
+ @cached = cached
1914
+ @path = path
1915
+ @uptodate = uptodate
1916
+ @base = base
1917
+ end
1918
+ end
1919
+
1920
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}package_linuxType
1921
+ # name - SOAP::SOAPString
1922
+ # summary - SOAP::SOAPString
1923
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1924
+ # description - SOAP::SOAPString
1925
+ # arch - SOAP::SOAPString
1926
+ # version - SOAP::SOAPString
1927
+ # path - SOAP::SOAPBase64
1928
+ class Package_linuxType < PackageType
1929
+ attr_accessor :name
1930
+ attr_accessor :summary
1931
+ attr_accessor :os
1932
+ attr_accessor :description
1933
+ attr_accessor :arch
1934
+ attr_accessor :version
1935
+ attr_accessor :path
1936
+
1937
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, path = nil)
1938
+ @name = name
1939
+ @summary = summary
1940
+ @os = os
1941
+ @description = description
1942
+ @arch = arch
1943
+ @version = version
1944
+ @path = path
1945
+ end
1946
+ end
1947
+
1948
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}package_rpmType
1949
+ # name - SOAP::SOAPString
1950
+ # summary - SOAP::SOAPString
1951
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1952
+ # description - SOAP::SOAPString
1953
+ # arch - SOAP::SOAPString
1954
+ # version - SOAP::SOAPString
1955
+ # path - SOAP::SOAPBase64
1956
+ class Package_rpmType < Package_linuxType
1957
+ attr_accessor :name
1958
+ attr_accessor :summary
1959
+ attr_accessor :os
1960
+ attr_accessor :description
1961
+ attr_accessor :arch
1962
+ attr_accessor :version
1963
+ attr_accessor :path
1964
+
1965
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, path = nil)
1966
+ @name = name
1967
+ @summary = summary
1968
+ @os = os
1969
+ @description = description
1970
+ @arch = arch
1971
+ @version = version
1972
+ @path = path
1973
+ end
1974
+ end
1975
+
1976
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}package_debType
1977
+ # name - SOAP::SOAPString
1978
+ # summary - SOAP::SOAPString
1979
+ # os - Virtuozzo::SOAP::Drivers::Template::OsType
1980
+ # description - SOAP::SOAPString
1981
+ # arch - SOAP::SOAPString
1982
+ # version - SOAP::SOAPString
1983
+ # path - SOAP::SOAPBase64
1984
+ class Package_debType < Package_linuxType
1985
+ attr_accessor :name
1986
+ attr_accessor :summary
1987
+ attr_accessor :os
1988
+ attr_accessor :description
1989
+ attr_accessor :arch
1990
+ attr_accessor :version
1991
+ attr_accessor :path
1992
+
1993
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, path = nil)
1994
+ @name = name
1995
+ @summary = summary
1996
+ @os = os
1997
+ @description = description
1998
+ @arch = arch
1999
+ @version = version
2000
+ @path = path
2001
+ end
2002
+ end
2003
+
2004
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
2005
+ class Event_dataType
2006
+ def initialize
2007
+ end
2008
+ end
2009
+
2010
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
2011
+ # type - SOAP::SOAPInt
2012
+ class Alert_dataType < Event_dataType
2013
+ attr_accessor :type
2014
+
2015
+ def initialize(type = nil)
2016
+ @type = type
2017
+ end
2018
+ end
2019
+
2020
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
2021
+ # name - SOAP::SOAPString
2022
+ # value - SOAP::SOAPBase64
2023
+ class Named_listType
2024
+ attr_accessor :name
2025
+ attr_accessor :value
2026
+
2027
+ def initialize(name = nil, value = [])
2028
+ @name = name
2029
+ @value = value
2030
+ end
2031
+ end
2032
+
2033
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
2034
+ # name - SOAP::SOAPString
2035
+ # value - SOAP::SOAPBase64
2036
+ # op - SOAP::SOAPInt
2037
+ class ModType < Named_listType
2038
+ attr_accessor :name
2039
+ attr_accessor :value
2040
+ attr_accessor :op
2041
+
2042
+ def initialize(name = nil, value = [], op = nil)
2043
+ @name = name
2044
+ @value = value
2045
+ @op = op
2046
+ end
2047
+ end
2048
+
2049
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
2050
+ # id - (any)
2051
+ # type - SOAP::SOAPInt
2052
+ # name - SOAP::SOAPString
2053
+ # builtin - (any)
2054
+ class RealmType
2055
+ attr_accessor :id
2056
+ attr_accessor :type
2057
+ attr_accessor :name
2058
+ attr_accessor :builtin
2059
+
2060
+ def initialize(id = nil, type = nil, name = nil, builtin = nil)
2061
+ @id = id
2062
+ @type = type
2063
+ @name = name
2064
+ @builtin = builtin
2065
+ end
2066
+ end
2067
+
2068
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
2069
+ # eid - (any)
2070
+ # time - (any)
2071
+ # source - SOAP::SOAPString
2072
+ # category - SOAP::SOAPString
2073
+ # sid - (any)
2074
+ # count - SOAP::SOAPInt
2075
+ # id - (any)
2076
+ # info - Virtuozzo::SOAP::Drivers::Template::InfoType
2077
+ # data - Virtuozzo::SOAP::Drivers::Template::EventType::C_Data
2078
+ class EventType
2079
+
2080
+ # inner class for member: data
2081
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
2082
+ # event_data - Virtuozzo::SOAP::Drivers::Template::Event_dataType
2083
+ class C_Data
2084
+ attr_accessor :event_data
2085
+
2086
+ def initialize(event_data = nil)
2087
+ @event_data = event_data
2088
+ end
2089
+ end
2090
+
2091
+ attr_accessor :eid
2092
+ attr_accessor :time
2093
+ attr_accessor :source
2094
+ attr_accessor :category
2095
+ attr_accessor :sid
2096
+ attr_accessor :count
2097
+ attr_accessor :id
2098
+ attr_accessor :info
2099
+ attr_accessor :data
2100
+
2101
+ def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
2102
+ @eid = eid
2103
+ @time = time
2104
+ @source = source
2105
+ @category = category
2106
+ @sid = sid
2107
+ @count = count
2108
+ @id = id
2109
+ @info = info
2110
+ @data = data
2111
+ end
2112
+ end
2113
+
2114
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
2115
+ # message - SOAP::SOAPBase64
2116
+ # translate - (any)
2117
+ # parameter - Virtuozzo::SOAP::Drivers::Template::InfoType
2118
+ # name - SOAP::SOAPString
2119
+ class InfoType
2120
+ attr_accessor :message
2121
+ attr_accessor :translate
2122
+ attr_accessor :parameter
2123
+ attr_accessor :name
2124
+
2125
+ def initialize(message = nil, translate = nil, parameter = [], name = nil)
2126
+ @message = message
2127
+ @translate = translate
2128
+ @parameter = parameter
2129
+ @name = name
2130
+ end
2131
+ end
2132
+
2133
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
2134
+ # type - SOAP::SOAPInt
2135
+ # sid - (any)
2136
+ # rights - SOAP::SOAPBase64
2137
+ class AceType
2138
+ attr_accessor :type
2139
+ attr_accessor :sid
2140
+ attr_accessor :rights
2141
+
2142
+ def initialize(type = nil, sid = nil, rights = nil)
2143
+ @type = type
2144
+ @sid = sid
2145
+ @rights = rights
2146
+ end
2147
+ end
2148
+
2149
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
2150
+ # owner - (any)
2151
+ # group - (any)
2152
+ # dacl - Virtuozzo::SOAP::Drivers::Template::Security_descriptorType::Dacl
2153
+ class Security_descriptorType
2154
+
2155
+ # inner class for member: dacl
2156
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
2157
+ class Dacl < ::Array
2158
+ end
2159
+
2160
+ attr_accessor :owner
2161
+ attr_accessor :group
2162
+ attr_accessor :dacl
2163
+
2164
+ def initialize(owner = nil, group = nil, dacl = nil)
2165
+ @owner = owner
2166
+ @group = group
2167
+ @dacl = dacl
2168
+ end
2169
+ end
2170
+
2171
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
2172
+ # abstract
2173
+ class Security_objectType
2174
+ def initialize
2175
+ end
2176
+ end
2177
+
2178
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
2179
+ # eid - (any)
2180
+ class Env_security_objectType < Security_objectType
2181
+ attr_accessor :eid
2182
+
2183
+ def initialize(eid = nil)
2184
+ @eid = eid
2185
+ end
2186
+ end
2187
+
2188
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}env_security_objectType
2189
+ # eid - (any)
2190
+ class Env_security_objectType_ < Env_security_objectType
2191
+ attr_accessor :eid
2192
+
2193
+ def initialize(eid = nil)
2194
+ @eid = eid
2195
+ end
2196
+ end
2197
+
2198
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
2199
+ # id - SOAP::SOAPString
2200
+ # ip_address - Virtuozzo::SOAP::Drivers::Template::Ip_addressType
2201
+ # dhcp - (any)
2202
+ # network_id - SOAP::SOAPBase64
2203
+ # status - Virtuozzo::SOAP::Drivers::Template::Net_deviceType::Status
2204
+ class Net_deviceType
2205
+
2206
+ # inner class for member: status
2207
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2208
+ # up - (any)
2209
+ # down - (any)
2210
+ class Status
2211
+ attr_accessor :up
2212
+ attr_accessor :down
2213
+
2214
+ def initialize(up = nil, down = nil)
2215
+ @up = up
2216
+ @down = down
2217
+ end
2218
+ end
2219
+
2220
+ attr_accessor :id
2221
+ attr_accessor :ip_address
2222
+ attr_accessor :dhcp
2223
+ attr_accessor :network_id
2224
+ attr_accessor :status
2225
+
2226
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
2227
+ @id = id
2228
+ @ip_address = ip_address
2229
+ @dhcp = dhcp
2230
+ @network_id = network_id
2231
+ @status = status
2232
+ end
2233
+ end
2234
+
2235
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
2236
+ # id - SOAP::SOAPString
2237
+ # ip_address - Virtuozzo::SOAP::Drivers::Template::Ip_addressType
2238
+ # dhcp - (any)
2239
+ # network_id - SOAP::SOAPBase64
2240
+ # status - Virtuozzo::SOAP::Drivers::Template::Net_nicType::Status
2241
+ # mac_address - SOAP::SOAPString
2242
+ class Net_nicType < Net_deviceType
2243
+
2244
+ # inner class for member: status
2245
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2246
+ # up - (any)
2247
+ # down - (any)
2248
+ class Status
2249
+ attr_accessor :up
2250
+ attr_accessor :down
2251
+
2252
+ def initialize(up = nil, down = nil)
2253
+ @up = up
2254
+ @down = down
2255
+ end
2256
+ end
2257
+
2258
+ attr_accessor :id
2259
+ attr_accessor :ip_address
2260
+ attr_accessor :dhcp
2261
+ attr_accessor :network_id
2262
+ attr_accessor :status
2263
+ attr_accessor :mac_address
2264
+
2265
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
2266
+ @id = id
2267
+ @ip_address = ip_address
2268
+ @dhcp = dhcp
2269
+ @network_id = network_id
2270
+ @status = status
2271
+ @mac_address = mac_address
2272
+ end
2273
+ end
2274
+
2275
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}net_vethType
2276
+ # id - SOAP::SOAPString
2277
+ # ip_address - Virtuozzo::SOAP::Drivers::Template::Ip_addressType
2278
+ # dhcp - (any)
2279
+ # network_id - SOAP::SOAPBase64
2280
+ # status - Virtuozzo::SOAP::Drivers::Template::Net_vethType::Status
2281
+ # mac_address - SOAP::SOAPString
2282
+ # wins_server - SOAP::SOAPString
2283
+ # nameserver - SOAP::SOAPString
2284
+ # default_gateway - SOAP::SOAPString
2285
+ # host_routed - (any)
2286
+ class Net_vethType < Net_nicType
2287
+
2288
+ # inner class for member: status
2289
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2290
+ # up - (any)
2291
+ # down - (any)
2292
+ class Status
2293
+ attr_accessor :up
2294
+ attr_accessor :down
2295
+
2296
+ def initialize(up = nil, down = nil)
2297
+ @up = up
2298
+ @down = down
2299
+ end
2300
+ end
2301
+
2302
+ attr_accessor :id
2303
+ attr_accessor :ip_address
2304
+ attr_accessor :dhcp
2305
+ attr_accessor :network_id
2306
+ attr_accessor :status
2307
+ attr_accessor :mac_address
2308
+ attr_accessor :wins_server
2309
+ attr_accessor :nameserver
2310
+ attr_accessor :default_gateway
2311
+ attr_accessor :host_routed
2312
+
2313
+ 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)
2314
+ @id = id
2315
+ @ip_address = ip_address
2316
+ @dhcp = dhcp
2317
+ @network_id = network_id
2318
+ @status = status
2319
+ @mac_address = mac_address
2320
+ @wins_server = wins_server
2321
+ @nameserver = nameserver
2322
+ @default_gateway = default_gateway
2323
+ @host_routed = host_routed
2324
+ end
2325
+ end
2326
+
2327
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
2328
+ # id - SOAP::SOAPString
2329
+ # type - SOAP::SOAPString
2330
+ # min - SOAP::SOAPString
2331
+ # max - SOAP::SOAPString
2332
+ # long - SOAP::SOAPString
2333
+ # short - SOAP::SOAPString
2334
+ # category - SOAP::SOAPString
2335
+ # complex - SOAP::SOAPString
2336
+ # default - SOAP::SOAPString
2337
+ # measure - SOAP::SOAPString
2338
+ # data - (any)
2339
+ # name - (any)
2340
+ class Voc_parameterType
2341
+ attr_accessor :id
2342
+ attr_accessor :type
2343
+ attr_accessor :min
2344
+ attr_accessor :max
2345
+ attr_accessor :long
2346
+ attr_accessor :short
2347
+ attr_accessor :category
2348
+ attr_accessor :complex
2349
+ attr_accessor :default
2350
+ attr_accessor :measure
2351
+ attr_accessor :data
2352
+ attr_accessor :name
2353
+
2354
+ 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)
2355
+ @id = id
2356
+ @type = type
2357
+ @min = min
2358
+ @max = max
2359
+ @long = long
2360
+ @short = short
2361
+ @category = category
2362
+ @complex = complex
2363
+ @default = default
2364
+ @measure = measure
2365
+ @data = data
2366
+ @name = name
2367
+ end
2368
+ end
2369
+
2370
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
2371
+ # name - SOAP::SOAPString
2372
+ # parameter - Virtuozzo::SOAP::Drivers::Template::Voc_parameterType
2373
+ # category - Virtuozzo::SOAP::Drivers::Template::Voc_parameterType
2374
+ class VocabularyType
2375
+ attr_accessor :name
2376
+ attr_accessor :parameter
2377
+ attr_accessor :category
2378
+
2379
+ def initialize(name = nil, parameter = [], category = [])
2380
+ @name = name
2381
+ @parameter = parameter
2382
+ @category = category
2383
+ end
2384
+ end
2385
+
2386
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
2387
+ # cur - SOAP::SOAPAnySimpleType
2388
+ # avg - SOAP::SOAPAnySimpleType
2389
+ # max - SOAP::SOAPAnySimpleType
2390
+ # min - SOAP::SOAPAnySimpleType
2391
+ class Perf_statType
2392
+ attr_accessor :cur
2393
+ attr_accessor :avg
2394
+ attr_accessor :max
2395
+ attr_accessor :min
2396
+
2397
+ def initialize(cur = nil, avg = nil, max = nil, min = nil)
2398
+ @cur = cur
2399
+ @avg = avg
2400
+ @max = max
2401
+ @min = min
2402
+ end
2403
+ end
2404
+
2405
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
2406
+ # eid - (any)
2407
+ # m_class - Virtuozzo::SOAP::Drivers::Template::Perf_dataType::C_Class
2408
+ # interval - Virtuozzo::SOAP::Drivers::Template::IntervalType
2409
+ class Perf_dataType
2410
+
2411
+ # inner class for member: class
2412
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
2413
+ # name - SOAP::SOAPString
2414
+ # instance - Virtuozzo::SOAP::Drivers::Template::Perf_dataType::C_Class::Instance
2415
+ class C_Class
2416
+
2417
+ # inner class for member: instance
2418
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
2419
+ # name - SOAP::SOAPString
2420
+ # counter - Virtuozzo::SOAP::Drivers::Template::Perf_dataType::C_Class::Instance::Counter
2421
+ class Instance
2422
+
2423
+ # inner class for member: counter
2424
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
2425
+ # name - SOAP::SOAPString
2426
+ # value - Virtuozzo::SOAP::Drivers::Template::Perf_statType
2427
+ class Counter
2428
+ attr_accessor :name
2429
+ attr_accessor :value
2430
+
2431
+ def initialize(name = nil, value = nil)
2432
+ @name = name
2433
+ @value = value
2434
+ end
2435
+ end
2436
+
2437
+ attr_accessor :name
2438
+ attr_accessor :counter
2439
+
2440
+ def initialize(name = nil, counter = [])
2441
+ @name = name
2442
+ @counter = counter
2443
+ end
2444
+ end
2445
+
2446
+ attr_accessor :name
2447
+ attr_accessor :instance
2448
+
2449
+ def initialize(name = nil, instance = [])
2450
+ @name = name
2451
+ @instance = instance
2452
+ end
2453
+ end
2454
+
2455
+ attr_accessor :eid
2456
+ attr_accessor :interval
2457
+
2458
+ def m_class
2459
+ @v_class
2460
+ end
2461
+
2462
+ def m_class=(value)
2463
+ @v_class = value
2464
+ end
2465
+
2466
+ def initialize(eid = nil, v_class = [], interval = nil)
2467
+ @eid = eid
2468
+ @v_class = v_class
2469
+ @interval = interval
2470
+ end
2471
+ end
2472
+
2473
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
2474
+ class Log_options_baseType
2475
+ def initialize
2476
+ end
2477
+ end
2478
+
2479
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
2480
+ class Log_optionsType < Log_options_baseType
2481
+ def initialize
2482
+ end
2483
+ end
2484
+
2485
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}log_optionsType
2486
+ # type - SOAP::SOAPInt
2487
+ class Log_optionsType_ < Log_options_baseType
2488
+ attr_accessor :type
2489
+
2490
+ def initialize(type = nil)
2491
+ @type = type
2492
+ end
2493
+ end
2494
+
2495
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}redirect_serviceType
2496
+ # id - SOAP::SOAPString
2497
+ # port - SOAP::SOAPInt
2498
+ # dst - (any)
2499
+ # default - (any)
2500
+ class Redirect_serviceType
2501
+ attr_accessor :id
2502
+ attr_accessor :port
2503
+ attr_accessor :dst
2504
+ attr_accessor :default
2505
+
2506
+ def initialize(id = nil, port = nil, dst = nil, default = nil)
2507
+ @id = id
2508
+ @port = port
2509
+ @dst = dst
2510
+ @default = default
2511
+ end
2512
+ end
2513
+
2514
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}templateType
2515
+ # name - SOAP::SOAPString
2516
+ # version - SOAP::SOAPString
2517
+ class TemplateType
2518
+ attr_accessor :name
2519
+ attr_accessor :version
2520
+
2521
+ def initialize(name = nil, version = nil)
2522
+ @name = name
2523
+ @version = version
2524
+ end
2525
+ end
2526
+
2527
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}pkg_paramsType
2528
+ class Pkg_paramsType
2529
+ def initialize
2530
+ end
2531
+ end
2532
+
2533
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}pkg_setup_cmdType
2534
+ # eid - (any)
2535
+ # installation_package - Virtuozzo::SOAP::Drivers::Template::Pkg_setup_cmdType::Installation_package
2536
+ # options - Virtuozzo::SOAP::Drivers::Template::Pkg_setup_cmdType::Options
2537
+ class Pkg_setup_cmdType < Pkg_paramsType
2538
+
2539
+ # inner class for member: installation_package
2540
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}installation_package
2541
+ # package - Virtuozzo::SOAP::Drivers::Template::PackageType
2542
+ # path - SOAP::SOAPBase64
2543
+ class Installation_package
2544
+ attr_accessor :package
2545
+ attr_accessor :path
2546
+
2547
+ def initialize(package = nil, path = nil)
2548
+ @package = package
2549
+ @path = path
2550
+ end
2551
+ end
2552
+
2553
+ # inner class for member: options
2554
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2555
+ # check - (any)
2556
+ # force - (any)
2557
+ # dependencies - (any)
2558
+ class Options
2559
+ attr_accessor :check
2560
+ attr_accessor :force
2561
+ attr_accessor :dependencies
2562
+
2563
+ def initialize(check = nil, force = nil, dependencies = nil)
2564
+ @check = check
2565
+ @force = force
2566
+ @dependencies = dependencies
2567
+ end
2568
+ end
2569
+
2570
+ attr_accessor :eid
2571
+ attr_accessor :installation_package
2572
+ attr_accessor :options
2573
+
2574
+ def initialize(eid = nil, installation_package = [], options = nil)
2575
+ @eid = eid
2576
+ @installation_package = installation_package
2577
+ @options = options
2578
+ end
2579
+ end
2580
+
2581
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}pkg_cmdType
2582
+ # eid - (any)
2583
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2584
+ class Pkg_cmdType < Pkg_paramsType
2585
+ attr_accessor :eid
2586
+ attr_accessor :packages
2587
+
2588
+ def initialize(eid = nil, packages = nil)
2589
+ @eid = eid
2590
+ @packages = packages
2591
+ end
2592
+ end
2593
+
2594
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}packagesType
2595
+ class PackagesType < ::Array
2596
+ end
2597
+
2598
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
2599
+ class Transport_type < ::String
2600
+ Tcp = Transport_type.new("tcp")
2601
+ Udp = Transport_type.new("udp")
2602
+ end
2603
+
2604
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
2605
+ class Yes_no_type < ::String
2606
+ No = Yes_no_type.new("no")
2607
+ Yes = Yes_no_type.new("yes")
2608
+ end
2609
+
2610
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
2611
+ # auth - Virtuozzo::SOAP::Drivers::Template::AuthType
2612
+ # cookie - SOAP::SOAPString
2613
+ # target - SOAP::SOAPString
2614
+ # origin - SOAP::SOAPString
2615
+ # src - Virtuozzo::SOAP::Drivers::Template::RouteType
2616
+ # dst - Virtuozzo::SOAP::Drivers::Template::RouteType
2617
+ # session - SOAP::SOAPString
2618
+ # data - Virtuozzo::SOAP::Drivers::Template::Packet::C_Data
2619
+ # xmlattr_version - SOAP::SOAPString
2620
+ # xmlattr_id - SOAP::SOAPString
2621
+ # xmlattr_priority - SOAP::SOAPString
2622
+ # xmlattr_time - SOAP::SOAPString
2623
+ # xmlattr_progress - SOAP::SOAPString
2624
+ # xmlattr_log - SOAP::SOAPString
2625
+ # xmlattr_type - SOAP::SOAPInt
2626
+ # xmlattr_timeout - SOAP::SOAPInt
2627
+ # xmlattr_timeout_limit - SOAP::SOAPInt
2628
+ # xmlattr_uid - SOAP::SOAPInt
2629
+ class Packet < Packet_headerType
2630
+ AttrC_Time = XSD::QName.new(nil, "time")
2631
+ AttrId = XSD::QName.new(nil, "id")
2632
+ AttrLog = XSD::QName.new(nil, "log")
2633
+ AttrPriority = XSD::QName.new(nil, "priority")
2634
+ AttrProgress = XSD::QName.new(nil, "progress")
2635
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2636
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2637
+ AttrType = XSD::QName.new(nil, "type")
2638
+ AttrUid = XSD::QName.new(nil, "uid")
2639
+ AttrVersion = XSD::QName.new(nil, "version")
2640
+
2641
+ # inner class for member: data
2642
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2643
+ class C_Data < ::Array
2644
+ end
2645
+
2646
+ attr_accessor :auth
2647
+ attr_accessor :cookie
2648
+ attr_accessor :target
2649
+ attr_accessor :origin
2650
+ attr_accessor :src
2651
+ attr_accessor :dst
2652
+ attr_accessor :session
2653
+ attr_accessor :data
2654
+
2655
+ def __xmlattr
2656
+ @__xmlattr ||= {}
2657
+ end
2658
+
2659
+ def xmlattr_version
2660
+ __xmlattr[AttrVersion]
2661
+ end
2662
+
2663
+ def xmlattr_version=(value)
2664
+ __xmlattr[AttrVersion] = value
2665
+ end
2666
+
2667
+ def xmlattr_id
2668
+ __xmlattr[AttrId]
2669
+ end
2670
+
2671
+ def xmlattr_id=(value)
2672
+ __xmlattr[AttrId] = value
2673
+ end
2674
+
2675
+ def xmlattr_priority
2676
+ __xmlattr[AttrPriority]
2677
+ end
2678
+
2679
+ def xmlattr_priority=(value)
2680
+ __xmlattr[AttrPriority] = value
2681
+ end
2682
+
2683
+ def xmlattr_time
2684
+ __xmlattr[AttrC_Time]
2685
+ end
2686
+
2687
+ def xmlattr_time=(value)
2688
+ __xmlattr[AttrC_Time] = value
2689
+ end
2690
+
2691
+ def xmlattr_progress
2692
+ __xmlattr[AttrProgress]
2693
+ end
2694
+
2695
+ def xmlattr_progress=(value)
2696
+ __xmlattr[AttrProgress] = value
2697
+ end
2698
+
2699
+ def xmlattr_log
2700
+ __xmlattr[AttrLog]
2701
+ end
2702
+
2703
+ def xmlattr_log=(value)
2704
+ __xmlattr[AttrLog] = value
2705
+ end
2706
+
2707
+ def xmlattr_type
2708
+ __xmlattr[AttrType]
2709
+ end
2710
+
2711
+ def xmlattr_type=(value)
2712
+ __xmlattr[AttrType] = value
2713
+ end
2714
+
2715
+ def xmlattr_timeout
2716
+ __xmlattr[AttrTimeout]
2717
+ end
2718
+
2719
+ def xmlattr_timeout=(value)
2720
+ __xmlattr[AttrTimeout] = value
2721
+ end
2722
+
2723
+ def xmlattr_timeout_limit
2724
+ __xmlattr[AttrTimeout_limit]
2725
+ end
2726
+
2727
+ def xmlattr_timeout_limit=(value)
2728
+ __xmlattr[AttrTimeout_limit] = value
2729
+ end
2730
+
2731
+ def xmlattr_uid
2732
+ __xmlattr[AttrUid]
2733
+ end
2734
+
2735
+ def xmlattr_uid=(value)
2736
+ __xmlattr[AttrUid] = value
2737
+ end
2738
+
2739
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2740
+ @auth = auth
2741
+ @cookie = cookie
2742
+ @target = target
2743
+ @origin = origin
2744
+ @src = src
2745
+ @dst = dst
2746
+ @session = session
2747
+ @data = data
2748
+ @__xmlattr = {}
2749
+ end
2750
+ end
2751
+
2752
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
2753
+ class Ok < ::String
2754
+ def initialize(*arg)
2755
+ super
2756
+ end
2757
+ end
2758
+
2759
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}interface_rate
2760
+ # class_id - SOAP::SOAPString
2761
+ # net_device_id - SOAP::SOAPString
2762
+ # rate - SOAP::SOAPLong
2763
+ class Interface_rate
2764
+ attr_accessor :class_id
2765
+ attr_accessor :net_device_id
2766
+ attr_accessor :rate
2767
+
2768
+ def initialize(class_id = nil, net_device_id = nil, rate = nil)
2769
+ @class_id = class_id
2770
+ @net_device_id = net_device_id
2771
+ @rate = rate
2772
+ end
2773
+ end
2774
+
2775
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}install
2776
+ # eid - (any)
2777
+ # installation_package - Virtuozzo::SOAP::Drivers::Template::Install::Installation_package
2778
+ # options - Virtuozzo::SOAP::Drivers::Template::Install::Options
2779
+ class Install < Pkg_setup_cmdType
2780
+
2781
+ # inner class for member: installation_package
2782
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}installation_package
2783
+ # package - Virtuozzo::SOAP::Drivers::Template::PackageType
2784
+ # path - SOAP::SOAPBase64
2785
+ class Installation_package
2786
+ attr_accessor :package
2787
+ attr_accessor :path
2788
+
2789
+ def initialize(package = nil, path = nil)
2790
+ @package = package
2791
+ @path = path
2792
+ end
2793
+ end
2794
+
2795
+ # inner class for member: options
2796
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2797
+ # check - (any)
2798
+ # force - (any)
2799
+ # dependencies - (any)
2800
+ class Options
2801
+ attr_accessor :check
2802
+ attr_accessor :force
2803
+ attr_accessor :dependencies
2804
+
2805
+ def initialize(check = nil, force = nil, dependencies = nil)
2806
+ @check = check
2807
+ @force = force
2808
+ @dependencies = dependencies
2809
+ end
2810
+ end
2811
+
2812
+ attr_accessor :eid
2813
+ attr_accessor :installation_package
2814
+ attr_accessor :options
2815
+
2816
+ def initialize(eid = nil, installation_package = [], options = nil)
2817
+ @eid = eid
2818
+ @installation_package = installation_package
2819
+ @options = options
2820
+ end
2821
+ end
2822
+
2823
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}remove
2824
+ # eid - (any)
2825
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2826
+ # options - Virtuozzo::SOAP::Drivers::Template::Remove::Options
2827
+ class Remove < Pkg_cmdType
2828
+
2829
+ # inner class for member: options
2830
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2831
+ # check - (any)
2832
+ # force - (any)
2833
+ # dependencies - (any)
2834
+ class Options
2835
+ attr_accessor :check
2836
+ attr_accessor :force
2837
+ attr_accessor :dependencies
2838
+
2839
+ def initialize(check = nil, force = nil, dependencies = nil)
2840
+ @check = check
2841
+ @force = force
2842
+ @dependencies = dependencies
2843
+ end
2844
+ end
2845
+
2846
+ attr_accessor :eid
2847
+ attr_accessor :packages
2848
+ attr_accessor :options
2849
+
2850
+ def initialize(eid = nil, packages = nil, options = nil)
2851
+ @eid = eid
2852
+ @packages = packages
2853
+ @options = options
2854
+ end
2855
+ end
2856
+
2857
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}update
2858
+ # eid - (any)
2859
+ # installation_package - Virtuozzo::SOAP::Drivers::Template::Update::Installation_package
2860
+ # options - Virtuozzo::SOAP::Drivers::Template::Update::Options
2861
+ class Update < Pkg_setup_cmdType
2862
+
2863
+ # inner class for member: installation_package
2864
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}installation_package
2865
+ # package - Virtuozzo::SOAP::Drivers::Template::PackageType
2866
+ # path - SOAP::SOAPBase64
2867
+ class Installation_package
2868
+ attr_accessor :package
2869
+ attr_accessor :path
2870
+
2871
+ def initialize(package = nil, path = nil)
2872
+ @package = package
2873
+ @path = path
2874
+ end
2875
+ end
2876
+
2877
+ # inner class for member: options
2878
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2879
+ # check - (any)
2880
+ # force - (any)
2881
+ # dependencies - (any)
2882
+ class Options
2883
+ attr_accessor :check
2884
+ attr_accessor :force
2885
+ attr_accessor :dependencies
2886
+
2887
+ def initialize(check = nil, force = nil, dependencies = nil)
2888
+ @check = check
2889
+ @force = force
2890
+ @dependencies = dependencies
2891
+ end
2892
+ end
2893
+
2894
+ attr_accessor :eid
2895
+ attr_accessor :installation_package
2896
+ attr_accessor :options
2897
+
2898
+ def initialize(eid = nil, installation_package = [], options = nil)
2899
+ @eid = eid
2900
+ @installation_package = installation_package
2901
+ @options = options
2902
+ end
2903
+ end
2904
+
2905
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}list
2906
+ # eid - (any)
2907
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2908
+ # options - Virtuozzo::SOAP::Drivers::Template::List::Options
2909
+ class List < Pkg_cmdType
2910
+
2911
+ # inner class for member: options
2912
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2913
+ # type - SOAP::SOAPString
2914
+ # summary - (any)
2915
+ # compatible - (any)
2916
+ class Options
2917
+ attr_accessor :type
2918
+ attr_accessor :summary
2919
+ attr_accessor :compatible
2920
+
2921
+ def initialize(type = [], summary = nil, compatible = nil)
2922
+ @type = type
2923
+ @summary = summary
2924
+ @compatible = compatible
2925
+ end
2926
+ end
2927
+
2928
+ attr_accessor :eid
2929
+ attr_accessor :packages
2930
+ attr_accessor :options
2931
+
2932
+ def initialize(eid = nil, packages = nil, options = nil)
2933
+ @eid = eid
2934
+ @packages = packages
2935
+ @options = options
2936
+ end
2937
+ end
2938
+
2939
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}get_info
2940
+ # eid - (any)
2941
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2942
+ class Get_info < Pkg_cmdType
2943
+ attr_accessor :eid
2944
+ attr_accessor :packages
2945
+
2946
+ def initialize(eid = nil, packages = nil)
2947
+ @eid = eid
2948
+ @packages = packages
2949
+ end
2950
+ end
2951
+
2952
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}clean
2953
+ class Clean < ::Array
2954
+ end
2955
+
2956
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}fetch
2957
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2958
+ class Fetch
2959
+ attr_accessor :packages
2960
+
2961
+ def initialize(packages = nil)
2962
+ @packages = packages
2963
+ end
2964
+ end
2965
+
2966
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}migrate
2967
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
2968
+ # src - Virtuozzo::SOAP::Drivers::Template::Connection_infoType
2969
+ # dst - Virtuozzo::SOAP::Drivers::Template::Connection_infoType
2970
+ # options - Virtuozzo::SOAP::Drivers::Template::Migrate::Options
2971
+ class Migrate
2972
+
2973
+ # inner class for member: options
2974
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}options
2975
+ # policy - Virtuozzo::SOAP::Drivers::Template::Migrate::Options::Policy
2976
+ class Options
2977
+
2978
+ # inner class for member: policy
2979
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}policy
2980
+ # ignore_error - (any)
2981
+ class Policy
2982
+ attr_accessor :ignore_error
2983
+
2984
+ def initialize(ignore_error = nil)
2985
+ @ignore_error = ignore_error
2986
+ end
2987
+ end
2988
+
2989
+ attr_accessor :policy
2990
+
2991
+ def initialize(policy = nil)
2992
+ @policy = policy
2993
+ end
2994
+ end
2995
+
2996
+ attr_accessor :packages
2997
+ attr_accessor :src
2998
+ attr_accessor :dst
2999
+ attr_accessor :options
3000
+
3001
+ def initialize(packages = nil, src = nil, dst = nil, options = nil)
3002
+ @packages = packages
3003
+ @src = src
3004
+ @dst = dst
3005
+ @options = options
3006
+ end
3007
+ end
3008
+
3009
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}installResponse
3010
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3011
+ class InstallResponse
3012
+ attr_accessor :packages
3013
+
3014
+ def initialize(packages = nil)
3015
+ @packages = packages
3016
+ end
3017
+ end
3018
+
3019
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}removeResponse
3020
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3021
+ class RemoveResponse
3022
+ attr_accessor :packages
3023
+
3024
+ def initialize(packages = nil)
3025
+ @packages = packages
3026
+ end
3027
+ end
3028
+
3029
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}updateResponse
3030
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3031
+ class UpdateResponse
3032
+ attr_accessor :packages
3033
+
3034
+ def initialize(packages = nil)
3035
+ @packages = packages
3036
+ end
3037
+ end
3038
+
3039
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}listResponse
3040
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3041
+ class ListResponse
3042
+ attr_accessor :packages
3043
+
3044
+ def initialize(packages = nil)
3045
+ @packages = packages
3046
+ end
3047
+ end
3048
+
3049
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}get_infoResponse
3050
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3051
+ class Get_infoResponse
3052
+ attr_accessor :packages
3053
+
3054
+ def initialize(packages = nil)
3055
+ @packages = packages
3056
+ end
3057
+ end
3058
+
3059
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}cleanResponse
3060
+ class CleanResponse
3061
+ def initialize
3062
+ end
3063
+ end
3064
+
3065
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}fetchResponse
3066
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3067
+ class FetchResponse
3068
+ attr_accessor :packages
3069
+
3070
+ def initialize(packages = nil)
3071
+ @packages = packages
3072
+ end
3073
+ end
3074
+
3075
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/packagem}migrateResponse
3076
+ # packages - Virtuozzo::SOAP::Drivers::Template::PackagesType
3077
+ class MigrateResponse
3078
+ attr_accessor :packages
3079
+
3080
+ def initialize(packages = nil)
3081
+ @packages = packages
3082
+ end
3083
+ end
3084
+
3085
+
3086
+ end; end; end; end