virtuozzo 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +86 -0
- data/Manifest +42 -0
- data/README.rdoc +52 -0
- data/Rakefile +20 -0
- data/lib/virtuozzo.rb +18 -0
- data/lib/virtuozzo/constants.rb +7 -0
- data/lib/virtuozzo/soap.rb +220 -0
- data/lib/virtuozzo/soap/drivers/device.rb +141 -0
- data/lib/virtuozzo/soap/drivers/environment.rb +301 -0
- data/lib/virtuozzo/soap/drivers/network.rb +101 -0
- data/lib/virtuozzo/soap/drivers/process.rb +69 -0
- data/lib/virtuozzo/soap/drivers/process_info.rb +61 -0
- data/lib/virtuozzo/soap/drivers/relocator.rb +101 -0
- data/lib/virtuozzo/soap/drivers/session.rb +149 -0
- data/lib/virtuozzo/soap/drivers/support.rb +109 -0
- data/lib/virtuozzo/soap/drivers/template.rb +117 -0
- data/lib/virtuozzo/soap/drivers/up2date.rb +93 -0
- data/lib/virtuozzo/soap/header_handler.rb +91 -0
- data/lib/virtuozzo/soap/mapping_registries/device.rb +3658 -0
- data/lib/virtuozzo/soap/mapping_registries/environment.rb +4466 -0
- data/lib/virtuozzo/soap/mapping_registries/network.rb +3121 -0
- data/lib/virtuozzo/soap/mapping_registries/process.rb +3322 -0
- data/lib/virtuozzo/soap/mapping_registries/process_info.rb +2990 -0
- data/lib/virtuozzo/soap/mapping_registries/relocator.rb +3661 -0
- data/lib/virtuozzo/soap/mapping_registries/session.rb +3044 -0
- data/lib/virtuozzo/soap/mapping_registries/support.rb +3237 -0
- data/lib/virtuozzo/soap/mapping_registries/template.rb +3757 -0
- data/lib/virtuozzo/soap/mapping_registries/up2date.rb +3317 -0
- data/lib/virtuozzo/soap/types/device.rb +3145 -0
- data/lib/virtuozzo/soap/types/environment.rb +3743 -0
- data/lib/virtuozzo/soap/types/network.rb +2404 -0
- data/lib/virtuozzo/soap/types/process.rb +2713 -0
- data/lib/virtuozzo/soap/types/process_info.rb +2328 -0
- data/lib/virtuozzo/soap/types/relocator.rb +2920 -0
- data/lib/virtuozzo/soap/types/session.rb +2455 -0
- data/lib/virtuozzo/soap/types/support.rb +2711 -0
- data/lib/virtuozzo/soap/types/template.rb +3086 -0
- data/lib/virtuozzo/soap/types/up2date.rb +2672 -0
- data/script/console +10 -0
- data/script/github-gem-test +15 -0
- data/tasks/yard.rake +12 -0
- data/virtuozzo.gemspec +37 -0
- metadata +154 -0
@@ -0,0 +1,3145 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module Virtuozzo; module SOAP; module Types; module Device
|
4
|
+
|
5
|
+
|
6
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet_headerType
|
7
|
+
# auth - Virtuozzo::SOAP::Drivers::Device::AuthType
|
8
|
+
# cookie - SOAP::SOAPString
|
9
|
+
# target - SOAP::SOAPString
|
10
|
+
# origin - SOAP::SOAPString
|
11
|
+
# src - Virtuozzo::SOAP::Drivers::Device::RouteType
|
12
|
+
# dst - Virtuozzo::SOAP::Drivers::Device::RouteType
|
13
|
+
# session - SOAP::SOAPString
|
14
|
+
# xmlattr_version - SOAP::SOAPString
|
15
|
+
# xmlattr_id - SOAP::SOAPString
|
16
|
+
# xmlattr_priority - SOAP::SOAPString
|
17
|
+
# xmlattr_time - SOAP::SOAPString
|
18
|
+
# xmlattr_progress - SOAP::SOAPString
|
19
|
+
# xmlattr_log - SOAP::SOAPString
|
20
|
+
# xmlattr_type - SOAP::SOAPInt
|
21
|
+
# xmlattr_timeout - SOAP::SOAPInt
|
22
|
+
# xmlattr_timeout_limit - SOAP::SOAPInt
|
23
|
+
# xmlattr_uid - SOAP::SOAPInt
|
24
|
+
class Packet_headerType
|
25
|
+
AttrC_Time = XSD::QName.new(nil, "time")
|
26
|
+
AttrId = XSD::QName.new(nil, "id")
|
27
|
+
AttrLog = XSD::QName.new(nil, "log")
|
28
|
+
AttrPriority = XSD::QName.new(nil, "priority")
|
29
|
+
AttrProgress = XSD::QName.new(nil, "progress")
|
30
|
+
AttrTimeout = XSD::QName.new(nil, "timeout")
|
31
|
+
AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
|
32
|
+
AttrType = XSD::QName.new(nil, "type")
|
33
|
+
AttrUid = XSD::QName.new(nil, "uid")
|
34
|
+
AttrVersion = XSD::QName.new(nil, "version")
|
35
|
+
|
36
|
+
attr_accessor :auth
|
37
|
+
attr_accessor :cookie
|
38
|
+
attr_accessor :target
|
39
|
+
attr_accessor :origin
|
40
|
+
attr_accessor :src
|
41
|
+
attr_accessor :dst
|
42
|
+
attr_accessor :session
|
43
|
+
|
44
|
+
def __xmlattr
|
45
|
+
@__xmlattr ||= {}
|
46
|
+
end
|
47
|
+
|
48
|
+
def xmlattr_version
|
49
|
+
__xmlattr[AttrVersion]
|
50
|
+
end
|
51
|
+
|
52
|
+
def xmlattr_version=(value)
|
53
|
+
__xmlattr[AttrVersion] = value
|
54
|
+
end
|
55
|
+
|
56
|
+
def xmlattr_id
|
57
|
+
__xmlattr[AttrId]
|
58
|
+
end
|
59
|
+
|
60
|
+
def xmlattr_id=(value)
|
61
|
+
__xmlattr[AttrId] = value
|
62
|
+
end
|
63
|
+
|
64
|
+
def xmlattr_priority
|
65
|
+
__xmlattr[AttrPriority]
|
66
|
+
end
|
67
|
+
|
68
|
+
def xmlattr_priority=(value)
|
69
|
+
__xmlattr[AttrPriority] = value
|
70
|
+
end
|
71
|
+
|
72
|
+
def xmlattr_time
|
73
|
+
__xmlattr[AttrC_Time]
|
74
|
+
end
|
75
|
+
|
76
|
+
def xmlattr_time=(value)
|
77
|
+
__xmlattr[AttrC_Time] = value
|
78
|
+
end
|
79
|
+
|
80
|
+
def xmlattr_progress
|
81
|
+
__xmlattr[AttrProgress]
|
82
|
+
end
|
83
|
+
|
84
|
+
def xmlattr_progress=(value)
|
85
|
+
__xmlattr[AttrProgress] = value
|
86
|
+
end
|
87
|
+
|
88
|
+
def xmlattr_log
|
89
|
+
__xmlattr[AttrLog]
|
90
|
+
end
|
91
|
+
|
92
|
+
def xmlattr_log=(value)
|
93
|
+
__xmlattr[AttrLog] = value
|
94
|
+
end
|
95
|
+
|
96
|
+
def xmlattr_type
|
97
|
+
__xmlattr[AttrType]
|
98
|
+
end
|
99
|
+
|
100
|
+
def xmlattr_type=(value)
|
101
|
+
__xmlattr[AttrType] = value
|
102
|
+
end
|
103
|
+
|
104
|
+
def xmlattr_timeout
|
105
|
+
__xmlattr[AttrTimeout]
|
106
|
+
end
|
107
|
+
|
108
|
+
def xmlattr_timeout=(value)
|
109
|
+
__xmlattr[AttrTimeout] = value
|
110
|
+
end
|
111
|
+
|
112
|
+
def xmlattr_timeout_limit
|
113
|
+
__xmlattr[AttrTimeout_limit]
|
114
|
+
end
|
115
|
+
|
116
|
+
def xmlattr_timeout_limit=(value)
|
117
|
+
__xmlattr[AttrTimeout_limit] = value
|
118
|
+
end
|
119
|
+
|
120
|
+
def xmlattr_uid
|
121
|
+
__xmlattr[AttrUid]
|
122
|
+
end
|
123
|
+
|
124
|
+
def xmlattr_uid=(value)
|
125
|
+
__xmlattr[AttrUid] = value
|
126
|
+
end
|
127
|
+
|
128
|
+
def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil)
|
129
|
+
@auth = auth
|
130
|
+
@cookie = cookie
|
131
|
+
@target = target
|
132
|
+
@origin = origin
|
133
|
+
@src = src
|
134
|
+
@dst = dst
|
135
|
+
@session = session
|
136
|
+
@__xmlattr = {}
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operatorType
|
141
|
+
# configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
|
142
|
+
class OperatorType
|
143
|
+
attr_accessor :configuration
|
144
|
+
|
145
|
+
def initialize(configuration = nil)
|
146
|
+
@configuration = configuration
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_functionalType
|
151
|
+
# configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
|
152
|
+
# ok - Virtuozzo::SOAP::Drivers::Device::Operator_functionalType::Ok
|
153
|
+
# error - Virtuozzo::SOAP::Drivers::Device::Operator_functionalType::Error
|
154
|
+
class Operator_functionalType < OperatorType
|
155
|
+
|
156
|
+
# inner class for member: ok
|
157
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
|
158
|
+
class Ok
|
159
|
+
def initialize
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
# inner class for member: error
|
164
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
|
165
|
+
# code - SOAP::SOAPInt
|
166
|
+
# message - SOAP::SOAPString
|
167
|
+
class Error
|
168
|
+
attr_accessor :code
|
169
|
+
attr_accessor :message
|
170
|
+
|
171
|
+
def initialize(code = nil, message = nil)
|
172
|
+
@code = code
|
173
|
+
@message = message
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
attr_accessor :configuration
|
178
|
+
attr_accessor :ok
|
179
|
+
attr_accessor :error
|
180
|
+
|
181
|
+
def initialize(configuration = nil, ok = [], error = [])
|
182
|
+
@configuration = configuration
|
183
|
+
@ok = ok
|
184
|
+
@error = error
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}operator_periodicType
|
189
|
+
# configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
|
190
|
+
# ok - Virtuozzo::SOAP::Drivers::Device::Operator_periodicType::Ok
|
191
|
+
# error - Virtuozzo::SOAP::Drivers::Device::Operator_periodicType::Error
|
192
|
+
# start_monitor - Virtuozzo::SOAP::Drivers::Device::Start_monitorType
|
193
|
+
# stop_monitor - Virtuozzo::SOAP::Drivers::Device::Stop_monitorType
|
194
|
+
# set_period - Virtuozzo::SOAP::Drivers::Device::Set_periodType
|
195
|
+
# report - (any)
|
196
|
+
class Operator_periodicType < Operator_functionalType
|
197
|
+
|
198
|
+
# inner class for member: ok
|
199
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
|
200
|
+
class Ok
|
201
|
+
def initialize
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# inner class for member: error
|
206
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
|
207
|
+
# code - SOAP::SOAPInt
|
208
|
+
# message - SOAP::SOAPString
|
209
|
+
class Error
|
210
|
+
attr_accessor :code
|
211
|
+
attr_accessor :message
|
212
|
+
|
213
|
+
def initialize(code = nil, message = nil)
|
214
|
+
@code = code
|
215
|
+
@message = message
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
attr_accessor :configuration
|
220
|
+
attr_accessor :ok
|
221
|
+
attr_accessor :error
|
222
|
+
attr_accessor :start_monitor
|
223
|
+
attr_accessor :stop_monitor
|
224
|
+
attr_accessor :set_period
|
225
|
+
attr_accessor :report
|
226
|
+
|
227
|
+
def initialize(configuration = nil, ok = [], error = [], start_monitor = nil, stop_monitor = nil, set_period = nil, report = nil)
|
228
|
+
@configuration = configuration
|
229
|
+
@ok = ok
|
230
|
+
@error = error
|
231
|
+
@start_monitor = start_monitor
|
232
|
+
@stop_monitor = stop_monitor
|
233
|
+
@set_period = set_period
|
234
|
+
@report = report
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}devmType
|
239
|
+
# configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
|
240
|
+
# ok - Virtuozzo::SOAP::Drivers::Device::DevmType::Ok
|
241
|
+
# error - Virtuozzo::SOAP::Drivers::Device::DevmType::Error
|
242
|
+
# get_mounts - Virtuozzo::SOAP::Drivers::Device::Get_mounts
|
243
|
+
# new_mount - Virtuozzo::SOAP::Drivers::Device::New_mount
|
244
|
+
# umount - Virtuozzo::SOAP::Drivers::Device::Umount
|
245
|
+
# get_info - Virtuozzo::SOAP::Drivers::Device::Get_info
|
246
|
+
# create_drive - Virtuozzo::SOAP::Drivers::Device::Create_drive
|
247
|
+
# delete_drive - Virtuozzo::SOAP::Drivers::Device::Delete_drive
|
248
|
+
# resize_drive - Virtuozzo::SOAP::Drivers::Device::Resize_drive
|
249
|
+
# format_drive - Virtuozzo::SOAP::Drivers::Device::Format_drive
|
250
|
+
# list_device - Virtuozzo::SOAP::Drivers::Device::List_device
|
251
|
+
# forward_device - Virtuozzo::SOAP::Drivers::Device::Forward_device
|
252
|
+
# remove_forward - Virtuozzo::SOAP::Drivers::Device::Remove_forward
|
253
|
+
# list_forward - Virtuozzo::SOAP::Drivers::Device::List_forward
|
254
|
+
# mount - Virtuozzo::SOAP::Drivers::Device::Mount_deviceType
|
255
|
+
# device_info - Virtuozzo::SOAP::Drivers::Device::Device_info
|
256
|
+
# device - Virtuozzo::SOAP::Drivers::Device::Common_deviceType
|
257
|
+
# forward - Virtuozzo::SOAP::Drivers::Device::Forward
|
258
|
+
class DevmType < Operator_functionalType
|
259
|
+
|
260
|
+
# inner class for member: ok
|
261
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
|
262
|
+
class Ok
|
263
|
+
def initialize
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
267
|
+
# inner class for member: error
|
268
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
|
269
|
+
# code - SOAP::SOAPInt
|
270
|
+
# message - SOAP::SOAPString
|
271
|
+
class Error
|
272
|
+
attr_accessor :code
|
273
|
+
attr_accessor :message
|
274
|
+
|
275
|
+
def initialize(code = nil, message = nil)
|
276
|
+
@code = code
|
277
|
+
@message = message
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
attr_accessor :configuration
|
282
|
+
attr_accessor :ok
|
283
|
+
attr_accessor :error
|
284
|
+
attr_accessor :get_mounts
|
285
|
+
attr_accessor :new_mount
|
286
|
+
attr_accessor :umount
|
287
|
+
attr_accessor :get_info
|
288
|
+
attr_accessor :create_drive
|
289
|
+
attr_accessor :delete_drive
|
290
|
+
attr_accessor :resize_drive
|
291
|
+
attr_accessor :format_drive
|
292
|
+
attr_accessor :list_device
|
293
|
+
attr_accessor :forward_device
|
294
|
+
attr_accessor :remove_forward
|
295
|
+
attr_accessor :list_forward
|
296
|
+
attr_accessor :mount
|
297
|
+
attr_accessor :device_info
|
298
|
+
attr_accessor :device
|
299
|
+
attr_accessor :forward
|
300
|
+
|
301
|
+
def initialize(configuration = nil, ok = [], error = [], get_mounts = [], new_mount = [], umount = [], get_info = [], create_drive = [], delete_drive = [], resize_drive = [], format_drive = [], list_device = [], forward_device = [], remove_forward = [], list_forward = [], mount = [], device_info = [], device = [], forward = [])
|
302
|
+
@configuration = configuration
|
303
|
+
@ok = ok
|
304
|
+
@error = error
|
305
|
+
@get_mounts = get_mounts
|
306
|
+
@new_mount = new_mount
|
307
|
+
@umount = umount
|
308
|
+
@get_info = get_info
|
309
|
+
@create_drive = create_drive
|
310
|
+
@delete_drive = delete_drive
|
311
|
+
@resize_drive = resize_drive
|
312
|
+
@format_drive = format_drive
|
313
|
+
@list_device = list_device
|
314
|
+
@forward_device = forward_device
|
315
|
+
@remove_forward = remove_forward
|
316
|
+
@list_forward = list_forward
|
317
|
+
@mount = mount
|
318
|
+
@device_info = device_info
|
319
|
+
@device = device
|
320
|
+
@forward = forward
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzadevm}vzadevmType
|
325
|
+
# configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
|
326
|
+
# ok - Virtuozzo::SOAP::Drivers::Device::VzadevmType::Ok
|
327
|
+
# error - Virtuozzo::SOAP::Drivers::Device::VzadevmType::Error
|
328
|
+
# get_mounts - Virtuozzo::SOAP::Drivers::Device::Get_mounts
|
329
|
+
# new_mount - Virtuozzo::SOAP::Drivers::Device::New_mount
|
330
|
+
# umount - Virtuozzo::SOAP::Drivers::Device::Umount
|
331
|
+
# get_info - Virtuozzo::SOAP::Drivers::Device::Get_info
|
332
|
+
# create_drive - Virtuozzo::SOAP::Drivers::Device::Create_drive
|
333
|
+
# delete_drive - Virtuozzo::SOAP::Drivers::Device::Delete_drive
|
334
|
+
# resize_drive - Virtuozzo::SOAP::Drivers::Device::Resize_drive
|
335
|
+
# format_drive - Virtuozzo::SOAP::Drivers::Device::Format_drive
|
336
|
+
# list_device - Virtuozzo::SOAP::Drivers::Device::List_device
|
337
|
+
# forward_device - Virtuozzo::SOAP::Drivers::Device::Forward_device
|
338
|
+
# remove_forward - Virtuozzo::SOAP::Drivers::Device::Remove_forward
|
339
|
+
# list_forward - Virtuozzo::SOAP::Drivers::Device::List_forward
|
340
|
+
# mount - Virtuozzo::SOAP::Drivers::Device::Mount_deviceType
|
341
|
+
# device_info - Virtuozzo::SOAP::Drivers::Device::Device_info
|
342
|
+
# device - Virtuozzo::SOAP::Drivers::Device::Common_deviceType
|
343
|
+
# forward - Virtuozzo::SOAP::Drivers::Device::Forward
|
344
|
+
class VzadevmType < DevmType
|
345
|
+
|
346
|
+
# inner class for member: ok
|
347
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
|
348
|
+
class Ok
|
349
|
+
def initialize
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
# inner class for member: error
|
354
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
|
355
|
+
# code - SOAP::SOAPInt
|
356
|
+
# message - SOAP::SOAPString
|
357
|
+
class Error
|
358
|
+
attr_accessor :code
|
359
|
+
attr_accessor :message
|
360
|
+
|
361
|
+
def initialize(code = nil, message = nil)
|
362
|
+
@code = code
|
363
|
+
@message = message
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
367
|
+
attr_accessor :configuration
|
368
|
+
attr_accessor :ok
|
369
|
+
attr_accessor :error
|
370
|
+
attr_accessor :get_mounts
|
371
|
+
attr_accessor :new_mount
|
372
|
+
attr_accessor :umount
|
373
|
+
attr_accessor :get_info
|
374
|
+
attr_accessor :create_drive
|
375
|
+
attr_accessor :delete_drive
|
376
|
+
attr_accessor :resize_drive
|
377
|
+
attr_accessor :format_drive
|
378
|
+
attr_accessor :list_device
|
379
|
+
attr_accessor :forward_device
|
380
|
+
attr_accessor :remove_forward
|
381
|
+
attr_accessor :list_forward
|
382
|
+
attr_accessor :mount
|
383
|
+
attr_accessor :device_info
|
384
|
+
attr_accessor :device
|
385
|
+
attr_accessor :forward
|
386
|
+
|
387
|
+
def initialize(configuration = nil, ok = [], error = [], get_mounts = [], new_mount = [], umount = [], get_info = [], create_drive = [], delete_drive = [], resize_drive = [], format_drive = [], list_device = [], forward_device = [], remove_forward = [], list_forward = [], mount = [], device_info = [], device = [], forward = [])
|
388
|
+
@configuration = configuration
|
389
|
+
@ok = ok
|
390
|
+
@error = error
|
391
|
+
@get_mounts = get_mounts
|
392
|
+
@new_mount = new_mount
|
393
|
+
@umount = umount
|
394
|
+
@get_info = get_info
|
395
|
+
@create_drive = create_drive
|
396
|
+
@delete_drive = delete_drive
|
397
|
+
@resize_drive = resize_drive
|
398
|
+
@format_drive = format_drive
|
399
|
+
@list_device = list_device
|
400
|
+
@forward_device = forward_device
|
401
|
+
@remove_forward = remove_forward
|
402
|
+
@list_forward = list_forward
|
403
|
+
@mount = mount
|
404
|
+
@device_info = device_info
|
405
|
+
@device = device
|
406
|
+
@forward = forward
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}set_periodType
|
411
|
+
# collect - SOAP::SOAPInt
|
412
|
+
# log - SOAP::SOAPInt
|
413
|
+
# report - SOAP::SOAPInt
|
414
|
+
class Set_periodType
|
415
|
+
attr_accessor :collect
|
416
|
+
attr_accessor :log
|
417
|
+
attr_accessor :report
|
418
|
+
|
419
|
+
def initialize(collect = nil, log = nil, report = nil)
|
420
|
+
@collect = collect
|
421
|
+
@log = log
|
422
|
+
@report = report
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
426
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}start_monitorType
|
427
|
+
# period - SOAP::SOAPInt
|
428
|
+
class Start_monitorType
|
429
|
+
attr_accessor :period
|
430
|
+
attr_reader :__xmlele_any
|
431
|
+
|
432
|
+
def set_any(elements)
|
433
|
+
@__xmlele_any = elements
|
434
|
+
end
|
435
|
+
|
436
|
+
def initialize(period = nil)
|
437
|
+
@period = period
|
438
|
+
@__xmlele_any = nil
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
442
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}stop_monitorType
|
443
|
+
class Stop_monitorType
|
444
|
+
attr_reader :__xmlele_any
|
445
|
+
|
446
|
+
def set_any(elements)
|
447
|
+
@__xmlele_any = elements
|
448
|
+
end
|
449
|
+
|
450
|
+
def initialize
|
451
|
+
@__xmlele_any = nil
|
452
|
+
end
|
453
|
+
end
|
454
|
+
|
455
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}authType
|
456
|
+
class AuthType
|
457
|
+
attr_reader :__xmlele_any
|
458
|
+
|
459
|
+
def set_any(elements)
|
460
|
+
@__xmlele_any = elements
|
461
|
+
end
|
462
|
+
|
463
|
+
def initialize
|
464
|
+
@__xmlele_any = nil
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}routeType
|
469
|
+
# director - SOAP::SOAPString
|
470
|
+
# host - SOAP::SOAPString
|
471
|
+
# index - SOAP::SOAPString
|
472
|
+
# target - SOAP::SOAPString
|
473
|
+
class RouteType
|
474
|
+
attr_accessor :director
|
475
|
+
attr_accessor :host
|
476
|
+
attr_accessor :index
|
477
|
+
attr_accessor :target
|
478
|
+
|
479
|
+
def initialize(director = nil, host = nil, index = nil, target = nil)
|
480
|
+
@director = director
|
481
|
+
@host = host
|
482
|
+
@index = index
|
483
|
+
@target = target
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
487
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}dataType
|
488
|
+
class DataType < ::Array
|
489
|
+
end
|
490
|
+
|
491
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}configurationType
|
492
|
+
class ConfigurationType
|
493
|
+
def initialize
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
497
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}event_configurationType
|
498
|
+
# period - SOAP::SOAPInt
|
499
|
+
class Event_configurationType < ConfigurationType
|
500
|
+
attr_accessor :period
|
501
|
+
|
502
|
+
def initialize(period = nil)
|
503
|
+
@period = period
|
504
|
+
end
|
505
|
+
end
|
506
|
+
|
507
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}periodic_configurationType
|
508
|
+
# log_priority - SOAP::SOAPInt
|
509
|
+
# monitor_priority - SOAP::SOAPInt
|
510
|
+
# min_monitor_period - SOAP::SOAPInt
|
511
|
+
# min_monitor_period_root - SOAP::SOAPInt
|
512
|
+
class Periodic_configurationType < ConfigurationType
|
513
|
+
attr_accessor :log_priority
|
514
|
+
attr_accessor :monitor_priority
|
515
|
+
attr_accessor :min_monitor_period
|
516
|
+
attr_accessor :min_monitor_period_root
|
517
|
+
|
518
|
+
def initialize(log_priority = nil, monitor_priority = nil, min_monitor_period = nil, min_monitor_period_root = nil)
|
519
|
+
@log_priority = log_priority
|
520
|
+
@monitor_priority = monitor_priority
|
521
|
+
@min_monitor_period = min_monitor_period
|
522
|
+
@min_monitor_period_root = min_monitor_period_root
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
526
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}osType
|
527
|
+
# platform - SOAP::SOAPString
|
528
|
+
# name - SOAP::SOAPString
|
529
|
+
# version - SOAP::SOAPString
|
530
|
+
# kernel - SOAP::SOAPString
|
531
|
+
class OsType
|
532
|
+
attr_accessor :platform
|
533
|
+
attr_accessor :name
|
534
|
+
attr_accessor :version
|
535
|
+
attr_accessor :kernel
|
536
|
+
|
537
|
+
def initialize(platform = nil, name = nil, version = nil, kernel = nil)
|
538
|
+
@platform = platform
|
539
|
+
@name = name
|
540
|
+
@version = version
|
541
|
+
@kernel = kernel
|
542
|
+
end
|
543
|
+
end
|
544
|
+
|
545
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_statusType
|
546
|
+
# state - SOAP::SOAPInt
|
547
|
+
# transition - SOAP::SOAPInt
|
548
|
+
class Env_statusType
|
549
|
+
attr_accessor :state
|
550
|
+
attr_accessor :transition
|
551
|
+
|
552
|
+
def initialize(state = nil, transition = nil)
|
553
|
+
@state = state
|
554
|
+
@transition = transition
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}qosType
|
559
|
+
# id - SOAP::SOAPString
|
560
|
+
# soft - SOAP::SOAPLong
|
561
|
+
# hard - SOAP::SOAPLong
|
562
|
+
# cur - SOAP::SOAPLong
|
563
|
+
class QosType
|
564
|
+
attr_accessor :id
|
565
|
+
attr_accessor :soft
|
566
|
+
attr_accessor :hard
|
567
|
+
attr_accessor :cur
|
568
|
+
|
569
|
+
def initialize(id = nil, soft = nil, hard = nil, cur = nil)
|
570
|
+
@id = id
|
571
|
+
@soft = soft
|
572
|
+
@hard = hard
|
573
|
+
@cur = cur
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
577
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_configType
|
578
|
+
# name - SOAP::SOAPString
|
579
|
+
# description - SOAP::SOAPBase64
|
580
|
+
# domain - SOAP::SOAPString
|
581
|
+
# hostname - SOAP::SOAPString
|
582
|
+
# address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
|
583
|
+
# architecture - SOAP::SOAPString
|
584
|
+
# os - Virtuozzo::SOAP::Drivers::Device::OsType
|
585
|
+
# type - SOAP::SOAPString
|
586
|
+
# nameserver - SOAP::SOAPString
|
587
|
+
# search_domain - SOAP::SOAPString
|
588
|
+
# base_sample_id - (any)
|
589
|
+
# base_snapshot_id - (any)
|
590
|
+
# child_type - SOAP::SOAPString
|
591
|
+
class Env_configType
|
592
|
+
attr_accessor :name
|
593
|
+
attr_accessor :description
|
594
|
+
attr_accessor :domain
|
595
|
+
attr_accessor :hostname
|
596
|
+
attr_accessor :address
|
597
|
+
attr_accessor :architecture
|
598
|
+
attr_accessor :os
|
599
|
+
attr_accessor :type
|
600
|
+
attr_accessor :nameserver
|
601
|
+
attr_accessor :search_domain
|
602
|
+
attr_accessor :base_sample_id
|
603
|
+
attr_accessor :base_snapshot_id
|
604
|
+
attr_accessor :child_type
|
605
|
+
|
606
|
+
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 = [])
|
607
|
+
@name = name
|
608
|
+
@description = description
|
609
|
+
@domain = domain
|
610
|
+
@hostname = hostname
|
611
|
+
@address = address
|
612
|
+
@architecture = architecture
|
613
|
+
@os = os
|
614
|
+
@type = type
|
615
|
+
@nameserver = nameserver
|
616
|
+
@search_domain = search_domain
|
617
|
+
@base_sample_id = base_sample_id
|
618
|
+
@base_snapshot_id = base_snapshot_id
|
619
|
+
@child_type = child_type
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
623
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}venv_configType
|
624
|
+
# name - SOAP::SOAPString
|
625
|
+
# description - SOAP::SOAPBase64
|
626
|
+
# domain - SOAP::SOAPString
|
627
|
+
# hostname - SOAP::SOAPString
|
628
|
+
# address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
|
629
|
+
# architecture - SOAP::SOAPString
|
630
|
+
# os - Virtuozzo::SOAP::Drivers::Device::OsType
|
631
|
+
# type - SOAP::SOAPString
|
632
|
+
# nameserver - SOAP::SOAPString
|
633
|
+
# search_domain - SOAP::SOAPString
|
634
|
+
# base_sample_id - (any)
|
635
|
+
# base_snapshot_id - (any)
|
636
|
+
# child_type - SOAP::SOAPString
|
637
|
+
# qos - Virtuozzo::SOAP::Drivers::Device::QosType
|
638
|
+
class Venv_configType < Env_configType
|
639
|
+
attr_accessor :name
|
640
|
+
attr_accessor :description
|
641
|
+
attr_accessor :domain
|
642
|
+
attr_accessor :hostname
|
643
|
+
attr_accessor :address
|
644
|
+
attr_accessor :architecture
|
645
|
+
attr_accessor :os
|
646
|
+
attr_accessor :type
|
647
|
+
attr_accessor :nameserver
|
648
|
+
attr_accessor :search_domain
|
649
|
+
attr_accessor :base_sample_id
|
650
|
+
attr_accessor :base_snapshot_id
|
651
|
+
attr_accessor :child_type
|
652
|
+
attr_accessor :qos
|
653
|
+
|
654
|
+
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 = [])
|
655
|
+
@name = name
|
656
|
+
@description = description
|
657
|
+
@domain = domain
|
658
|
+
@hostname = hostname
|
659
|
+
@address = address
|
660
|
+
@architecture = architecture
|
661
|
+
@os = os
|
662
|
+
@type = type
|
663
|
+
@nameserver = nameserver
|
664
|
+
@search_domain = search_domain
|
665
|
+
@base_sample_id = base_sample_id
|
666
|
+
@base_snapshot_id = base_snapshot_id
|
667
|
+
@child_type = child_type
|
668
|
+
@qos = qos
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}venv_configType
|
673
|
+
# name - SOAP::SOAPString
|
674
|
+
# description - SOAP::SOAPBase64
|
675
|
+
# domain - SOAP::SOAPString
|
676
|
+
# hostname - SOAP::SOAPString
|
677
|
+
# address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
|
678
|
+
# architecture - SOAP::SOAPString
|
679
|
+
# os - Virtuozzo::SOAP::Drivers::Device::OsType
|
680
|
+
# type - SOAP::SOAPString
|
681
|
+
# nameserver - SOAP::SOAPString
|
682
|
+
# search_domain - SOAP::SOAPString
|
683
|
+
# base_sample_id - (any)
|
684
|
+
# base_snapshot_id - (any)
|
685
|
+
# child_type - SOAP::SOAPString
|
686
|
+
# qos - Virtuozzo::SOAP::Drivers::Device::QosType
|
687
|
+
# veid - (any)
|
688
|
+
# ve_root - SOAP::SOAPString
|
689
|
+
# ve_private - SOAP::SOAPString
|
690
|
+
# on_boot - SOAP::SOAPBoolean
|
691
|
+
# template - Virtuozzo::SOAP::Drivers::Device::TemplateType
|
692
|
+
# disabled - SOAP::SOAPBoolean
|
693
|
+
# offline_management - SOAP::SOAPBoolean
|
694
|
+
# os_template - Virtuozzo::SOAP::Drivers::Device::TemplateType
|
695
|
+
# distribution - Virtuozzo::SOAP::Drivers::Device::TemplateType
|
696
|
+
# capability - Virtuozzo::SOAP::Drivers::Device::Venv_configType_::Capability
|
697
|
+
# iptables - SOAP::SOAPString
|
698
|
+
# config_customized - SOAP::SOAPBoolean
|
699
|
+
# class_id - SOAP::SOAPString
|
700
|
+
# ve_type - Virtuozzo::SOAP::Drivers::Device::Venv_configType_::Ve_type
|
701
|
+
# offline_service - SOAP::SOAPString
|
702
|
+
# wins_server - SOAP::SOAPString
|
703
|
+
# net_device - Virtuozzo::SOAP::Drivers::Device::Net_vethType
|
704
|
+
# ts_license_server - SOAP::SOAPString
|
705
|
+
# ts_mode - SOAP::SOAPInt
|
706
|
+
# uuid - SOAP::SOAPString
|
707
|
+
# allow_reboot - SOAP::SOAPBoolean
|
708
|
+
# rate_bound - SOAP::SOAPBoolean
|
709
|
+
# interface_rate - Virtuozzo::SOAP::Drivers::Device::Venv_configType_::Interface_rate
|
710
|
+
# slm_mode - SOAP::SOAPString
|
711
|
+
# origin_sample - SOAP::SOAPString
|
712
|
+
class Venv_configType_ < Venv_configType
|
713
|
+
|
714
|
+
# inner class for member: capability
|
715
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}capability
|
716
|
+
# id - SOAP::SOAPString
|
717
|
+
# value - SOAP::SOAPBoolean
|
718
|
+
class Capability
|
719
|
+
attr_accessor :id
|
720
|
+
attr_accessor :value
|
721
|
+
|
722
|
+
def initialize(id = nil, value = nil)
|
723
|
+
@id = id
|
724
|
+
@value = value
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
728
|
+
# inner class for member: ve_type
|
729
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}ve_type
|
730
|
+
# veid - (any)
|
731
|
+
# type - SOAP::SOAPInt
|
732
|
+
class Ve_type
|
733
|
+
attr_accessor :veid
|
734
|
+
attr_accessor :type
|
735
|
+
|
736
|
+
def initialize(veid = nil, type = nil)
|
737
|
+
@veid = veid
|
738
|
+
@type = type
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
742
|
+
# inner class for member: interface_rate
|
743
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}interface_rate
|
744
|
+
# class_id - SOAP::SOAPString
|
745
|
+
# rate - SOAP::SOAPLong
|
746
|
+
class Interface_rate
|
747
|
+
attr_accessor :class_id
|
748
|
+
attr_accessor :rate
|
749
|
+
|
750
|
+
def initialize(class_id = nil, rate = nil)
|
751
|
+
@class_id = class_id
|
752
|
+
@rate = rate
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
attr_accessor :name
|
757
|
+
attr_accessor :description
|
758
|
+
attr_accessor :domain
|
759
|
+
attr_accessor :hostname
|
760
|
+
attr_accessor :address
|
761
|
+
attr_accessor :architecture
|
762
|
+
attr_accessor :os
|
763
|
+
attr_accessor :type
|
764
|
+
attr_accessor :nameserver
|
765
|
+
attr_accessor :search_domain
|
766
|
+
attr_accessor :base_sample_id
|
767
|
+
attr_accessor :base_snapshot_id
|
768
|
+
attr_accessor :child_type
|
769
|
+
attr_accessor :qos
|
770
|
+
attr_accessor :veid
|
771
|
+
attr_accessor :ve_root
|
772
|
+
attr_accessor :ve_private
|
773
|
+
attr_accessor :on_boot
|
774
|
+
attr_accessor :template
|
775
|
+
attr_accessor :disabled
|
776
|
+
attr_accessor :offline_management
|
777
|
+
attr_accessor :os_template
|
778
|
+
attr_accessor :distribution
|
779
|
+
attr_accessor :capability
|
780
|
+
attr_accessor :iptables
|
781
|
+
attr_accessor :config_customized
|
782
|
+
attr_accessor :class_id
|
783
|
+
attr_accessor :ve_type
|
784
|
+
attr_accessor :offline_service
|
785
|
+
attr_accessor :wins_server
|
786
|
+
attr_accessor :net_device
|
787
|
+
attr_accessor :ts_license_server
|
788
|
+
attr_accessor :ts_mode
|
789
|
+
attr_accessor :uuid
|
790
|
+
attr_accessor :allow_reboot
|
791
|
+
attr_accessor :rate_bound
|
792
|
+
attr_accessor :interface_rate
|
793
|
+
attr_accessor :slm_mode
|
794
|
+
attr_accessor :origin_sample
|
795
|
+
|
796
|
+
def initialize(name = nil, description = nil, domain = nil, hostname = nil, address = [], architecture = nil, os = nil, type = nil, nameserver = [], search_domain = [], base_sample_id = nil, base_snapshot_id = nil, child_type = [], qos = [], veid = nil, ve_root = nil, ve_private = nil, on_boot = nil, template = [], disabled = nil, offline_management = nil, os_template = nil, distribution = nil, capability = [], iptables = [], config_customized = nil, class_id = nil, ve_type = nil, offline_service = [], wins_server = [], net_device = [], ts_license_server = [], ts_mode = nil, uuid = nil, allow_reboot = nil, rate_bound = nil, interface_rate = [], slm_mode = nil, origin_sample = nil)
|
797
|
+
@name = name
|
798
|
+
@description = description
|
799
|
+
@domain = domain
|
800
|
+
@hostname = hostname
|
801
|
+
@address = address
|
802
|
+
@architecture = architecture
|
803
|
+
@os = os
|
804
|
+
@type = type
|
805
|
+
@nameserver = nameserver
|
806
|
+
@search_domain = search_domain
|
807
|
+
@base_sample_id = base_sample_id
|
808
|
+
@base_snapshot_id = base_snapshot_id
|
809
|
+
@child_type = child_type
|
810
|
+
@qos = qos
|
811
|
+
@veid = veid
|
812
|
+
@ve_root = ve_root
|
813
|
+
@ve_private = ve_private
|
814
|
+
@on_boot = on_boot
|
815
|
+
@template = template
|
816
|
+
@disabled = disabled
|
817
|
+
@offline_management = offline_management
|
818
|
+
@os_template = os_template
|
819
|
+
@distribution = distribution
|
820
|
+
@capability = capability
|
821
|
+
@iptables = iptables
|
822
|
+
@config_customized = config_customized
|
823
|
+
@class_id = class_id
|
824
|
+
@ve_type = ve_type
|
825
|
+
@offline_service = offline_service
|
826
|
+
@wins_server = wins_server
|
827
|
+
@net_device = net_device
|
828
|
+
@ts_license_server = ts_license_server
|
829
|
+
@ts_mode = ts_mode
|
830
|
+
@uuid = uuid
|
831
|
+
@allow_reboot = allow_reboot
|
832
|
+
@rate_bound = rate_bound
|
833
|
+
@interface_rate = interface_rate
|
834
|
+
@slm_mode = slm_mode
|
835
|
+
@origin_sample = origin_sample
|
836
|
+
end
|
837
|
+
end
|
838
|
+
|
839
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}native_configType
|
840
|
+
class Native_configType
|
841
|
+
def initialize
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
845
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}virtuozzo_configType
|
846
|
+
# body - SOAP::SOAPBase64
|
847
|
+
class Virtuozzo_configType < Native_configType
|
848
|
+
attr_accessor :body
|
849
|
+
|
850
|
+
def initialize(body = nil)
|
851
|
+
@body = body
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
855
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}envType
|
856
|
+
# parent_eid - (any)
|
857
|
+
# eid - (any)
|
858
|
+
# status - Virtuozzo::SOAP::Drivers::Device::Env_statusType
|
859
|
+
# alert - SOAP::SOAPInt
|
860
|
+
# config - Virtuozzo::SOAP::Drivers::Device::Env_configType
|
861
|
+
# virtual_config - Virtuozzo::SOAP::Drivers::Device::Venv_configType
|
862
|
+
class EnvType
|
863
|
+
attr_accessor :parent_eid
|
864
|
+
attr_accessor :eid
|
865
|
+
attr_accessor :status
|
866
|
+
attr_accessor :alert
|
867
|
+
attr_accessor :config
|
868
|
+
attr_accessor :virtual_config
|
869
|
+
|
870
|
+
def initialize(parent_eid = nil, eid = nil, status = nil, alert = nil, config = nil, virtual_config = nil)
|
871
|
+
@parent_eid = parent_eid
|
872
|
+
@eid = eid
|
873
|
+
@status = status
|
874
|
+
@alert = alert
|
875
|
+
@config = config
|
876
|
+
@virtual_config = virtual_config
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
880
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}envType
|
881
|
+
# parent_eid - (any)
|
882
|
+
# eid - (any)
|
883
|
+
# status - Virtuozzo::SOAP::Drivers::Device::Env_statusType
|
884
|
+
# alert - SOAP::SOAPInt
|
885
|
+
# config - Virtuozzo::SOAP::Drivers::Device::Env_configType
|
886
|
+
# virtual_config - Virtuozzo::SOAP::Drivers::Device::Venv_configType
|
887
|
+
class EnvType_ < EnvType
|
888
|
+
attr_accessor :parent_eid
|
889
|
+
attr_accessor :eid
|
890
|
+
attr_accessor :status
|
891
|
+
attr_accessor :alert
|
892
|
+
attr_accessor :config
|
893
|
+
attr_accessor :virtual_config
|
894
|
+
|
895
|
+
def initialize(parent_eid = nil, eid = nil, status = nil, alert = nil, config = nil, virtual_config = nil)
|
896
|
+
@parent_eid = parent_eid
|
897
|
+
@eid = eid
|
898
|
+
@status = status
|
899
|
+
@alert = alert
|
900
|
+
@config = config
|
901
|
+
@virtual_config = virtual_config
|
902
|
+
end
|
903
|
+
end
|
904
|
+
|
905
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}processesType
|
906
|
+
# run - SOAP::SOAPInt
|
907
|
+
# zombie - SOAP::SOAPInt
|
908
|
+
# sleep - SOAP::SOAPInt
|
909
|
+
# uninterrupt - SOAP::SOAPInt
|
910
|
+
# stopped - SOAP::SOAPInt
|
911
|
+
# total - SOAP::SOAPInt
|
912
|
+
class ProcessesType
|
913
|
+
attr_accessor :run
|
914
|
+
attr_accessor :zombie
|
915
|
+
attr_accessor :sleep
|
916
|
+
attr_accessor :uninterrupt
|
917
|
+
attr_accessor :stopped
|
918
|
+
attr_accessor :total
|
919
|
+
|
920
|
+
def initialize(run = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
|
921
|
+
@run = run
|
922
|
+
@zombie = zombie
|
923
|
+
@sleep = sleep
|
924
|
+
@uninterrupt = uninterrupt
|
925
|
+
@stopped = stopped
|
926
|
+
@total = total
|
927
|
+
end
|
928
|
+
end
|
929
|
+
|
930
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avgType
|
931
|
+
# l1 - SOAP::SOAPDouble
|
932
|
+
# l2 - SOAP::SOAPDouble
|
933
|
+
# l3 - SOAP::SOAPDouble
|
934
|
+
class Load_avgType
|
935
|
+
attr_accessor :l1
|
936
|
+
attr_accessor :l2
|
937
|
+
attr_accessor :l3
|
938
|
+
|
939
|
+
def initialize(l1 = nil, l2 = nil, l3 = nil)
|
940
|
+
@l1 = l1
|
941
|
+
@l2 = l2
|
942
|
+
@l3 = l3
|
943
|
+
end
|
944
|
+
end
|
945
|
+
|
946
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpu_loadType
|
947
|
+
# system - SOAP::SOAPLong
|
948
|
+
# user - SOAP::SOAPLong
|
949
|
+
# nice - SOAP::SOAPLong
|
950
|
+
# idle - SOAP::SOAPLong
|
951
|
+
class Cpu_loadType
|
952
|
+
attr_accessor :system
|
953
|
+
attr_accessor :user
|
954
|
+
attr_accessor :nice
|
955
|
+
attr_accessor :idle
|
956
|
+
|
957
|
+
def initialize(system = nil, user = nil, nice = nil, idle = nil)
|
958
|
+
@system = system
|
959
|
+
@user = user
|
960
|
+
@nice = nice
|
961
|
+
@idle = idle
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
965
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}cpuType
|
966
|
+
# mhz - SOAP::SOAPInt
|
967
|
+
# name - SOAP::SOAPString
|
968
|
+
# number - SOAP::SOAPInt
|
969
|
+
# cores - SOAP::SOAPInt
|
970
|
+
# hyperthreads - SOAP::SOAPInt
|
971
|
+
# units - SOAP::SOAPInt
|
972
|
+
# family - SOAP::SOAPString
|
973
|
+
# model - SOAP::SOAPString
|
974
|
+
# bogomips - SOAP::SOAPInt
|
975
|
+
class CpuType
|
976
|
+
attr_accessor :mhz
|
977
|
+
attr_accessor :name
|
978
|
+
attr_accessor :number
|
979
|
+
attr_accessor :cores
|
980
|
+
attr_accessor :hyperthreads
|
981
|
+
attr_accessor :units
|
982
|
+
attr_accessor :family
|
983
|
+
attr_accessor :model
|
984
|
+
attr_accessor :bogomips
|
985
|
+
|
986
|
+
def initialize(mhz = nil, name = nil, number = nil, cores = nil, hyperthreads = nil, units = nil, family = nil, model = nil, bogomips = nil)
|
987
|
+
@mhz = mhz
|
988
|
+
@name = name
|
989
|
+
@number = number
|
990
|
+
@cores = cores
|
991
|
+
@hyperthreads = hyperthreads
|
992
|
+
@units = units
|
993
|
+
@family = family
|
994
|
+
@model = model
|
995
|
+
@bogomips = bogomips
|
996
|
+
end
|
997
|
+
end
|
998
|
+
|
999
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}transferType
|
1000
|
+
# input - Virtuozzo::SOAP::Drivers::Device::TransferType::Input
|
1001
|
+
# output - Virtuozzo::SOAP::Drivers::Device::TransferType::Output
|
1002
|
+
class TransferType
|
1003
|
+
|
1004
|
+
# inner class for member: input
|
1005
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}input
|
1006
|
+
# bytes - SOAP::SOAPLong
|
1007
|
+
# packets - SOAP::SOAPLong
|
1008
|
+
class Input
|
1009
|
+
attr_accessor :bytes
|
1010
|
+
attr_accessor :packets
|
1011
|
+
|
1012
|
+
def initialize(bytes = nil, packets = nil)
|
1013
|
+
@bytes = bytes
|
1014
|
+
@packets = packets
|
1015
|
+
end
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
# inner class for member: output
|
1019
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}output
|
1020
|
+
# bytes - SOAP::SOAPLong
|
1021
|
+
# packets - SOAP::SOAPLong
|
1022
|
+
class Output
|
1023
|
+
attr_accessor :bytes
|
1024
|
+
attr_accessor :packets
|
1025
|
+
|
1026
|
+
def initialize(bytes = nil, packets = nil)
|
1027
|
+
@bytes = bytes
|
1028
|
+
@packets = packets
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
attr_accessor :input
|
1033
|
+
attr_accessor :output
|
1034
|
+
|
1035
|
+
def initialize(input = nil, output = nil)
|
1036
|
+
@input = input
|
1037
|
+
@output = output
|
1038
|
+
end
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_addressType
|
1042
|
+
# ip - (any)
|
1043
|
+
# netmask - (any)
|
1044
|
+
class Ip_addressType
|
1045
|
+
attr_accessor :ip
|
1046
|
+
attr_accessor :netmask
|
1047
|
+
|
1048
|
+
def initialize(ip = nil, netmask = nil)
|
1049
|
+
@ip = ip
|
1050
|
+
@netmask = netmask
|
1051
|
+
end
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}system_nodeType
|
1055
|
+
# address - Virtuozzo::SOAP::Drivers::Device::System_nodeType::Address
|
1056
|
+
# login - Virtuozzo::SOAP::Drivers::Device::System_nodeType::Login
|
1057
|
+
class System_nodeType
|
1058
|
+
|
1059
|
+
# inner class for member: address
|
1060
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}address
|
1061
|
+
# ip - (any)
|
1062
|
+
class Address < Ip_addressType
|
1063
|
+
attr_accessor :ip
|
1064
|
+
|
1065
|
+
def initialize(ip = nil)
|
1066
|
+
@ip = ip
|
1067
|
+
end
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
# inner class for member: login
|
1071
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}login
|
1072
|
+
# user - SOAP::SOAPString
|
1073
|
+
# password - SOAP::SOAPBase64
|
1074
|
+
class Login
|
1075
|
+
attr_accessor :user
|
1076
|
+
attr_accessor :password
|
1077
|
+
|
1078
|
+
def initialize(user = nil, password = nil)
|
1079
|
+
@user = user
|
1080
|
+
@password = password
|
1081
|
+
end
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
attr_accessor :address
|
1085
|
+
attr_accessor :login
|
1086
|
+
|
1087
|
+
def initialize(address = nil, login = nil)
|
1088
|
+
@address = address
|
1089
|
+
@login = login
|
1090
|
+
end
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}resourceType
|
1094
|
+
# total - SOAP::SOAPLong
|
1095
|
+
# used - SOAP::SOAPLong
|
1096
|
+
# free - SOAP::SOAPLong
|
1097
|
+
# avg - SOAP::SOAPLong
|
1098
|
+
# min - SOAP::SOAPLong
|
1099
|
+
# max - SOAP::SOAPLong
|
1100
|
+
class ResourceType
|
1101
|
+
attr_accessor :total
|
1102
|
+
attr_accessor :used
|
1103
|
+
attr_accessor :free
|
1104
|
+
attr_accessor :avg
|
1105
|
+
attr_accessor :min
|
1106
|
+
attr_accessor :max
|
1107
|
+
|
1108
|
+
def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
|
1109
|
+
@total = total
|
1110
|
+
@used = used
|
1111
|
+
@free = free
|
1112
|
+
@avg = avg
|
1113
|
+
@min = min
|
1114
|
+
@max = max
|
1115
|
+
end
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}intervalType
|
1119
|
+
# start_time - (any)
|
1120
|
+
# end_time - (any)
|
1121
|
+
class IntervalType
|
1122
|
+
attr_accessor :start_time
|
1123
|
+
attr_accessor :end_time
|
1124
|
+
|
1125
|
+
def initialize(start_time = nil, end_time = nil)
|
1126
|
+
@start_time = start_time
|
1127
|
+
@end_time = end_time
|
1128
|
+
end
|
1129
|
+
end
|
1130
|
+
|
1131
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}statsType
|
1132
|
+
# avg - SOAP::SOAPLong
|
1133
|
+
# min - SOAP::SOAPLong
|
1134
|
+
# max - SOAP::SOAPLong
|
1135
|
+
# total - SOAP::SOAPLong
|
1136
|
+
# cur - SOAP::SOAPLong
|
1137
|
+
# soft - SOAP::SOAPLong
|
1138
|
+
# hard - SOAP::SOAPLong
|
1139
|
+
class StatsType
|
1140
|
+
attr_accessor :avg
|
1141
|
+
attr_accessor :min
|
1142
|
+
attr_accessor :max
|
1143
|
+
attr_accessor :total
|
1144
|
+
attr_accessor :cur
|
1145
|
+
attr_accessor :soft
|
1146
|
+
attr_accessor :hard
|
1147
|
+
|
1148
|
+
def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil)
|
1149
|
+
@avg = avg
|
1150
|
+
@min = min
|
1151
|
+
@max = max
|
1152
|
+
@total = total
|
1153
|
+
@cur = cur
|
1154
|
+
@soft = soft
|
1155
|
+
@hard = hard
|
1156
|
+
end
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_addressType
|
1160
|
+
# host - (any)
|
1161
|
+
# mask - (any)
|
1162
|
+
class Net_addressType
|
1163
|
+
attr_accessor :host
|
1164
|
+
attr_accessor :mask
|
1165
|
+
|
1166
|
+
def initialize(host = nil, mask = nil)
|
1167
|
+
@host = host
|
1168
|
+
@mask = mask
|
1169
|
+
end
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_classType
|
1173
|
+
# id - SOAP::SOAPString
|
1174
|
+
# transfer - Virtuozzo::SOAP::Drivers::Device::TransferType
|
1175
|
+
class Net_classType
|
1176
|
+
attr_accessor :id
|
1177
|
+
attr_accessor :transfer
|
1178
|
+
|
1179
|
+
def initialize(id = nil, transfer = nil)
|
1180
|
+
@id = id
|
1181
|
+
@transfer = transfer
|
1182
|
+
end
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_rangeType
|
1186
|
+
# id - SOAP::SOAPString
|
1187
|
+
# start_ip - (any)
|
1188
|
+
# subnet_mask - SOAP::SOAPInt
|
1189
|
+
# comment - SOAP::SOAPString
|
1190
|
+
class Ip_rangeType
|
1191
|
+
attr_accessor :id
|
1192
|
+
attr_accessor :start_ip
|
1193
|
+
attr_accessor :subnet_mask
|
1194
|
+
attr_accessor :comment
|
1195
|
+
|
1196
|
+
def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
|
1197
|
+
@id = id
|
1198
|
+
@start_ip = start_ip
|
1199
|
+
@subnet_mask = subnet_mask
|
1200
|
+
@comment = comment
|
1201
|
+
end
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}sample_confType
|
1205
|
+
# env_config - Virtuozzo::SOAP::Drivers::Device::Env_configType
|
1206
|
+
# id - SOAP::SOAPString
|
1207
|
+
# name - SOAP::SOAPString
|
1208
|
+
# comment - SOAP::SOAPBase64
|
1209
|
+
# vt_version - Virtuozzo::SOAP::Drivers::Device::Sample_confType::Vt_version
|
1210
|
+
class Sample_confType
|
1211
|
+
|
1212
|
+
# inner class for member: vt_version
|
1213
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_version
|
1214
|
+
# platform - SOAP::SOAPString
|
1215
|
+
# architecture - SOAP::SOAPString
|
1216
|
+
# vt_technology - SOAP::SOAPString
|
1217
|
+
class Vt_version
|
1218
|
+
attr_accessor :platform
|
1219
|
+
attr_accessor :architecture
|
1220
|
+
attr_accessor :vt_technology
|
1221
|
+
|
1222
|
+
def initialize(platform = nil, architecture = nil, vt_technology = nil)
|
1223
|
+
@platform = platform
|
1224
|
+
@architecture = architecture
|
1225
|
+
@vt_technology = vt_technology
|
1226
|
+
end
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
attr_accessor :env_config
|
1230
|
+
attr_accessor :id
|
1231
|
+
attr_accessor :name
|
1232
|
+
attr_accessor :comment
|
1233
|
+
attr_accessor :vt_version
|
1234
|
+
|
1235
|
+
def initialize(env_config = nil, id = nil, name = nil, comment = nil, vt_version = nil)
|
1236
|
+
@env_config = env_config
|
1237
|
+
@id = id
|
1238
|
+
@name = name
|
1239
|
+
@comment = comment
|
1240
|
+
@vt_version = vt_version
|
1241
|
+
end
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}interfaceType
|
1245
|
+
# name - SOAP::SOAPString
|
1246
|
+
# bandwidth - SOAP::SOAPInt
|
1247
|
+
# transfer - Virtuozzo::SOAP::Drivers::Device::TransferType
|
1248
|
+
# ipaddress - (any)
|
1249
|
+
# flags - SOAP::SOAPInt
|
1250
|
+
class InterfaceType
|
1251
|
+
attr_accessor :name
|
1252
|
+
attr_accessor :bandwidth
|
1253
|
+
attr_accessor :transfer
|
1254
|
+
attr_accessor :ipaddress
|
1255
|
+
attr_accessor :flags
|
1256
|
+
|
1257
|
+
def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
|
1258
|
+
@name = name
|
1259
|
+
@bandwidth = bandwidth
|
1260
|
+
@transfer = transfer
|
1261
|
+
@ipaddress = ipaddress
|
1262
|
+
@flags = flags
|
1263
|
+
end
|
1264
|
+
end
|
1265
|
+
|
1266
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}sys_infoType
|
1267
|
+
# load_avg - Virtuozzo::SOAP::Drivers::Device::Load_avgType
|
1268
|
+
# processes - Virtuozzo::SOAP::Drivers::Device::ProcessesType
|
1269
|
+
# cpu_load - Virtuozzo::SOAP::Drivers::Device::Cpu_loadType
|
1270
|
+
# cpu_states - Virtuozzo::SOAP::Drivers::Device::Cpu_loadType
|
1271
|
+
# users - SOAP::SOAPInt
|
1272
|
+
# uptime - SOAP::SOAPLong
|
1273
|
+
# memory - Virtuozzo::SOAP::Drivers::Device::Sys_infoType::Memory
|
1274
|
+
# swap - Virtuozzo::SOAP::Drivers::Device::Sys_infoType::Swap
|
1275
|
+
class Sys_infoType
|
1276
|
+
|
1277
|
+
# inner class for member: memory
|
1278
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}memory
|
1279
|
+
# total - SOAP::SOAPLong
|
1280
|
+
# used - SOAP::SOAPLong
|
1281
|
+
class Memory < ResourceType
|
1282
|
+
attr_accessor :total
|
1283
|
+
attr_accessor :used
|
1284
|
+
|
1285
|
+
def initialize(total = nil, used = nil)
|
1286
|
+
@total = total
|
1287
|
+
@used = used
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
# inner class for member: swap
|
1292
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}swap
|
1293
|
+
# total - SOAP::SOAPLong
|
1294
|
+
# used - SOAP::SOAPLong
|
1295
|
+
class Swap < ResourceType
|
1296
|
+
attr_accessor :total
|
1297
|
+
attr_accessor :used
|
1298
|
+
|
1299
|
+
def initialize(total = nil, used = nil)
|
1300
|
+
@total = total
|
1301
|
+
@used = used
|
1302
|
+
end
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
attr_accessor :load_avg
|
1306
|
+
attr_accessor :processes
|
1307
|
+
attr_accessor :cpu_load
|
1308
|
+
attr_accessor :cpu_states
|
1309
|
+
attr_accessor :users
|
1310
|
+
attr_accessor :uptime
|
1311
|
+
attr_accessor :memory
|
1312
|
+
attr_accessor :swap
|
1313
|
+
|
1314
|
+
def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
|
1315
|
+
@load_avg = load_avg
|
1316
|
+
@processes = processes
|
1317
|
+
@cpu_load = cpu_load
|
1318
|
+
@cpu_states = cpu_states
|
1319
|
+
@users = users
|
1320
|
+
@uptime = uptime
|
1321
|
+
@memory = memory
|
1322
|
+
@swap = swap
|
1323
|
+
end
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ps_infoType
|
1327
|
+
# process - Virtuozzo::SOAP::Drivers::Device::Ps_infoType::C_Process
|
1328
|
+
# param_id - SOAP::SOAPString
|
1329
|
+
# run - SOAP::SOAPInt
|
1330
|
+
# idle - SOAP::SOAPInt
|
1331
|
+
# zombie - SOAP::SOAPInt
|
1332
|
+
# sleep - SOAP::SOAPInt
|
1333
|
+
# uninterrupt - SOAP::SOAPInt
|
1334
|
+
# stopped - SOAP::SOAPInt
|
1335
|
+
# total - SOAP::SOAPInt
|
1336
|
+
class Ps_infoType
|
1337
|
+
|
1338
|
+
# inner class for member: process
|
1339
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}process
|
1340
|
+
# pid - SOAP::SOAPInt
|
1341
|
+
# param - SOAP::SOAPBase64
|
1342
|
+
class C_Process
|
1343
|
+
attr_accessor :pid
|
1344
|
+
attr_accessor :param
|
1345
|
+
|
1346
|
+
def initialize(pid = nil, param = [])
|
1347
|
+
@pid = pid
|
1348
|
+
@param = param
|
1349
|
+
end
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
attr_accessor :process
|
1353
|
+
attr_accessor :param_id
|
1354
|
+
attr_accessor :run
|
1355
|
+
attr_accessor :idle
|
1356
|
+
attr_accessor :zombie
|
1357
|
+
attr_accessor :sleep
|
1358
|
+
attr_accessor :uninterrupt
|
1359
|
+
attr_accessor :stopped
|
1360
|
+
attr_accessor :total
|
1361
|
+
|
1362
|
+
def initialize(process = [], param_id = [], run = nil, idle = nil, zombie = nil, sleep = nil, uninterrupt = nil, stopped = nil, total = nil)
|
1363
|
+
@process = process
|
1364
|
+
@param_id = param_id
|
1365
|
+
@run = run
|
1366
|
+
@idle = idle
|
1367
|
+
@zombie = zombie
|
1368
|
+
@sleep = sleep
|
1369
|
+
@uninterrupt = uninterrupt
|
1370
|
+
@stopped = stopped
|
1371
|
+
@total = total
|
1372
|
+
end
|
1373
|
+
end
|
1374
|
+
|
1375
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}load_avg_statsType
|
1376
|
+
# l1 - Virtuozzo::SOAP::Drivers::Device::Load_avg_statsType::L1
|
1377
|
+
# l2 - Virtuozzo::SOAP::Drivers::Device::Load_avg_statsType::L2
|
1378
|
+
# l3 - Virtuozzo::SOAP::Drivers::Device::Load_avg_statsType::L3
|
1379
|
+
class Load_avg_statsType
|
1380
|
+
|
1381
|
+
# inner class for member: l1
|
1382
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}l1
|
1383
|
+
# avg - SOAP::SOAPLong
|
1384
|
+
# min - SOAP::SOAPLong
|
1385
|
+
# max - SOAP::SOAPLong
|
1386
|
+
# cur - SOAP::SOAPLong
|
1387
|
+
class L1 < StatsType
|
1388
|
+
attr_accessor :avg
|
1389
|
+
attr_accessor :min
|
1390
|
+
attr_accessor :max
|
1391
|
+
attr_accessor :cur
|
1392
|
+
|
1393
|
+
def initialize(avg = nil, min = nil, max = nil, cur = nil)
|
1394
|
+
@avg = avg
|
1395
|
+
@min = min
|
1396
|
+
@max = max
|
1397
|
+
@cur = cur
|
1398
|
+
end
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
# inner class for member: l2
|
1402
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}l2
|
1403
|
+
# avg - SOAP::SOAPLong
|
1404
|
+
# min - SOAP::SOAPLong
|
1405
|
+
# max - SOAP::SOAPLong
|
1406
|
+
# cur - SOAP::SOAPLong
|
1407
|
+
class L2 < StatsType
|
1408
|
+
attr_accessor :avg
|
1409
|
+
attr_accessor :min
|
1410
|
+
attr_accessor :max
|
1411
|
+
attr_accessor :cur
|
1412
|
+
|
1413
|
+
def initialize(avg = nil, min = nil, max = nil, cur = nil)
|
1414
|
+
@avg = avg
|
1415
|
+
@min = min
|
1416
|
+
@max = max
|
1417
|
+
@cur = cur
|
1418
|
+
end
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
# inner class for member: l3
|
1422
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}l3
|
1423
|
+
# avg - SOAP::SOAPLong
|
1424
|
+
# min - SOAP::SOAPLong
|
1425
|
+
# max - SOAP::SOAPLong
|
1426
|
+
# cur - SOAP::SOAPLong
|
1427
|
+
class L3 < StatsType
|
1428
|
+
attr_accessor :avg
|
1429
|
+
attr_accessor :min
|
1430
|
+
attr_accessor :max
|
1431
|
+
attr_accessor :cur
|
1432
|
+
|
1433
|
+
def initialize(avg = nil, min = nil, max = nil, cur = nil)
|
1434
|
+
@avg = avg
|
1435
|
+
@min = min
|
1436
|
+
@max = max
|
1437
|
+
@cur = cur
|
1438
|
+
end
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
attr_accessor :l1
|
1442
|
+
attr_accessor :l2
|
1443
|
+
attr_accessor :l3
|
1444
|
+
|
1445
|
+
def initialize(l1 = nil, l2 = nil, l3 = nil)
|
1446
|
+
@l1 = l1
|
1447
|
+
@l2 = l2
|
1448
|
+
@l3 = l3
|
1449
|
+
end
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_resourceType
|
1453
|
+
# eid - (any)
|
1454
|
+
# ip_pool - Virtuozzo::SOAP::Drivers::Device::Ip_poolType
|
1455
|
+
class Env_resourceType
|
1456
|
+
attr_accessor :eid
|
1457
|
+
attr_accessor :ip_pool
|
1458
|
+
|
1459
|
+
def initialize(eid = nil, ip_pool = nil)
|
1460
|
+
@eid = eid
|
1461
|
+
@ip_pool = ip_pool
|
1462
|
+
end
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_poolType
|
1466
|
+
# ip_range - Virtuozzo::SOAP::Drivers::Device::Ip_poolType::Ip_range
|
1467
|
+
# ip - (any)
|
1468
|
+
class Ip_poolType
|
1469
|
+
|
1470
|
+
# inner class for member: ip_range
|
1471
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ip_range
|
1472
|
+
# start_ip - (any)
|
1473
|
+
# end_ip - (any)
|
1474
|
+
class Ip_range
|
1475
|
+
attr_accessor :start_ip
|
1476
|
+
attr_accessor :end_ip
|
1477
|
+
|
1478
|
+
def initialize(start_ip = nil, end_ip = nil)
|
1479
|
+
@start_ip = start_ip
|
1480
|
+
@end_ip = end_ip
|
1481
|
+
end
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
attr_accessor :ip_range
|
1485
|
+
attr_accessor :ip
|
1486
|
+
|
1487
|
+
def initialize(ip_range = [], ip = [])
|
1488
|
+
@ip_range = ip_range
|
1489
|
+
@ip = ip
|
1490
|
+
end
|
1491
|
+
end
|
1492
|
+
|
1493
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}usageType
|
1494
|
+
# total - SOAP::SOAPLong
|
1495
|
+
# used - SOAP::SOAPLong
|
1496
|
+
# free - SOAP::SOAPLong
|
1497
|
+
class UsageType
|
1498
|
+
attr_accessor :total
|
1499
|
+
attr_accessor :used
|
1500
|
+
attr_accessor :free
|
1501
|
+
|
1502
|
+
def initialize(total = nil, used = nil, free = nil)
|
1503
|
+
@total = total
|
1504
|
+
@used = used
|
1505
|
+
@free = free
|
1506
|
+
end
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}credentialType
|
1510
|
+
# id - SOAP::SOAPString
|
1511
|
+
# policy - SOAP::SOAPInt
|
1512
|
+
# description - SOAP::SOAPBase64
|
1513
|
+
# cred - Virtuozzo::SOAP::Drivers::Device::CredentialType
|
1514
|
+
class CredentialType
|
1515
|
+
attr_accessor :id
|
1516
|
+
attr_accessor :policy
|
1517
|
+
attr_accessor :description
|
1518
|
+
attr_accessor :cred
|
1519
|
+
|
1520
|
+
def initialize(id = nil, policy = nil, description = nil, cred = [])
|
1521
|
+
@id = id
|
1522
|
+
@policy = policy
|
1523
|
+
@description = description
|
1524
|
+
@cred = cred
|
1525
|
+
end
|
1526
|
+
end
|
1527
|
+
|
1528
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}root_credentialType
|
1529
|
+
# id - SOAP::SOAPString
|
1530
|
+
# policy - SOAP::SOAPInt
|
1531
|
+
# description - SOAP::SOAPBase64
|
1532
|
+
# cred - Virtuozzo::SOAP::Drivers::Device::CredentialType
|
1533
|
+
# objects - Virtuozzo::SOAP::Drivers::Device::Root_credentialType::Objects
|
1534
|
+
class Root_credentialType < CredentialType
|
1535
|
+
|
1536
|
+
# inner class for member: objects
|
1537
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}objects
|
1538
|
+
class Objects < ::Array
|
1539
|
+
end
|
1540
|
+
|
1541
|
+
attr_accessor :id
|
1542
|
+
attr_accessor :policy
|
1543
|
+
attr_accessor :description
|
1544
|
+
attr_accessor :cred
|
1545
|
+
attr_accessor :objects
|
1546
|
+
|
1547
|
+
def initialize(id = nil, policy = nil, description = nil, cred = [], objects = nil)
|
1548
|
+
@id = id
|
1549
|
+
@policy = policy
|
1550
|
+
@description = description
|
1551
|
+
@cred = cred
|
1552
|
+
@objects = objects
|
1553
|
+
end
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}tokenType
|
1557
|
+
# user - (any)
|
1558
|
+
# groups - Virtuozzo::SOAP::Drivers::Device::TokenType::Groups
|
1559
|
+
# deny_only_sids - Virtuozzo::SOAP::Drivers::Device::TokenType::Deny_only_sids
|
1560
|
+
# privileges - Virtuozzo::SOAP::Drivers::Device::TokenType::Privileges
|
1561
|
+
# source - Virtuozzo::SOAP::Drivers::Device::TokenType::Source
|
1562
|
+
class TokenType
|
1563
|
+
|
1564
|
+
# inner class for member: groups
|
1565
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}groups
|
1566
|
+
class Groups < ::Array
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
# inner class for member: deny_only_sids
|
1570
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}deny_only_sids
|
1571
|
+
class Deny_only_sids < ::Array
|
1572
|
+
end
|
1573
|
+
|
1574
|
+
# inner class for member: privileges
|
1575
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}privileges
|
1576
|
+
class Privileges < ::Array
|
1577
|
+
end
|
1578
|
+
|
1579
|
+
# inner class for member: source
|
1580
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}source
|
1581
|
+
# name - SOAP::SOAPString
|
1582
|
+
# id - (any)
|
1583
|
+
class Source
|
1584
|
+
attr_accessor :name
|
1585
|
+
attr_accessor :id
|
1586
|
+
|
1587
|
+
def initialize(name = nil, id = nil)
|
1588
|
+
@name = name
|
1589
|
+
@id = id
|
1590
|
+
end
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
attr_accessor :user
|
1594
|
+
attr_accessor :groups
|
1595
|
+
attr_accessor :deny_only_sids
|
1596
|
+
attr_accessor :privileges
|
1597
|
+
attr_accessor :source
|
1598
|
+
|
1599
|
+
def initialize(user = nil, groups = nil, deny_only_sids = nil, privileges = nil, source = nil)
|
1600
|
+
@user = user
|
1601
|
+
@groups = groups
|
1602
|
+
@deny_only_sids = deny_only_sids
|
1603
|
+
@privileges = privileges
|
1604
|
+
@source = source
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
|
1608
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}connectivity_infoType
|
1609
|
+
# protocol - SOAP::SOAPString
|
1610
|
+
# address - SOAP::SOAPString
|
1611
|
+
# port - SOAP::SOAPUnsignedInt
|
1612
|
+
class Connectivity_infoType
|
1613
|
+
attr_accessor :protocol
|
1614
|
+
attr_accessor :address
|
1615
|
+
attr_accessor :port
|
1616
|
+
|
1617
|
+
def initialize(protocol = nil, address = nil, port = nil)
|
1618
|
+
@protocol = protocol
|
1619
|
+
@address = address
|
1620
|
+
@port = port
|
1621
|
+
end
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}connection_infoType
|
1625
|
+
# protocol - SOAP::SOAPString
|
1626
|
+
# address - SOAP::SOAPString
|
1627
|
+
# port - SOAP::SOAPUnsignedInt
|
1628
|
+
# login - Virtuozzo::SOAP::Drivers::Device::Auth_nameType
|
1629
|
+
# password - SOAP::SOAPBase64
|
1630
|
+
class Connection_infoType < Connectivity_infoType
|
1631
|
+
attr_accessor :protocol
|
1632
|
+
attr_accessor :address
|
1633
|
+
attr_accessor :port
|
1634
|
+
attr_accessor :login
|
1635
|
+
attr_accessor :password
|
1636
|
+
|
1637
|
+
def initialize(protocol = nil, address = nil, port = nil, login = nil, password = nil)
|
1638
|
+
@protocol = protocol
|
1639
|
+
@address = address
|
1640
|
+
@port = port
|
1641
|
+
@login = login
|
1642
|
+
@password = password
|
1643
|
+
end
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}auth_nameType
|
1647
|
+
# name - SOAP::SOAPBase64
|
1648
|
+
# domain - SOAP::SOAPBase64
|
1649
|
+
# realm - (any)
|
1650
|
+
class Auth_nameType
|
1651
|
+
attr_accessor :name
|
1652
|
+
attr_accessor :domain
|
1653
|
+
attr_accessor :realm
|
1654
|
+
|
1655
|
+
def initialize(name = nil, domain = nil, realm = nil)
|
1656
|
+
@name = name
|
1657
|
+
@domain = domain
|
1658
|
+
@realm = realm
|
1659
|
+
end
|
1660
|
+
end
|
1661
|
+
|
1662
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}eid_listType
|
1663
|
+
class Eid_listType < ::Array
|
1664
|
+
end
|
1665
|
+
|
1666
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_infoType
|
1667
|
+
class Vt_infoType
|
1668
|
+
attr_reader :__xmlele_any
|
1669
|
+
|
1670
|
+
def set_any(elements)
|
1671
|
+
@__xmlele_any = elements
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
def initialize
|
1675
|
+
@__xmlele_any = nil
|
1676
|
+
end
|
1677
|
+
end
|
1678
|
+
|
1679
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}vt_infoType
|
1680
|
+
# sve_eid - (any)
|
1681
|
+
# version - SOAP::SOAPString
|
1682
|
+
# release - SOAP::SOAPString
|
1683
|
+
class Vt_infoType_ < Vt_infoType
|
1684
|
+
attr_reader :__xmlele_any
|
1685
|
+
attr_accessor :sve_eid
|
1686
|
+
attr_accessor :version
|
1687
|
+
attr_accessor :release
|
1688
|
+
|
1689
|
+
def set_any(elements)
|
1690
|
+
@__xmlele_any = elements
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
def initialize(sve_eid = nil, version = nil, release = nil)
|
1694
|
+
@__xmlele_any = nil
|
1695
|
+
@sve_eid = sve_eid
|
1696
|
+
@version = version
|
1697
|
+
@release = release
|
1698
|
+
end
|
1699
|
+
end
|
1700
|
+
|
1701
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}vt_settingsType
|
1702
|
+
# default_sample_id - (any)
|
1703
|
+
class Vt_settingsType
|
1704
|
+
attr_accessor :default_sample_id
|
1705
|
+
|
1706
|
+
def initialize(default_sample_id = nil)
|
1707
|
+
@default_sample_id = default_sample_id
|
1708
|
+
end
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}vt_settingsType
|
1712
|
+
# default_sample_id - (any)
|
1713
|
+
# parameter - Virtuozzo::SOAP::Drivers::Device::Vt_settingsType_::Parameter
|
1714
|
+
# service - Virtuozzo::SOAP::Drivers::Device::Redirect_serviceType
|
1715
|
+
# qos - Virtuozzo::SOAP::Drivers::Device::QosType
|
1716
|
+
class Vt_settingsType_ < Vt_settingsType
|
1717
|
+
|
1718
|
+
# inner class for member: parameter
|
1719
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}parameter
|
1720
|
+
# id - SOAP::SOAPString
|
1721
|
+
# value - SOAP::SOAPString
|
1722
|
+
class Parameter
|
1723
|
+
attr_accessor :id
|
1724
|
+
attr_accessor :value
|
1725
|
+
|
1726
|
+
def initialize(id = nil, value = nil)
|
1727
|
+
@id = id
|
1728
|
+
@value = value
|
1729
|
+
end
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
attr_accessor :default_sample_id
|
1733
|
+
attr_accessor :parameter
|
1734
|
+
attr_accessor :service
|
1735
|
+
attr_accessor :qos
|
1736
|
+
|
1737
|
+
def initialize(default_sample_id = nil, parameter = [], service = [], qos = [])
|
1738
|
+
@default_sample_id = default_sample_id
|
1739
|
+
@parameter = parameter
|
1740
|
+
@service = service
|
1741
|
+
@qos = qos
|
1742
|
+
end
|
1743
|
+
end
|
1744
|
+
|
1745
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}groupType
|
1746
|
+
# user - Virtuozzo::SOAP::Drivers::Device::GroupType::User
|
1747
|
+
# member_group - Virtuozzo::SOAP::Drivers::Device::GroupType::Member_group
|
1748
|
+
# name - SOAP::SOAPString
|
1749
|
+
# gid - SOAP::SOAPInt
|
1750
|
+
class GroupType
|
1751
|
+
attr_accessor :user
|
1752
|
+
attr_accessor :member_group
|
1753
|
+
attr_accessor :name
|
1754
|
+
attr_accessor :gid
|
1755
|
+
|
1756
|
+
def initialize(user = [], member_group = [], name = nil, gid = nil)
|
1757
|
+
@user = user
|
1758
|
+
@member_group = member_group
|
1759
|
+
@name = name
|
1760
|
+
@gid = gid
|
1761
|
+
end
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}userType
|
1765
|
+
# initial_group - Virtuozzo::SOAP::Drivers::Device::UserType::Initial_group
|
1766
|
+
# group - Virtuozzo::SOAP::Drivers::Device::UserType::Group
|
1767
|
+
# uid - SOAP::SOAPInt
|
1768
|
+
# shell - SOAP::SOAPString
|
1769
|
+
# password - SOAP::SOAPBase64
|
1770
|
+
# home_dir - SOAP::SOAPString
|
1771
|
+
# name - SOAP::SOAPString
|
1772
|
+
# comment - SOAP::SOAPString
|
1773
|
+
class UserType
|
1774
|
+
|
1775
|
+
# inner class for member: initial_group
|
1776
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}initial_group
|
1777
|
+
# name - SOAP::SOAPString
|
1778
|
+
# gid - SOAP::SOAPInt
|
1779
|
+
class Initial_group < GroupType
|
1780
|
+
attr_accessor :name
|
1781
|
+
attr_accessor :gid
|
1782
|
+
|
1783
|
+
def initialize(name = nil, gid = nil)
|
1784
|
+
@name = name
|
1785
|
+
@gid = gid
|
1786
|
+
end
|
1787
|
+
end
|
1788
|
+
|
1789
|
+
# inner class for member: group
|
1790
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}group
|
1791
|
+
# name - SOAP::SOAPString
|
1792
|
+
# gid - SOAP::SOAPInt
|
1793
|
+
class Group < GroupType
|
1794
|
+
attr_accessor :name
|
1795
|
+
attr_accessor :gid
|
1796
|
+
|
1797
|
+
def initialize(name = nil, gid = nil)
|
1798
|
+
@name = name
|
1799
|
+
@gid = gid
|
1800
|
+
end
|
1801
|
+
end
|
1802
|
+
|
1803
|
+
attr_accessor :initial_group
|
1804
|
+
attr_accessor :group
|
1805
|
+
attr_accessor :uid
|
1806
|
+
attr_accessor :shell
|
1807
|
+
attr_accessor :password
|
1808
|
+
attr_accessor :home_dir
|
1809
|
+
attr_accessor :name
|
1810
|
+
attr_accessor :comment
|
1811
|
+
|
1812
|
+
def initialize(initial_group = nil, group = [], uid = nil, shell = nil, password = nil, home_dir = nil, name = nil, comment = nil)
|
1813
|
+
@initial_group = initial_group
|
1814
|
+
@group = group
|
1815
|
+
@uid = uid
|
1816
|
+
@shell = shell
|
1817
|
+
@password = password
|
1818
|
+
@home_dir = home_dir
|
1819
|
+
@name = name
|
1820
|
+
@comment = comment
|
1821
|
+
end
|
1822
|
+
end
|
1823
|
+
|
1824
|
+
class GroupType
|
1825
|
+
# inner class for member: user
|
1826
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}user
|
1827
|
+
# name - SOAP::SOAPString
|
1828
|
+
class User < UserType
|
1829
|
+
attr_accessor :name
|
1830
|
+
|
1831
|
+
def initialize(name = nil)
|
1832
|
+
@name = name
|
1833
|
+
end
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
# inner class for member: member_group
|
1837
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}member_group
|
1838
|
+
# name - SOAP::SOAPString
|
1839
|
+
class Member_group < GroupType
|
1840
|
+
attr_accessor :name
|
1841
|
+
|
1842
|
+
def initialize(name = nil)
|
1843
|
+
@name = name
|
1844
|
+
end
|
1845
|
+
end
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}packageType
|
1849
|
+
# name - SOAP::SOAPString
|
1850
|
+
# summary - SOAP::SOAPString
|
1851
|
+
# os - Virtuozzo::SOAP::Drivers::Device::OsType
|
1852
|
+
# description - SOAP::SOAPString
|
1853
|
+
# arch - SOAP::SOAPString
|
1854
|
+
# version - SOAP::SOAPString
|
1855
|
+
class PackageType
|
1856
|
+
attr_accessor :name
|
1857
|
+
attr_accessor :summary
|
1858
|
+
attr_accessor :os
|
1859
|
+
attr_accessor :description
|
1860
|
+
attr_accessor :arch
|
1861
|
+
attr_accessor :version
|
1862
|
+
|
1863
|
+
def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil)
|
1864
|
+
@name = name
|
1865
|
+
@summary = summary
|
1866
|
+
@os = os
|
1867
|
+
@description = description
|
1868
|
+
@arch = arch
|
1869
|
+
@version = version
|
1870
|
+
end
|
1871
|
+
end
|
1872
|
+
|
1873
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}package_vztemplateType
|
1874
|
+
# name - SOAP::SOAPString
|
1875
|
+
# summary - SOAP::SOAPString
|
1876
|
+
# os - Virtuozzo::SOAP::Drivers::Device::OsType
|
1877
|
+
# description - SOAP::SOAPString
|
1878
|
+
# arch - SOAP::SOAPString
|
1879
|
+
# version - SOAP::SOAPString
|
1880
|
+
# technology - SOAP::SOAPString
|
1881
|
+
# os_template - SOAP::SOAPBoolean
|
1882
|
+
# cached - SOAP::SOAPBoolean
|
1883
|
+
# path - SOAP::SOAPBase64
|
1884
|
+
# uptodate - SOAP::SOAPBoolean
|
1885
|
+
class Package_vztemplateType < PackageType
|
1886
|
+
attr_accessor :name
|
1887
|
+
attr_accessor :summary
|
1888
|
+
attr_accessor :os
|
1889
|
+
attr_accessor :description
|
1890
|
+
attr_accessor :arch
|
1891
|
+
attr_accessor :version
|
1892
|
+
attr_accessor :technology
|
1893
|
+
attr_accessor :os_template
|
1894
|
+
attr_accessor :cached
|
1895
|
+
attr_accessor :path
|
1896
|
+
attr_accessor :uptodate
|
1897
|
+
|
1898
|
+
def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, technology = [], os_template = nil, cached = nil, path = nil, uptodate = nil)
|
1899
|
+
@name = name
|
1900
|
+
@summary = summary
|
1901
|
+
@os = os
|
1902
|
+
@description = description
|
1903
|
+
@arch = arch
|
1904
|
+
@version = version
|
1905
|
+
@technology = technology
|
1906
|
+
@os_template = os_template
|
1907
|
+
@cached = cached
|
1908
|
+
@path = path
|
1909
|
+
@uptodate = uptodate
|
1910
|
+
end
|
1911
|
+
end
|
1912
|
+
|
1913
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}package_std_vztemplateType
|
1914
|
+
# name - SOAP::SOAPString
|
1915
|
+
# summary - SOAP::SOAPString
|
1916
|
+
# os - Virtuozzo::SOAP::Drivers::Device::OsType
|
1917
|
+
# description - SOAP::SOAPString
|
1918
|
+
# arch - SOAP::SOAPString
|
1919
|
+
# version - SOAP::SOAPString
|
1920
|
+
# technology - SOAP::SOAPString
|
1921
|
+
# os_template - SOAP::SOAPBoolean
|
1922
|
+
# cached - SOAP::SOAPBoolean
|
1923
|
+
# path - SOAP::SOAPBase64
|
1924
|
+
# uptodate - SOAP::SOAPBoolean
|
1925
|
+
# base - SOAP::SOAPBoolean
|
1926
|
+
class Package_std_vztemplateType < Package_vztemplateType
|
1927
|
+
attr_accessor :name
|
1928
|
+
attr_accessor :summary
|
1929
|
+
attr_accessor :os
|
1930
|
+
attr_accessor :description
|
1931
|
+
attr_accessor :arch
|
1932
|
+
attr_accessor :version
|
1933
|
+
attr_accessor :technology
|
1934
|
+
attr_accessor :os_template
|
1935
|
+
attr_accessor :cached
|
1936
|
+
attr_accessor :path
|
1937
|
+
attr_accessor :uptodate
|
1938
|
+
attr_accessor :base
|
1939
|
+
|
1940
|
+
def initialize(name = nil, summary = nil, os = nil, description = nil, arch = nil, version = nil, technology = [], os_template = nil, cached = nil, path = nil, uptodate = nil, base = nil)
|
1941
|
+
@name = name
|
1942
|
+
@summary = summary
|
1943
|
+
@os = os
|
1944
|
+
@description = description
|
1945
|
+
@arch = arch
|
1946
|
+
@version = version
|
1947
|
+
@technology = technology
|
1948
|
+
@os_template = os_template
|
1949
|
+
@cached = cached
|
1950
|
+
@path = path
|
1951
|
+
@uptodate = uptodate
|
1952
|
+
@base = base
|
1953
|
+
end
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}event_dataType
|
1957
|
+
class Event_dataType
|
1958
|
+
def initialize
|
1959
|
+
end
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}alert_dataType
|
1963
|
+
# type - SOAP::SOAPInt
|
1964
|
+
class Alert_dataType < Event_dataType
|
1965
|
+
attr_accessor :type
|
1966
|
+
|
1967
|
+
def initialize(type = nil)
|
1968
|
+
@type = type
|
1969
|
+
end
|
1970
|
+
end
|
1971
|
+
|
1972
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}named_listType
|
1973
|
+
# name - SOAP::SOAPString
|
1974
|
+
# value - SOAP::SOAPBase64
|
1975
|
+
class Named_listType
|
1976
|
+
attr_accessor :name
|
1977
|
+
attr_accessor :value
|
1978
|
+
|
1979
|
+
def initialize(name = nil, value = [])
|
1980
|
+
@name = name
|
1981
|
+
@value = value
|
1982
|
+
end
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}modType
|
1986
|
+
# name - SOAP::SOAPString
|
1987
|
+
# value - SOAP::SOAPBase64
|
1988
|
+
# op - SOAP::SOAPInt
|
1989
|
+
class ModType < Named_listType
|
1990
|
+
attr_accessor :name
|
1991
|
+
attr_accessor :value
|
1992
|
+
attr_accessor :op
|
1993
|
+
|
1994
|
+
def initialize(name = nil, value = [], op = nil)
|
1995
|
+
@name = name
|
1996
|
+
@value = value
|
1997
|
+
@op = op
|
1998
|
+
end
|
1999
|
+
end
|
2000
|
+
|
2001
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}realmType
|
2002
|
+
# id - (any)
|
2003
|
+
# type - SOAP::SOAPInt
|
2004
|
+
# name - SOAP::SOAPString
|
2005
|
+
# builtin - (any)
|
2006
|
+
class RealmType
|
2007
|
+
attr_accessor :id
|
2008
|
+
attr_accessor :type
|
2009
|
+
attr_accessor :name
|
2010
|
+
attr_accessor :builtin
|
2011
|
+
|
2012
|
+
def initialize(id = nil, type = nil, name = nil, builtin = nil)
|
2013
|
+
@id = id
|
2014
|
+
@type = type
|
2015
|
+
@name = name
|
2016
|
+
@builtin = builtin
|
2017
|
+
end
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}eventType
|
2021
|
+
# eid - (any)
|
2022
|
+
# time - (any)
|
2023
|
+
# source - SOAP::SOAPString
|
2024
|
+
# category - SOAP::SOAPString
|
2025
|
+
# sid - (any)
|
2026
|
+
# count - SOAP::SOAPInt
|
2027
|
+
# id - (any)
|
2028
|
+
# info - Virtuozzo::SOAP::Drivers::Device::InfoType
|
2029
|
+
# data - Virtuozzo::SOAP::Drivers::Device::EventType::C_Data
|
2030
|
+
class EventType
|
2031
|
+
|
2032
|
+
# inner class for member: data
|
2033
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}data
|
2034
|
+
# event_data - Virtuozzo::SOAP::Drivers::Device::Event_dataType
|
2035
|
+
class C_Data
|
2036
|
+
attr_accessor :event_data
|
2037
|
+
|
2038
|
+
def initialize(event_data = nil)
|
2039
|
+
@event_data = event_data
|
2040
|
+
end
|
2041
|
+
end
|
2042
|
+
|
2043
|
+
attr_accessor :eid
|
2044
|
+
attr_accessor :time
|
2045
|
+
attr_accessor :source
|
2046
|
+
attr_accessor :category
|
2047
|
+
attr_accessor :sid
|
2048
|
+
attr_accessor :count
|
2049
|
+
attr_accessor :id
|
2050
|
+
attr_accessor :info
|
2051
|
+
attr_accessor :data
|
2052
|
+
|
2053
|
+
def initialize(eid = nil, time = nil, source = nil, category = nil, sid = nil, count = nil, id = nil, info = nil, data = nil)
|
2054
|
+
@eid = eid
|
2055
|
+
@time = time
|
2056
|
+
@source = source
|
2057
|
+
@category = category
|
2058
|
+
@sid = sid
|
2059
|
+
@count = count
|
2060
|
+
@id = id
|
2061
|
+
@info = info
|
2062
|
+
@data = data
|
2063
|
+
end
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}infoType
|
2067
|
+
# message - SOAP::SOAPBase64
|
2068
|
+
# translate - (any)
|
2069
|
+
# parameter - Virtuozzo::SOAP::Drivers::Device::InfoType
|
2070
|
+
# name - SOAP::SOAPString
|
2071
|
+
class InfoType
|
2072
|
+
attr_accessor :message
|
2073
|
+
attr_accessor :translate
|
2074
|
+
attr_accessor :parameter
|
2075
|
+
attr_accessor :name
|
2076
|
+
|
2077
|
+
def initialize(message = nil, translate = nil, parameter = [], name = nil)
|
2078
|
+
@message = message
|
2079
|
+
@translate = translate
|
2080
|
+
@parameter = parameter
|
2081
|
+
@name = name
|
2082
|
+
end
|
2083
|
+
end
|
2084
|
+
|
2085
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}aceType
|
2086
|
+
# type - SOAP::SOAPInt
|
2087
|
+
# sid - (any)
|
2088
|
+
# rights - SOAP::SOAPBase64
|
2089
|
+
class AceType
|
2090
|
+
attr_accessor :type
|
2091
|
+
attr_accessor :sid
|
2092
|
+
attr_accessor :rights
|
2093
|
+
|
2094
|
+
def initialize(type = nil, sid = nil, rights = nil)
|
2095
|
+
@type = type
|
2096
|
+
@sid = sid
|
2097
|
+
@rights = rights
|
2098
|
+
end
|
2099
|
+
end
|
2100
|
+
|
2101
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_descriptorType
|
2102
|
+
# owner - (any)
|
2103
|
+
# group - (any)
|
2104
|
+
# dacl - Virtuozzo::SOAP::Drivers::Device::Security_descriptorType::Dacl
|
2105
|
+
class Security_descriptorType
|
2106
|
+
|
2107
|
+
# inner class for member: dacl
|
2108
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}dacl
|
2109
|
+
class Dacl < ::Array
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
attr_accessor :owner
|
2113
|
+
attr_accessor :group
|
2114
|
+
attr_accessor :dacl
|
2115
|
+
|
2116
|
+
def initialize(owner = nil, group = nil, dacl = nil)
|
2117
|
+
@owner = owner
|
2118
|
+
@group = group
|
2119
|
+
@dacl = dacl
|
2120
|
+
end
|
2121
|
+
end
|
2122
|
+
|
2123
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}security_objectType
|
2124
|
+
# abstract
|
2125
|
+
class Security_objectType
|
2126
|
+
def initialize
|
2127
|
+
end
|
2128
|
+
end
|
2129
|
+
|
2130
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}env_security_objectType
|
2131
|
+
# eid - (any)
|
2132
|
+
class Env_security_objectType < Security_objectType
|
2133
|
+
attr_accessor :eid
|
2134
|
+
|
2135
|
+
def initialize(eid = nil)
|
2136
|
+
@eid = eid
|
2137
|
+
end
|
2138
|
+
end
|
2139
|
+
|
2140
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}env_security_objectType
|
2141
|
+
# eid - (any)
|
2142
|
+
class Env_security_objectType_ < Env_security_objectType
|
2143
|
+
attr_accessor :eid
|
2144
|
+
|
2145
|
+
def initialize(eid = nil)
|
2146
|
+
@eid = eid
|
2147
|
+
end
|
2148
|
+
end
|
2149
|
+
|
2150
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_deviceType
|
2151
|
+
# id - SOAP::SOAPString
|
2152
|
+
# ip_address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
|
2153
|
+
# dhcp - (any)
|
2154
|
+
# network_id - SOAP::SOAPBase64
|
2155
|
+
# status - Virtuozzo::SOAP::Drivers::Device::Net_deviceType::Status
|
2156
|
+
class Net_deviceType
|
2157
|
+
|
2158
|
+
# inner class for member: status
|
2159
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
|
2160
|
+
# up - (any)
|
2161
|
+
# down - (any)
|
2162
|
+
class Status
|
2163
|
+
attr_accessor :up
|
2164
|
+
attr_accessor :down
|
2165
|
+
|
2166
|
+
def initialize(up = nil, down = nil)
|
2167
|
+
@up = up
|
2168
|
+
@down = down
|
2169
|
+
end
|
2170
|
+
end
|
2171
|
+
|
2172
|
+
attr_accessor :id
|
2173
|
+
attr_accessor :ip_address
|
2174
|
+
attr_accessor :dhcp
|
2175
|
+
attr_accessor :network_id
|
2176
|
+
attr_accessor :status
|
2177
|
+
|
2178
|
+
def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil)
|
2179
|
+
@id = id
|
2180
|
+
@ip_address = ip_address
|
2181
|
+
@dhcp = dhcp
|
2182
|
+
@network_id = network_id
|
2183
|
+
@status = status
|
2184
|
+
end
|
2185
|
+
end
|
2186
|
+
|
2187
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}net_nicType
|
2188
|
+
# id - SOAP::SOAPString
|
2189
|
+
# ip_address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
|
2190
|
+
# dhcp - (any)
|
2191
|
+
# network_id - SOAP::SOAPBase64
|
2192
|
+
# status - Virtuozzo::SOAP::Drivers::Device::Net_nicType::Status
|
2193
|
+
# mac_address - SOAP::SOAPString
|
2194
|
+
class Net_nicType < Net_deviceType
|
2195
|
+
|
2196
|
+
# inner class for member: status
|
2197
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
|
2198
|
+
# up - (any)
|
2199
|
+
# down - (any)
|
2200
|
+
class Status
|
2201
|
+
attr_accessor :up
|
2202
|
+
attr_accessor :down
|
2203
|
+
|
2204
|
+
def initialize(up = nil, down = nil)
|
2205
|
+
@up = up
|
2206
|
+
@down = down
|
2207
|
+
end
|
2208
|
+
end
|
2209
|
+
|
2210
|
+
attr_accessor :id
|
2211
|
+
attr_accessor :ip_address
|
2212
|
+
attr_accessor :dhcp
|
2213
|
+
attr_accessor :network_id
|
2214
|
+
attr_accessor :status
|
2215
|
+
attr_accessor :mac_address
|
2216
|
+
|
2217
|
+
def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
|
2218
|
+
@id = id
|
2219
|
+
@ip_address = ip_address
|
2220
|
+
@dhcp = dhcp
|
2221
|
+
@network_id = network_id
|
2222
|
+
@status = status
|
2223
|
+
@mac_address = mac_address
|
2224
|
+
end
|
2225
|
+
end
|
2226
|
+
|
2227
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}net_vethType
|
2228
|
+
# id - SOAP::SOAPString
|
2229
|
+
# ip_address - Virtuozzo::SOAP::Drivers::Device::Ip_addressType
|
2230
|
+
# dhcp - (any)
|
2231
|
+
# network_id - SOAP::SOAPBase64
|
2232
|
+
# status - Virtuozzo::SOAP::Drivers::Device::Net_vethType::Status
|
2233
|
+
# mac_address - SOAP::SOAPString
|
2234
|
+
# wins_server - SOAP::SOAPString
|
2235
|
+
# nameserver - SOAP::SOAPString
|
2236
|
+
# default_gateway - SOAP::SOAPString
|
2237
|
+
# host_routed - (any)
|
2238
|
+
class Net_vethType < Net_nicType
|
2239
|
+
|
2240
|
+
# inner class for member: status
|
2241
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}status
|
2242
|
+
# up - (any)
|
2243
|
+
# down - (any)
|
2244
|
+
class Status
|
2245
|
+
attr_accessor :up
|
2246
|
+
attr_accessor :down
|
2247
|
+
|
2248
|
+
def initialize(up = nil, down = nil)
|
2249
|
+
@up = up
|
2250
|
+
@down = down
|
2251
|
+
end
|
2252
|
+
end
|
2253
|
+
|
2254
|
+
attr_accessor :id
|
2255
|
+
attr_accessor :ip_address
|
2256
|
+
attr_accessor :dhcp
|
2257
|
+
attr_accessor :network_id
|
2258
|
+
attr_accessor :status
|
2259
|
+
attr_accessor :mac_address
|
2260
|
+
attr_accessor :wins_server
|
2261
|
+
attr_accessor :nameserver
|
2262
|
+
attr_accessor :default_gateway
|
2263
|
+
attr_accessor :host_routed
|
2264
|
+
|
2265
|
+
def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil, wins_server = [], nameserver = [], default_gateway = nil, host_routed = nil)
|
2266
|
+
@id = id
|
2267
|
+
@ip_address = ip_address
|
2268
|
+
@dhcp = dhcp
|
2269
|
+
@network_id = network_id
|
2270
|
+
@status = status
|
2271
|
+
@mac_address = mac_address
|
2272
|
+
@wins_server = wins_server
|
2273
|
+
@nameserver = nameserver
|
2274
|
+
@default_gateway = default_gateway
|
2275
|
+
@host_routed = host_routed
|
2276
|
+
end
|
2277
|
+
end
|
2278
|
+
|
2279
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}voc_parameterType
|
2280
|
+
# id - SOAP::SOAPString
|
2281
|
+
# type - SOAP::SOAPString
|
2282
|
+
# min - SOAP::SOAPString
|
2283
|
+
# max - SOAP::SOAPString
|
2284
|
+
# long - SOAP::SOAPString
|
2285
|
+
# short - SOAP::SOAPString
|
2286
|
+
# category - SOAP::SOAPString
|
2287
|
+
# complex - SOAP::SOAPString
|
2288
|
+
# default - SOAP::SOAPString
|
2289
|
+
# measure - SOAP::SOAPString
|
2290
|
+
# data - (any)
|
2291
|
+
# name - (any)
|
2292
|
+
class Voc_parameterType
|
2293
|
+
attr_accessor :id
|
2294
|
+
attr_accessor :type
|
2295
|
+
attr_accessor :min
|
2296
|
+
attr_accessor :max
|
2297
|
+
attr_accessor :long
|
2298
|
+
attr_accessor :short
|
2299
|
+
attr_accessor :category
|
2300
|
+
attr_accessor :complex
|
2301
|
+
attr_accessor :default
|
2302
|
+
attr_accessor :measure
|
2303
|
+
attr_accessor :data
|
2304
|
+
attr_accessor :name
|
2305
|
+
|
2306
|
+
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)
|
2307
|
+
@id = id
|
2308
|
+
@type = type
|
2309
|
+
@min = min
|
2310
|
+
@max = max
|
2311
|
+
@long = long
|
2312
|
+
@short = short
|
2313
|
+
@category = category
|
2314
|
+
@complex = complex
|
2315
|
+
@default = default
|
2316
|
+
@measure = measure
|
2317
|
+
@data = data
|
2318
|
+
@name = name
|
2319
|
+
end
|
2320
|
+
end
|
2321
|
+
|
2322
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}vocabularyType
|
2323
|
+
# name - SOAP::SOAPString
|
2324
|
+
# parameter - Virtuozzo::SOAP::Drivers::Device::Voc_parameterType
|
2325
|
+
# category - Virtuozzo::SOAP::Drivers::Device::Voc_parameterType
|
2326
|
+
class VocabularyType
|
2327
|
+
attr_accessor :name
|
2328
|
+
attr_accessor :parameter
|
2329
|
+
attr_accessor :category
|
2330
|
+
|
2331
|
+
def initialize(name = nil, parameter = [], category = [])
|
2332
|
+
@name = name
|
2333
|
+
@parameter = parameter
|
2334
|
+
@category = category
|
2335
|
+
end
|
2336
|
+
end
|
2337
|
+
|
2338
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_statType
|
2339
|
+
# cur - SOAP::SOAPAnySimpleType
|
2340
|
+
# avg - SOAP::SOAPAnySimpleType
|
2341
|
+
# max - SOAP::SOAPAnySimpleType
|
2342
|
+
# min - SOAP::SOAPAnySimpleType
|
2343
|
+
class Perf_statType
|
2344
|
+
attr_accessor :cur
|
2345
|
+
attr_accessor :avg
|
2346
|
+
attr_accessor :max
|
2347
|
+
attr_accessor :min
|
2348
|
+
|
2349
|
+
def initialize(cur = nil, avg = nil, max = nil, min = nil)
|
2350
|
+
@cur = cur
|
2351
|
+
@avg = avg
|
2352
|
+
@max = max
|
2353
|
+
@min = min
|
2354
|
+
end
|
2355
|
+
end
|
2356
|
+
|
2357
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}perf_dataType
|
2358
|
+
# eid - (any)
|
2359
|
+
# m_class - Virtuozzo::SOAP::Drivers::Device::Perf_dataType::C_Class
|
2360
|
+
# interval - Virtuozzo::SOAP::Drivers::Device::IntervalType
|
2361
|
+
class Perf_dataType
|
2362
|
+
|
2363
|
+
# inner class for member: class
|
2364
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}class
|
2365
|
+
# name - SOAP::SOAPString
|
2366
|
+
# instance - Virtuozzo::SOAP::Drivers::Device::Perf_dataType::C_Class::Instance
|
2367
|
+
class C_Class
|
2368
|
+
|
2369
|
+
# inner class for member: instance
|
2370
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}instance
|
2371
|
+
# name - SOAP::SOAPString
|
2372
|
+
# counter - Virtuozzo::SOAP::Drivers::Device::Perf_dataType::C_Class::Instance::Counter
|
2373
|
+
class Instance
|
2374
|
+
|
2375
|
+
# inner class for member: counter
|
2376
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}counter
|
2377
|
+
# name - SOAP::SOAPString
|
2378
|
+
# value - Virtuozzo::SOAP::Drivers::Device::Perf_statType
|
2379
|
+
class Counter
|
2380
|
+
attr_accessor :name
|
2381
|
+
attr_accessor :value
|
2382
|
+
|
2383
|
+
def initialize(name = nil, value = nil)
|
2384
|
+
@name = name
|
2385
|
+
@value = value
|
2386
|
+
end
|
2387
|
+
end
|
2388
|
+
|
2389
|
+
attr_accessor :name
|
2390
|
+
attr_accessor :counter
|
2391
|
+
|
2392
|
+
def initialize(name = nil, counter = [])
|
2393
|
+
@name = name
|
2394
|
+
@counter = counter
|
2395
|
+
end
|
2396
|
+
end
|
2397
|
+
|
2398
|
+
attr_accessor :name
|
2399
|
+
attr_accessor :instance
|
2400
|
+
|
2401
|
+
def initialize(name = nil, instance = [])
|
2402
|
+
@name = name
|
2403
|
+
@instance = instance
|
2404
|
+
end
|
2405
|
+
end
|
2406
|
+
|
2407
|
+
attr_accessor :eid
|
2408
|
+
attr_accessor :interval
|
2409
|
+
|
2410
|
+
def m_class
|
2411
|
+
@v_class
|
2412
|
+
end
|
2413
|
+
|
2414
|
+
def m_class=(value)
|
2415
|
+
@v_class = value
|
2416
|
+
end
|
2417
|
+
|
2418
|
+
def initialize(eid = nil, v_class = [], interval = nil)
|
2419
|
+
@eid = eid
|
2420
|
+
@v_class = v_class
|
2421
|
+
@interval = interval
|
2422
|
+
end
|
2423
|
+
end
|
2424
|
+
|
2425
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_options_baseType
|
2426
|
+
class Log_options_baseType
|
2427
|
+
def initialize
|
2428
|
+
end
|
2429
|
+
end
|
2430
|
+
|
2431
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}log_optionsType
|
2432
|
+
class Log_optionsType < Log_options_baseType
|
2433
|
+
def initialize
|
2434
|
+
end
|
2435
|
+
end
|
2436
|
+
|
2437
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}log_optionsType
|
2438
|
+
# type - SOAP::SOAPInt
|
2439
|
+
class Log_optionsType_ < Log_options_baseType
|
2440
|
+
attr_accessor :type
|
2441
|
+
|
2442
|
+
def initialize(type = nil)
|
2443
|
+
@type = type
|
2444
|
+
end
|
2445
|
+
end
|
2446
|
+
|
2447
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}redirect_serviceType
|
2448
|
+
# id - SOAP::SOAPString
|
2449
|
+
# port - SOAP::SOAPInt
|
2450
|
+
# dst - (any)
|
2451
|
+
# default - (any)
|
2452
|
+
class Redirect_serviceType
|
2453
|
+
attr_accessor :id
|
2454
|
+
attr_accessor :port
|
2455
|
+
attr_accessor :dst
|
2456
|
+
attr_accessor :default
|
2457
|
+
|
2458
|
+
def initialize(id = nil, port = nil, dst = nil, default = nil)
|
2459
|
+
@id = id
|
2460
|
+
@port = port
|
2461
|
+
@dst = dst
|
2462
|
+
@default = default
|
2463
|
+
end
|
2464
|
+
end
|
2465
|
+
|
2466
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}templateType
|
2467
|
+
# name - SOAP::SOAPString
|
2468
|
+
# version - SOAP::SOAPString
|
2469
|
+
class TemplateType
|
2470
|
+
attr_accessor :name
|
2471
|
+
attr_accessor :version
|
2472
|
+
|
2473
|
+
def initialize(name = nil, version = nil)
|
2474
|
+
@name = name
|
2475
|
+
@version = version
|
2476
|
+
end
|
2477
|
+
end
|
2478
|
+
|
2479
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}mount_deviceType
|
2480
|
+
# permanent - SOAP::SOAPBoolean
|
2481
|
+
# device - SOAP::SOAPString
|
2482
|
+
# point - SOAP::SOAPString
|
2483
|
+
# filesystem - SOAP::SOAPString
|
2484
|
+
# active - SOAP::SOAPBoolean
|
2485
|
+
# size - SOAP::SOAPLong
|
2486
|
+
# interface - SOAP::SOAPString
|
2487
|
+
class Mount_deviceType
|
2488
|
+
attr_accessor :permanent
|
2489
|
+
attr_accessor :device
|
2490
|
+
attr_accessor :point
|
2491
|
+
attr_accessor :filesystem
|
2492
|
+
attr_accessor :active
|
2493
|
+
attr_accessor :size
|
2494
|
+
attr_accessor :interface
|
2495
|
+
|
2496
|
+
def initialize(permanent = nil, device = nil, point = nil, filesystem = nil, active = nil, size = nil, interface = nil)
|
2497
|
+
@permanent = permanent
|
2498
|
+
@device = device
|
2499
|
+
@point = point
|
2500
|
+
@filesystem = filesystem
|
2501
|
+
@active = active
|
2502
|
+
@size = size
|
2503
|
+
@interface = interface
|
2504
|
+
end
|
2505
|
+
end
|
2506
|
+
|
2507
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}common_deviceType
|
2508
|
+
# name - SOAP::SOAPString
|
2509
|
+
# description - SOAP::SOAPString
|
2510
|
+
class Common_deviceType
|
2511
|
+
attr_accessor :name
|
2512
|
+
attr_accessor :description
|
2513
|
+
|
2514
|
+
def initialize(name = nil, description = nil)
|
2515
|
+
@name = name
|
2516
|
+
@description = description
|
2517
|
+
end
|
2518
|
+
end
|
2519
|
+
|
2520
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}windows_deviceType
|
2521
|
+
# name - SOAP::SOAPString
|
2522
|
+
# description - SOAP::SOAPString
|
2523
|
+
# physical_name - SOAP::SOAPBase64
|
2524
|
+
class Windows_deviceType < Common_deviceType
|
2525
|
+
attr_accessor :name
|
2526
|
+
attr_accessor :description
|
2527
|
+
attr_accessor :physical_name
|
2528
|
+
|
2529
|
+
def initialize(name = nil, description = nil, physical_name = nil)
|
2530
|
+
@name = name
|
2531
|
+
@description = description
|
2532
|
+
@physical_name = physical_name
|
2533
|
+
end
|
2534
|
+
end
|
2535
|
+
|
2536
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}scsi_deviceType
|
2537
|
+
# name - SOAP::SOAPString
|
2538
|
+
# description - SOAP::SOAPString
|
2539
|
+
# physical_name - SOAP::SOAPBase64
|
2540
|
+
class Scsi_deviceType < Windows_deviceType
|
2541
|
+
attr_accessor :name
|
2542
|
+
attr_accessor :description
|
2543
|
+
attr_accessor :physical_name
|
2544
|
+
|
2545
|
+
def initialize(name = nil, description = nil, physical_name = nil)
|
2546
|
+
@name = name
|
2547
|
+
@description = description
|
2548
|
+
@physical_name = physical_name
|
2549
|
+
end
|
2550
|
+
end
|
2551
|
+
|
2552
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}transport_type
|
2553
|
+
class Transport_type < ::String
|
2554
|
+
Tcp = Transport_type.new("tcp")
|
2555
|
+
Udp = Transport_type.new("udp")
|
2556
|
+
end
|
2557
|
+
|
2558
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}yes_no_type
|
2559
|
+
class Yes_no_type < ::String
|
2560
|
+
No = Yes_no_type.new("no")
|
2561
|
+
Yes = Yes_no_type.new("yes")
|
2562
|
+
end
|
2563
|
+
|
2564
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzadevm}vzadevm
|
2565
|
+
# configuration - Virtuozzo::SOAP::Drivers::Device::ConfigurationType
|
2566
|
+
# ok - Virtuozzo::SOAP::Drivers::Device::Vzadevm::Ok
|
2567
|
+
# error - Virtuozzo::SOAP::Drivers::Device::Vzadevm::Error
|
2568
|
+
# get_mounts - Virtuozzo::SOAP::Drivers::Device::Get_mounts
|
2569
|
+
# new_mount - Virtuozzo::SOAP::Drivers::Device::New_mount
|
2570
|
+
# umount - Virtuozzo::SOAP::Drivers::Device::Umount
|
2571
|
+
# get_info - Virtuozzo::SOAP::Drivers::Device::Get_info
|
2572
|
+
# create_drive - Virtuozzo::SOAP::Drivers::Device::Create_drive
|
2573
|
+
# delete_drive - Virtuozzo::SOAP::Drivers::Device::Delete_drive
|
2574
|
+
# resize_drive - Virtuozzo::SOAP::Drivers::Device::Resize_drive
|
2575
|
+
# format_drive - Virtuozzo::SOAP::Drivers::Device::Format_drive
|
2576
|
+
# list_device - Virtuozzo::SOAP::Drivers::Device::List_device
|
2577
|
+
# forward_device - Virtuozzo::SOAP::Drivers::Device::Forward_device
|
2578
|
+
# remove_forward - Virtuozzo::SOAP::Drivers::Device::Remove_forward
|
2579
|
+
# list_forward - Virtuozzo::SOAP::Drivers::Device::List_forward
|
2580
|
+
# mount - Virtuozzo::SOAP::Drivers::Device::Mount_deviceType
|
2581
|
+
# device_info - Virtuozzo::SOAP::Drivers::Device::Device_info
|
2582
|
+
# device - Virtuozzo::SOAP::Drivers::Device::Common_deviceType
|
2583
|
+
# forward - Virtuozzo::SOAP::Drivers::Device::Forward
|
2584
|
+
class Vzadevm < VzadevmType
|
2585
|
+
|
2586
|
+
# inner class for member: ok
|
2587
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}ok
|
2588
|
+
class Ok
|
2589
|
+
def initialize
|
2590
|
+
end
|
2591
|
+
end
|
2592
|
+
|
2593
|
+
# inner class for member: error
|
2594
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}error
|
2595
|
+
# code - SOAP::SOAPInt
|
2596
|
+
# message - SOAP::SOAPString
|
2597
|
+
class Error
|
2598
|
+
attr_accessor :code
|
2599
|
+
attr_accessor :message
|
2600
|
+
|
2601
|
+
def initialize(code = nil, message = nil)
|
2602
|
+
@code = code
|
2603
|
+
@message = message
|
2604
|
+
end
|
2605
|
+
end
|
2606
|
+
|
2607
|
+
attr_accessor :configuration
|
2608
|
+
attr_accessor :ok
|
2609
|
+
attr_accessor :error
|
2610
|
+
attr_accessor :get_mounts
|
2611
|
+
attr_accessor :new_mount
|
2612
|
+
attr_accessor :umount
|
2613
|
+
attr_accessor :get_info
|
2614
|
+
attr_accessor :create_drive
|
2615
|
+
attr_accessor :delete_drive
|
2616
|
+
attr_accessor :resize_drive
|
2617
|
+
attr_accessor :format_drive
|
2618
|
+
attr_accessor :list_device
|
2619
|
+
attr_accessor :forward_device
|
2620
|
+
attr_accessor :remove_forward
|
2621
|
+
attr_accessor :list_forward
|
2622
|
+
attr_accessor :mount
|
2623
|
+
attr_accessor :device_info
|
2624
|
+
attr_accessor :device
|
2625
|
+
attr_accessor :forward
|
2626
|
+
|
2627
|
+
def initialize(configuration = nil, ok = [], error = [], get_mounts = [], new_mount = [], umount = [], get_info = [], create_drive = [], delete_drive = [], resize_drive = [], format_drive = [], list_device = [], forward_device = [], remove_forward = [], list_forward = [], mount = [], device_info = [], device = [], forward = [])
|
2628
|
+
@configuration = configuration
|
2629
|
+
@ok = ok
|
2630
|
+
@error = error
|
2631
|
+
@get_mounts = get_mounts
|
2632
|
+
@new_mount = new_mount
|
2633
|
+
@umount = umount
|
2634
|
+
@get_info = get_info
|
2635
|
+
@create_drive = create_drive
|
2636
|
+
@delete_drive = delete_drive
|
2637
|
+
@resize_drive = resize_drive
|
2638
|
+
@format_drive = format_drive
|
2639
|
+
@list_device = list_device
|
2640
|
+
@forward_device = forward_device
|
2641
|
+
@remove_forward = remove_forward
|
2642
|
+
@list_forward = list_forward
|
2643
|
+
@mount = mount
|
2644
|
+
@device_info = device_info
|
2645
|
+
@device = device
|
2646
|
+
@forward = forward
|
2647
|
+
end
|
2648
|
+
end
|
2649
|
+
|
2650
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}packet
|
2651
|
+
# auth - Virtuozzo::SOAP::Drivers::Device::AuthType
|
2652
|
+
# cookie - SOAP::SOAPString
|
2653
|
+
# target - SOAP::SOAPString
|
2654
|
+
# origin - SOAP::SOAPString
|
2655
|
+
# src - Virtuozzo::SOAP::Drivers::Device::RouteType
|
2656
|
+
# dst - Virtuozzo::SOAP::Drivers::Device::RouteType
|
2657
|
+
# session - SOAP::SOAPString
|
2658
|
+
# data - Virtuozzo::SOAP::Drivers::Device::Packet::C_Data
|
2659
|
+
# xmlattr_version - SOAP::SOAPString
|
2660
|
+
# xmlattr_id - SOAP::SOAPString
|
2661
|
+
# xmlattr_priority - SOAP::SOAPString
|
2662
|
+
# xmlattr_time - SOAP::SOAPString
|
2663
|
+
# xmlattr_progress - SOAP::SOAPString
|
2664
|
+
# xmlattr_log - SOAP::SOAPString
|
2665
|
+
# xmlattr_type - SOAP::SOAPInt
|
2666
|
+
# xmlattr_timeout - SOAP::SOAPInt
|
2667
|
+
# xmlattr_timeout_limit - SOAP::SOAPInt
|
2668
|
+
# xmlattr_uid - SOAP::SOAPInt
|
2669
|
+
class Packet < Packet_headerType
|
2670
|
+
AttrC_Time = XSD::QName.new(nil, "time")
|
2671
|
+
AttrId = XSD::QName.new(nil, "id")
|
2672
|
+
AttrLog = XSD::QName.new(nil, "log")
|
2673
|
+
AttrPriority = XSD::QName.new(nil, "priority")
|
2674
|
+
AttrProgress = XSD::QName.new(nil, "progress")
|
2675
|
+
AttrTimeout = XSD::QName.new(nil, "timeout")
|
2676
|
+
AttrTimeout_limit = XSD::QName.new(nil, "timeout_limit")
|
2677
|
+
AttrType = XSD::QName.new(nil, "type")
|
2678
|
+
AttrUid = XSD::QName.new(nil, "uid")
|
2679
|
+
AttrVersion = XSD::QName.new(nil, "version")
|
2680
|
+
|
2681
|
+
# inner class for member: data
|
2682
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/protocol}data
|
2683
|
+
class C_Data < ::Array
|
2684
|
+
end
|
2685
|
+
|
2686
|
+
attr_accessor :auth
|
2687
|
+
attr_accessor :cookie
|
2688
|
+
attr_accessor :target
|
2689
|
+
attr_accessor :origin
|
2690
|
+
attr_accessor :src
|
2691
|
+
attr_accessor :dst
|
2692
|
+
attr_accessor :session
|
2693
|
+
attr_accessor :data
|
2694
|
+
|
2695
|
+
def __xmlattr
|
2696
|
+
@__xmlattr ||= {}
|
2697
|
+
end
|
2698
|
+
|
2699
|
+
def xmlattr_version
|
2700
|
+
__xmlattr[AttrVersion]
|
2701
|
+
end
|
2702
|
+
|
2703
|
+
def xmlattr_version=(value)
|
2704
|
+
__xmlattr[AttrVersion] = value
|
2705
|
+
end
|
2706
|
+
|
2707
|
+
def xmlattr_id
|
2708
|
+
__xmlattr[AttrId]
|
2709
|
+
end
|
2710
|
+
|
2711
|
+
def xmlattr_id=(value)
|
2712
|
+
__xmlattr[AttrId] = value
|
2713
|
+
end
|
2714
|
+
|
2715
|
+
def xmlattr_priority
|
2716
|
+
__xmlattr[AttrPriority]
|
2717
|
+
end
|
2718
|
+
|
2719
|
+
def xmlattr_priority=(value)
|
2720
|
+
__xmlattr[AttrPriority] = value
|
2721
|
+
end
|
2722
|
+
|
2723
|
+
def xmlattr_time
|
2724
|
+
__xmlattr[AttrC_Time]
|
2725
|
+
end
|
2726
|
+
|
2727
|
+
def xmlattr_time=(value)
|
2728
|
+
__xmlattr[AttrC_Time] = value
|
2729
|
+
end
|
2730
|
+
|
2731
|
+
def xmlattr_progress
|
2732
|
+
__xmlattr[AttrProgress]
|
2733
|
+
end
|
2734
|
+
|
2735
|
+
def xmlattr_progress=(value)
|
2736
|
+
__xmlattr[AttrProgress] = value
|
2737
|
+
end
|
2738
|
+
|
2739
|
+
def xmlattr_log
|
2740
|
+
__xmlattr[AttrLog]
|
2741
|
+
end
|
2742
|
+
|
2743
|
+
def xmlattr_log=(value)
|
2744
|
+
__xmlattr[AttrLog] = value
|
2745
|
+
end
|
2746
|
+
|
2747
|
+
def xmlattr_type
|
2748
|
+
__xmlattr[AttrType]
|
2749
|
+
end
|
2750
|
+
|
2751
|
+
def xmlattr_type=(value)
|
2752
|
+
__xmlattr[AttrType] = value
|
2753
|
+
end
|
2754
|
+
|
2755
|
+
def xmlattr_timeout
|
2756
|
+
__xmlattr[AttrTimeout]
|
2757
|
+
end
|
2758
|
+
|
2759
|
+
def xmlattr_timeout=(value)
|
2760
|
+
__xmlattr[AttrTimeout] = value
|
2761
|
+
end
|
2762
|
+
|
2763
|
+
def xmlattr_timeout_limit
|
2764
|
+
__xmlattr[AttrTimeout_limit]
|
2765
|
+
end
|
2766
|
+
|
2767
|
+
def xmlattr_timeout_limit=(value)
|
2768
|
+
__xmlattr[AttrTimeout_limit] = value
|
2769
|
+
end
|
2770
|
+
|
2771
|
+
def xmlattr_uid
|
2772
|
+
__xmlattr[AttrUid]
|
2773
|
+
end
|
2774
|
+
|
2775
|
+
def xmlattr_uid=(value)
|
2776
|
+
__xmlattr[AttrUid] = value
|
2777
|
+
end
|
2778
|
+
|
2779
|
+
def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil, data = nil)
|
2780
|
+
@auth = auth
|
2781
|
+
@cookie = cookie
|
2782
|
+
@target = target
|
2783
|
+
@origin = origin
|
2784
|
+
@src = src
|
2785
|
+
@dst = dst
|
2786
|
+
@session = session
|
2787
|
+
@data = data
|
2788
|
+
@__xmlattr = {}
|
2789
|
+
end
|
2790
|
+
end
|
2791
|
+
|
2792
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/types}ok
|
2793
|
+
class Ok < ::String
|
2794
|
+
def initialize(*arg)
|
2795
|
+
super
|
2796
|
+
end
|
2797
|
+
end
|
2798
|
+
|
2799
|
+
# {http://www.swsoft.com/webservices/vza/4.0.0/vzatypes}interface_rate
|
2800
|
+
# class_id - SOAP::SOAPString
|
2801
|
+
# net_device_id - SOAP::SOAPString
|
2802
|
+
# rate - SOAP::SOAPLong
|
2803
|
+
class Interface_rate
|
2804
|
+
attr_accessor :class_id
|
2805
|
+
attr_accessor :net_device_id
|
2806
|
+
attr_accessor :rate
|
2807
|
+
|
2808
|
+
def initialize(class_id = nil, net_device_id = nil, rate = nil)
|
2809
|
+
@class_id = class_id
|
2810
|
+
@net_device_id = net_device_id
|
2811
|
+
@rate = rate
|
2812
|
+
end
|
2813
|
+
end
|
2814
|
+
|
2815
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}get_mounts
|
2816
|
+
# eid - (any)
|
2817
|
+
class Get_mounts
|
2818
|
+
attr_accessor :eid
|
2819
|
+
|
2820
|
+
def initialize(eid = nil)
|
2821
|
+
@eid = eid
|
2822
|
+
end
|
2823
|
+
end
|
2824
|
+
|
2825
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}new_mount
|
2826
|
+
# permanent - SOAP::SOAPBoolean
|
2827
|
+
# device - SOAP::SOAPString
|
2828
|
+
# point - SOAP::SOAPString
|
2829
|
+
# filesystem - SOAP::SOAPString
|
2830
|
+
# active - SOAP::SOAPBoolean
|
2831
|
+
# size - SOAP::SOAPLong
|
2832
|
+
# interface - SOAP::SOAPString
|
2833
|
+
# eid - (any)
|
2834
|
+
class New_mount < Mount_deviceType
|
2835
|
+
attr_accessor :permanent
|
2836
|
+
attr_accessor :device
|
2837
|
+
attr_accessor :point
|
2838
|
+
attr_accessor :filesystem
|
2839
|
+
attr_accessor :active
|
2840
|
+
attr_accessor :size
|
2841
|
+
attr_accessor :interface
|
2842
|
+
attr_accessor :eid
|
2843
|
+
|
2844
|
+
def initialize(permanent = nil, device = nil, point = nil, filesystem = nil, active = nil, size = nil, interface = nil, eid = nil)
|
2845
|
+
@permanent = permanent
|
2846
|
+
@device = device
|
2847
|
+
@point = point
|
2848
|
+
@filesystem = filesystem
|
2849
|
+
@active = active
|
2850
|
+
@size = size
|
2851
|
+
@interface = interface
|
2852
|
+
@eid = eid
|
2853
|
+
end
|
2854
|
+
end
|
2855
|
+
|
2856
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}umount
|
2857
|
+
# permanent - SOAP::SOAPBoolean
|
2858
|
+
# device - SOAP::SOAPString
|
2859
|
+
# point - SOAP::SOAPString
|
2860
|
+
# filesystem - SOAP::SOAPString
|
2861
|
+
# active - SOAP::SOAPBoolean
|
2862
|
+
# size - SOAP::SOAPLong
|
2863
|
+
# interface - SOAP::SOAPString
|
2864
|
+
# eid - (any)
|
2865
|
+
class Umount < Mount_deviceType
|
2866
|
+
attr_accessor :permanent
|
2867
|
+
attr_accessor :device
|
2868
|
+
attr_accessor :point
|
2869
|
+
attr_accessor :filesystem
|
2870
|
+
attr_accessor :active
|
2871
|
+
attr_accessor :size
|
2872
|
+
attr_accessor :interface
|
2873
|
+
attr_accessor :eid
|
2874
|
+
|
2875
|
+
def initialize(permanent = nil, device = nil, point = nil, filesystem = nil, active = nil, size = nil, interface = nil, eid = nil)
|
2876
|
+
@permanent = permanent
|
2877
|
+
@device = device
|
2878
|
+
@point = point
|
2879
|
+
@filesystem = filesystem
|
2880
|
+
@active = active
|
2881
|
+
@size = size
|
2882
|
+
@interface = interface
|
2883
|
+
@eid = eid
|
2884
|
+
end
|
2885
|
+
end
|
2886
|
+
|
2887
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}get_info
|
2888
|
+
class Get_info < ::String
|
2889
|
+
def initialize(*arg)
|
2890
|
+
super
|
2891
|
+
end
|
2892
|
+
end
|
2893
|
+
|
2894
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}device_info
|
2895
|
+
# filesystem - SOAP::SOAPString
|
2896
|
+
# device - SOAP::SOAPString
|
2897
|
+
# partition - SOAP::SOAPString
|
2898
|
+
class Device_info
|
2899
|
+
attr_accessor :filesystem
|
2900
|
+
attr_accessor :device
|
2901
|
+
attr_accessor :partition
|
2902
|
+
|
2903
|
+
def initialize(filesystem = [], device = [], partition = [])
|
2904
|
+
@filesystem = filesystem
|
2905
|
+
@device = device
|
2906
|
+
@partition = partition
|
2907
|
+
end
|
2908
|
+
end
|
2909
|
+
|
2910
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}create_drive
|
2911
|
+
# permanent - SOAP::SOAPBoolean
|
2912
|
+
# device - SOAP::SOAPString
|
2913
|
+
# point - SOAP::SOAPString
|
2914
|
+
# filesystem - SOAP::SOAPString
|
2915
|
+
# active - SOAP::SOAPBoolean
|
2916
|
+
# size - SOAP::SOAPLong
|
2917
|
+
# interface - SOAP::SOAPString
|
2918
|
+
# eid - (any)
|
2919
|
+
class Create_drive < Mount_deviceType
|
2920
|
+
attr_accessor :permanent
|
2921
|
+
attr_accessor :device
|
2922
|
+
attr_accessor :point
|
2923
|
+
attr_accessor :filesystem
|
2924
|
+
attr_accessor :active
|
2925
|
+
attr_accessor :size
|
2926
|
+
attr_accessor :interface
|
2927
|
+
attr_accessor :eid
|
2928
|
+
|
2929
|
+
def initialize(permanent = nil, device = nil, point = nil, filesystem = nil, active = nil, size = nil, interface = nil, eid = nil)
|
2930
|
+
@permanent = permanent
|
2931
|
+
@device = device
|
2932
|
+
@point = point
|
2933
|
+
@filesystem = filesystem
|
2934
|
+
@active = active
|
2935
|
+
@size = size
|
2936
|
+
@interface = interface
|
2937
|
+
@eid = eid
|
2938
|
+
end
|
2939
|
+
end
|
2940
|
+
|
2941
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}delete_drive
|
2942
|
+
# eid - (any)
|
2943
|
+
# point - SOAP::SOAPString
|
2944
|
+
# device - SOAP::SOAPString
|
2945
|
+
class Delete_drive
|
2946
|
+
attr_accessor :eid
|
2947
|
+
attr_accessor :point
|
2948
|
+
attr_accessor :device
|
2949
|
+
|
2950
|
+
def initialize(eid = nil, point = nil, device = nil)
|
2951
|
+
@eid = eid
|
2952
|
+
@point = point
|
2953
|
+
@device = device
|
2954
|
+
end
|
2955
|
+
end
|
2956
|
+
|
2957
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}resize_drive
|
2958
|
+
# size - SOAP::SOAPLong
|
2959
|
+
# eid - (any)
|
2960
|
+
# point - SOAP::SOAPString
|
2961
|
+
# device - SOAP::SOAPString
|
2962
|
+
class Resize_drive
|
2963
|
+
attr_accessor :size
|
2964
|
+
attr_accessor :eid
|
2965
|
+
attr_accessor :point
|
2966
|
+
attr_accessor :device
|
2967
|
+
|
2968
|
+
def initialize(size = nil, eid = nil, point = nil, device = nil)
|
2969
|
+
@size = size
|
2970
|
+
@eid = eid
|
2971
|
+
@point = point
|
2972
|
+
@device = device
|
2973
|
+
end
|
2974
|
+
end
|
2975
|
+
|
2976
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}format_drive
|
2977
|
+
# device - SOAP::SOAPString
|
2978
|
+
# type - SOAP::SOAPString
|
2979
|
+
# label - SOAP::SOAPString
|
2980
|
+
# block_size - SOAP::SOAPLong
|
2981
|
+
class Format_drive
|
2982
|
+
attr_accessor :device
|
2983
|
+
attr_accessor :type
|
2984
|
+
attr_accessor :label
|
2985
|
+
attr_accessor :block_size
|
2986
|
+
|
2987
|
+
def initialize(device = nil, type = nil, label = nil, block_size = nil)
|
2988
|
+
@device = device
|
2989
|
+
@type = type
|
2990
|
+
@label = label
|
2991
|
+
@block_size = block_size
|
2992
|
+
end
|
2993
|
+
end
|
2994
|
+
|
2995
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}get_mountsResponse
|
2996
|
+
class Get_mountsResponse < ::Array
|
2997
|
+
end
|
2998
|
+
|
2999
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}new_mountResponse
|
3000
|
+
class New_mountResponse
|
3001
|
+
def initialize
|
3002
|
+
end
|
3003
|
+
end
|
3004
|
+
|
3005
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}umountResponse
|
3006
|
+
class UmountResponse
|
3007
|
+
def initialize
|
3008
|
+
end
|
3009
|
+
end
|
3010
|
+
|
3011
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}get_infoResponse
|
3012
|
+
# device_info - Virtuozzo::SOAP::Drivers::Device::Device_info
|
3013
|
+
class Get_infoResponse
|
3014
|
+
attr_accessor :device_info
|
3015
|
+
|
3016
|
+
def initialize(device_info = nil)
|
3017
|
+
@device_info = device_info
|
3018
|
+
end
|
3019
|
+
end
|
3020
|
+
|
3021
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}create_driveResponse
|
3022
|
+
# device_info - Virtuozzo::SOAP::Drivers::Device::Device_info
|
3023
|
+
class Create_driveResponse
|
3024
|
+
attr_accessor :device_info
|
3025
|
+
|
3026
|
+
def initialize(device_info = nil)
|
3027
|
+
@device_info = device_info
|
3028
|
+
end
|
3029
|
+
end
|
3030
|
+
|
3031
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}delete_driveResponse
|
3032
|
+
class Delete_driveResponse
|
3033
|
+
def initialize
|
3034
|
+
end
|
3035
|
+
end
|
3036
|
+
|
3037
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}resize_driveResponse
|
3038
|
+
class Resize_driveResponse
|
3039
|
+
def initialize
|
3040
|
+
end
|
3041
|
+
end
|
3042
|
+
|
3043
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}forward
|
3044
|
+
# source - Virtuozzo::SOAP::Drivers::Device::Forward::Source
|
3045
|
+
# destination - Virtuozzo::SOAP::Drivers::Device::Forward::Destination
|
3046
|
+
class Forward
|
3047
|
+
|
3048
|
+
# inner class for member: source
|
3049
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}source
|
3050
|
+
# eid - (any)
|
3051
|
+
# device - Virtuozzo::SOAP::Drivers::Device::Common_deviceType
|
3052
|
+
class Source
|
3053
|
+
attr_accessor :eid
|
3054
|
+
attr_accessor :device
|
3055
|
+
|
3056
|
+
def initialize(eid = nil, device = nil)
|
3057
|
+
@eid = eid
|
3058
|
+
@device = device
|
3059
|
+
end
|
3060
|
+
end
|
3061
|
+
|
3062
|
+
# inner class for member: destination
|
3063
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}destination
|
3064
|
+
# eid - (any)
|
3065
|
+
# device - Virtuozzo::SOAP::Drivers::Device::Common_deviceType
|
3066
|
+
class Destination
|
3067
|
+
attr_accessor :eid
|
3068
|
+
attr_accessor :device
|
3069
|
+
|
3070
|
+
def initialize(eid = nil, device = nil)
|
3071
|
+
@eid = eid
|
3072
|
+
@device = device
|
3073
|
+
end
|
3074
|
+
end
|
3075
|
+
|
3076
|
+
attr_accessor :source
|
3077
|
+
attr_accessor :destination
|
3078
|
+
|
3079
|
+
def initialize(source = nil, destination = nil)
|
3080
|
+
@source = source
|
3081
|
+
@destination = destination
|
3082
|
+
end
|
3083
|
+
end
|
3084
|
+
|
3085
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}list_device
|
3086
|
+
class List_device < ::Array
|
3087
|
+
end
|
3088
|
+
|
3089
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}list_deviceResponse
|
3090
|
+
class List_deviceResponse < ::Array
|
3091
|
+
end
|
3092
|
+
|
3093
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}forward_device
|
3094
|
+
# forward - Virtuozzo::SOAP::Drivers::Device::Forward
|
3095
|
+
class Forward_device
|
3096
|
+
attr_accessor :forward
|
3097
|
+
|
3098
|
+
def initialize(forward = nil)
|
3099
|
+
@forward = forward
|
3100
|
+
end
|
3101
|
+
end
|
3102
|
+
|
3103
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}forward_deviceResponse
|
3104
|
+
class Forward_deviceResponse < ::String
|
3105
|
+
def initialize(*arg)
|
3106
|
+
super
|
3107
|
+
end
|
3108
|
+
end
|
3109
|
+
|
3110
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}remove_forward
|
3111
|
+
# forward - Virtuozzo::SOAP::Drivers::Device::Forward
|
3112
|
+
# force - (any)
|
3113
|
+
class Remove_forward
|
3114
|
+
attr_accessor :forward
|
3115
|
+
attr_accessor :force
|
3116
|
+
|
3117
|
+
def initialize(forward = nil, force = nil)
|
3118
|
+
@forward = forward
|
3119
|
+
@force = force
|
3120
|
+
end
|
3121
|
+
end
|
3122
|
+
|
3123
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}remove_forwardResponse
|
3124
|
+
class Remove_forwardResponse < ::String
|
3125
|
+
def initialize(*arg)
|
3126
|
+
super
|
3127
|
+
end
|
3128
|
+
end
|
3129
|
+
|
3130
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}list_forward
|
3131
|
+
# eid - (any)
|
3132
|
+
class List_forward
|
3133
|
+
attr_accessor :eid
|
3134
|
+
|
3135
|
+
def initialize(eid = nil)
|
3136
|
+
@eid = eid
|
3137
|
+
end
|
3138
|
+
end
|
3139
|
+
|
3140
|
+
# {http://www.swsoft.com/webservices/vzl/4.0.0/devm}list_forwardResponse
|
3141
|
+
class List_forwardResponse < ::Array
|
3142
|
+
end
|
3143
|
+
|
3144
|
+
|
3145
|
+
end; end; end; end
|