virtuozzo 0.5.1

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