plainprograms-virtuozzo 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. data/CHANGELOG.rdoc +54 -0
  2. data/README.rdoc +52 -0
  3. data/Rakefile +15 -0
  4. data/lib/virtuozzo/constants.rb +10 -0
  5. data/lib/virtuozzo/soap/drivers/device/mapping_registry.rb +3653 -0
  6. data/lib/virtuozzo/soap/drivers/device/types.rb +3144 -0
  7. data/lib/virtuozzo/soap/drivers/device_driver.rb +141 -0
  8. data/lib/virtuozzo/soap/drivers/environment/mapping_registry.rb +4461 -0
  9. data/lib/virtuozzo/soap/drivers/environment/types.rb +3743 -0
  10. data/lib/virtuozzo/soap/drivers/environment_driver.rb +300 -0
  11. data/lib/virtuozzo/soap/drivers/network/mapping_registry.rb +3116 -0
  12. data/lib/virtuozzo/soap/drivers/network/types.rb +2401 -0
  13. data/lib/virtuozzo/soap/drivers/network_driver.rb +101 -0
  14. data/lib/virtuozzo/soap/drivers/process/mapping_registry.rb +3317 -0
  15. data/lib/virtuozzo/soap/drivers/process/types.rb +2711 -0
  16. data/lib/virtuozzo/soap/drivers/process_driver.rb +69 -0
  17. data/lib/virtuozzo/soap/drivers/process_info/mapping_registry.rb +2985 -0
  18. data/lib/virtuozzo/soap/drivers/process_info/types.rb +2328 -0
  19. data/lib/virtuozzo/soap/drivers/process_info_driver.rb +61 -0
  20. data/lib/virtuozzo/soap/drivers/relocator/mapping_registry.rb +3656 -0
  21. data/lib/virtuozzo/soap/drivers/relocator/types.rb +2916 -0
  22. data/lib/virtuozzo/soap/drivers/relocator_driver.rb +101 -0
  23. data/lib/virtuozzo/soap/drivers/session/mapping_registry.rb +3039 -0
  24. data/lib/virtuozzo/soap/drivers/session/types.rb +2453 -0
  25. data/lib/virtuozzo/soap/drivers/session_driver.rb +149 -0
  26. data/lib/virtuozzo/soap/drivers/support/mapping_registry.rb +3232 -0
  27. data/lib/virtuozzo/soap/drivers/support/types.rb +2708 -0
  28. data/lib/virtuozzo/soap/drivers/support_driver.rb +109 -0
  29. data/lib/virtuozzo/soap/drivers/template/mapping_registry.rb +3752 -0
  30. data/lib/virtuozzo/soap/drivers/template/types.rb +3079 -0
  31. data/lib/virtuozzo/soap/drivers/template_driver.rb +117 -0
  32. data/lib/virtuozzo/soap/drivers/up2date/mapping_registry.rb +3312 -0
  33. data/lib/virtuozzo/soap/drivers/up2date/types.rb +2670 -0
  34. data/lib/virtuozzo/soap/drivers/up2date_driver.rb +92 -0
  35. data/lib/virtuozzo/soap.rb +149 -0
  36. data/lib/virtuozzo.rb +18 -0
  37. data/script/console +10 -0
  38. data/script/github-gem-test +15 -0
  39. data/virtuozzo.gemspec +34 -0
  40. metadata +139 -0
