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