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