plainprograms-virtuozzo 0.1.1 → 0.2.0

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