plainprograms-virtuozzo 0.5.3 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/CHANGELOG.rdoc +21 -0
  2. data/Rakefile +3 -3
  3. data/TODO.rdoc +20 -0
  4. data/lib/virtuozzo/soap.rb +216 -0
  5. data/lib/virtuozzo/soap/drivers/alertm.rb +78 -0
  6. data/lib/virtuozzo/soap/drivers/authm.rb +172 -0
  7. data/lib/virtuozzo/soap/drivers/backupm.rb +108 -0
  8. data/lib/virtuozzo/soap/drivers/computerm.rb +108 -0
  9. data/lib/virtuozzo/soap/drivers/env_samplem.rb +84 -0
  10. data/lib/virtuozzo/soap/drivers/event_log.rb +60 -0
  11. data/lib/virtuozzo/soap/drivers/filer.rb +156 -0
  12. data/lib/virtuozzo/soap/drivers/firewallm.rb +100 -0
  13. data/lib/virtuozzo/soap/drivers/licensem.rb +100 -0
  14. data/lib/virtuozzo/soap/drivers/mailer.rb +108 -0
  15. data/lib/virtuozzo/soap/drivers/op_log.rb +60 -0
  16. data/lib/virtuozzo/soap/drivers/perf_mon.rb +76 -0
  17. data/lib/virtuozzo/soap/drivers/res_log.rb +84 -0
  18. data/lib/virtuozzo/soap/drivers/resourcem.rb +100 -0
  19. data/lib/virtuozzo/soap/drivers/scheduler.rb +84 -0
  20. data/lib/virtuozzo/soap/drivers/server_group.rb +140 -0
  21. data/lib/virtuozzo/soap/drivers/servicem.rb +100 -0
  22. data/lib/virtuozzo/soap/drivers/userm.rb +156 -0
  23. data/lib/virtuozzo/soap/mapping_registries/alertm.rb +2799 -0
  24. data/lib/virtuozzo/soap/mapping_registries/authm.rb +3292 -0
  25. data/lib/virtuozzo/soap/mapping_registries/backupm.rb +3597 -0
  26. data/lib/virtuozzo/soap/mapping_registries/computerm.rb +2896 -0
  27. data/lib/virtuozzo/soap/mapping_registries/env_samplem.rb +2735 -0
  28. data/lib/virtuozzo/soap/mapping_registries/event_log.rb +2695 -0
  29. data/lib/virtuozzo/soap/mapping_registries/filer.rb +3211 -0
  30. data/lib/virtuozzo/soap/mapping_registries/firewallm.rb +2815 -0
  31. data/lib/virtuozzo/soap/mapping_registries/licensem.rb +2889 -0
  32. data/lib/virtuozzo/soap/mapping_registries/mailer.rb +2831 -0
  33. data/lib/virtuozzo/soap/mapping_registries/op_log.rb +2724 -0
  34. data/lib/virtuozzo/soap/mapping_registries/perf_mon.rb +2798 -0
  35. data/lib/virtuozzo/soap/mapping_registries/res_log.rb +2946 -0
  36. data/lib/virtuozzo/soap/mapping_registries/resourcem.rb +2837 -0
  37. data/lib/virtuozzo/soap/mapping_registries/scheduler.rb +2928 -0
  38. data/lib/virtuozzo/soap/mapping_registries/server_group.rb +3161 -0
  39. data/lib/virtuozzo/soap/mapping_registries/servicem.rb +2949 -0
  40. data/lib/virtuozzo/soap/mapping_registries/userm.rb +3173 -0
  41. data/lib/virtuozzo/soap/types/alertm.rb +2233 -0
  42. data/lib/virtuozzo/soap/types/authm.rb +2655 -0
  43. data/lib/virtuozzo/soap/types/backupm.rb +2773 -0
  44. data/lib/virtuozzo/soap/types/computerm.rb +2334 -0
  45. data/lib/virtuozzo/soap/types/env_samplem.rb +2159 -0
  46. data/lib/virtuozzo/soap/types/event_log.rb +2125 -0
  47. data/lib/virtuozzo/soap/types/filer.rb +2807 -0
  48. data/lib/virtuozzo/soap/types/firewallm.rb +2225 -0
  49. data/lib/virtuozzo/soap/types/licensem.rb +2266 -0
  50. data/lib/virtuozzo/soap/types/mailer.rb +2311 -0
  51. data/lib/virtuozzo/soap/types/op_log.rb +2156 -0
  52. data/lib/virtuozzo/soap/types/perf_mon.rb +2258 -0
  53. data/lib/virtuozzo/soap/types/res_log.rb +2340 -0
  54. data/lib/virtuozzo/soap/types/resourcem.rb +2213 -0
  55. data/lib/virtuozzo/soap/types/scheduler.rb +2307 -0
  56. data/lib/virtuozzo/soap/types/server_group.rb +2467 -0
  57. data/lib/virtuozzo/soap/types/servicem.rb +2292 -0
  58. data/lib/virtuozzo/soap/types/userm.rb +2599 -0
  59. data/virtuozzo.gemspec +10 -10
  60. metadata +116 -6
