plainprograms-virtuozzo 0.5.3 → 0.6.0

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