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