plainprograms-virtuozzo 0.1.0

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