plainprograms-virtuozzo 0.1.0

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