@@ -0,0 +1,2711 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo; module SOAP; module Drivers; 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}system_nodeType
958
+ # address - Virtuozzo::SOAP::Drivers::Process::System_nodeType::Address
959
+ # login - Virtuozzo::SOAP::Drivers::Process::System_nodeType::Login
960
+ class System_nodeType
961
+
962
+ # inner class for member: address
963
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
964
+ # ip - (any)
965
+ class Address < Ip_addressType
966
+ attr_accessor :ip
967
+
968
+ def initialize(ip = nil)
969
+ @ip = ip
970
+ end
971
+ end
972
+
973
+ # inner class for member: login
974
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
975
+ # user - SOAP::SOAPString
976
+ # password - SOAP::SOAPBase64
977
+ class Login
978
+ attr_accessor :user
979
+ attr_accessor :password
980
+
981
+ def initialize(user = nil, password = nil)
982
+ @user = user
983
+ @password = password
984
+ end
985
+ end
986
+
987
+ attr_accessor :address
988
+ attr_accessor :login
989
+
990
+ def initialize(address = nil, login = nil)
991
+ @address = address
992
+ @login = login
993
+ end
994
+ end
995
+
996
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
997
+ # total - SOAP::SOAPLong
998
+ # used - SOAP::SOAPLong
999
+ # free - SOAP::SOAPLong
1000
+ # avg - SOAP::SOAPLong
1001
+ # min - SOAP::SOAPLong
1002
+ # max - SOAP::SOAPLong
1003
+ class ResourceType
1004
+ attr_accessor :total
1005
+ attr_accessor :used
1006
+ attr_accessor :free
1007
+ attr_accessor :avg
1008
+ attr_accessor :min
1009
+ attr_accessor :max
1010
+
1011
+ def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
1012
+ @total = total
1013
+ @used = used
1014
+ @free = free
1015
+ @avg = avg
1016
+ @min = min
1017
+ @max = max
1018
+ end
1019
+ end
1020
+
1021
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
1022
+ # start_time - (any)
1023
+ # end_time - (any)
1024
+ class IntervalType
1025
+ attr_accessor :start_time
1026
+ attr_accessor :end_time
1027
+
1028
+ def initialize(start_time = nil, end_time = nil)
1029
+ @start_time = start_time
1030
+ @end_time = end_time
1031
+ end
1032
+ end
1033
+
1034
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
1035
+ # avg - SOAP::SOAPLong
1036
+ # min - SOAP::SOAPLong
1037
+ # max - SOAP::SOAPLong
1038
+ # total - SOAP::SOAPLong
1039
+ # cur - SOAP::SOAPLong
1040
+ # soft - SOAP::SOAPLong
1041
+ # hard - SOAP::SOAPLong
1042
+ class StatsType
1043
+ attr_accessor :avg
1044
+ attr_accessor :min
1045
+ attr_accessor :max
1046
+ attr_accessor :total
1047
+ attr_accessor :cur
1048
+ attr_accessor :soft
1049
+ attr_accessor :hard
1050
+
1051
+ def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
1052
+ @avg = avg
1053
+ @min = min
1054
+ @max = max
1055
+ @total = total
1056
+ @cur = cur
1057
+ @soft = soft
1058
+ @hard = hard
1059
+ end
1060
+ end
1061
+
1062
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
1063
+ # host - (any)
1064
+ # mask - (any)
1065
+ class Net_addressType
1066
+ attr_accessor :host
1067
+ attr_accessor :mask
1068
+
1069
+ def initialize(host = nil, mask = nil)
1070
+ @host = host
1071
+ @mask = mask
1072
+ end
1073
+ end
1074
+
1075
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
1076
+ # id - SOAP::SOAPString
1077
+ # transfer - Virtuozzo::SOAP::Drivers::Process::TransferType
1078
+ class Net_classType
1079
+ attr_accessor :id
1080
+ attr_accessor :transfer
1081
+
1082
+ def initialize(id = nil, transfer = nil)
1083
+ @id = id
1084
+ @transfer = transfer
1085
+ end
1086
+ end
1087
+
1088
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
1089
+ # id - SOAP::SOAPString
1090
+ # start_ip - (any)
1091
+ # subnet_mask - SOAP::SOAPInt
1092
+ # comment - SOAP::SOAPString
1093
+ class Ip_rangeType
1094
+ attr_accessor :id
1095
+ attr_accessor :start_ip
1096
+ attr_accessor :subnet_mask
1097
+ attr_accessor :comment
1098
+
1099
+ def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
1100
+ @id = id
1101
+ @start_ip = start_ip
1102
+ @subnet_mask = subnet_mask
1103
+ @comment = comment
1104
+ end
1105
+ end
1106
+
1107
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
1108
+ # env_config - Virtuozzo::SOAP::Drivers::Process::Env_configType
1109
+ # id - SOAP::SOAPString
1110
+ # name - SOAP::SOAPString
1111
+ # comment - SOAP::SOAPBase64
1112
+ # vt_version - Virtuozzo::SOAP::Drivers::Process::Sample_confType::Vt_version
1113
+ class Sample_confType
1114
+
1115
+ # inner class for member: vt_version
1116
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
1117
+ # platform - SOAP::SOAPString
1118
+ # architecture - SOAP::SOAPString
1119
+ # vt_technology - SOAP::SOAPString
1120
+ class Vt_version
1121
+ attr_accessor :platform
1122
+ attr_accessor :architecture
1123
+ attr_accessor :vt_technology
1124
+
1125
+ def initialize(platform = nil, architecture = nil, vt_technology = nil)
1126
+ @platform = platform
1127
+ @architecture = architecture
1128
+ @vt_technology = vt_technology
1129
+ end
1130
+ end
1131
+
1132
+ attr_accessor :env_config
1133
+ attr_accessor :id
1134
+ attr_accessor :name
1135
+ attr_accessor :comment
1136
+ attr_accessor :vt_version
1137
+
1138
+ def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
1139
+ @env_config = env_config
1140
+ @id = id
1141
+ @name = name
1142
+ @comment = comment
1143
+ @vt_version = vt_version
1144
+ end
1145
+ end
1146
+
1147
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
1148
+ # name - SOAP::SOAPString
1149
+ # bandwidth - SOAP::SOAPInt
1150
+ # transfer - Virtuozzo::SOAP::Drivers::Process::TransferType
1151
+ # ipaddress - (any)
1152
+ # flags - SOAP::SOAPInt
1153
+ class InterfaceType
1154
+ attr_accessor :name
1155
+ attr_accessor :bandwidth
1156
+ attr_accessor :transfer
1157
+ attr_accessor :ipaddress
1158
+ attr_accessor :flags
1159
+
1160
+ def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
1161
+ @name = name
1162
+ @bandwidth = bandwidth
1163
+ @transfer = transfer
1164
+ @ipaddress = ipaddress
1165
+ @flags = flags
1166
+ end
1167
+ end
1168
+
1169
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
1170
+ # load_avg - Virtuozzo::SOAP::Drivers::Process::Load_avgType
1171
+ # processes - Virtuozzo::SOAP::Drivers::Process::ProcessesType
1172
+ # cpu_load - Virtuozzo::SOAP::Drivers::Process::Cpu_loadType
1173
+ # cpu_states - Virtuozzo::SOAP::Drivers::Process::Cpu_loadType
1174
+ # users - SOAP::SOAPInt
1175
+ # uptime - SOAP::SOAPLong
1176
+ # memory - Virtuozzo::SOAP::Drivers::Process::Sys_infoType::Memory
1177
+ # swap - Virtuozzo::SOAP::Drivers::Process::Sys_infoType::Swap
1178
+ class Sys_infoType
1179
+
1180
+ # inner class for member: memory
1181
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
1182
+ # total - SOAP::SOAPLong
1183
+ # used - SOAP::SOAPLong
1184
+ class Memory < ResourceType
1185
+ attr_accessor :total
1186
+ attr_accessor :used
1187
+
1188
+ def initialize(total = nil, used = nil)
1189
+ @total = total
1190
+ @used = used
1191
+ end
1192
+ end
1193
+
1194
+ # inner class for member: swap
1195
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
1196
+ # total - SOAP::SOAPLong
1197
+ # used - SOAP::SOAPLong
1198
+ class Swap < ResourceType
1199
+ attr_accessor :total
1200
+ attr_accessor :used
1201
+
1202
+ def initialize(total = nil, used = nil)
1203
+ @total = total
1204
+ @used = used
1205
+ end
1206
+ end
1207
+
1208
+ attr_accessor :load_avg
1209
+ attr_accessor :processes
1210
+ attr_accessor :cpu_load
1211
+ attr_accessor :cpu_states
1212
+ attr_accessor :users
1213
+ attr_accessor :uptime
1214
+ attr_accessor :memory
1215
+ attr_accessor :swap
1216
+
1217
+ def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
1218
+ @load_avg = load_avg
1219
+ @processes = processes
1220
+ @cpu_load = cpu_load
1221
+ @cpu_states = cpu_states
1222
+ @users = users
1223
+ @uptime = uptime
1224
+ @memory = memory
1225
+ @swap = swap
1226
+ end
1227
+ end
1228
+
1229
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
1230
+ # process - Virtuozzo::SOAP::Drivers::Process::Ps_infoType::C_Process
1231
+ # param_id - SOAP::SOAPString
1232
+ # run - SOAP::SOAPInt
1233
+ # idle - SOAP::SOAPInt
1234
+ # zombie - SOAP::SOAPInt
1235
+ # sleep - SOAP::SOAPInt
1236
+ # uninterrupt - SOAP::SOAPInt
1237
+ # stopped - SOAP::SOAPInt
1238
+ # total - SOAP::SOAPInt
1239
+ class Ps_infoType
1240
+
1241
+ # inner class for member: process
1242
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
1243
+ # pid - SOAP::SOAPInt
1244
+ # param - SOAP::SOAPBase64
1245
+ class C_Process
1246
+ attr_accessor :pid
1247
+ attr_accessor :param
1248
+
1249
+ def initialize(pid = nil, param = [])
1250
+ @pid = pid
1251
+ @param = param
1252
+ end
1253
+ end
1254
+
1255
+ attr_accessor :process
1256
+ attr_accessor :param_id
1257
+ attr_accessor :run
1258
+ attr_accessor :idle
1259
+ attr_accessor :zombie
1260
+ attr_accessor :sleep
1261
+ attr_accessor :uninterrupt
1262
+ attr_accessor :stopped
1263
+ attr_accessor :total
1264
+
1265
+ def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
1266
+ @process = process
1267
+ @param_id = param_id
1268
+ @run = run
1269
+ @idle = idle
1270
+ @zombie = zombie
1271
+ @sleep = sleep
1272
+ @uninterrupt = uninterrupt
1273
+ @stopped = stopped
1274
+ @total = total
1275
+ end
1276
+ end
1277
+
1278
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
1279
+ # l1 - Virtuozzo::SOAP::Drivers::Process::Load_avg_statsType::L1
1280
+ # l2 - Virtuozzo::SOAP::Drivers::Process::Load_avg_statsType::L2
1281
+ # l3 - Virtuozzo::SOAP::Drivers::Process::Load_avg_statsType::L3
1282
+ class Load_avg_statsType
1283
+
1284
+ # inner class for member: l1
1285
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
1286
+ # avg - SOAP::SOAPLong
1287
+ # min - SOAP::SOAPLong
1288
+ # max - SOAP::SOAPLong
1289
+ # cur - SOAP::SOAPLong
1290
+ class L1 < StatsType
1291
+ attr_accessor :avg
1292
+ attr_accessor :min
1293
+ attr_accessor :max
1294
+ attr_accessor :cur
1295
+
1296
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1297
+ @avg = avg
1298
+ @min = min
1299
+ @max = max
1300
+ @cur = cur
1301
+ end
1302
+ end
1303
+
1304
+ # inner class for member: l2
1305
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
1306
+ # avg - SOAP::SOAPLong
1307
+ # min - SOAP::SOAPLong
1308
+ # max - SOAP::SOAPLong
1309
+ # cur - SOAP::SOAPLong
1310
+ class L2 < StatsType
1311
+ attr_accessor :avg
1312
+ attr_accessor :min
1313
+ attr_accessor :max
1314
+ attr_accessor :cur
1315
+
1316
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1317
+ @avg = avg
1318
+ @min = min
1319
+ @max = max
1320
+ @cur = cur
1321
+ end
1322
+ end
1323
+
1324
+ # inner class for member: l3
1325
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
1326
+ # avg - SOAP::SOAPLong
1327
+ # min - SOAP::SOAPLong
1328
+ # max - SOAP::SOAPLong
1329
+ # cur - SOAP::SOAPLong
1330
+ class L3 < StatsType
1331
+ attr_accessor :avg
1332
+ attr_accessor :min
1333
+ attr_accessor :max
1334
+ attr_accessor :cur
1335
+
1336
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
1337
+ @avg = avg
1338
+ @min = min
1339
+ @max = max
1340
+ @cur = cur
1341
+ end
1342
+ end
1343
+
1344
+ attr_accessor :l1
1345
+ attr_accessor :l2
1346
+ attr_accessor :l3
1347
+
1348
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
1349
+ @l1 = l1
1350
+ @l2 = l2
1351
+ @l3 = l3
1352
+ end
1353
+ end
1354
+
1355
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
1356
+ # ip - (any)
1357
+ # netmask - (any)
1358
+ class Ip_addressType
1359
+ attr_accessor :ip
1360
+ attr_accessor :netmask
1361
+
1362
+ def initialize(ip = nil, netmask = nil)
1363
+ @ip = ip
1364
+ @netmask = netmask
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}userType
1662
+ # initial_group - Virtuozzo::SOAP::Drivers::Process::UserType::Initial_group
1663
+ # group - Virtuozzo::SOAP::Drivers::Process::UserType::Group
1664
+ # uid - SOAP::SOAPInt
1665
+ # shell - SOAP::SOAPString
1666
+ # password - SOAP::SOAPBase64
1667
+ # home_dir - SOAP::SOAPString
1668
+ # name - SOAP::SOAPString
1669
+ # comment - SOAP::SOAPString
1670
+ class UserType
1671
+
1672
+ # inner class for member: initial_group
1673
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
1674
+ # name - SOAP::SOAPString
1675
+ # gid - SOAP::SOAPInt
1676
+ class Initial_group < GroupType
1677
+ attr_accessor :name
1678
+ attr_accessor :gid
1679
+
1680
+ def initialize(name = nil, gid = nil)
1681
+ @name = name
1682
+ @gid = gid
1683
+ end
1684
+ end
1685
+
1686
+ # inner class for member: group
1687
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
1688
+ # name - SOAP::SOAPString
1689
+ # gid - SOAP::SOAPInt
1690
+ class Group < GroupType
1691
+ attr_accessor :name
1692
+ attr_accessor :gid
1693
+
1694
+ def initialize(name = nil, gid = nil)
1695
+ @name = name
1696
+ @gid = gid
1697
+ end
1698
+ end
1699
+
1700
+ attr_accessor :initial_group
1701
+ attr_accessor :group
1702
+ attr_accessor :uid
1703
+ attr_accessor :shell
1704
+ attr_accessor :password
1705
+ attr_accessor :home_dir
1706
+ attr_accessor :name
1707
+ attr_accessor :comment
1708
+
1709
+ def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
1710
+ @initial_group = initial_group
1711
+ @group = group
1712
+ @uid = uid
1713
+ @shell = shell
1714
+ @password = password
1715
+ @home_dir = home_dir
1716
+ @name = name
1717
+ @comment = comment
1718
+ end
1719
+ end
1720
+
1721
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1722
+ # user - Virtuozzo::SOAP::Drivers::Process::GroupType::User
1723
+ # member_group - Virtuozzo::SOAP::Drivers::Process::GroupType::Member_group
1724
+ # name - SOAP::SOAPString
1725
+ # gid - SOAP::SOAPInt
1726
+ class GroupType
1727
+
1728
+ # inner class for member: user
1729
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
1730
+ # name - SOAP::SOAPString
1731
+ class User < UserType
1732
+ attr_accessor :name
1733
+
1734
+ def initialize(name = nil)
1735
+ @name = name
1736
+ end
1737
+ end
1738
+
1739
+ # inner class for member: member_group
1740
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
1741
+ # name - SOAP::SOAPString
1742
+ class Member_group < GroupType
1743
+ attr_accessor :name
1744
+
1745
+ def initialize(name = nil)
1746
+ @name = name
1747
+ end
1748
+ end
1749
+
1750
+ attr_accessor :user
1751
+ attr_accessor :member_group
1752
+ attr_accessor :name
1753
+ attr_accessor :gid
1754
+
1755
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1756
+ @user = user
1757
+ @member_group = member_group
1758
+ @name = name
1759
+ @gid = gid
1760
+ end
1761
+ end
1762
+
1763
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
1764
+ # name - SOAP::SOAPString
1765
+ # summary - SOAP::SOAPString
1766
+ # os - Virtuozzo::SOAP::Drivers::Process::OsType
1767
+ # description - SOAP::SOAPString
1768
+ # arch - SOAP::SOAPString
1769
+ # version - SOAP::SOAPString
1770
+ class PackageType
1771
+ attr_accessor :name
1772
+ attr_accessor :summary
1773
+ attr_accessor :os
1774
+ attr_accessor :description
1775
+ attr_accessor :arch
1776
+ attr_accessor :version
1777
+
1778
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
1779
+ @name = name
1780
+ @summary = summary
1781
+ @os = os
1782
+ @description = description
1783
+ @arch = arch
1784
+ @version = version
1785
+ end
1786
+ end
1787
+
1788
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}package_vztemplateType
1789
+ # name - SOAP::SOAPString
1790
+ # summary - SOAP::SOAPString
1791
+ # os - Virtuozzo::SOAP::Drivers::Process::OsType
1792
+ # description - SOAP::SOAPString
1793
+ # arch - SOAP::SOAPString
1794
+ # version - SOAP::SOAPString
1795
+ # technology - SOAP::SOAPString
1796
+ # os_template - SOAP::SOAPBoolean
1797
+ # cached - SOAP::SOAPBoolean
1798
+ # path - SOAP::SOAPBase64
1799
+ # uptodate - SOAP::SOAPBoolean
1800
+ class Package_vztemplateType < PackageType
1801
+ attr_accessor :name
1802
+ attr_accessor :summary
1803
+ attr_accessor :os
1804
+ attr_accessor :description
1805
+ attr_accessor :arch
1806
+ attr_accessor :version
1807
+ attr_accessor :technology
1808
+ attr_accessor :os_template
1809
+ attr_accessor :cached
1810
+ attr_accessor :path
1811
+ attr_accessor :uptodate
1812
+
1813
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, technology = [], os_template = nil, cached = nil, path = nil, uptodate = nil)
1814
+ @name = name
1815
+ @summary = summary
1816
+ @os = os
1817
+ @description = description
1818
+ @arch = arch
1819
+ @version = version
1820
+ @technology = technology
1821
+ @os_template = os_template
1822
+ @cached = cached
1823
+ @path = path
1824
+ @uptodate = uptodate
1825
+ end
1826
+ end
1827
+
1828
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}package_std_vztemplateType
1829
+ # name - SOAP::SOAPString
1830
+ # summary - SOAP::SOAPString
1831
+ # os - Virtuozzo::SOAP::Drivers::Process::OsType
1832
+ # description - SOAP::SOAPString
1833
+ # arch - SOAP::SOAPString
1834
+ # version - SOAP::SOAPString
1835
+ # technology - SOAP::SOAPString
1836
+ # os_template - SOAP::SOAPBoolean
1837
+ # cached - SOAP::SOAPBoolean
1838
+ # path - SOAP::SOAPBase64
1839
+ # uptodate - SOAP::SOAPBoolean
1840
+ # base - SOAP::SOAPBoolean
1841
+ class Package_std_vztemplateType < Package_vztemplateType
1842
+ attr_accessor :name
1843
+ attr_accessor :summary
1844
+ attr_accessor :os
1845
+ attr_accessor :description
1846
+ attr_accessor :arch
1847
+ attr_accessor :version
1848
+ attr_accessor :technology
1849
+ attr_accessor :os_template
1850
+ attr_accessor :cached
1851
+ attr_accessor :path
1852
+ attr_accessor :uptodate
1853
+ attr_accessor :base
1854
+
1855
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, technology = [], os_template = nil, cached = nil, path = nil, uptodate = nil, base = nil)
1856
+ @name = name
1857
+ @summary = summary
1858
+ @os = os
1859
+ @description = description
1860
+ @arch = arch
1861
+ @version = version
1862
+ @technology = technology
1863
+ @os_template = os_template
1864
+ @cached = cached
1865
+ @path = path
1866
+ @uptodate = uptodate
1867
+ @base = base
1868
+ end
1869
+ end
1870
+
1871
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
1872
+ class Event_dataType
1873
+ def initialize
1874
+ end
1875
+ end
1876
+
1877
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
1878
+ # type - SOAP::SOAPInt
1879
+ class Alert_dataType < Event_dataType
1880
+ attr_accessor :type
1881
+
1882
+ def initialize(type = nil)
1883
+ @type = type
1884
+ end
1885
+ end
1886
+
1887
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
1888
+ # name - SOAP::SOAPString
1889
+ # value - SOAP::SOAPBase64
1890
+ class Named_listType
1891
+ attr_accessor :name
1892
+ attr_accessor :value
1893
+
1894
+ def initialize(name = nil, value = [])
1895
+ @name = name
1896
+ @value = value
1897
+ end
1898
+ end
1899
+
1900
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
1901
+ # name - SOAP::SOAPString
1902
+ # value - SOAP::SOAPBase64
1903
+ # op - SOAP::SOAPInt
1904
+ class ModType < Named_listType
1905
+ attr_accessor :name
1906
+ attr_accessor :value
1907
+ attr_accessor :op
1908
+
1909
+ def initialize(name = nil, value = [], op = nil)
1910
+ @name = name
1911
+ @value = value
1912
+ @op = op
1913
+ end
1914
+ end
1915
+
1916
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
1917
+ # id - (any)
1918
+ # type - SOAP::SOAPInt
1919
+ # name - SOAP::SOAPString
1920
+ # builtin - (any)
1921
+ class RealmType
1922
+ attr_accessor :id
1923
+ attr_accessor :type
1924
+ attr_accessor :name
1925
+ attr_accessor :builtin
1926
+
1927
+ def initialize(id = nil, type = nil, name = nil, builtin = nil)
1928
+ @id = id
1929
+ @type = type
1930
+ @name = name
1931
+ @builtin = builtin
1932
+ end
1933
+ end
1934
+
1935
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
1936
+ # eid - (any)
1937
+ # time - (any)
1938
+ # source - SOAP::SOAPString
1939
+ # category - SOAP::SOAPString
1940
+ # sid - (any)
1941
+ # count - SOAP::SOAPInt
1942
+ # id - (any)
1943
+ # info - Virtuozzo::SOAP::Drivers::Process::InfoType
1944
+ # data - Virtuozzo::SOAP::Drivers::Process::EventType::C_Data
1945
+ class EventType
1946
+
1947
+ # inner class for member: data
1948
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
1949
+ # event_data - Virtuozzo::SOAP::Drivers::Process::Event_dataType
1950
+ class C_Data
1951
+ attr_accessor :event_data
1952
+
1953
+ def initialize(event_data = nil)
1954
+ @event_data = event_data
1955
+ end
1956
+ end
1957
+
1958
+ attr_accessor :eid
1959
+ attr_accessor :time
1960
+ attr_accessor :source
1961
+ attr_accessor :category
1962
+ attr_accessor :sid
1963
+ attr_accessor :count
1964
+ attr_accessor :id
1965
+ attr_accessor :info
1966
+ attr_accessor :data
1967
+
1968
+ def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
1969
+ @eid = eid
1970
+ @time = time
1971
+ @source = source
1972
+ @category = category
1973
+ @sid = sid
1974
+ @count = count
1975
+ @id = id
1976
+ @info = info
1977
+ @data = data
1978
+ end
1979
+ end
1980
+
1981
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
1982
+ # message - SOAP::SOAPBase64
1983
+ # translate - (any)
1984
+ # parameter - Virtuozzo::SOAP::Drivers::Process::InfoType
1985
+ # name - SOAP::SOAPString
1986
+ class InfoType
1987
+ attr_accessor :message
1988
+ attr_accessor :translate
1989
+ attr_accessor :parameter
1990
+ attr_accessor :name
1991
+
1992
+ def initialize(message = nil, translate = nil, parameter = [], name = nil)
1993
+ @message = message
1994
+ @translate = translate
1995
+ @parameter = parameter
1996
+ @name = name
1997
+ end
1998
+ end
1999
+
2000
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
2001
+ # type - SOAP::SOAPInt
2002
+ # sid - (any)
2003
+ # rights - SOAP::SOAPBase64
2004
+ class AceType
2005
+ attr_accessor :type
2006
+ attr_accessor :sid
2007
+ attr_accessor :rights
2008
+
2009
+ def initialize(type = nil, sid = nil, rights = nil)
2010
+ @type = type
2011
+ @sid = sid
2012
+ @rights = rights
2013
+ end
2014
+ end
2015
+
2016
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
2017
+ # owner - (any)
2018
+ # group - (any)
2019
+ # dacl - Virtuozzo::SOAP::Drivers::Process::Security_descriptorType::Dacl
2020
+ class Security_descriptorType
2021
+
2022
+ # inner class for member: dacl
2023
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
2024
+ class Dacl < ::Array
2025
+ end
2026
+
2027
+ attr_accessor :owner
2028
+ attr_accessor :group
2029
+ attr_accessor :dacl
2030
+
2031
+ def initialize(owner = nil, group = nil, dacl = nil)
2032
+ @owner = owner
2033
+ @group = group
2034
+ @dacl = dacl
2035
+ end
2036
+ end
2037
+
2038
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
2039
+ # abstract
2040
+ class Security_objectType
2041
+ def initialize
2042
+ end
2043
+ end
2044
+
2045
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
2046
+ # eid - (any)
2047
+ class Env_security_objectType < Security_objectType
2048
+ attr_accessor :eid
2049
+
2050
+ def initialize(eid = nil)
2051
+ @eid = eid
2052
+ end
2053
+ end
2054
+
2055
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}env_security_objectType
2056
+ # eid - (any)
2057
+ class Env_security_objectType_ < Env_security_objectType
2058
+ attr_accessor :eid
2059
+
2060
+ def initialize(eid = nil)
2061
+ @eid = eid
2062
+ end
2063
+ end
2064
+
2065
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
2066
+ # id - SOAP::SOAPString
2067
+ # ip_address - Virtuozzo::SOAP::Drivers::Process::Ip_addressType
2068
+ # dhcp - (any)
2069
+ # network_id - SOAP::SOAPBase64
2070
+ # status - Virtuozzo::SOAP::Drivers::Process::Net_deviceType::Status
2071
+ class Net_deviceType
2072
+
2073
+ # inner class for member: status
2074
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2075
+ # up - (any)
2076
+ # down - (any)
2077
+ class Status
2078
+ attr_accessor :up
2079
+ attr_accessor :down
2080
+
2081
+ def initialize(up = nil, down = nil)
2082
+ @up = up
2083
+ @down = down
2084
+ end
2085
+ end
2086
+
2087
+ attr_accessor :id
2088
+ attr_accessor :ip_address
2089
+ attr_accessor :dhcp
2090
+ attr_accessor :network_id
2091
+ attr_accessor :status
2092
+
2093
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
2094
+ @id = id
2095
+ @ip_address = ip_address
2096
+ @dhcp = dhcp
2097
+ @network_id = network_id
2098
+ @status = status
2099
+ end
2100
+ end
2101
+
2102
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
2103
+ # id - SOAP::SOAPString
2104
+ # ip_address - Virtuozzo::SOAP::Drivers::Process::Ip_addressType
2105
+ # dhcp - (any)
2106
+ # network_id - SOAP::SOAPBase64
2107
+ # status - Virtuozzo::SOAP::Drivers::Process::Net_nicType::Status
2108
+ # mac_address - SOAP::SOAPString
2109
+ class Net_nicType < Net_deviceType
2110
+
2111
+ # inner class for member: status
2112
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2113
+ # up - (any)
2114
+ # down - (any)
2115
+ class Status
2116
+ attr_accessor :up
2117
+ attr_accessor :down
2118
+
2119
+ def initialize(up = nil, down = nil)
2120
+ @up = up
2121
+ @down = down
2122
+ end
2123
+ end
2124
+
2125
+ attr_accessor :id
2126
+ attr_accessor :ip_address
2127
+ attr_accessor :dhcp
2128
+ attr_accessor :network_id
2129
+ attr_accessor :status
2130
+ attr_accessor :mac_address
2131
+
2132
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
2133
+ @id = id
2134
+ @ip_address = ip_address
2135
+ @dhcp = dhcp
2136
+ @network_id = network_id
2137
+ @status = status
2138
+ @mac_address = mac_address
2139
+ end
2140
+ end
2141
+
2142
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}net_vethType
2143
+ # id - SOAP::SOAPString
2144
+ # ip_address - Virtuozzo::SOAP::Drivers::Process::Ip_addressType
2145
+ # dhcp - (any)
2146
+ # network_id - SOAP::SOAPBase64
2147
+ # status - Virtuozzo::SOAP::Drivers::Process::Net_vethType::Status
2148
+ # mac_address - SOAP::SOAPString
2149
+ # wins_server - SOAP::SOAPString
2150
+ # nameserver - SOAP::SOAPString
2151
+ # default_gateway - SOAP::SOAPString
2152
+ # host_routed - (any)
2153
+ class Net_vethType < Net_nicType
2154
+
2155
+ # inner class for member: status
2156
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
2157
+ # up - (any)
2158
+ # down - (any)
2159
+ class Status
2160
+ attr_accessor :up
2161
+ attr_accessor :down
2162
+
2163
+ def initialize(up = nil, down = nil)
2164
+ @up = up
2165
+ @down = down
2166
+ end
2167
+ end
2168
+
2169
+ attr_accessor :id
2170
+ attr_accessor :ip_address
2171
+ attr_accessor :dhcp
2172
+ attr_accessor :network_id
2173
+ attr_accessor :status
2174
+ attr_accessor :mac_address
2175
+ attr_accessor :wins_server
2176
+ attr_accessor :nameserver
2177
+ attr_accessor :default_gateway
2178
+ attr_accessor :host_routed
2179
+
2180
+ 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)
2181
+ @id = id
2182
+ @ip_address = ip_address
2183
+ @dhcp = dhcp
2184
+ @network_id = network_id
2185
+ @status = status
2186
+ @mac_address = mac_address
2187
+ @wins_server = wins_server
2188
+ @nameserver = nameserver
2189
+ @default_gateway = default_gateway
2190
+ @host_routed = host_routed
2191
+ end
2192
+ end
2193
+
2194
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
2195
+ # id - SOAP::SOAPString
2196
+ # type - SOAP::SOAPString
2197
+ # min - SOAP::SOAPString
2198
+ # max - SOAP::SOAPString
2199
+ # long - SOAP::SOAPString
2200
+ # short - SOAP::SOAPString
2201
+ # category - SOAP::SOAPString
2202
+ # complex - SOAP::SOAPString
2203
+ # default - SOAP::SOAPString
2204
+ # measure - SOAP::SOAPString
2205
+ # data - (any)
2206
+ # name - (any)
2207
+ class Voc_parameterType
2208
+ attr_accessor :id
2209
+ attr_accessor :type
2210
+ attr_accessor :min
2211
+ attr_accessor :max
2212
+ attr_accessor :long
2213
+ attr_accessor :short
2214
+ attr_accessor :category
2215
+ attr_accessor :complex
2216
+ attr_accessor :default
2217
+ attr_accessor :measure
2218
+ attr_accessor :data
2219
+ attr_accessor :name
2220
+
2221
+ 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)
2222
+ @id = id
2223
+ @type = type
2224
+ @min = min
2225
+ @max = max
2226
+ @long = long
2227
+ @short = short
2228
+ @category = category
2229
+ @complex = complex
2230
+ @default = default
2231
+ @measure = measure
2232
+ @data = data
2233
+ @name = name
2234
+ end
2235
+ end
2236
+
2237
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
2238
+ # name - SOAP::SOAPString
2239
+ # parameter - Virtuozzo::SOAP::Drivers::Process::Voc_parameterType
2240
+ # category - Virtuozzo::SOAP::Drivers::Process::Voc_parameterType
2241
+ class VocabularyType
2242
+ attr_accessor :name
2243
+ attr_accessor :parameter
2244
+ attr_accessor :category
2245
+
2246
+ def initialize(name = nil, parameter = [], category = [])
2247
+ @name = name
2248
+ @parameter = parameter
2249
+ @category = category
2250
+ end
2251
+ end
2252
+
2253
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
2254
+ # cur - SOAP::SOAPAnySimpleType
2255
+ # avg - SOAP::SOAPAnySimpleType
2256
+ # max - SOAP::SOAPAnySimpleType
2257
+ # min - SOAP::SOAPAnySimpleType
2258
+ class Perf_statType
2259
+ attr_accessor :cur
2260
+ attr_accessor :avg
2261
+ attr_accessor :max
2262
+ attr_accessor :min
2263
+
2264
+ def initialize(cur = nil, avg = nil, max = nil, min = nil)
2265
+ @cur = cur
2266
+ @avg = avg
2267
+ @max = max
2268
+ @min = min
2269
+ end
2270
+ end
2271
+
2272
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
2273
+ # eid - (any)
2274
+ # m_class - Virtuozzo::SOAP::Drivers::Process::Perf_dataType::C_Class
2275
+ # interval - Virtuozzo::SOAP::Drivers::Process::IntervalType
2276
+ class Perf_dataType
2277
+
2278
+ # inner class for member: class
2279
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
2280
+ # name - SOAP::SOAPString
2281
+ # instance - Virtuozzo::SOAP::Drivers::Process::Perf_dataType::C_Class::Instance
2282
+ class C_Class
2283
+
2284
+ # inner class for member: instance
2285
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
2286
+ # name - SOAP::SOAPString
2287
+ # counter - Virtuozzo::SOAP::Drivers::Process::Perf_dataType::C_Class::Instance::Counter
2288
+ class Instance
2289
+
2290
+ # inner class for member: counter
2291
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
2292
+ # name - SOAP::SOAPString
2293
+ # value - Virtuozzo::SOAP::Drivers::Process::Perf_statType
2294
+ class Counter
2295
+ attr_accessor :name
2296
+ attr_accessor :value
2297
+
2298
+ def initialize(name = nil, value = nil)
2299
+ @name = name
2300
+ @value = value
2301
+ end
2302
+ end
2303
+
2304
+ attr_accessor :name
2305
+ attr_accessor :counter
2306
+
2307
+ def initialize(name = nil, counter = [])
2308
+ @name = name
2309
+ @counter = counter
2310
+ end
2311
+ end
2312
+
2313
+ attr_accessor :name
2314
+ attr_accessor :instance
2315
+
2316
+ def initialize(name = nil, instance = [])
2317
+ @name = name
2318
+ @instance = instance
2319
+ end
2320
+ end
2321
+
2322
+ attr_accessor :eid
2323
+ attr_accessor :interval
2324
+
2325
+ def m_class
2326
+ @v_class
2327
+ end
2328
+
2329
+ def m_class=(value)
2330
+ @v_class = value
2331
+ end
2332
+
2333
+ def initialize(eid = nil, v_class = [], interval = nil)
2334
+ @eid = eid
2335
+ @v_class = v_class
2336
+ @interval = interval
2337
+ end
2338
+ end
2339
+
2340
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
2341
+ class Log_options_baseType
2342
+ def initialize
2343
+ end
2344
+ end
2345
+
2346
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
2347
+ class Log_optionsType < Log_options_baseType
2348
+ def initialize
2349
+ end
2350
+ end
2351
+
2352
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}log_optionsType
2353
+ # type - SOAP::SOAPInt
2354
+ class Log_optionsType_ < Log_options_baseType
2355
+ attr_accessor :type
2356
+
2357
+ def initialize(type = nil)
2358
+ @type = type
2359
+ end
2360
+ end
2361
+
2362
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}redirect_serviceType
2363
+ # id - SOAP::SOAPString
2364
+ # port - SOAP::SOAPInt
2365
+ # dst - (any)
2366
+ # default - (any)
2367
+ class Redirect_serviceType
2368
+ attr_accessor :id
2369
+ attr_accessor :port
2370
+ attr_accessor :dst
2371
+ attr_accessor :default
2372
+
2373
+ def initialize(id = nil, port = nil, dst = nil, default = nil)
2374
+ @id = id
2375
+ @port = port
2376
+ @dst = dst
2377
+ @default = default
2378
+ end
2379
+ end
2380
+
2381
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}templateType
2382
+ # name - SOAP::SOAPString
2383
+ # version - SOAP::SOAPString
2384
+ class TemplateType
2385
+ attr_accessor :name
2386
+ attr_accessor :version
2387
+
2388
+ def initialize(name = nil, version = nil)
2389
+ @name = name
2390
+ @version = version
2391
+ end
2392
+ end
2393
+
2394
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
2395
+ class Transport_type < ::String
2396
+ Tcp = Transport_type.new("tcp")
2397
+ Udp = Transport_type.new("udp")
2398
+ end
2399
+
2400
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
2401
+ class Yes_no_type < ::String
2402
+ No = Yes_no_type.new("no")
2403
+ Yes = Yes_no_type.new("yes")
2404
+ end
2405
+
2406
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaprocessm}kill
2407
+ # eid - (any)
2408
+ # pid - SOAP::SOAPInt
2409
+ # signal - SOAP::SOAPInt
2410
+ class Kill
2411
+ attr_accessor :eid
2412
+ attr_accessor :pid
2413
+ attr_accessor :signal
2414
+
2415
+ def initialize(eid = nil, pid = [], signal = nil)
2416
+ @eid = eid
2417
+ @pid = pid
2418
+ @signal = signal
2419
+ end
2420
+ end
2421
+
2422
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzaprocessm}killResponse
2423
+ class KillResponse
2424
+ def initialize
2425
+ end
2426
+ end
2427
+
2428
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
2429
+ # auth - Virtuozzo::SOAP::Drivers::Process::AuthType
2430
+ # cookie - SOAP::SOAPString
2431
+ # target - SOAP::SOAPString
2432
+ # origin - SOAP::SOAPString
2433
+ # src - Virtuozzo::SOAP::Drivers::Process::RouteType
2434
+ # dst - Virtuozzo::SOAP::Drivers::Process::RouteType
2435
+ # session - SOAP::SOAPString
2436
+ # data - Virtuozzo::SOAP::Drivers::Process::Packet::C_Data
2437
+ # xmlattr_version - SOAP::SOAPString
2438
+ # xmlattr_id - SOAP::SOAPString
2439
+ # xmlattr_priority - SOAP::SOAPString
2440
+ # xmlattr_time - SOAP::SOAPString
2441
+ # xmlattr_progress - SOAP::SOAPString
2442
+ # xmlattr_log - SOAP::SOAPString
2443
+ # xmlattr_type - SOAP::SOAPInt
2444
+ # xmlattr_timeout - SOAP::SOAPInt
2445
+ # xmlattr_timeout_limit - SOAP::SOAPInt
2446
+ # xmlattr_uid - SOAP::SOAPInt
2447
+ class Packet < Packet_headerType
2448
+ AttrC_Time = XSD::QName.new(nil, "time")
2449
+ AttrId = XSD::QName.new(nil, "id")
2450
+ AttrLog = XSD::QName.new(nil, "log")
2451
+ AttrPriority = XSD::QName.new(nil, "priority")
2452
+ AttrProgress = XSD::QName.new(nil, "progress")
2453
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2454
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2455
+ AttrType = XSD::QName.new(nil, "type")
2456
+ AttrUid = XSD::QName.new(nil, "uid")
2457
+ AttrVersion = XSD::QName.new(nil, "version")
2458
+
2459
+ # inner class for member: data
2460
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2461
+ class C_Data < ::Array
2462
+ end
2463
+
2464
+ attr_accessor :auth
2465
+ attr_accessor :cookie
2466
+ attr_accessor :target
2467
+ attr_accessor :origin
2468
+ attr_accessor :src
2469
+ attr_accessor :dst
2470
+ attr_accessor :session
2471
+ attr_accessor :data
2472
+
2473
+ def __xmlattr
2474
+ @__xmlattr ||= {}
2475
+ end
2476
+
2477
+ def xmlattr_version
2478
+ __xmlattr[AttrVersion]
2479
+ end
2480
+
2481
+ def xmlattr_version=(value)
2482
+ __xmlattr[AttrVersion] = value
2483
+ end
2484
+
2485
+ def xmlattr_id
2486
+ __xmlattr[AttrId]
2487
+ end
2488
+
2489
+ def xmlattr_id=(value)
2490
+ __xmlattr[AttrId] = value
2491
+ end
2492
+
2493
+ def xmlattr_priority
2494
+ __xmlattr[AttrPriority]
2495
+ end
2496
+
2497
+ def xmlattr_priority=(value)
2498
+ __xmlattr[AttrPriority] = value
2499
+ end
2500
+
2501
+ def xmlattr_time
2502
+ __xmlattr[AttrC_Time]
2503
+ end
2504
+
2505
+ def xmlattr_time=(value)
2506
+ __xmlattr[AttrC_Time] = value
2507
+ end
2508
+
2509
+ def xmlattr_progress
2510
+ __xmlattr[AttrProgress]
2511
+ end
2512
+
2513
+ def xmlattr_progress=(value)
2514
+ __xmlattr[AttrProgress] = value
2515
+ end
2516
+
2517
+ def xmlattr_log
2518
+ __xmlattr[AttrLog]
2519
+ end
2520
+
2521
+ def xmlattr_log=(value)
2522
+ __xmlattr[AttrLog] = value
2523
+ end
2524
+
2525
+ def xmlattr_type
2526
+ __xmlattr[AttrType]
2527
+ end
2528
+
2529
+ def xmlattr_type=(value)
2530
+ __xmlattr[AttrType] = value
2531
+ end
2532
+
2533
+ def xmlattr_timeout
2534
+ __xmlattr[AttrTimeout]
2535
+ end
2536
+
2537
+ def xmlattr_timeout=(value)
2538
+ __xmlattr[AttrTimeout] = value
2539
+ end
2540
+
2541
+ def xmlattr_timeout_limit
2542
+ __xmlattr[AttrTimeout_limit]
2543
+ end
2544
+
2545
+ def xmlattr_timeout_limit=(value)
2546
+ __xmlattr[AttrTimeout_limit] = value
2547
+ end
2548
+
2549
+ def xmlattr_uid
2550
+ __xmlattr[AttrUid]
2551
+ end
2552
+
2553
+ def xmlattr_uid=(value)
2554
+ __xmlattr[AttrUid] = value
2555
+ end
2556
+
2557
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2558
+ @auth = auth
2559
+ @cookie = cookie
2560
+ @target = target
2561
+ @origin = origin
2562
+ @src = src
2563
+ @dst = dst
2564
+ @session = session
2565
+ @data = data
2566
+ @__xmlattr = {}
2567
+ end
2568
+ end
2569
+
2570
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
2571
+ class Ok < ::String
2572
+ def initialize(*arg)
2573
+ super
2574
+ end
2575
+ end
2576
+
2577
+ # {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}interface_rate
2578
+ # class_id - SOAP::SOAPString
2579
+ # net_device_id - SOAP::SOAPString
2580
+ # rate - SOAP::SOAPLong
2581
+ class Interface_rate
2582
+ attr_accessor :class_id
2583
+ attr_accessor :net_device_id
2584
+ attr_accessor :rate
2585
+
2586
+ def initialize(class_id = nil, net_device_id = nil, rate = nil)
2587
+ @class_id = class_id
2588
+ @net_device_id = net_device_id
2589
+ @rate = rate
2590
+ end
2591
+ end
2592
+
2593
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/processm}kill
2594
+ # pid - SOAP::SOAPInt
2595
+ # signal - SOAP::SOAPInt
2596
+ class Kill_
2597
+ attr_accessor :pid
2598
+ attr_accessor :signal
2599
+
2600
+ def initialize(pid = [], signal = nil)
2601
+ @pid = pid
2602
+ @signal = signal
2603
+ end
2604
+ end
2605
+
2606
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/processm}execute
2607
+ # argv - SOAP::SOAPBase64
2608
+ # envp - SOAP::SOAPBase64
2609
+ # stream_mode - (any)
2610
+ # cred - Virtuozzo::SOAP::Drivers::Process::Execute::Cred
2611
+ # stdio - Virtuozzo::SOAP::Drivers::Process::Execute::Stdio
2612
+ class Execute
2613
+
2614
+ # inner class for member: cred
2615
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/processm}cred
2616
+ # user - SOAP::SOAPString
2617
+ # uid - SOAP::SOAPLong
2618
+ # group - SOAP::SOAPString
2619
+ # gid - SOAP::SOAPLong
2620
+ # chroot - SOAP::SOAPBase64
2621
+ # chdir - SOAP::SOAPBase64
2622
+ # umask - SOAP::SOAPInt
2623
+ class Cred
2624
+ attr_accessor :user
2625
+ attr_accessor :uid
2626
+ attr_accessor :group
2627
+ attr_accessor :gid
2628
+ attr_accessor :chroot
2629
+ attr_accessor :chdir
2630
+ attr_accessor :umask
2631
+
2632
+ def initialize(user = nil, uid = nil, group = [], gid = [], chroot = nil, chdir = nil, umask = nil)
2633
+ @user = user
2634
+ @uid = uid
2635
+ @group = group
2636
+ @gid = gid
2637
+ @chroot = chroot
2638
+ @chdir = chdir
2639
+ @umask = umask
2640
+ end
2641
+ end
2642
+
2643
+ # inner class for member: stdio
2644
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/processm}stdio
2645
+ # input - SOAP::SOAPBase64
2646
+ # output - (any)
2647
+ # error - (any)
2648
+ # mixed - (any)
2649
+ class Stdio
2650
+ attr_accessor :input
2651
+ attr_accessor :output
2652
+ attr_accessor :error
2653
+ attr_accessor :mixed
2654
+
2655
+ def initialize(input = nil, output = nil, error = nil, mixed = nil)
2656
+ @input = input
2657
+ @output = output
2658
+ @error = error
2659
+ @mixed = mixed
2660
+ end
2661
+ end
2662
+
2663
+ attr_accessor :argv
2664
+ attr_accessor :envp
2665
+ attr_accessor :stream_mode
2666
+ attr_accessor :cred
2667
+ attr_accessor :stdio
2668
+
2669
+ def initialize(argv = [], envp = [], stream_mode = nil, cred = nil, stdio = nil)
2670
+ @argv = argv
2671
+ @envp = envp
2672
+ @stream_mode = stream_mode
2673
+ @cred = cred
2674
+ @stdio = stdio
2675
+ end
2676
+ end
2677
+
2678
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/processm}exec
2679
+ # status - SOAP::SOAPInt
2680
+ # output - SOAP::SOAPBase64
2681
+ # error - SOAP::SOAPBase64
2682
+ class Exec
2683
+ attr_accessor :status
2684
+ attr_accessor :output
2685
+ attr_accessor :error
2686
+
2687
+ def initialize(status = nil, output = nil, error = nil)
2688
+ @status = status
2689
+ @output = output
2690
+ @error = error
2691
+ end
2692
+ end
2693
+
2694
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/processm}executeResponse
2695
+ # exec - Virtuozzo::SOAP::Drivers::Process::Exec
2696
+ class ExecuteResponse
2697
+ attr_accessor :exec
2698
+
2699
+ def initialize(exec = nil)
2700
+ @exec = exec
2701
+ end
2702
+ end
2703
+
2704
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/processm}killResponse
2705
+ class KillResponse_
2706
+ def initialize
2707
+ end
2708
+ end
2709
+
2710
+
2711
+ end; end; end; end