@@ -0,0 +1,2292 @@
1
+ require 'xsd/qname'
2
+
3
+ module Virtuozzo
4
+ module SOAP
5
+ module Types
6
+ module Servicem
7
+
8
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}serviceType
9
+ # name - SOAP::SOAPString
10
+ # display_name - SOAP::SOAPBase64
11
+ # level - SOAP::SOAPByte
12
+ # state - SOAP::SOAPBoolean
13
+ # readonly - (any)
14
+ # xinetd - (any)
15
+ # description - SOAP::SOAPBase64
16
+ # status - SOAP::SOAPString
17
+ # startup_type - SOAP::SOAPString
18
+ # logon_as - SOAP::SOAPString
19
+ # dependent - SOAP::SOAPString
20
+ # depended_on - SOAP::SOAPString
21
+ class ServiceType
22
+ attr_accessor :name
23
+ attr_accessor :display_name
24
+ attr_accessor :level
25
+ attr_accessor :state
26
+ attr_accessor :readonly
27
+ attr_accessor :xinetd
28
+ attr_accessor :description
29
+ attr_accessor :status
30
+ attr_accessor :startup_type
31
+ attr_accessor :logon_as
32
+ attr_accessor :dependent
33
+ attr_accessor :depended_on
34
+
35
+ def initialize(name = nil, display_name = nil, level = [], state = nil, readonly = nil, xinetd = nil, description = nil, status = nil, startup_type = nil, logon_as = nil, dependent = [], depended_on = [])
36
+ @name = name
37
+ @display_name = display_name
38
+ @level = level
39
+ @state = state
40
+ @readonly = readonly
41
+ @xinetd = xinetd
42
+ @description = description
43
+ @status = status
44
+ @startup_type = startup_type
45
+ @logon_as = logon_as
46
+ @dependent = dependent
47
+ @depended_on = depended_on
48
+ end
49
+ end
50
+
51
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}service_actionType
52
+ # service - Virtuozzo::SOAP::Types::Servicem::Service_actionType::Service
53
+ class Service_actionType
54
+
55
+ # inner class for member: service
56
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}service
57
+ # name - SOAP::SOAPString
58
+ # level - SOAP::SOAPByte
59
+ # xinetd - (any)
60
+ class Service < ServiceType
61
+ attr_accessor :name
62
+ attr_accessor :level
63
+ attr_accessor :xinetd
64
+
65
+ def initialize(name = nil, level = [], xinetd = nil)
66
+ @name = name
67
+ @level = level
68
+ @xinetd = xinetd
69
+ end
70
+ end
71
+
72
+ attr_accessor :service
73
+
74
+ def initialize(service = nil)
75
+ @service = service
76
+ end
77
+ end
78
+
79
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}osType
80
+ # platform - SOAP::SOAPString
81
+ # name - SOAP::SOAPString
82
+ # version - SOAP::SOAPString
83
+ # kernel - SOAP::SOAPString
84
+ class OsType
85
+ attr_accessor :platform
86
+ attr_accessor :name
87
+ attr_accessor :version
88
+ attr_accessor :kernel
89
+
90
+ def initialize(platform = nil, name = nil, version = nil, kernel = nil)
91
+ @platform = platform
92
+ @name = name
93
+ @version = version
94
+ @kernel = kernel
95
+ end
96
+ end
97
+
98
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_statusType
99
+ # state - SOAP::SOAPInt
100
+ # transition - SOAP::SOAPInt
101
+ class Env_statusType
102
+ attr_accessor :state
103
+ attr_accessor :transition
104
+
105
+ def initialize(state = nil, transition = nil)
106
+ @state = state
107
+ @transition = transition
108
+ end
109
+ end
110
+
111
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}qosType
112
+ # id - SOAP::SOAPString
113
+ # soft - SOAP::SOAPLong
114
+ # hard - SOAP::SOAPLong
115
+ # cur - SOAP::SOAPLong
116
+ class QosType
117
+ attr_accessor :id
118
+ attr_accessor :soft
119
+ attr_accessor :hard
120
+ attr_accessor :cur
121
+
122
+ def initialize(id = nil, soft = nil, hard = nil, cur = nil)
123
+ @id = id
124
+ @soft = soft
125
+ @hard = hard
126
+ @cur = cur
127
+ end
128
+ end
129
+
130
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_configType
131
+ # name - SOAP::SOAPString
132
+ # description - SOAP::SOAPBase64
133
+ # domain - SOAP::SOAPString
134
+ # hostname - SOAP::SOAPString
135
+ # address - Virtuozzo::SOAP::Types::Servicem::Ip_addressType
136
+ # architecture - SOAP::SOAPString
137
+ # os - Virtuozzo::SOAP::Types::Servicem::OsType
138
+ # type - SOAP::SOAPString
139
+ # nameserver - SOAP::SOAPString
140
+ # search_domain - SOAP::SOAPString
141
+ # base_sample_id - (any)
142
+ # base_snapshot_id - (any)
143
+ # child_type - SOAP::SOAPString
144
+ class Env_configType
145
+ attr_accessor :name
146
+ attr_accessor :description
147
+ attr_accessor :domain
148
+ attr_accessor :hostname
149
+ attr_accessor :address
150
+ attr_accessor :architecture
151
+ attr_accessor :os
152
+ attr_accessor :type
153
+ attr_accessor :nameserver
154
+ attr_accessor :search_domain
155
+ attr_accessor :base_sample_id
156
+ attr_accessor :base_snapshot_id
157
+ attr_accessor :child_type
158
+
159
+ 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 = [])
160
+ @name = name
161
+ @description = description
162
+ @domain = domain
163
+ @hostname = hostname
164
+ @address = address
165
+ @architecture = architecture
166
+ @os = os
167
+ @type = type
168
+ @nameserver = nameserver
169
+ @search_domain = search_domain
170
+ @base_sample_id = base_sample_id
171
+ @base_snapshot_id = base_snapshot_id
172
+ @child_type = child_type
173
+ end
174
+ end
175
+
176
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}venv_configType
177
+ # name - SOAP::SOAPString
178
+ # description - SOAP::SOAPBase64
179
+ # domain - SOAP::SOAPString
180
+ # hostname - SOAP::SOAPString
181
+ # address - Virtuozzo::SOAP::Types::Servicem::Ip_addressType
182
+ # architecture - SOAP::SOAPString
183
+ # os - Virtuozzo::SOAP::Types::Servicem::OsType
184
+ # type - SOAP::SOAPString
185
+ # nameserver - SOAP::SOAPString
186
+ # search_domain - SOAP::SOAPString
187
+ # base_sample_id - (any)
188
+ # base_snapshot_id - (any)
189
+ # child_type - SOAP::SOAPString
190
+ # qos - Virtuozzo::SOAP::Types::Servicem::QosType
191
+ class Venv_configType < Env_configType
192
+ attr_accessor :name
193
+ attr_accessor :description
194
+ attr_accessor :domain
195
+ attr_accessor :hostname
196
+ attr_accessor :address
197
+ attr_accessor :architecture
198
+ attr_accessor :os
199
+ attr_accessor :type
200
+ attr_accessor :nameserver
201
+ attr_accessor :search_domain
202
+ attr_accessor :base_sample_id
203
+ attr_accessor :base_snapshot_id
204
+ attr_accessor :child_type
205
+ attr_accessor :qos
206
+
207
+ 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 = [])
208
+ @name = name
209
+ @description = description
210
+ @domain = domain
211
+ @hostname = hostname
212
+ @address = address
213
+ @architecture = architecture
214
+ @os = os
215
+ @type = type
216
+ @nameserver = nameserver
217
+ @search_domain = search_domain
218
+ @base_sample_id = base_sample_id
219
+ @base_snapshot_id = base_snapshot_id
220
+ @child_type = child_type
221
+ @qos = qos
222
+ end
223
+ end
224
+
225
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}native_configType
226
+ class Native_configType
227
+ def initialize
228
+ end
229
+ end
230
+
231
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}envType
232
+ # parent_eid - (any)
233
+ # eid - (any)
234
+ # status - Virtuozzo::SOAP::Types::Servicem::Env_statusType
235
+ # alert - SOAP::SOAPInt
236
+ # config - Virtuozzo::SOAP::Types::Servicem::Env_configType
237
+ # virtual_config - Virtuozzo::SOAP::Types::Servicem::Venv_configType
238
+ class EnvType
239
+ attr_accessor :parent_eid
240
+ attr_accessor :eid
241
+ attr_accessor :status
242
+ attr_accessor :alert
243
+ attr_accessor :config
244
+ attr_accessor :virtual_config
245
+
246
+ def initialize(parent_eid = nil, eid = nil, status = nil, alert = nil, config = nil, virtual_config = nil)
247
+ @parent_eid = parent_eid
248
+ @eid = eid
249
+ @status = status
250
+ @alert = alert
251
+ @config = config
252
+ @virtual_config = virtual_config
253
+ end
254
+ end
255
+
256
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}processesType
257
+ # run - SOAP::SOAPInt
258
+ # zombie - SOAP::SOAPInt
259
+ # sleep - SOAP::SOAPInt
260
+ # uninterrupt - SOAP::SOAPInt
261
+ # stopped - SOAP::SOAPInt
262
+ # total - SOAP::SOAPInt
263
+ class ProcessesType
264
+ attr_accessor :run
265
+ attr_accessor :zombie
266
+ attr_accessor :sleep
267
+ attr_accessor :uninterrupt
268
+ attr_accessor :stopped
269
+ attr_accessor :total
270
+
271
+ def initialize(run = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
272
+ @run = run
273
+ @zombie = zombie
274
+ @sleep = sleep
275
+ @uninterrupt = uninterrupt
276
+ @stopped = stopped
277
+ @total = total
278
+ end
279
+ end
280
+
281
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avgType
282
+ # l1 - SOAP::SOAPDouble
283
+ # l2 - SOAP::SOAPDouble
284
+ # l3 - SOAP::SOAPDouble
285
+ class Load_avgType
286
+ attr_accessor :l1
287
+ attr_accessor :l2
288
+ attr_accessor :l3
289
+
290
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
291
+ @l1 = l1
292
+ @l2 = l2
293
+ @l3 = l3
294
+ end
295
+ end
296
+
297
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpu_loadType
298
+ # system - SOAP::SOAPLong
299
+ # user - SOAP::SOAPLong
300
+ # nice - SOAP::SOAPLong
301
+ # idle - SOAP::SOAPLong
302
+ class Cpu_loadType
303
+ attr_accessor :system
304
+ attr_accessor :user
305
+ attr_accessor :nice
306
+ attr_accessor :idle
307
+
308
+ def initialize(system = nil, user = nil, nice = nil, idle = nil)
309
+ @system = system
310
+ @user = user
311
+ @nice = nice
312
+ @idle = idle
313
+ end
314
+ end
315
+
316
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpuType
317
+ # mhz - SOAP::SOAPInt
318
+ # name - SOAP::SOAPString
319
+ # number - SOAP::SOAPInt
320
+ # cores - SOAP::SOAPInt
321
+ # hyperthreads - SOAP::SOAPInt
322
+ # units - SOAP::SOAPInt
323
+ # family - SOAP::SOAPString
324
+ # model - SOAP::SOAPString
325
+ # bogomips - SOAP::SOAPInt
326
+ class CpuType
327
+ attr_accessor :mhz
328
+ attr_accessor :name
329
+ attr_accessor :number
330
+ attr_accessor :cores
331
+ attr_accessor :hyperthreads
332
+ attr_accessor :units
333
+ attr_accessor :family
334
+ attr_accessor :model
335
+ attr_accessor :bogomips
336
+
337
+ def initialize(mhz = nil, name = nil, number = nil, cores = nil, hyperthreads = nil, units = nil, family = nil, model = nil, bogomips = nil)
338
+ @mhz = mhz
339
+ @name = name
340
+ @number = number
341
+ @cores = cores
342
+ @hyperthreads = hyperthreads
343
+ @units = units
344
+ @family = family
345
+ @model = model
346
+ @bogomips = bogomips
347
+ end
348
+ end
349
+
350
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transferType
351
+ # input - Virtuozzo::SOAP::Types::Servicem::TransferType::Input
352
+ # output - Virtuozzo::SOAP::Types::Servicem::TransferType::Output
353
+ class TransferType
354
+
355
+ # inner class for member: input
356
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}input
357
+ # bytes - SOAP::SOAPLong
358
+ # packets - SOAP::SOAPLong
359
+ class Input
360
+ attr_accessor :bytes
361
+ attr_accessor :packets
362
+
363
+ def initialize(bytes = nil, packets = nil)
364
+ @bytes = bytes
365
+ @packets = packets
366
+ end
367
+ end
368
+
369
+ # inner class for member: output
370
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}output
371
+ # bytes - SOAP::SOAPLong
372
+ # packets - SOAP::SOAPLong
373
+ class Output
374
+ attr_accessor :bytes
375
+ attr_accessor :packets
376
+
377
+ def initialize(bytes = nil, packets = nil)
378
+ @bytes = bytes
379
+ @packets = packets
380
+ end
381
+ end
382
+
383
+ attr_accessor :input
384
+ attr_accessor :output
385
+
386
+ def initialize(input = nil, output = nil)
387
+ @input = input
388
+ @output = output
389
+ end
390
+ end
391
+
392
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
393
+ # address - Virtuozzo::SOAP::Types::Servicem::System_nodeType::Address
394
+ # login - Virtuozzo::SOAP::Types::Servicem::System_nodeType::Login
395
+ class System_nodeType
396
+
397
+ # inner class for member: address
398
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
399
+ # ip - (any)
400
+ class Address < Ip_addressType
401
+ attr_accessor :ip
402
+
403
+ def initialize(ip = nil)
404
+ @ip = ip
405
+ end
406
+ end
407
+
408
+ # inner class for member: login
409
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
410
+ # user - SOAP::SOAPString
411
+ # password - SOAP::SOAPBase64
412
+ class Login
413
+ attr_accessor :user
414
+ attr_accessor :password
415
+
416
+ def initialize(user = nil, password = nil)
417
+ @user = user
418
+ @password = password
419
+ end
420
+ end
421
+
422
+ attr_accessor :address
423
+ attr_accessor :login
424
+
425
+ def initialize(address = nil, login = nil)
426
+ @address = address
427
+ @login = login
428
+ end
429
+ end
430
+
431
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
432
+ # total - SOAP::SOAPLong
433
+ # used - SOAP::SOAPLong
434
+ # free - SOAP::SOAPLong
435
+ # avg - SOAP::SOAPLong
436
+ # min - SOAP::SOAPLong
437
+ # max - SOAP::SOAPLong
438
+ class ResourceType
439
+ attr_accessor :total
440
+ attr_accessor :used
441
+ attr_accessor :free
442
+ attr_accessor :avg
443
+ attr_accessor :min
444
+ attr_accessor :max
445
+
446
+ def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
447
+ @total = total
448
+ @used = used
449
+ @free = free
450
+ @avg = avg
451
+ @min = min
452
+ @max = max
453
+ end
454
+ end
455
+
456
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
457
+ # start_time - (any)
458
+ # end_time - (any)
459
+ class IntervalType
460
+ attr_accessor :start_time
461
+ attr_accessor :end_time
462
+
463
+ def initialize(start_time = nil, end_time = nil)
464
+ @start_time = start_time
465
+ @end_time = end_time
466
+ end
467
+ end
468
+
469
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
470
+ # avg - SOAP::SOAPLong
471
+ # min - SOAP::SOAPLong
472
+ # max - SOAP::SOAPLong
473
+ # total - SOAP::SOAPLong
474
+ # cur - SOAP::SOAPLong
475
+ # soft - SOAP::SOAPLong
476
+ # hard - SOAP::SOAPLong
477
+ class StatsType
478
+ attr_accessor :avg
479
+ attr_accessor :min
480
+ attr_accessor :max
481
+ attr_accessor :total
482
+ attr_accessor :cur
483
+ attr_accessor :soft
484
+ attr_accessor :hard
485
+
486
+ def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
487
+ @avg = avg
488
+ @min = min
489
+ @max = max
490
+ @total = total
491
+ @cur = cur
492
+ @soft = soft
493
+ @hard = hard
494
+ end
495
+ end
496
+
497
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
498
+ # host - (any)
499
+ # mask - (any)
500
+ class Net_addressType
501
+ attr_accessor :host
502
+ attr_accessor :mask
503
+
504
+ def initialize(host = nil, mask = nil)
505
+ @host = host
506
+ @mask = mask
507
+ end
508
+ end
509
+
510
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
511
+ # id - SOAP::SOAPString
512
+ # transfer - Virtuozzo::SOAP::Types::Servicem::TransferType
513
+ class Net_classType
514
+ attr_accessor :id
515
+ attr_accessor :transfer
516
+
517
+ def initialize(id = nil, transfer = nil)
518
+ @id = id
519
+ @transfer = transfer
520
+ end
521
+ end
522
+
523
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
524
+ # id - SOAP::SOAPString
525
+ # start_ip - (any)
526
+ # subnet_mask - SOAP::SOAPInt
527
+ # comment - SOAP::SOAPString
528
+ class Ip_rangeType
529
+ attr_accessor :id
530
+ attr_accessor :start_ip
531
+ attr_accessor :subnet_mask
532
+ attr_accessor :comment
533
+
534
+ def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
535
+ @id = id
536
+ @start_ip = start_ip
537
+ @subnet_mask = subnet_mask
538
+ @comment = comment
539
+ end
540
+ end
541
+
542
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
543
+ # env_config - Virtuozzo::SOAP::Types::Servicem::Env_configType
544
+ # id - SOAP::SOAPString
545
+ # name - SOAP::SOAPString
546
+ # comment - SOAP::SOAPBase64
547
+ # vt_version - Virtuozzo::SOAP::Types::Servicem::Sample_confType::Vt_version
548
+ class Sample_confType
549
+
550
+ # inner class for member: vt_version
551
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
552
+ # platform - SOAP::SOAPString
553
+ # architecture - SOAP::SOAPString
554
+ # vt_technology - SOAP::SOAPString
555
+ class Vt_version
556
+ attr_accessor :platform
557
+ attr_accessor :architecture
558
+ attr_accessor :vt_technology
559
+
560
+ def initialize(platform = nil, architecture = nil, vt_technology = nil)
561
+ @platform = platform
562
+ @architecture = architecture
563
+ @vt_technology = vt_technology
564
+ end
565
+ end
566
+
567
+ attr_accessor :env_config
568
+ attr_accessor :id
569
+ attr_accessor :name
570
+ attr_accessor :comment
571
+ attr_accessor :vt_version
572
+
573
+ def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
574
+ @env_config = env_config
575
+ @id = id
576
+ @name = name
577
+ @comment = comment
578
+ @vt_version = vt_version
579
+ end
580
+ end
581
+
582
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
583
+ # name - SOAP::SOAPString
584
+ # bandwidth - SOAP::SOAPInt
585
+ # transfer - Virtuozzo::SOAP::Types::Servicem::TransferType
586
+ # ipaddress - (any)
587
+ # flags - SOAP::SOAPInt
588
+ class InterfaceType
589
+ attr_accessor :name
590
+ attr_accessor :bandwidth
591
+ attr_accessor :transfer
592
+ attr_accessor :ipaddress
593
+ attr_accessor :flags
594
+
595
+ def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
596
+ @name = name
597
+ @bandwidth = bandwidth
598
+ @transfer = transfer
599
+ @ipaddress = ipaddress
600
+ @flags = flags
601
+ end
602
+ end
603
+
604
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
605
+ # load_avg - Virtuozzo::SOAP::Types::Servicem::Load_avgType
606
+ # processes - Virtuozzo::SOAP::Types::Servicem::ProcessesType
607
+ # cpu_load - Virtuozzo::SOAP::Types::Servicem::Cpu_loadType
608
+ # cpu_states - Virtuozzo::SOAP::Types::Servicem::Cpu_loadType
609
+ # users - SOAP::SOAPInt
610
+ # uptime - SOAP::SOAPLong
611
+ # memory - Virtuozzo::SOAP::Types::Servicem::Sys_infoType::Memory
612
+ # swap - Virtuozzo::SOAP::Types::Servicem::Sys_infoType::Swap
613
+ class Sys_infoType
614
+
615
+ # inner class for member: memory
616
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
617
+ # total - SOAP::SOAPLong
618
+ # used - SOAP::SOAPLong
619
+ class Memory < ResourceType
620
+ attr_accessor :total
621
+ attr_accessor :used
622
+
623
+ def initialize(total = nil, used = nil)
624
+ @total = total
625
+ @used = used
626
+ end
627
+ end
628
+
629
+ # inner class for member: swap
630
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
631
+ # total - SOAP::SOAPLong
632
+ # used - SOAP::SOAPLong
633
+ class Swap < ResourceType
634
+ attr_accessor :total
635
+ attr_accessor :used
636
+
637
+ def initialize(total = nil, used = nil)
638
+ @total = total
639
+ @used = used
640
+ end
641
+ end
642
+
643
+ attr_accessor :load_avg
644
+ attr_accessor :processes
645
+ attr_accessor :cpu_load
646
+ attr_accessor :cpu_states
647
+ attr_accessor :users
648
+ attr_accessor :uptime
649
+ attr_accessor :memory
650
+ attr_accessor :swap
651
+
652
+ def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
653
+ @load_avg = load_avg
654
+ @processes = processes
655
+ @cpu_load = cpu_load
656
+ @cpu_states = cpu_states
657
+ @users = users
658
+ @uptime = uptime
659
+ @memory = memory
660
+ @swap = swap
661
+ end
662
+ end
663
+
664
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
665
+ # process - Virtuozzo::SOAP::Types::Servicem::Ps_infoType::C_Process
666
+ # param_id - SOAP::SOAPString
667
+ # run - SOAP::SOAPInt
668
+ # idle - SOAP::SOAPInt
669
+ # zombie - SOAP::SOAPInt
670
+ # sleep - SOAP::SOAPInt
671
+ # uninterrupt - SOAP::SOAPInt
672
+ # stopped - SOAP::SOAPInt
673
+ # total - SOAP::SOAPInt
674
+ class Ps_infoType
675
+
676
+ # inner class for member: process
677
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
678
+ # pid - SOAP::SOAPInt
679
+ # param - SOAP::SOAPBase64
680
+ class C_Process
681
+ attr_accessor :pid
682
+ attr_accessor :param
683
+
684
+ def initialize(pid = nil, param = [])
685
+ @pid = pid
686
+ @param = param
687
+ end
688
+ end
689
+
690
+ attr_accessor :process
691
+ attr_accessor :param_id
692
+ attr_accessor :run
693
+ attr_accessor :idle
694
+ attr_accessor :zombie
695
+ attr_accessor :sleep
696
+ attr_accessor :uninterrupt
697
+ attr_accessor :stopped
698
+ attr_accessor :total
699
+
700
+ def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
701
+ @process = process
702
+ @param_id = param_id
703
+ @run = run
704
+ @idle = idle
705
+ @zombie = zombie
706
+ @sleep = sleep
707
+ @uninterrupt = uninterrupt
708
+ @stopped = stopped
709
+ @total = total
710
+ end
711
+ end
712
+
713
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
714
+ # l1 - Virtuozzo::SOAP::Types::Servicem::Load_avg_statsType::L1
715
+ # l2 - Virtuozzo::SOAP::Types::Servicem::Load_avg_statsType::L2
716
+ # l3 - Virtuozzo::SOAP::Types::Servicem::Load_avg_statsType::L3
717
+ class Load_avg_statsType
718
+
719
+ # inner class for member: l1
720
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
721
+ # avg - SOAP::SOAPLong
722
+ # min - SOAP::SOAPLong
723
+ # max - SOAP::SOAPLong
724
+ # cur - SOAP::SOAPLong
725
+ class L1 < StatsType
726
+ attr_accessor :avg
727
+ attr_accessor :min
728
+ attr_accessor :max
729
+ attr_accessor :cur
730
+
731
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
732
+ @avg = avg
733
+ @min = min
734
+ @max = max
735
+ @cur = cur
736
+ end
737
+ end
738
+
739
+ # inner class for member: l2
740
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
741
+ # avg - SOAP::SOAPLong
742
+ # min - SOAP::SOAPLong
743
+ # max - SOAP::SOAPLong
744
+ # cur - SOAP::SOAPLong
745
+ class L2 < StatsType
746
+ attr_accessor :avg
747
+ attr_accessor :min
748
+ attr_accessor :max
749
+ attr_accessor :cur
750
+
751
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
752
+ @avg = avg
753
+ @min = min
754
+ @max = max
755
+ @cur = cur
756
+ end
757
+ end
758
+
759
+ # inner class for member: l3
760
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
761
+ # avg - SOAP::SOAPLong
762
+ # min - SOAP::SOAPLong
763
+ # max - SOAP::SOAPLong
764
+ # cur - SOAP::SOAPLong
765
+ class L3 < StatsType
766
+ attr_accessor :avg
767
+ attr_accessor :min
768
+ attr_accessor :max
769
+ attr_accessor :cur
770
+
771
+ def initialize(avg = nil, min = nil, max = nil, cur = nil)
772
+ @avg = avg
773
+ @min = min
774
+ @max = max
775
+ @cur = cur
776
+ end
777
+ end
778
+
779
+ attr_accessor :l1
780
+ attr_accessor :l2
781
+ attr_accessor :l3
782
+
783
+ def initialize(l1 = nil, l2 = nil, l3 = nil)
784
+ @l1 = l1
785
+ @l2 = l2
786
+ @l3 = l3
787
+ end
788
+ end
789
+
790
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
791
+ # ip - (any)
792
+ # netmask - (any)
793
+ class Ip_addressType
794
+ attr_accessor :ip
795
+ attr_accessor :netmask
796
+
797
+ def initialize(ip = nil, netmask = nil)
798
+ @ip = ip
799
+ @netmask = netmask
800
+ end
801
+ end
802
+
803
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_resourceType
804
+ # eid - (any)
805
+ # ip_pool - Virtuozzo::SOAP::Types::Servicem::Ip_poolType
806
+ class Env_resourceType
807
+ attr_accessor :eid
808
+ attr_accessor :ip_pool
809
+
810
+ def initialize(eid = nil, ip_pool = nil)
811
+ @eid = eid
812
+ @ip_pool = ip_pool
813
+ end
814
+ end
815
+
816
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_poolType
817
+ # ip_range - Virtuozzo::SOAP::Types::Servicem::Ip_poolType::Ip_range
818
+ # ip - (any)
819
+ class Ip_poolType
820
+
821
+ # inner class for member: ip_range
822
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_range
823
+ # start_ip - (any)
824
+ # end_ip - (any)
825
+ class Ip_range
826
+ attr_accessor :start_ip
827
+ attr_accessor :end_ip
828
+
829
+ def initialize(start_ip = nil, end_ip = nil)
830
+ @start_ip = start_ip
831
+ @end_ip = end_ip
832
+ end
833
+ end
834
+
835
+ attr_accessor :ip_range
836
+ attr_accessor :ip
837
+
838
+ def initialize(ip_range = [], ip = [])
839
+ @ip_range = ip_range
840
+ @ip = ip
841
+ end
842
+ end
843
+
844
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}usageType
845
+ # total - SOAP::SOAPLong
846
+ # used - SOAP::SOAPLong
847
+ # free - SOAP::SOAPLong
848
+ class UsageType
849
+ attr_accessor :total
850
+ attr_accessor :used
851
+ attr_accessor :free
852
+
853
+ def initialize(total = nil, used = nil, free = nil)
854
+ @total = total
855
+ @used = used
856
+ @free = free
857
+ end
858
+ end
859
+
860
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}credentialType
861
+ # id - SOAP::SOAPString
862
+ # policy - SOAP::SOAPInt
863
+ # description - SOAP::SOAPBase64
864
+ # cred - Virtuozzo::SOAP::Types::Servicem::CredentialType
865
+ class CredentialType
866
+ attr_accessor :id
867
+ attr_accessor :policy
868
+ attr_accessor :description
869
+ attr_accessor :cred
870
+
871
+ def initialize(id = nil, policy = nil, description = nil, cred = [])
872
+ @id = id
873
+ @policy = policy
874
+ @description = description
875
+ @cred = cred
876
+ end
877
+ end
878
+
879
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}root_credentialType
880
+ # id - SOAP::SOAPString
881
+ # policy - SOAP::SOAPInt
882
+ # description - SOAP::SOAPBase64
883
+ # cred - Virtuozzo::SOAP::Types::Servicem::CredentialType
884
+ # objects - Virtuozzo::SOAP::Types::Servicem::Root_credentialType::Objects
885
+ class Root_credentialType < CredentialType
886
+
887
+ # inner class for member: objects
888
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}objects
889
+ class Objects < ::Array
890
+ end
891
+
892
+ attr_accessor :id
893
+ attr_accessor :policy
894
+ attr_accessor :description
895
+ attr_accessor :cred
896
+ attr_accessor :objects
897
+
898
+ def initialize(id = nil, policy = nil, description = nil, cred = [], objects = nil)
899
+ @id = id
900
+ @policy = policy
901
+ @description = description
902
+ @cred = cred
903
+ @objects = objects
904
+ end
905
+ end
906
+
907
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}tokenType
908
+ # user - (any)
909
+ # groups - Virtuozzo::SOAP::Types::Servicem::TokenType::Groups
910
+ # deny_only_sids - Virtuozzo::SOAP::Types::Servicem::TokenType::Deny_only_sids
911
+ # privileges - Virtuozzo::SOAP::Types::Servicem::TokenType::Privileges
912
+ # source - Virtuozzo::SOAP::Types::Servicem::TokenType::Source
913
+ class TokenType
914
+
915
+ # inner class for member: groups
916
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groups
917
+ class Groups < ::Array
918
+ end
919
+
920
+ # inner class for member: deny_only_sids
921
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}deny_only_sids
922
+ class Deny_only_sids < ::Array
923
+ end
924
+
925
+ # inner class for member: privileges
926
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}privileges
927
+ class Privileges < ::Array
928
+ end
929
+
930
+ # inner class for member: source
931
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}source
932
+ # name - SOAP::SOAPString
933
+ # id - (any)
934
+ class Source
935
+ attr_accessor :name
936
+ attr_accessor :id
937
+
938
+ def initialize(name = nil, id = nil)
939
+ @name = name
940
+ @id = id
941
+ end
942
+ end
943
+
944
+ attr_accessor :user
945
+ attr_accessor :groups
946
+ attr_accessor :deny_only_sids
947
+ attr_accessor :privileges
948
+ attr_accessor :source
949
+
950
+ def initialize(user = nil, groups = nil, deny_only_sids = nil, privileges = nil, source = nil)
951
+ @user = user
952
+ @groups = groups
953
+ @deny_only_sids = deny_only_sids
954
+ @privileges = privileges
955
+ @source = source
956
+ end
957
+ end
958
+
959
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}connectivity_infoType
960
+ # protocol - SOAP::SOAPString
961
+ # address - SOAP::SOAPString
962
+ # port - SOAP::SOAPUnsignedInt
963
+ class Connectivity_infoType
964
+ attr_accessor :protocol
965
+ attr_accessor :address
966
+ attr_accessor :port
967
+
968
+ def initialize(protocol = nil, address = nil, port = nil)
969
+ @protocol = protocol
970
+ @address = address
971
+ @port = port
972
+ end
973
+ end
974
+
975
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}connection_infoType
976
+ # protocol - SOAP::SOAPString
977
+ # address - SOAP::SOAPString
978
+ # port - SOAP::SOAPUnsignedInt
979
+ # login - Virtuozzo::SOAP::Types::Servicem::Auth_nameType
980
+ # password - SOAP::SOAPBase64
981
+ class Connection_infoType < Connectivity_infoType
982
+ attr_accessor :protocol
983
+ attr_accessor :address
984
+ attr_accessor :port
985
+ attr_accessor :login
986
+ attr_accessor :password
987
+
988
+ def initialize(protocol = nil, address = nil, port = nil, login = nil, password = nil)
989
+ @protocol = protocol
990
+ @address = address
991
+ @port = port
992
+ @login = login
993
+ @password = password
994
+ end
995
+ end
996
+
997
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}auth_nameType
998
+ # name - SOAP::SOAPBase64
999
+ # domain - SOAP::SOAPBase64
1000
+ # realm - (any)
1001
+ class Auth_nameType
1002
+ attr_accessor :name
1003
+ attr_accessor :domain
1004
+ attr_accessor :realm
1005
+
1006
+ def initialize(name = nil, domain = nil, realm = nil)
1007
+ @name = name
1008
+ @domain = domain
1009
+ @realm = realm
1010
+ end
1011
+ end
1012
+
1013
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eid_listType
1014
+ class Eid_listType < ::Array
1015
+ end
1016
+
1017
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_infoType
1018
+ class Vt_infoType
1019
+ attr_reader :__xmlele_any
1020
+
1021
+ def set_any(elements)
1022
+ @__xmlele_any = elements
1023
+ end
1024
+
1025
+ def initialize
1026
+ @__xmlele_any = nil
1027
+ end
1028
+ end
1029
+
1030
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_settingsType
1031
+ # default_sample_id - (any)
1032
+ class Vt_settingsType
1033
+ attr_accessor :default_sample_id
1034
+
1035
+ def initialize(default_sample_id = nil)
1036
+ @default_sample_id = default_sample_id
1037
+ end
1038
+ end
1039
+
1040
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
1041
+ # initial_group - Virtuozzo::SOAP::Types::Servicem::UserType::Initial_group
1042
+ # group - Virtuozzo::SOAP::Types::Servicem::UserType::Group
1043
+ # uid - SOAP::SOAPInt
1044
+ # shell - SOAP::SOAPString
1045
+ # password - SOAP::SOAPBase64
1046
+ # home_dir - SOAP::SOAPString
1047
+ # name - SOAP::SOAPString
1048
+ # comment - SOAP::SOAPString
1049
+ class UserType
1050
+
1051
+ # inner class for member: initial_group
1052
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
1053
+ # name - SOAP::SOAPString
1054
+ # gid - SOAP::SOAPInt
1055
+ class Initial_group < GroupType
1056
+ attr_accessor :name
1057
+ attr_accessor :gid
1058
+
1059
+ def initialize(name = nil, gid = nil)
1060
+ @name = name
1061
+ @gid = gid
1062
+ end
1063
+ end
1064
+
1065
+ # inner class for member: group
1066
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
1067
+ # name - SOAP::SOAPString
1068
+ # gid - SOAP::SOAPInt
1069
+ class Group < GroupType
1070
+ attr_accessor :name
1071
+ attr_accessor :gid
1072
+
1073
+ def initialize(name = nil, gid = nil)
1074
+ @name = name
1075
+ @gid = gid
1076
+ end
1077
+ end
1078
+
1079
+ attr_accessor :initial_group
1080
+ attr_accessor :group
1081
+ attr_accessor :uid
1082
+ attr_accessor :shell
1083
+ attr_accessor :password
1084
+ attr_accessor :home_dir
1085
+ attr_accessor :name
1086
+ attr_accessor :comment
1087
+
1088
+ def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
1089
+ @initial_group = initial_group
1090
+ @group = group
1091
+ @uid = uid
1092
+ @shell = shell
1093
+ @password = password
1094
+ @home_dir = home_dir
1095
+ @name = name
1096
+ @comment = comment
1097
+ end
1098
+ end
1099
+
1100
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
1101
+ # user - Virtuozzo::SOAP::Types::Servicem::GroupType::User
1102
+ # member_group - Virtuozzo::SOAP::Types::Servicem::GroupType::Member_group
1103
+ # name - SOAP::SOAPString
1104
+ # gid - SOAP::SOAPInt
1105
+ class GroupType
1106
+
1107
+ # inner class for member: user
1108
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
1109
+ # name - SOAP::SOAPString
1110
+ class User < UserType
1111
+ attr_accessor :name
1112
+
1113
+ def initialize(name = nil)
1114
+ @name = name
1115
+ end
1116
+ end
1117
+
1118
+ # inner class for member: member_group
1119
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
1120
+ # name - SOAP::SOAPString
1121
+ class Member_group < GroupType
1122
+ attr_accessor :name
1123
+
1124
+ def initialize(name = nil)
1125
+ @name = name
1126
+ end
1127
+ end
1128
+
1129
+ attr_accessor :user
1130
+ attr_accessor :member_group
1131
+ attr_accessor :name
1132
+ attr_accessor :gid
1133
+
1134
+ def initialize(user = [], member_group = [], name = nil, gid = nil)
1135
+ @user = user
1136
+ @member_group = member_group
1137
+ @name = name
1138
+ @gid = gid
1139
+ end
1140
+ end
1141
+
1142
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
1143
+ # name - SOAP::SOAPString
1144
+ # summary - SOAP::SOAPString
1145
+ # os - Virtuozzo::SOAP::Types::Servicem::OsType
1146
+ # description - SOAP::SOAPString
1147
+ # arch - SOAP::SOAPString
1148
+ # version - SOAP::SOAPString
1149
+ class PackageType
1150
+ attr_accessor :name
1151
+ attr_accessor :summary
1152
+ attr_accessor :os
1153
+ attr_accessor :description
1154
+ attr_accessor :arch
1155
+ attr_accessor :version
1156
+
1157
+ def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
1158
+ @name = name
1159
+ @summary = summary
1160
+ @os = os
1161
+ @description = description
1162
+ @arch = arch
1163
+ @version = version
1164
+ end
1165
+ end
1166
+
1167
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
1168
+ class Event_dataType
1169
+ def initialize
1170
+ end
1171
+ end
1172
+
1173
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
1174
+ # type - SOAP::SOAPInt
1175
+ class Alert_dataType < Event_dataType
1176
+ attr_accessor :type
1177
+
1178
+ def initialize(type = nil)
1179
+ @type = type
1180
+ end
1181
+ end
1182
+
1183
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
1184
+ # name - SOAP::SOAPString
1185
+ # value - SOAP::SOAPBase64
1186
+ class Named_listType
1187
+ attr_accessor :name
1188
+ attr_accessor :value
1189
+
1190
+ def initialize(name = nil, value = [])
1191
+ @name = name
1192
+ @value = value
1193
+ end
1194
+ end
1195
+
1196
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
1197
+ # name - SOAP::SOAPString
1198
+ # value - SOAP::SOAPBase64
1199
+ # op - SOAP::SOAPInt
1200
+ class ModType < Named_listType
1201
+ attr_accessor :name
1202
+ attr_accessor :value
1203
+ attr_accessor :op
1204
+
1205
+ def initialize(name = nil, value = [], op = nil)
1206
+ @name = name
1207
+ @value = value
1208
+ @op = op
1209
+ end
1210
+ end
1211
+
1212
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
1213
+ # id - (any)
1214
+ # type - SOAP::SOAPInt
1215
+ # name - SOAP::SOAPString
1216
+ # builtin - (any)
1217
+ class RealmType
1218
+ attr_accessor :id
1219
+ attr_accessor :type
1220
+ attr_accessor :name
1221
+ attr_accessor :builtin
1222
+
1223
+ def initialize(id = nil, type = nil, name = nil, builtin = nil)
1224
+ @id = id
1225
+ @type = type
1226
+ @name = name
1227
+ @builtin = builtin
1228
+ end
1229
+ end
1230
+
1231
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
1232
+ # eid - (any)
1233
+ # time - (any)
1234
+ # source - SOAP::SOAPString
1235
+ # category - SOAP::SOAPString
1236
+ # sid - (any)
1237
+ # count - SOAP::SOAPInt
1238
+ # id - (any)
1239
+ # info - Virtuozzo::SOAP::Types::Servicem::InfoType
1240
+ # data - Virtuozzo::SOAP::Types::Servicem::EventType::C_Data
1241
+ class EventType
1242
+
1243
+ # inner class for member: data
1244
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
1245
+ # event_data - Virtuozzo::SOAP::Types::Servicem::Event_dataType
1246
+ class C_Data
1247
+ attr_accessor :event_data
1248
+
1249
+ def initialize(event_data = nil)
1250
+ @event_data = event_data
1251
+ end
1252
+ end
1253
+
1254
+ attr_accessor :eid
1255
+ attr_accessor :time
1256
+ attr_accessor :source
1257
+ attr_accessor :category
1258
+ attr_accessor :sid
1259
+ attr_accessor :count
1260
+ attr_accessor :id
1261
+ attr_accessor :info
1262
+ attr_accessor :data
1263
+
1264
+ def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
1265
+ @eid = eid
1266
+ @time = time
1267
+ @source = source
1268
+ @category = category
1269
+ @sid = sid
1270
+ @count = count
1271
+ @id = id
1272
+ @info = info
1273
+ @data = data
1274
+ end
1275
+ end
1276
+
1277
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
1278
+ # message - SOAP::SOAPBase64
1279
+ # translate - (any)
1280
+ # parameter - Virtuozzo::SOAP::Types::Servicem::InfoType
1281
+ # name - SOAP::SOAPString
1282
+ class InfoType
1283
+ attr_accessor :message
1284
+ attr_accessor :translate
1285
+ attr_accessor :parameter
1286
+ attr_accessor :name
1287
+
1288
+ def initialize(message = nil, translate = nil, parameter = [], name = nil)
1289
+ @message = message
1290
+ @translate = translate
1291
+ @parameter = parameter
1292
+ @name = name
1293
+ end
1294
+ end
1295
+
1296
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
1297
+ # type - SOAP::SOAPInt
1298
+ # sid - (any)
1299
+ # rights - SOAP::SOAPBase64
1300
+ class AceType
1301
+ attr_accessor :type
1302
+ attr_accessor :sid
1303
+ attr_accessor :rights
1304
+
1305
+ def initialize(type = nil, sid = nil, rights = nil)
1306
+ @type = type
1307
+ @sid = sid
1308
+ @rights = rights
1309
+ end
1310
+ end
1311
+
1312
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
1313
+ # owner - (any)
1314
+ # group - (any)
1315
+ # dacl - Virtuozzo::SOAP::Types::Servicem::Security_descriptorType::Dacl
1316
+ class Security_descriptorType
1317
+
1318
+ # inner class for member: dacl
1319
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
1320
+ class Dacl < ::Array
1321
+ end
1322
+
1323
+ attr_accessor :owner
1324
+ attr_accessor :group
1325
+ attr_accessor :dacl
1326
+
1327
+ def initialize(owner = nil, group = nil, dacl = nil)
1328
+ @owner = owner
1329
+ @group = group
1330
+ @dacl = dacl
1331
+ end
1332
+ end
1333
+
1334
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
1335
+ # abstract
1336
+ class Security_objectType
1337
+ def initialize
1338
+ end
1339
+ end
1340
+
1341
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
1342
+ # eid - (any)
1343
+ class Env_security_objectType < Security_objectType
1344
+ attr_accessor :eid
1345
+
1346
+ def initialize(eid = nil)
1347
+ @eid = eid
1348
+ end
1349
+ end
1350
+
1351
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
1352
+ # id - SOAP::SOAPString
1353
+ # ip_address - Virtuozzo::SOAP::Types::Servicem::Ip_addressType
1354
+ # dhcp - (any)
1355
+ # network_id - SOAP::SOAPBase64
1356
+ # status - Virtuozzo::SOAP::Types::Servicem::Net_deviceType::Status
1357
+ class Net_deviceType
1358
+
1359
+ # inner class for member: status
1360
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1361
+ # up - (any)
1362
+ # down - (any)
1363
+ class Status
1364
+ attr_accessor :up
1365
+ attr_accessor :down
1366
+
1367
+ def initialize(up = nil, down = nil)
1368
+ @up = up
1369
+ @down = down
1370
+ end
1371
+ end
1372
+
1373
+ attr_accessor :id
1374
+ attr_accessor :ip_address
1375
+ attr_accessor :dhcp
1376
+ attr_accessor :network_id
1377
+ attr_accessor :status
1378
+
1379
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
1380
+ @id = id
1381
+ @ip_address = ip_address
1382
+ @dhcp = dhcp
1383
+ @network_id = network_id
1384
+ @status = status
1385
+ end
1386
+ end
1387
+
1388
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
1389
+ # id - SOAP::SOAPString
1390
+ # ip_address - Virtuozzo::SOAP::Types::Servicem::Ip_addressType
1391
+ # dhcp - (any)
1392
+ # network_id - SOAP::SOAPBase64
1393
+ # status - Virtuozzo::SOAP::Types::Servicem::Net_nicType::Status
1394
+ # mac_address - SOAP::SOAPString
1395
+ class Net_nicType < Net_deviceType
1396
+
1397
+ # inner class for member: status
1398
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
1399
+ # up - (any)
1400
+ # down - (any)
1401
+ class Status
1402
+ attr_accessor :up
1403
+ attr_accessor :down
1404
+
1405
+ def initialize(up = nil, down = nil)
1406
+ @up = up
1407
+ @down = down
1408
+ end
1409
+ end
1410
+
1411
+ attr_accessor :id
1412
+ attr_accessor :ip_address
1413
+ attr_accessor :dhcp
1414
+ attr_accessor :network_id
1415
+ attr_accessor :status
1416
+ attr_accessor :mac_address
1417
+
1418
+ def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
1419
+ @id = id
1420
+ @ip_address = ip_address
1421
+ @dhcp = dhcp
1422
+ @network_id = network_id
1423
+ @status = status
1424
+ @mac_address = mac_address
1425
+ end
1426
+ end
1427
+
1428
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
1429
+ # id - SOAP::SOAPString
1430
+ # type - SOAP::SOAPString
1431
+ # min - SOAP::SOAPString
1432
+ # max - SOAP::SOAPString
1433
+ # long - SOAP::SOAPString
1434
+ # short - SOAP::SOAPString
1435
+ # category - SOAP::SOAPString
1436
+ # complex - SOAP::SOAPString
1437
+ # default - SOAP::SOAPString
1438
+ # measure - SOAP::SOAPString
1439
+ # data - (any)
1440
+ # name - (any)
1441
+ class Voc_parameterType
1442
+ attr_accessor :id
1443
+ attr_accessor :type
1444
+ attr_accessor :min
1445
+ attr_accessor :max
1446
+ attr_accessor :long
1447
+ attr_accessor :short
1448
+ attr_accessor :category
1449
+ attr_accessor :complex
1450
+ attr_accessor :default
1451
+ attr_accessor :measure
1452
+ attr_accessor :data
1453
+ attr_accessor :name
1454
+
1455
+ 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)
1456
+ @id = id
1457
+ @type = type
1458
+ @min = min
1459
+ @max = max
1460
+ @long = long
1461
+ @short = short
1462
+ @category = category
1463
+ @complex = complex
1464
+ @default = default
1465
+ @measure = measure
1466
+ @data = data
1467
+ @name = name
1468
+ end
1469
+ end
1470
+
1471
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
1472
+ # name - SOAP::SOAPString
1473
+ # parameter - Virtuozzo::SOAP::Types::Servicem::Voc_parameterType
1474
+ # category - Virtuozzo::SOAP::Types::Servicem::Voc_parameterType
1475
+ class VocabularyType
1476
+ attr_accessor :name
1477
+ attr_accessor :parameter
1478
+ attr_accessor :category
1479
+
1480
+ def initialize(name = nil, parameter = [], category = [])
1481
+ @name = name
1482
+ @parameter = parameter
1483
+ @category = category
1484
+ end
1485
+ end
1486
+
1487
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
1488
+ # cur - SOAP::SOAPAnySimpleType
1489
+ # avg - SOAP::SOAPAnySimpleType
1490
+ # max - SOAP::SOAPAnySimpleType
1491
+ # min - SOAP::SOAPAnySimpleType
1492
+ class Perf_statType
1493
+ attr_accessor :cur
1494
+ attr_accessor :avg
1495
+ attr_accessor :max
1496
+ attr_accessor :min
1497
+
1498
+ def initialize(cur = nil, avg = nil, max = nil, min = nil)
1499
+ @cur = cur
1500
+ @avg = avg
1501
+ @max = max
1502
+ @min = min
1503
+ end
1504
+ end
1505
+
1506
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
1507
+ # eid - (any)
1508
+ # m_class - Virtuozzo::SOAP::Types::Servicem::Perf_dataType::C_Class
1509
+ # interval - Virtuozzo::SOAP::Types::Servicem::IntervalType
1510
+ class Perf_dataType
1511
+
1512
+ # inner class for member: class
1513
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
1514
+ # name - SOAP::SOAPString
1515
+ # instance - Virtuozzo::SOAP::Types::Servicem::Perf_dataType::C_Class::Instance
1516
+ class C_Class
1517
+
1518
+ # inner class for member: instance
1519
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
1520
+ # name - SOAP::SOAPString
1521
+ # counter - Virtuozzo::SOAP::Types::Servicem::Perf_dataType::C_Class::Instance::Counter
1522
+ class Instance
1523
+
1524
+ # inner class for member: counter
1525
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
1526
+ # name - SOAP::SOAPString
1527
+ # value - Virtuozzo::SOAP::Types::Servicem::Perf_statType
1528
+ class Counter
1529
+ attr_accessor :name
1530
+ attr_accessor :value
1531
+
1532
+ def initialize(name = nil, value = nil)
1533
+ @name = name
1534
+ @value = value
1535
+ end
1536
+ end
1537
+
1538
+ attr_accessor :name
1539
+ attr_accessor :counter
1540
+
1541
+ def initialize(name = nil, counter = [])
1542
+ @name = name
1543
+ @counter = counter
1544
+ end
1545
+ end
1546
+
1547
+ attr_accessor :name
1548
+ attr_accessor :instance
1549
+
1550
+ def initialize(name = nil, instance = [])
1551
+ @name = name
1552
+ @instance = instance
1553
+ end
1554
+ end
1555
+
1556
+ attr_accessor :eid
1557
+ attr_accessor :interval
1558
+
1559
+ def m_class
1560
+ @v_class
1561
+ end
1562
+
1563
+ def m_class=(value)
1564
+ @v_class = value
1565
+ end
1566
+
1567
+ def initialize(eid = nil, v_class = [], interval = nil)
1568
+ @eid = eid
1569
+ @v_class = v_class
1570
+ @interval = interval
1571
+ end
1572
+ end
1573
+
1574
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
1575
+ class Log_options_baseType
1576
+ def initialize
1577
+ end
1578
+ end
1579
+
1580
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
1581
+ class Log_optionsType < Log_options_baseType
1582
+ def initialize
1583
+ end
1584
+ end
1585
+
1586
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet_headerType
1587
+ # auth - Virtuozzo::SOAP::Types::Servicem::AuthType
1588
+ # cookie - SOAP::SOAPString
1589
+ # target - SOAP::SOAPString
1590
+ # origin - SOAP::SOAPString
1591
+ # src - Virtuozzo::SOAP::Types::Servicem::RouteType
1592
+ # dst - Virtuozzo::SOAP::Types::Servicem::RouteType
1593
+ # session - SOAP::SOAPString
1594
+ # xmlattr_version - SOAP::SOAPString
1595
+ # xmlattr_id - SOAP::SOAPString
1596
+ # xmlattr_priority - SOAP::SOAPString
1597
+ # xmlattr_time - SOAP::SOAPString
1598
+ # xmlattr_progress - SOAP::SOAPString
1599
+ # xmlattr_log - SOAP::SOAPString
1600
+ # xmlattr_type - SOAP::SOAPInt
1601
+ # xmlattr_timeout - SOAP::SOAPInt
1602
+ # xmlattr_timeout_limit - SOAP::SOAPInt
1603
+ # xmlattr_uid - SOAP::SOAPInt
1604
+ class Packet_headerType
1605
+ AttrC_Time = XSD::QName.new(nil, "time")
1606
+ AttrId = XSD::QName.new(nil, "id")
1607
+ AttrLog = XSD::QName.new(nil, "log")
1608
+ AttrPriority = XSD::QName.new(nil, "priority")
1609
+ AttrProgress = XSD::QName.new(nil, "progress")
1610
+ AttrTimeout = XSD::QName.new(nil, "timeout")
1611
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
1612
+ AttrType = XSD::QName.new(nil, "type")
1613
+ AttrUid = XSD::QName.new(nil, "uid")
1614
+ AttrVersion = XSD::QName.new(nil, "version")
1615
+
1616
+ attr_accessor :auth
1617
+ attr_accessor :cookie
1618
+ attr_accessor :target
1619
+ attr_accessor :origin
1620
+ attr_accessor :src
1621
+ attr_accessor :dst
1622
+ attr_accessor :session
1623
+
1624
+ def __xmlattr
1625
+ @__xmlattr ||= {}
1626
+ end
1627
+
1628
+ def xmlattr_version
1629
+ __xmlattr[AttrVersion]
1630
+ end
1631
+
1632
+ def xmlattr_version=(value)
1633
+ __xmlattr[AttrVersion] = value
1634
+ end
1635
+
1636
+ def xmlattr_id
1637
+ __xmlattr[AttrId]
1638
+ end
1639
+
1640
+ def xmlattr_id=(value)
1641
+ __xmlattr[AttrId] = value
1642
+ end
1643
+
1644
+ def xmlattr_priority
1645
+ __xmlattr[AttrPriority]
1646
+ end
1647
+
1648
+ def xmlattr_priority=(value)
1649
+ __xmlattr[AttrPriority] = value
1650
+ end
1651
+
1652
+ def xmlattr_time
1653
+ __xmlattr[AttrC_Time]
1654
+ end
1655
+
1656
+ def xmlattr_time=(value)
1657
+ __xmlattr[AttrC_Time] = value
1658
+ end
1659
+
1660
+ def xmlattr_progress
1661
+ __xmlattr[AttrProgress]
1662
+ end
1663
+
1664
+ def xmlattr_progress=(value)
1665
+ __xmlattr[AttrProgress] = value
1666
+ end
1667
+
1668
+ def xmlattr_log
1669
+ __xmlattr[AttrLog]
1670
+ end
1671
+
1672
+ def xmlattr_log=(value)
1673
+ __xmlattr[AttrLog] = value
1674
+ end
1675
+
1676
+ def xmlattr_type
1677
+ __xmlattr[AttrType]
1678
+ end
1679
+
1680
+ def xmlattr_type=(value)
1681
+ __xmlattr[AttrType] = value
1682
+ end
1683
+
1684
+ def xmlattr_timeout
1685
+ __xmlattr[AttrTimeout]
1686
+ end
1687
+
1688
+ def xmlattr_timeout=(value)
1689
+ __xmlattr[AttrTimeout] = value
1690
+ end
1691
+
1692
+ def xmlattr_timeout_limit
1693
+ __xmlattr[AttrTimeout_limit]
1694
+ end
1695
+
1696
+ def xmlattr_timeout_limit=(value)
1697
+ __xmlattr[AttrTimeout_limit] = value
1698
+ end
1699
+
1700
+ def xmlattr_uid
1701
+ __xmlattr[AttrUid]
1702
+ end
1703
+
1704
+ def xmlattr_uid=(value)
1705
+ __xmlattr[AttrUid] = value
1706
+ end
1707
+
1708
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil)
1709
+ @auth = auth
1710
+ @cookie = cookie
1711
+ @target = target
1712
+ @origin = origin
1713
+ @src = src
1714
+ @dst = dst
1715
+ @session = session
1716
+ @__xmlattr = {}
1717
+ end
1718
+ end
1719
+
1720
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operatorType
1721
+ # configuration - Virtuozzo::SOAP::Types::Servicem::ConfigurationType
1722
+ class OperatorType
1723
+ attr_accessor :configuration
1724
+
1725
+ def initialize(configuration = nil)
1726
+ @configuration = configuration
1727
+ end
1728
+ end
1729
+
1730
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_functionalType
1731
+ # configuration - Virtuozzo::SOAP::Types::Servicem::ConfigurationType
1732
+ # ok - Virtuozzo::SOAP::Types::Servicem::Operator_functionalType::Ok
1733
+ # error - Virtuozzo::SOAP::Types::Servicem::Operator_functionalType::Error
1734
+ class Operator_functionalType < OperatorType
1735
+
1736
+ # inner class for member: ok
1737
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1738
+ class Ok
1739
+ def initialize
1740
+ end
1741
+ end
1742
+
1743
+ # inner class for member: error
1744
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1745
+ # code - SOAP::SOAPInt
1746
+ # message - SOAP::SOAPString
1747
+ class Error
1748
+ attr_accessor :code
1749
+ attr_accessor :message
1750
+
1751
+ def initialize(code = nil, message = nil)
1752
+ @code = code
1753
+ @message = message
1754
+ end
1755
+ end
1756
+
1757
+ attr_accessor :configuration
1758
+ attr_accessor :ok
1759
+ attr_accessor :error
1760
+
1761
+ def initialize(configuration = nil, ok = [], error = [])
1762
+ @configuration = configuration
1763
+ @ok = ok
1764
+ @error = error
1765
+ end
1766
+ end
1767
+
1768
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}servicemType
1769
+ # configuration - Virtuozzo::SOAP::Types::Servicem::ConfigurationType
1770
+ # ok - Virtuozzo::SOAP::Types::Servicem::ServicemType::Ok
1771
+ # error - Virtuozzo::SOAP::Types::Servicem::ServicemType::Error
1772
+ # get - Virtuozzo::SOAP::Types::Servicem::Get
1773
+ # set - Virtuozzo::SOAP::Types::Servicem::Service_actionType
1774
+ # start - Virtuozzo::SOAP::Types::Servicem::Service_actionType
1775
+ # stop - Virtuozzo::SOAP::Types::Servicem::Stop
1776
+ # restart - Virtuozzo::SOAP::Types::Servicem::Service_actionType
1777
+ # set_startup_type - Virtuozzo::SOAP::Types::Servicem::ServicemType::Set_startup_type
1778
+ # service - Virtuozzo::SOAP::Types::Servicem::ServiceType
1779
+ class ServicemType < Operator_functionalType
1780
+
1781
+ # inner class for member: ok
1782
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1783
+ class Ok
1784
+ def initialize
1785
+ end
1786
+ end
1787
+
1788
+ # inner class for member: error
1789
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1790
+ # code - SOAP::SOAPInt
1791
+ # message - SOAP::SOAPString
1792
+ class Error
1793
+ attr_accessor :code
1794
+ attr_accessor :message
1795
+
1796
+ def initialize(code = nil, message = nil)
1797
+ @code = code
1798
+ @message = message
1799
+ end
1800
+ end
1801
+
1802
+ # inner class for member: set_startup_type
1803
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}set_startup_type
1804
+ # name - SOAP::SOAPString
1805
+ # startup_type - SOAP::SOAPString
1806
+ class Set_startup_type
1807
+ attr_accessor :name
1808
+ attr_accessor :startup_type
1809
+
1810
+ def initialize(name = nil, startup_type = nil)
1811
+ @name = name
1812
+ @startup_type = startup_type
1813
+ end
1814
+ end
1815
+
1816
+ attr_accessor :configuration
1817
+ attr_accessor :ok
1818
+ attr_accessor :error
1819
+ attr_accessor :get
1820
+ attr_accessor :set
1821
+ attr_accessor :start
1822
+ attr_accessor :stop
1823
+ attr_accessor :restart
1824
+ attr_accessor :set_startup_type
1825
+ attr_accessor :service
1826
+
1827
+ def initialize(configuration = nil, ok = [], error = [], get = [], set = [], start = [], stop = [], restart = [], set_startup_type = [], service = [])
1828
+ @configuration = configuration
1829
+ @ok = ok
1830
+ @error = error
1831
+ @get = get
1832
+ @set = set
1833
+ @start = start
1834
+ @stop = stop
1835
+ @restart = restart
1836
+ @set_startup_type = set_startup_type
1837
+ @service = service
1838
+ end
1839
+ end
1840
+
1841
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
1842
+ # configuration - Virtuozzo::SOAP::Types::Servicem::ConfigurationType
1843
+ # ok - Virtuozzo::SOAP::Types::Servicem::Operator_periodicType::Ok
1844
+ # error - Virtuozzo::SOAP::Types::Servicem::Operator_periodicType::Error
1845
+ # start_monitor - Virtuozzo::SOAP::Types::Servicem::Start_monitorType
1846
+ # stop_monitor - Virtuozzo::SOAP::Types::Servicem::Stop_monitorType
1847
+ # set_period - Virtuozzo::SOAP::Types::Servicem::Set_periodType
1848
+ # report - (any)
1849
+ class Operator_periodicType < Operator_functionalType
1850
+
1851
+ # inner class for member: ok
1852
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
1853
+ class Ok
1854
+ def initialize
1855
+ end
1856
+ end
1857
+
1858
+ # inner class for member: error
1859
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
1860
+ # code - SOAP::SOAPInt
1861
+ # message - SOAP::SOAPString
1862
+ class Error
1863
+ attr_accessor :code
1864
+ attr_accessor :message
1865
+
1866
+ def initialize(code = nil, message = nil)
1867
+ @code = code
1868
+ @message = message
1869
+ end
1870
+ end
1871
+
1872
+ attr_accessor :configuration
1873
+ attr_accessor :ok
1874
+ attr_accessor :error
1875
+ attr_accessor :start_monitor
1876
+ attr_accessor :stop_monitor
1877
+ attr_accessor :set_period
1878
+ attr_accessor :report
1879
+
1880
+ def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
1881
+ @configuration = configuration
1882
+ @ok = ok
1883
+ @error = error
1884
+ @start_monitor = start_monitor
1885
+ @stop_monitor = stop_monitor
1886
+ @set_period = set_period
1887
+ @report = report
1888
+ end
1889
+ end
1890
+
1891
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
1892
+ # collect - SOAP::SOAPInt
1893
+ # log - SOAP::SOAPInt
1894
+ # report - SOAP::SOAPInt
1895
+ class Set_periodType
1896
+ attr_accessor :collect
1897
+ attr_accessor :log
1898
+ attr_accessor :report
1899
+
1900
+ def initialize(collect = nil, log = nil, report = nil)
1901
+ @collect = collect
1902
+ @log = log
1903
+ @report = report
1904
+ end
1905
+ end
1906
+
1907
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
1908
+ # period - SOAP::SOAPInt
1909
+ class Start_monitorType
1910
+ attr_accessor :period
1911
+ attr_reader :__xmlele_any
1912
+
1913
+ def set_any(elements)
1914
+ @__xmlele_any = elements
1915
+ end
1916
+
1917
+ def initialize(period = nil)
1918
+ @period = period
1919
+ @__xmlele_any = nil
1920
+ end
1921
+ end
1922
+
1923
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
1924
+ class Stop_monitorType
1925
+ attr_reader :__xmlele_any
1926
+
1927
+ def set_any(elements)
1928
+ @__xmlele_any = elements
1929
+ end
1930
+
1931
+ def initialize
1932
+ @__xmlele_any = nil
1933
+ end
1934
+ end
1935
+
1936
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
1937
+ class AuthType
1938
+ attr_reader :__xmlele_any
1939
+
1940
+ def set_any(elements)
1941
+ @__xmlele_any = elements
1942
+ end
1943
+
1944
+ def initialize
1945
+ @__xmlele_any = nil
1946
+ end
1947
+ end
1948
+
1949
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
1950
+ # director - SOAP::SOAPString
1951
+ # host - SOAP::SOAPString
1952
+ # index - SOAP::SOAPString
1953
+ # target - SOAP::SOAPString
1954
+ class RouteType
1955
+ attr_accessor :director
1956
+ attr_accessor :host
1957
+ attr_accessor :index
1958
+ attr_accessor :target
1959
+
1960
+ def initialize(director = nil, host = nil, index = nil, target = nil)
1961
+ @director = director
1962
+ @host = host
1963
+ @index = index
1964
+ @target = target
1965
+ end
1966
+ end
1967
+
1968
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
1969
+ class DataType < ::Array
1970
+ end
1971
+
1972
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
1973
+ class ConfigurationType
1974
+ def initialize
1975
+ end
1976
+ end
1977
+
1978
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}servicem_configurationType
1979
+ # timeouts - Virtuozzo::SOAP::Types::Servicem::Servicem_configurationType::Timeouts
1980
+ class Servicem_configurationType < ConfigurationType
1981
+
1982
+ # inner class for member: timeouts
1983
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}timeouts
1984
+ # operate - SOAP::SOAPInt
1985
+ # status - SOAP::SOAPInt
1986
+ class Timeouts
1987
+ attr_accessor :operate
1988
+ attr_accessor :status
1989
+
1990
+ def initialize(operate = nil, status = nil)
1991
+ @operate = operate
1992
+ @status = status
1993
+ end
1994
+ end
1995
+
1996
+ attr_accessor :timeouts
1997
+
1998
+ def initialize(timeouts = nil)
1999
+ @timeouts = timeouts
2000
+ end
2001
+ end
2002
+
2003
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
2004
+ # period - SOAP::SOAPInt
2005
+ class Event_configurationType < ConfigurationType
2006
+ attr_accessor :period
2007
+
2008
+ def initialize(period = nil)
2009
+ @period = period
2010
+ end
2011
+ end
2012
+
2013
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
2014
+ # log_priority - SOAP::SOAPInt
2015
+ # monitor_priority - SOAP::SOAPInt
2016
+ # min_monitor_period - SOAP::SOAPInt
2017
+ # min_monitor_period_root - SOAP::SOAPInt
2018
+ class Periodic_configurationType < ConfigurationType
2019
+ attr_accessor :log_priority
2020
+ attr_accessor :monitor_priority
2021
+ attr_accessor :min_monitor_period
2022
+ attr_accessor :min_monitor_period_root
2023
+
2024
+ def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
2025
+ @log_priority = log_priority
2026
+ @monitor_priority = monitor_priority
2027
+ @min_monitor_period = min_monitor_period
2028
+ @min_monitor_period_root = min_monitor_period_root
2029
+ end
2030
+ end
2031
+
2032
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
2033
+ class Transport_type < ::String
2034
+ Tcp = Transport_type.new("tcp")
2035
+ Udp = Transport_type.new("udp")
2036
+ end
2037
+
2038
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
2039
+ class Yes_no_type < ::String
2040
+ No = Yes_no_type.new("no")
2041
+ Yes = Yes_no_type.new("yes")
2042
+ end
2043
+
2044
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}get
2045
+ # name - SOAP::SOAPString
2046
+ # state - (any)
2047
+ # level - (any)
2048
+ # dependencies - (any)
2049
+ class Get
2050
+ attr_accessor :name
2051
+ attr_accessor :state
2052
+ attr_accessor :level
2053
+ attr_accessor :dependencies
2054
+
2055
+ def initialize(name = nil, state = nil, level = nil, dependencies = nil)
2056
+ @name = name
2057
+ @state = state
2058
+ @level = level
2059
+ @dependencies = dependencies
2060
+ end
2061
+ end
2062
+
2063
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}stop
2064
+ # service - Virtuozzo::SOAP::Types::Servicem::Stop::Service
2065
+ # force - (any)
2066
+ class Stop < Service_actionType
2067
+
2068
+ # inner class for member: service
2069
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}service
2070
+ # name - SOAP::SOAPString
2071
+ # level - SOAP::SOAPByte
2072
+ # xinetd - (any)
2073
+ class Service < ServiceType
2074
+ attr_accessor :name
2075
+ attr_accessor :level
2076
+ attr_accessor :xinetd
2077
+
2078
+ def initialize(name = nil, level = [], xinetd = nil)
2079
+ @name = name
2080
+ @level = level
2081
+ @xinetd = xinetd
2082
+ end
2083
+ end
2084
+
2085
+ attr_accessor :service
2086
+ attr_accessor :force
2087
+
2088
+ def initialize(service = nil, force = nil)
2089
+ @service = service
2090
+ @force = force
2091
+ end
2092
+ end
2093
+
2094
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}set_startup_type
2095
+ # name - SOAP::SOAPString
2096
+ # startup_type - SOAP::SOAPString
2097
+ class Set_startup_type
2098
+ attr_accessor :name
2099
+ attr_accessor :startup_type
2100
+
2101
+ def initialize(name = nil, startup_type = nil)
2102
+ @name = name
2103
+ @startup_type = startup_type
2104
+ end
2105
+ end
2106
+
2107
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}getResponse
2108
+ class GetResponse < ::Array
2109
+ end
2110
+
2111
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}setResponse
2112
+ class SetResponse
2113
+ def initialize
2114
+ end
2115
+ end
2116
+
2117
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}startResponse
2118
+ class StartResponse
2119
+ def initialize
2120
+ end
2121
+ end
2122
+
2123
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}stopResponse
2124
+ class StopResponse
2125
+ def initialize
2126
+ end
2127
+ end
2128
+
2129
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}restartResponse
2130
+ class RestartResponse
2131
+ def initialize
2132
+ end
2133
+ end
2134
+
2135
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/servicem}set_startup_typeResponse
2136
+ class Set_startup_typeResponse
2137
+ def initialize
2138
+ end
2139
+ end
2140
+
2141
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
2142
+ class Ok < ::String
2143
+ def initialize(*arg)
2144
+ super
2145
+ end
2146
+ end
2147
+
2148
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
2149
+ # auth - Virtuozzo::SOAP::Types::Servicem::AuthType
2150
+ # cookie - SOAP::SOAPString
2151
+ # target - SOAP::SOAPString
2152
+ # origin - SOAP::SOAPString
2153
+ # src - Virtuozzo::SOAP::Types::Servicem::RouteType
2154
+ # dst - Virtuozzo::SOAP::Types::Servicem::RouteType
2155
+ # session - SOAP::SOAPString
2156
+ # data - Virtuozzo::SOAP::Types::Servicem::Packet::C_Data
2157
+ # xmlattr_version - SOAP::SOAPString
2158
+ # xmlattr_id - SOAP::SOAPString
2159
+ # xmlattr_priority - SOAP::SOAPString
2160
+ # xmlattr_time - SOAP::SOAPString
2161
+ # xmlattr_progress - SOAP::SOAPString
2162
+ # xmlattr_log - SOAP::SOAPString
2163
+ # xmlattr_type - SOAP::SOAPInt
2164
+ # xmlattr_timeout - SOAP::SOAPInt
2165
+ # xmlattr_timeout_limit - SOAP::SOAPInt
2166
+ # xmlattr_uid - SOAP::SOAPInt
2167
+ class Packet < Packet_headerType
2168
+ AttrC_Time = XSD::QName.new(nil, "time")
2169
+ AttrId = XSD::QName.new(nil, "id")
2170
+ AttrLog = XSD::QName.new(nil, "log")
2171
+ AttrPriority = XSD::QName.new(nil, "priority")
2172
+ AttrProgress = XSD::QName.new(nil, "progress")
2173
+ AttrTimeout = XSD::QName.new(nil, "timeout")
2174
+ AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
2175
+ AttrType = XSD::QName.new(nil, "type")
2176
+ AttrUid = XSD::QName.new(nil, "uid")
2177
+ AttrVersion = XSD::QName.new(nil, "version")
2178
+
2179
+ # inner class for member: data
2180
+ # {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
2181
+ class C_Data < ::Array
2182
+ end
2183
+
2184
+ attr_accessor :auth
2185
+ attr_accessor :cookie
2186
+ attr_accessor :target
2187
+ attr_accessor :origin
2188
+ attr_accessor :src
2189
+ attr_accessor :dst
2190
+ attr_accessor :session
2191
+ attr_accessor :data
2192
+
2193
+ def __xmlattr
2194
+ @__xmlattr ||= {}
2195
+ end
2196
+
2197
+ def xmlattr_version
2198
+ __xmlattr[AttrVersion]
2199
+ end
2200
+
2201
+ def xmlattr_version=(value)
2202
+ __xmlattr[AttrVersion] = value
2203
+ end
2204
+
2205
+ def xmlattr_id
2206
+ __xmlattr[AttrId]
2207
+ end
2208
+
2209
+ def xmlattr_id=(value)
2210
+ __xmlattr[AttrId] = value
2211
+ end
2212
+
2213
+ def xmlattr_priority
2214
+ __xmlattr[AttrPriority]
2215
+ end
2216
+
2217
+ def xmlattr_priority=(value)
2218
+ __xmlattr[AttrPriority] = value
2219
+ end
2220
+
2221
+ def xmlattr_time
2222
+ __xmlattr[AttrC_Time]
2223
+ end
2224
+
2225
+ def xmlattr_time=(value)
2226
+ __xmlattr[AttrC_Time] = value
2227
+ end
2228
+
2229
+ def xmlattr_progress
2230
+ __xmlattr[AttrProgress]
2231
+ end
2232
+
2233
+ def xmlattr_progress=(value)
2234
+ __xmlattr[AttrProgress] = value
2235
+ end
2236
+
2237
+ def xmlattr_log
2238
+ __xmlattr[AttrLog]
2239
+ end
2240
+
2241
+ def xmlattr_log=(value)
2242
+ __xmlattr[AttrLog] = value
2243
+ end
2244
+
2245
+ def xmlattr_type
2246
+ __xmlattr[AttrType]
2247
+ end
2248
+
2249
+ def xmlattr_type=(value)
2250
+ __xmlattr[AttrType] = value
2251
+ end
2252
+
2253
+ def xmlattr_timeout
2254
+ __xmlattr[AttrTimeout]
2255
+ end
2256
+
2257
+ def xmlattr_timeout=(value)
2258
+ __xmlattr[AttrTimeout] = value
2259
+ end
2260
+
2261
+ def xmlattr_timeout_limit
2262
+ __xmlattr[AttrTimeout_limit]
2263
+ end
2264
+
2265
+ def xmlattr_timeout_limit=(value)
2266
+ __xmlattr[AttrTimeout_limit] = value
2267
+ end
2268
+
2269
+ def xmlattr_uid
2270
+ __xmlattr[AttrUid]
2271
+ end
2272
+
2273
+ def xmlattr_uid=(value)
2274
+ __xmlattr[AttrUid] = value
2275
+ end
2276
+
2277
+ def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
2278
+ @auth = auth
2279
+ @cookie = cookie
2280
+ @target = target
2281
+ @origin = origin
2282
+ @src = src
2283
+ @dst = dst
2284
+ @session = session
2285
+ @data = data
2286
+ @__xmlattr = {}
2287
+ end
2288
+ end
2289
+
2290
+ end
2291
+ end
2292
+ end