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