plainprograms-virtuozzo 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. data/CHANGELOG.rdoc +8 -2
  2. data/Rakefile +1 -1
  3. data/lib/virtuozzo/soap/drivers/device_driver.rb +3 -3
  4. data/lib/virtuozzo/soap/drivers/environment_driver.rb +3 -3
  5. data/lib/virtuozzo/soap/drivers/network_driver.rb +3 -3
  6. data/lib/virtuozzo/soap/drivers/process_driver.rb +3 -3
  7. data/lib/virtuozzo/soap/drivers/process_info_driver.rb +3 -3
  8. data/lib/virtuozzo/soap/drivers/relocator_driver.rb +3 -3
  9. data/lib/virtuozzo/soap/drivers/session_driver.rb +3 -3
  10. data/lib/virtuozzo/soap/drivers/support_driver.rb +3 -3
  11. data/lib/virtuozzo/soap/drivers/template_driver.rb +3 -3
  12. data/lib/virtuozzo/soap/drivers/up2date_driver.rb +3 -3
  13. data/lib/virtuozzo/soap/mapping_registries/device.rb +3658 -0
  14. data/lib/virtuozzo/soap/mapping_registries/environment.rb +4466 -0
  15. data/lib/virtuozzo/soap/mapping_registries/network.rb +3121 -0
  16. data/lib/virtuozzo/soap/mapping_registries/process.rb +3322 -0
  17. data/lib/virtuozzo/soap/mapping_registries/process_info.rb +2990 -0
  18. data/lib/virtuozzo/soap/mapping_registries/relocator.rb +3661 -0
  19. data/lib/virtuozzo/soap/mapping_registries/session.rb +3044 -0
  20. data/lib/virtuozzo/soap/mapping_registries/support.rb +3237 -0
  21. data/lib/virtuozzo/soap/mapping_registries/template.rb +3757 -0
  22. data/lib/virtuozzo/soap/mapping_registries/up2date.rb +3317 -0
  23. data/virtuozzo.gemspec +3 -3
  24. metadata +21 -21
  25. data/lib/virtuozzo/soap/drivers/device/mapping_registry.rb +0 -3653
  26. data/lib/virtuozzo/soap/drivers/environment/mapping_registry.rb +0 -4461
  27. data/lib/virtuozzo/soap/drivers/network/mapping_registry.rb +0 -3116
  28. data/lib/virtuozzo/soap/drivers/process/mapping_registry.rb +0 -3317
  29. data/lib/virtuozzo/soap/drivers/process_info/mapping_registry.rb +0 -2985
  30. data/lib/virtuozzo/soap/drivers/relocator/mapping_registry.rb +0 -3656
  31. data/lib/virtuozzo/soap/drivers/session/mapping_registry.rb +0 -3039
  32. data/lib/virtuozzo/soap/drivers/support/mapping_registry.rb +0 -3232
  33. data/lib/virtuozzo/soap/drivers/template/mapping_registry.rb +0 -3752
  34. data/lib/virtuozzo/soap/drivers/up2date/mapping_registry.rb +0 -3312
@@ -0,0 +1,3044 @@
1
+ require 'virtuozzo/soap/drivers/session/types'
2
+ require 'soap/mapping'
3
+
4
+ module Virtuozzo # :nodoc:
5
+ module SOAP # :nodoc:
6
+ module MappingRegistries # :nodoc:
7
+ # = Session
8
+ #
9
+ module Session
10
+ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
11
+ LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
12
+ NsProtocol = "http://www.swsoft.com/webservices/vzl/4.0.0/protocol"
13
+ NsSessionm = "http://www.swsoft.com/webservices/vzl/4.0.0/sessionm"
14
+ NsSessionm_0 = "http://www.swsoft.com/webservices/vzl/WSDL/4.0.0/sessionm"
15
+ NsTypes = "http://www.swsoft.com/webservices/vzl/4.0.0/types"
16
+ NsXMLSchema = "http://www.w3.org/2001/XMLSchema"
17
+
18
+ EncodedRegistry.register(
19
+ :class => Virtuozzo::SOAP::Drivers::Session::SessionmType,
20
+ :schema_type => XSD::QName.new(NsSessionm, "sessionmType"),
21
+ :schema_basetype => XSD::QName.new(NsProtocol, "operator_functionalType"),
22
+ :schema_element => [ :choice,
23
+ ["configuration", ["Virtuozzo::SOAP::Drivers::Session::ConfigurationType", XSD::QName.new(NsProtocol, "configuration")]],
24
+ ["ok", ["Virtuozzo::SOAP::Drivers::Session::SessionmType::Ok[]", XSD::QName.new(NsProtocol, "ok")]],
25
+ ["error", ["Virtuozzo::SOAP::Drivers::Session::SessionmType::Error[]", XSD::QName.new(NsProtocol, "error")]],
26
+ [
27
+ ["login", "Virtuozzo::SOAP::Drivers::Session::Login[]", [0, 1]],
28
+ ["login_as", "Virtuozzo::SOAP::Drivers::Session::Login_as[]", [0, 1]],
29
+ ["duplicate_session", "Virtuozzo::SOAP::Drivers::Session::Duplicate_session[]", [0, 1]],
30
+ ["logout", "Virtuozzo::SOAP::Drivers::Session::Logout[]", [0, 1]],
31
+ ["verify", "Virtuozzo::SOAP::Drivers::Session::Verify[]", [0, 1]],
32
+ ["put", "Virtuozzo::SOAP::Drivers::Session::Put[]", [0, 1]],
33
+ ["get", "Virtuozzo::SOAP::Drivers::Session::Get[]", [0, 1]],
34
+ ["list_sessions", "Virtuozzo::SOAP::Drivers::Session::List_sessions[]", [0, 1]],
35
+ ["register_client", "Virtuozzo::SOAP::Drivers::Session::Register_client[]", [0, 1]],
36
+ ["count_registered", "Virtuozzo::SOAP::Drivers::Session::Count_registered[]", [0, 1]],
37
+ ["get_session", "Virtuozzo::SOAP::Drivers::Session::Get_session[]", [0, 1]],
38
+ ["update_session", "Virtuozzo::SOAP::Drivers::Session::Update_session[]", [0, 1]]
39
+ ],
40
+ [
41
+ ["session_id", "SOAP::SOAPString[]", [0, nil]],
42
+ ["data", "Virtuozzo::SOAP::Drivers::Session::DataType[]", [0, nil]],
43
+ ["session", "Virtuozzo::SOAP::Drivers::Session::SessionType[]", [0, nil]],
44
+ ["pass", "Virtuozzo::SOAP::Drivers::Session::Auth_nameType[]", [0, 1]],
45
+ ["token", "Virtuozzo::SOAP::Drivers::Session::TokenType[]", [0, 1]],
46
+ ["registered", "Virtuozzo::SOAP::Drivers::Session::Registered[]", [0, 1]]
47
+ ]
48
+ ]
49
+ )
50
+
51
+ EncodedRegistry.register(
52
+ :class => Virtuozzo::SOAP::Drivers::Session::SessionmType::Ok,
53
+ :schema_name => XSD::QName.new(NsProtocol, "ok"),
54
+ :is_anonymous => true,
55
+ :schema_qualified => true,
56
+ :schema_element => []
57
+ )
58
+
59
+ EncodedRegistry.register(
60
+ :class => Virtuozzo::SOAP::Drivers::Session::SessionmType::Error,
61
+ :schema_name => XSD::QName.new(NsProtocol, "error"),
62
+ :is_anonymous => true,
63
+ :schema_qualified => true,
64
+ :schema_element => [
65
+ ["code", "SOAP::SOAPInt"],
66
+ ["message", "SOAP::SOAPString", [0, 1]]
67
+ ]
68
+ )
69
+
70
+ EncodedRegistry.register(
71
+ :class => Virtuozzo::SOAP::Drivers::Session::SessionType,
72
+ :schema_type => XSD::QName.new(NsSessionm, "sessionType"),
73
+ :schema_element => [
74
+ ["id", "SOAP::SOAPString"],
75
+ ["creation", nil],
76
+ ["access", nil],
77
+ ["user", "Virtuozzo::SOAP::Drivers::Session::Auth_nameType"],
78
+ ["expiration", "SOAP::SOAPInt", [0, 1]],
79
+ ["stamp", "SOAP::SOAPString", [0, 1]],
80
+ ["data", "Virtuozzo::SOAP::Drivers::Session::DataType[]", [0, nil]],
81
+ ["token", "Virtuozzo::SOAP::Drivers::Session::TokenType", [0, 1]]
82
+ ]
83
+ )
84
+
85
+ EncodedRegistry.register(
86
+ :class => Virtuozzo::SOAP::Drivers::Session::DataType,
87
+ :schema_type => XSD::QName.new(NsSessionm, "dataType"),
88
+ :schema_element => [
89
+ ["key", "SOAP::SOAPString"],
90
+ ["value", nil]
91
+ ]
92
+ )
93
+
94
+ EncodedRegistry.register(
95
+ :class => Virtuozzo::SOAP::Drivers::Session::Sessionm_configurationType,
96
+ :schema_type => XSD::QName.new(NsSessionm, "sessionm_configurationType"),
97
+ :schema_basetype => XSD::QName.new(NsProtocol, "configurationType"),
98
+ :schema_element => [
99
+ ["session_expiration", "SOAP::SOAPInt"],
100
+ ["persistent_session_expiration", "SOAP::SOAPInt"]
101
+ ]
102
+ )
103
+
104
+ EncodedRegistry.register(
105
+ :class => Virtuozzo::SOAP::Drivers::Session::OsType,
106
+ :schema_type => XSD::QName.new(NsTypes, "osType"),
107
+ :schema_element => [
108
+ ["platform", "SOAP::SOAPString", [0, 1]],
109
+ ["name", "SOAP::SOAPString"],
110
+ ["version", "SOAP::SOAPString", [0, 1]],
111
+ ["kernel", "SOAP::SOAPString", [0, 1]]
112
+ ]
113
+ )
114
+
115
+ EncodedRegistry.register(
116
+ :class => Virtuozzo::SOAP::Drivers::Session::Env_statusType,
117
+ :schema_type => XSD::QName.new(NsTypes, "env_statusType"),
118
+ :schema_element => [
119
+ ["state", "SOAP::SOAPInt", [0, 1]],
120
+ ["transition", "SOAP::SOAPInt", [0, 1]]
121
+ ]
122
+ )
123
+
124
+ EncodedRegistry.register(
125
+ :class => Virtuozzo::SOAP::Drivers::Session::QosType,
126
+ :schema_type => XSD::QName.new(NsTypes, "qosType"),
127
+ :schema_element => [
128
+ ["id", "SOAP::SOAPString"],
129
+ ["soft", "SOAP::SOAPLong", [0, 1]],
130
+ ["hard", "SOAP::SOAPLong", [0, 1]],
131
+ ["cur", "SOAP::SOAPLong", [0, 1]]
132
+ ]
133
+ )
134
+
135
+ EncodedRegistry.register(
136
+ :class => Virtuozzo::SOAP::Drivers::Session::Env_configType,
137
+ :schema_type => XSD::QName.new(NsTypes, "env_configType"),
138
+ :schema_element => [
139
+ ["name", "SOAP::SOAPString", [0, 1]],
140
+ ["description", "SOAP::SOAPBase64", [0, 1]],
141
+ ["domain", "SOAP::SOAPString", [0, 1]],
142
+ ["hostname", "SOAP::SOAPString", [0, 1]],
143
+ ["address", "Virtuozzo::SOAP::Drivers::Session::Ip_addressType[]", [0, nil]],
144
+ ["architecture", "SOAP::SOAPString", [0, 1]],
145
+ ["os", "Virtuozzo::SOAP::Drivers::Session::OsType", [0, 1]],
146
+ ["type", "SOAP::SOAPString", [0, 1]],
147
+ ["nameserver", "SOAP::SOAPString[]", [0, nil]],
148
+ ["search_domain", "SOAP::SOAPString[]", [0, nil]],
149
+ ["base_sample_id", nil, [0, 1]],
150
+ ["base_snapshot_id", nil, [0, 1]],
151
+ ["child_type", "SOAP::SOAPString[]", [0, nil]]
152
+ ]
153
+ )
154
+
155
+ EncodedRegistry.register(
156
+ :class => Virtuozzo::SOAP::Drivers::Session::Venv_configType,
157
+ :schema_type => XSD::QName.new(NsTypes, "venv_configType"),
158
+ :schema_basetype => XSD::QName.new(NsTypes, "env_configType"),
159
+ :schema_element => [
160
+ ["name", "SOAP::SOAPString", [0, 1]],
161
+ ["description", "SOAP::SOAPBase64", [0, 1]],
162
+ ["domain", "SOAP::SOAPString", [0, 1]],
163
+ ["hostname", "SOAP::SOAPString", [0, 1]],
164
+ ["address", "Virtuozzo::SOAP::Drivers::Session::Ip_addressType[]", [0, nil]],
165
+ ["architecture", "SOAP::SOAPString", [0, 1]],
166
+ ["os", "Virtuozzo::SOAP::Drivers::Session::OsType", [0, 1]],
167
+ ["type", "SOAP::SOAPString", [0, 1]],
168
+ ["nameserver", "SOAP::SOAPString[]", [0, nil]],
169
+ ["search_domain", "SOAP::SOAPString[]", [0, nil]],
170
+ ["base_sample_id", nil, [0, 1]],
171
+ ["base_snapshot_id", nil, [0, 1]],
172
+ ["child_type", "SOAP::SOAPString[]", [0, nil]],
173
+ ["qos", "Virtuozzo::SOAP::Drivers::Session::QosType[]", [0, nil]]
174
+ ]
175
+ )
176
+
177
+ EncodedRegistry.register(
178
+ :class => Virtuozzo::SOAP::Drivers::Session::Native_configType,
179
+ :schema_type => XSD::QName.new(NsTypes, "native_configType"),
180
+ :schema_element => []
181
+ )
182
+
183
+ EncodedRegistry.register(
184
+ :class => Virtuozzo::SOAP::Drivers::Session::EnvType,
185
+ :schema_type => XSD::QName.new(NsTypes, "envType"),
186
+ :schema_element => [
187
+ ["parent_eid", nil],
188
+ ["eid", nil],
189
+ ["status", "Virtuozzo::SOAP::Drivers::Session::Env_statusType", [0, 1]],
190
+ ["alert", "SOAP::SOAPInt", [0, 1]],
191
+ ["config", "Virtuozzo::SOAP::Drivers::Session::Env_configType", [0, 1]],
192
+ ["virtual_config", "Virtuozzo::SOAP::Drivers::Session::Venv_configType", [0, 1]]
193
+ ]
194
+ )
195
+
196
+ EncodedRegistry.register(
197
+ :class => Virtuozzo::SOAP::Drivers::Session::ProcessesType,
198
+ :schema_type => XSD::QName.new(NsTypes, "processesType"),
199
+ :schema_element => [
200
+ ["run", "SOAP::SOAPInt"],
201
+ ["zombie", "SOAP::SOAPInt"],
202
+ ["sleep", "SOAP::SOAPInt"],
203
+ ["uninterrupt", "SOAP::SOAPInt"],
204
+ ["stopped", "SOAP::SOAPInt"],
205
+ ["total", "SOAP::SOAPInt"]
206
+ ]
207
+ )
208
+
209
+ EncodedRegistry.register(
210
+ :class => Virtuozzo::SOAP::Drivers::Session::Load_avgType,
211
+ :schema_type => XSD::QName.new(NsTypes, "load_avgType"),
212
+ :schema_element => [
213
+ ["l1", "SOAP::SOAPDouble"],
214
+ ["l2", "SOAP::SOAPDouble", [0, 1]],
215
+ ["l3", "SOAP::SOAPDouble", [0, 1]]
216
+ ]
217
+ )
218
+
219
+ EncodedRegistry.register(
220
+ :class => Virtuozzo::SOAP::Drivers::Session::Cpu_loadType,
221
+ :schema_type => XSD::QName.new(NsTypes, "cpu_loadType"),
222
+ :schema_element => [
223
+ ["system", "SOAP::SOAPLong"],
224
+ ["user", "SOAP::SOAPLong"],
225
+ ["nice", "SOAP::SOAPLong"],
226
+ ["idle", "SOAP::SOAPLong"]
227
+ ]
228
+ )
229
+
230
+ EncodedRegistry.register(
231
+ :class => Virtuozzo::SOAP::Drivers::Session::CpuType,
232
+ :schema_type => XSD::QName.new(NsTypes, "cpuType"),
233
+ :schema_element => [
234
+ ["mhz", "SOAP::SOAPInt"],
235
+ ["name", "SOAP::SOAPString"],
236
+ ["number", "SOAP::SOAPInt"],
237
+ ["cores", "SOAP::SOAPInt"],
238
+ ["hyperthreads", "SOAP::SOAPInt"],
239
+ ["units", "SOAP::SOAPInt"],
240
+ ["family", "SOAP::SOAPString"],
241
+ ["model", "SOAP::SOAPString"],
242
+ ["bogomips", "SOAP::SOAPInt"]
243
+ ]
244
+ )
245
+
246
+ EncodedRegistry.register(
247
+ :class => Virtuozzo::SOAP::Drivers::Session::TransferType,
248
+ :schema_type => XSD::QName.new(NsTypes, "transferType"),
249
+ :schema_element => [
250
+ ["input", "Virtuozzo::SOAP::Drivers::Session::TransferType::Input"],
251
+ ["output", "Virtuozzo::SOAP::Drivers::Session::TransferType::Output"]
252
+ ]
253
+ )
254
+
255
+ EncodedRegistry.register(
256
+ :class => Virtuozzo::SOAP::Drivers::Session::TransferType::Input,
257
+ :schema_name => XSD::QName.new(NsTypes, "input"),
258
+ :is_anonymous => true,
259
+ :schema_qualified => true,
260
+ :schema_element => [
261
+ ["bytes", "SOAP::SOAPLong"],
262
+ ["packets", "SOAP::SOAPLong", [0, 1]]
263
+ ]
264
+ )
265
+
266
+ EncodedRegistry.register(
267
+ :class => Virtuozzo::SOAP::Drivers::Session::TransferType::Output,
268
+ :schema_name => XSD::QName.new(NsTypes, "output"),
269
+ :is_anonymous => true,
270
+ :schema_qualified => true,
271
+ :schema_element => [
272
+ ["bytes", "SOAP::SOAPLong"],
273
+ ["packets", "SOAP::SOAPLong", [0, 1]]
274
+ ]
275
+ )
276
+
277
+ EncodedRegistry.register(
278
+ :class => Virtuozzo::SOAP::Drivers::Session::System_nodeType,
279
+ :schema_type => XSD::QName.new(NsTypes, "system_nodeType"),
280
+ :schema_element => [
281
+ ["address", "Virtuozzo::SOAP::Drivers::Session::System_nodeType::Address"],
282
+ ["login", "Virtuozzo::SOAP::Drivers::Session::System_nodeType::Login", [0, 1]]
283
+ ]
284
+ )
285
+
286
+ EncodedRegistry.register(
287
+ :class => Virtuozzo::SOAP::Drivers::Session::System_nodeType::Address,
288
+ :schema_name => XSD::QName.new(NsTypes, "address"),
289
+ :is_anonymous => true,
290
+ :schema_qualified => true,
291
+ :schema_element => [
292
+ ["ip", nil]
293
+ ]
294
+ )
295
+
296
+ EncodedRegistry.register(
297
+ :class => Virtuozzo::SOAP::Drivers::Session::System_nodeType::Login,
298
+ :schema_name => XSD::QName.new(NsTypes, "login"),
299
+ :is_anonymous => true,
300
+ :schema_qualified => true,
301
+ :schema_element => [
302
+ ["user", "SOAP::SOAPString"],
303
+ ["password", "SOAP::SOAPBase64"]
304
+ ]
305
+ )
306
+
307
+ EncodedRegistry.register(
308
+ :class => Virtuozzo::SOAP::Drivers::Session::ResourceType,
309
+ :schema_type => XSD::QName.new(NsTypes, "resourceType"),
310
+ :schema_element => [
311
+ ["total", "SOAP::SOAPLong", [0, 1]],
312
+ ["used", "SOAP::SOAPLong", [0, 1]],
313
+ ["free", "SOAP::SOAPLong", [0, 1]],
314
+ ["avg", "SOAP::SOAPLong", [0, 1]],
315
+ ["min", "SOAP::SOAPLong", [0, 1]],
316
+ ["max", "SOAP::SOAPLong", [0, 1]]
317
+ ]
318
+ )
319
+
320
+ EncodedRegistry.register(
321
+ :class => Virtuozzo::SOAP::Drivers::Session::IntervalType,
322
+ :schema_type => XSD::QName.new(NsTypes, "intervalType"),
323
+ :schema_element => [
324
+ ["start_time", nil],
325
+ ["end_time", nil]
326
+ ]
327
+ )
328
+
329
+ EncodedRegistry.register(
330
+ :class => Virtuozzo::SOAP::Drivers::Session::StatsType,
331
+ :schema_type => XSD::QName.new(NsTypes, "statsType"),
332
+ :schema_element => [
333
+ ["avg", "SOAP::SOAPLong", [0, 1]],
334
+ ["min", "SOAP::SOAPLong", [0, 1]],
335
+ ["max", "SOAP::SOAPLong", [0, 1]],
336
+ ["total", "SOAP::SOAPLong", [0, 1]],
337
+ ["cur", "SOAP::SOAPLong", [0, 1]],
338
+ ["soft", "SOAP::SOAPLong", [0, 1]],
339
+ ["hard", "SOAP::SOAPLong", [0, 1]]
340
+ ]
341
+ )
342
+
343
+ EncodedRegistry.register(
344
+ :class => Virtuozzo::SOAP::Drivers::Session::Net_addressType,
345
+ :schema_type => XSD::QName.new(NsTypes, "net_addressType"),
346
+ :schema_element => [
347
+ ["host", nil],
348
+ ["mask", nil, [0, 1]]
349
+ ]
350
+ )
351
+
352
+ EncodedRegistry.register(
353
+ :class => Virtuozzo::SOAP::Drivers::Session::Net_classType,
354
+ :schema_type => XSD::QName.new(NsTypes, "net_classType"),
355
+ :schema_element => [
356
+ ["id", "SOAP::SOAPString", [0, 1]],
357
+ ["transfer", "Virtuozzo::SOAP::Drivers::Session::TransferType", [0, 1]]
358
+ ]
359
+ )
360
+
361
+ EncodedRegistry.register(
362
+ :class => Virtuozzo::SOAP::Drivers::Session::Ip_rangeType,
363
+ :schema_type => XSD::QName.new(NsTypes, "ip_rangeType"),
364
+ :schema_element => [
365
+ ["id", "SOAP::SOAPString", [0, 1]],
366
+ ["start_ip", nil, [0, 1]],
367
+ ["subnet_mask", "SOAP::SOAPInt", [0, 1]],
368
+ ["comment", "SOAP::SOAPString", [0, 1]]
369
+ ]
370
+ )
371
+
372
+ EncodedRegistry.register(
373
+ :class => Virtuozzo::SOAP::Drivers::Session::Sample_confType,
374
+ :schema_type => XSD::QName.new(NsTypes, "sample_confType"),
375
+ :schema_element => [
376
+ ["env_config", "Virtuozzo::SOAP::Drivers::Session::Env_configType"],
377
+ ["id", "SOAP::SOAPString", [0, 1]],
378
+ ["name", "SOAP::SOAPString"],
379
+ ["comment", "SOAP::SOAPBase64", [0, 1]],
380
+ ["vt_version", "Virtuozzo::SOAP::Drivers::Session::Sample_confType::Vt_version", [0, 1]]
381
+ ]
382
+ )
383
+
384
+ EncodedRegistry.register(
385
+ :class => Virtuozzo::SOAP::Drivers::Session::Sample_confType::Vt_version,
386
+ :schema_name => XSD::QName.new(NsTypes, "vt_version"),
387
+ :is_anonymous => true,
388
+ :schema_qualified => true,
389
+ :schema_element => [
390
+ ["platform", "SOAP::SOAPString"],
391
+ ["architecture", "SOAP::SOAPString"],
392
+ ["vt_technology", "SOAP::SOAPString"]
393
+ ]
394
+ )
395
+
396
+ EncodedRegistry.register(
397
+ :class => Virtuozzo::SOAP::Drivers::Session::InterfaceType,
398
+ :schema_type => XSD::QName.new(NsTypes, "interfaceType"),
399
+ :schema_element => [
400
+ ["name", "SOAP::SOAPString"],
401
+ ["bandwidth", "SOAP::SOAPInt", [0, 1]],
402
+ ["transfer", "Virtuozzo::SOAP::Drivers::Session::TransferType", [0, 1]],
403
+ ["ipaddress", nil, [0, 1]],
404
+ ["flags", "SOAP::SOAPInt", [0, 1]]
405
+ ]
406
+ )
407
+
408
+ EncodedRegistry.register(
409
+ :class => Virtuozzo::SOAP::Drivers::Session::Sys_infoType,
410
+ :schema_type => XSD::QName.new(NsTypes, "sys_infoType"),
411
+ :schema_element => [
412
+ ["load_avg", "Virtuozzo::SOAP::Drivers::Session::Load_avgType"],
413
+ ["processes", "Virtuozzo::SOAP::Drivers::Session::ProcessesType"],
414
+ ["cpu_load", "Virtuozzo::SOAP::Drivers::Session::Cpu_loadType"],
415
+ ["cpu_states", "Virtuozzo::SOAP::Drivers::Session::Cpu_loadType"],
416
+ ["users", "SOAP::SOAPInt"],
417
+ ["uptime", "SOAP::SOAPLong"],
418
+ ["memory", "Virtuozzo::SOAP::Drivers::Session::Sys_infoType::Memory", [0, 1]],
419
+ ["swap", "Virtuozzo::SOAP::Drivers::Session::Sys_infoType::Swap", [0, 1]]
420
+ ]
421
+ )
422
+
423
+ EncodedRegistry.register(
424
+ :class => Virtuozzo::SOAP::Drivers::Session::Sys_infoType::Memory,
425
+ :schema_name => XSD::QName.new(NsTypes, "memory"),
426
+ :is_anonymous => true,
427
+ :schema_qualified => true,
428
+ :schema_element => [
429
+ ["total", "SOAP::SOAPLong", [0, 1]],
430
+ ["used", "SOAP::SOAPLong"]
431
+ ]
432
+ )
433
+
434
+ EncodedRegistry.register(
435
+ :class => Virtuozzo::SOAP::Drivers::Session::Sys_infoType::Swap,
436
+ :schema_name => XSD::QName.new(NsTypes, "swap"),
437
+ :is_anonymous => true,
438
+ :schema_qualified => true,
439
+ :schema_element => [
440
+ ["total", "SOAP::SOAPLong", [0, 1]],
441
+ ["used", "SOAP::SOAPLong"]
442
+ ]
443
+ )
444
+
445
+ EncodedRegistry.register(
446
+ :class => Virtuozzo::SOAP::Drivers::Session::Ps_infoType,
447
+ :schema_type => XSD::QName.new(NsTypes, "ps_infoType"),
448
+ :schema_element => [
449
+ ["process", "Virtuozzo::SOAP::Drivers::Session::Ps_infoType::C_Process[]", [1, nil]],
450
+ ["param_id", "SOAP::SOAPString[]", [1, nil]],
451
+ ["run", "SOAP::SOAPInt"],
452
+ ["idle", "SOAP::SOAPInt"],
453
+ ["zombie", "SOAP::SOAPInt"],
454
+ ["sleep", "SOAP::SOAPInt"],
455
+ ["uninterrupt", "SOAP::SOAPInt"],
456
+ ["stopped", "SOAP::SOAPInt"],
457
+ ["total", "SOAP::SOAPInt"]
458
+ ]
459
+ )
460
+
461
+ EncodedRegistry.register(
462
+ :class => Virtuozzo::SOAP::Drivers::Session::Ps_infoType::C_Process,
463
+ :schema_name => XSD::QName.new(NsTypes, "process"),
464
+ :is_anonymous => true,
465
+ :schema_qualified => true,
466
+ :schema_element => [
467
+ ["pid", "SOAP::SOAPInt"],
468
+ ["param", "SOAP::SOAPBase64[]", [0, nil]]
469
+ ]
470
+ )
471
+
472
+ EncodedRegistry.register(
473
+ :class => Virtuozzo::SOAP::Drivers::Session::Load_avg_statsType,
474
+ :schema_type => XSD::QName.new(NsTypes, "load_avg_statsType"),
475
+ :schema_element => [
476
+ ["l1", "Virtuozzo::SOAP::Drivers::Session::Load_avg_statsType::L1"],
477
+ ["l2", "Virtuozzo::SOAP::Drivers::Session::Load_avg_statsType::L2", [0, 1]],
478
+ ["l3", "Virtuozzo::SOAP::Drivers::Session::Load_avg_statsType::L3", [0, 1]]
479
+ ]
480
+ )
481
+
482
+ EncodedRegistry.register(
483
+ :class => Virtuozzo::SOAP::Drivers::Session::Load_avg_statsType::L1,
484
+ :schema_name => XSD::QName.new(NsTypes, "l1"),
485
+ :is_anonymous => true,
486
+ :schema_qualified => true,
487
+ :schema_element => [
488
+ ["avg", "SOAP::SOAPLong", [0, 1]],
489
+ ["min", "SOAP::SOAPLong", [0, 1]],
490
+ ["max", "SOAP::SOAPLong", [0, 1]],
491
+ ["cur", "SOAP::SOAPLong", [0, 1]]
492
+ ]
493
+ )
494
+
495
+ EncodedRegistry.register(
496
+ :class => Virtuozzo::SOAP::Drivers::Session::Load_avg_statsType::L2,
497
+ :schema_name => XSD::QName.new(NsTypes, "l2"),
498
+ :is_anonymous => true,
499
+ :schema_qualified => true,
500
+ :schema_element => [
501
+ ["avg", "SOAP::SOAPLong", [0, 1]],
502
+ ["min", "SOAP::SOAPLong", [0, 1]],
503
+ ["max", "SOAP::SOAPLong", [0, 1]],
504
+ ["cur", "SOAP::SOAPLong", [0, 1]]
505
+ ]
506
+ )
507
+
508
+ EncodedRegistry.register(
509
+ :class => Virtuozzo::SOAP::Drivers::Session::Load_avg_statsType::L3,
510
+ :schema_name => XSD::QName.new(NsTypes, "l3"),
511
+ :is_anonymous => true,
512
+ :schema_qualified => true,
513
+ :schema_element => [
514
+ ["avg", "SOAP::SOAPLong", [0, 1]],
515
+ ["min", "SOAP::SOAPLong", [0, 1]],
516
+ ["max", "SOAP::SOAPLong", [0, 1]],
517
+ ["cur", "SOAP::SOAPLong", [0, 1]]
518
+ ]
519
+ )
520
+
521
+ EncodedRegistry.register(
522
+ :class => Virtuozzo::SOAP::Drivers::Session::Alert_dataType,
523
+ :schema_type => XSD::QName.new(NsTypes, "alert_dataType"),
524
+ :schema_basetype => XSD::QName.new(NsTypes, "event_dataType"),
525
+ :schema_element => [
526
+ ["type", "SOAP::SOAPInt"]
527
+ ]
528
+ )
529
+
530
+ EncodedRegistry.register(
531
+ :class => Virtuozzo::SOAP::Drivers::Session::Ip_addressType,
532
+ :schema_type => XSD::QName.new(NsTypes, "ip_addressType"),
533
+ :schema_element => [
534
+ ["ip", nil],
535
+ ["netmask", nil, [0, 1]]
536
+ ]
537
+ )
538
+
539
+ EncodedRegistry.register(
540
+ :class => Virtuozzo::SOAP::Drivers::Session::Env_resourceType,
541
+ :schema_type => XSD::QName.new(NsTypes, "env_resourceType"),
542
+ :schema_element => [
543
+ ["eid", nil],
544
+ ["ip_pool", "Virtuozzo::SOAP::Drivers::Session::Ip_poolType", [0, 1]]
545
+ ]
546
+ )
547
+
548
+ EncodedRegistry.register(
549
+ :class => Virtuozzo::SOAP::Drivers::Session::Ip_poolType,
550
+ :schema_type => XSD::QName.new(NsTypes, "ip_poolType"),
551
+ :schema_element => [ :choice,
552
+ ["ip_range", "Virtuozzo::SOAP::Drivers::Session::Ip_poolType::Ip_range[]"],
553
+ ["ip", "[]"]
554
+ ]
555
+ )
556
+
557
+ EncodedRegistry.register(
558
+ :class => Virtuozzo::SOAP::Drivers::Session::Ip_poolType::Ip_range,
559
+ :schema_name => XSD::QName.new(NsTypes, "ip_range"),
560
+ :is_anonymous => true,
561
+ :schema_qualified => true,
562
+ :schema_element => [
563
+ ["start_ip", nil],
564
+ ["end_ip", nil]
565
+ ]
566
+ )
567
+
568
+ EncodedRegistry.register(
569
+ :class => Virtuozzo::SOAP::Drivers::Session::UsageType,
570
+ :schema_type => XSD::QName.new(NsTypes, "usageType"),
571
+ :schema_element => [
572
+ ["total", "SOAP::SOAPLong", [0, 1]],
573
+ ["used", "SOAP::SOAPLong", [0, 1]],
574
+ ["free", "SOAP::SOAPLong", [0, 1]]
575
+ ]
576
+ )
577
+
578
+ EncodedRegistry.register(
579
+ :class => Virtuozzo::SOAP::Drivers::Session::Root_credentialType,
580
+ :schema_type => XSD::QName.new(NsTypes, "root_credentialType"),
581
+ :schema_basetype => XSD::QName.new(NsTypes, "credentialType"),
582
+ :schema_element => [
583
+ ["id", "SOAP::SOAPString"],
584
+ ["policy", "SOAP::SOAPInt", [0, 1]],
585
+ ["description", "SOAP::SOAPBase64", [0, 1]],
586
+ ["cred", "Virtuozzo::SOAP::Drivers::Session::CredentialType[]", [0, nil]],
587
+ ["objects", "Virtuozzo::SOAP::Drivers::Session::Root_credentialType::Objects", [0, 1]]
588
+ ]
589
+ )
590
+
591
+ EncodedRegistry.register(
592
+ :class => Virtuozzo::SOAP::Drivers::Session::Root_credentialType::Objects,
593
+ :schema_name => XSD::QName.new(NsTypes, "objects"),
594
+ :is_anonymous => true,
595
+ :schema_qualified => true,
596
+ :schema_element => [
597
+ ["eid", "SOAP::SOAPString[]", [0, nil]]
598
+ ]
599
+ )
600
+
601
+ EncodedRegistry.register(
602
+ :class => Virtuozzo::SOAP::Drivers::Session::CredentialType,
603
+ :schema_type => XSD::QName.new(NsTypes, "credentialType"),
604
+ :schema_element => [
605
+ ["id", "SOAP::SOAPString"],
606
+ ["policy", "SOAP::SOAPInt", [0, 1]],
607
+ ["description", "SOAP::SOAPBase64", [0, 1]],
608
+ ["cred", "Virtuozzo::SOAP::Drivers::Session::CredentialType[]", [0, nil]]
609
+ ]
610
+ )
611
+
612
+ EncodedRegistry.register(
613
+ :class => Virtuozzo::SOAP::Drivers::Session::TokenType,
614
+ :schema_type => XSD::QName.new(NsTypes, "tokenType"),
615
+ :schema_element => [
616
+ ["user", nil],
617
+ ["groups", "Virtuozzo::SOAP::Drivers::Session::TokenType::Groups", [0, 1]],
618
+ ["deny_only_sids", "Virtuozzo::SOAP::Drivers::Session::TokenType::Deny_only_sids", [0, 1]],
619
+ ["privileges", "Virtuozzo::SOAP::Drivers::Session::TokenType::Privileges", [0, 1]],
620
+ ["source", "Virtuozzo::SOAP::Drivers::Session::TokenType::Source", [0, 1]]
621
+ ]
622
+ )
623
+
624
+ EncodedRegistry.register(
625
+ :class => Virtuozzo::SOAP::Drivers::Session::TokenType::Groups,
626
+ :schema_name => XSD::QName.new(NsTypes, "groups"),
627
+ :is_anonymous => true,
628
+ :schema_qualified => true,
629
+ :schema_element => [
630
+ ["sid", "[]", [1, nil]]
631
+ ]
632
+ )
633
+
634
+ EncodedRegistry.register(
635
+ :class => Virtuozzo::SOAP::Drivers::Session::TokenType::Deny_only_sids,
636
+ :schema_name => XSD::QName.new(NsTypes, "deny_only_sids"),
637
+ :is_anonymous => true,
638
+ :schema_qualified => true,
639
+ :schema_element => [
640
+ ["sid", "[]", [0, nil]]
641
+ ]
642
+ )
643
+
644
+ EncodedRegistry.register(
645
+ :class => Virtuozzo::SOAP::Drivers::Session::TokenType::Privileges,
646
+ :schema_name => XSD::QName.new(NsTypes, "privileges"),
647
+ :is_anonymous => true,
648
+ :schema_qualified => true,
649
+ :schema_element => [
650
+ ["privilege", "[]", [0, nil]]
651
+ ]
652
+ )
653
+
654
+ EncodedRegistry.register(
655
+ :class => Virtuozzo::SOAP::Drivers::Session::TokenType::Source,
656
+ :schema_name => XSD::QName.new(NsTypes, "source"),
657
+ :is_anonymous => true,
658
+ :schema_qualified => true,
659
+ :schema_element => [
660
+ ["name", "SOAP::SOAPString"],
661
+ ["id", nil]
662
+ ]
663
+ )
664
+
665
+ EncodedRegistry.register(
666
+ :class => Virtuozzo::SOAP::Drivers::Session::Connectivity_infoType,
667
+ :schema_type => XSD::QName.new(NsTypes, "connectivity_infoType"),
668
+ :schema_element => [
669
+ ["protocol", "SOAP::SOAPString", [0, 1]],
670
+ ["address", "SOAP::SOAPString"],
671
+ ["port", "SOAP::SOAPUnsignedInt", [0, 1]]
672
+ ]
673
+ )
674
+
675
+ EncodedRegistry.register(
676
+ :class => Virtuozzo::SOAP::Drivers::Session::Auth_nameType,
677
+ :schema_type => XSD::QName.new(NsTypes, "auth_nameType"),
678
+ :schema_element => [
679
+ ["name", "SOAP::SOAPBase64", [0, 1]],
680
+ ["domain", "SOAP::SOAPBase64", [0, 1]],
681
+ ["realm", nil]
682
+ ]
683
+ )
684
+
685
+ EncodedRegistry.register(
686
+ :class => Virtuozzo::SOAP::Drivers::Session::Connection_infoType,
687
+ :schema_type => XSD::QName.new(NsTypes, "connection_infoType"),
688
+ :schema_basetype => XSD::QName.new(NsTypes, "connectivity_infoType"),
689
+ :schema_element => [
690
+ ["protocol", "SOAP::SOAPString", [0, 1]],
691
+ ["address", "SOAP::SOAPString"],
692
+ ["port", "SOAP::SOAPUnsignedInt", [0, 1]],
693
+ ["login", "Virtuozzo::SOAP::Drivers::Session::Auth_nameType", [0, 1]],
694
+ ["password", "SOAP::SOAPBase64", [0, 1]]
695
+ ]
696
+ )
697
+
698
+ EncodedRegistry.register(
699
+ :class => Virtuozzo::SOAP::Drivers::Session::Eid_listType,
700
+ :schema_type => XSD::QName.new(NsTypes, "eid_listType"),
701
+ :schema_element => [
702
+ ["eid", "[]", [0, nil]]
703
+ ]
704
+ )
705
+
706
+ EncodedRegistry.register(
707
+ :class => Virtuozzo::SOAP::Drivers::Session::Vt_infoType,
708
+ :schema_type => XSD::QName.new(NsTypes, "vt_infoType"),
709
+ :schema_element => [
710
+ ["any", [nil, XSD::QName.new(NsXMLSchema, "anyType")]]
711
+ ]
712
+ )
713
+
714
+ EncodedRegistry.register(
715
+ :class => Virtuozzo::SOAP::Drivers::Session::Vt_settingsType,
716
+ :schema_type => XSD::QName.new(NsTypes, "vt_settingsType"),
717
+ :schema_element => [
718
+ ["default_sample_id", nil, [0, 1]]
719
+ ]
720
+ )
721
+
722
+ EncodedRegistry.register(
723
+ :class => Virtuozzo::SOAP::Drivers::Session::UserType,
724
+ :schema_type => XSD::QName.new(NsTypes, "userType"),
725
+ :schema_element => [
726
+ ["initial_group", "Virtuozzo::SOAP::Drivers::Session::UserType::Initial_group", [0, 1]],
727
+ ["group", "Virtuozzo::SOAP::Drivers::Session::UserType::Group[]", [0, nil]],
728
+ ["uid", "SOAP::SOAPInt", [0, 1]],
729
+ ["shell", "SOAP::SOAPString", [0, 1]],
730
+ ["password", "SOAP::SOAPBase64", [0, 1]],
731
+ ["home_dir", "SOAP::SOAPString", [0, 1]],
732
+ ["name", "SOAP::SOAPString", [0, 1]],
733
+ ["comment", "SOAP::SOAPString", [0, 1]]
734
+ ]
735
+ )
736
+
737
+ EncodedRegistry.register(
738
+ :class => Virtuozzo::SOAP::Drivers::Session::UserType::Initial_group,
739
+ :schema_name => XSD::QName.new(NsTypes, "initial_group"),
740
+ :is_anonymous => true,
741
+ :schema_qualified => true,
742
+ :schema_element => [
743
+ ["name", "SOAP::SOAPString", [0, 1]],
744
+ ["gid", "SOAP::SOAPInt", [0, 1]]
745
+ ]
746
+ )
747
+
748
+ EncodedRegistry.register(
749
+ :class => Virtuozzo::SOAP::Drivers::Session::UserType::Group,
750
+ :schema_name => XSD::QName.new(NsTypes, "group"),
751
+ :is_anonymous => true,
752
+ :schema_qualified => true,
753
+ :schema_element => [
754
+ ["name", "SOAP::SOAPString", [0, 1]],
755
+ ["gid", "SOAP::SOAPInt", [0, 1]]
756
+ ]
757
+ )
758
+
759
+ EncodedRegistry.register(
760
+ :class => Virtuozzo::SOAP::Drivers::Session::GroupType,
761
+ :schema_type => XSD::QName.new(NsTypes, "groupType"),
762
+ :schema_element => [
763
+ ["user", "Virtuozzo::SOAP::Drivers::Session::GroupType::User[]", [0, nil]],
764
+ ["member_group", "Virtuozzo::SOAP::Drivers::Session::GroupType::Member_group[]", [0, nil]],
765
+ ["name", "SOAP::SOAPString", [0, 1]],
766
+ ["gid", "SOAP::SOAPInt", [0, 1]]
767
+ ]
768
+ )
769
+
770
+ EncodedRegistry.register(
771
+ :class => Virtuozzo::SOAP::Drivers::Session::GroupType::User,
772
+ :schema_name => XSD::QName.new(NsTypes, "user"),
773
+ :is_anonymous => true,
774
+ :schema_qualified => true,
775
+ :schema_element => [
776
+ ["name", "SOAP::SOAPString"]
777
+ ]
778
+ )
779
+
780
+ EncodedRegistry.register(
781
+ :class => Virtuozzo::SOAP::Drivers::Session::GroupType::Member_group,
782
+ :schema_name => XSD::QName.new(NsTypes, "member_group"),
783
+ :is_anonymous => true,
784
+ :schema_qualified => true,
785
+ :schema_element => [
786
+ ["name", "SOAP::SOAPString", [0, 1]]
787
+ ]
788
+ )
789
+
790
+ EncodedRegistry.register(
791
+ :class => Virtuozzo::SOAP::Drivers::Session::PackageType,
792
+ :schema_type => XSD::QName.new(NsTypes, "packageType"),
793
+ :schema_element => [
794
+ ["name", "SOAP::SOAPString"],
795
+ ["summary", "SOAP::SOAPString", [0, 1]],
796
+ ["os", "Virtuozzo::SOAP::Drivers::Session::OsType", [0, 1]],
797
+ ["description", "SOAP::SOAPString", [0, 1]],
798
+ ["arch", "SOAP::SOAPString", [0, 1]],
799
+ ["version", "SOAP::SOAPString", [0, 1]]
800
+ ]
801
+ )
802
+
803
+ EncodedRegistry.register(
804
+ :class => Virtuozzo::SOAP::Drivers::Session::Event_dataType,
805
+ :schema_type => XSD::QName.new(NsTypes, "event_dataType"),
806
+ :schema_element => []
807
+ )
808
+
809
+ EncodedRegistry.register(
810
+ :class => Virtuozzo::SOAP::Drivers::Session::Named_listType,
811
+ :schema_type => XSD::QName.new(NsTypes, "named_listType"),
812
+ :schema_element => [
813
+ ["name", "SOAP::SOAPString"],
814
+ ["value", "SOAP::SOAPBase64[]", [0, nil]]
815
+ ]
816
+ )
817
+
818
+ EncodedRegistry.register(
819
+ :class => Virtuozzo::SOAP::Drivers::Session::ModType,
820
+ :schema_type => XSD::QName.new(NsTypes, "modType"),
821
+ :schema_basetype => XSD::QName.new(NsTypes, "named_listType"),
822
+ :schema_element => [
823
+ ["name", "SOAP::SOAPString"],
824
+ ["value", "SOAP::SOAPBase64[]", [0, nil]],
825
+ ["op", "SOAP::SOAPInt", [0, 1]]
826
+ ]
827
+ )
828
+
829
+ EncodedRegistry.register(
830
+ :class => Virtuozzo::SOAP::Drivers::Session::RealmType,
831
+ :schema_type => XSD::QName.new(NsTypes, "realmType"),
832
+ :schema_element => [
833
+ ["id", nil, [0, 1]],
834
+ ["type", "SOAP::SOAPInt"],
835
+ ["name", "SOAP::SOAPString"],
836
+ ["builtin", nil, [0, 1]]
837
+ ]
838
+ )
839
+
840
+ EncodedRegistry.register(
841
+ :class => Virtuozzo::SOAP::Drivers::Session::EventType,
842
+ :schema_type => XSD::QName.new(NsTypes, "eventType"),
843
+ :schema_element => [
844
+ ["eid", nil],
845
+ ["time", nil],
846
+ ["source", "SOAP::SOAPString"],
847
+ ["category", "SOAP::SOAPString"],
848
+ ["sid", nil, [0, 1]],
849
+ ["count", "SOAP::SOAPInt"],
850
+ ["id", nil],
851
+ ["info", "Virtuozzo::SOAP::Drivers::Session::InfoType"],
852
+ ["data", "Virtuozzo::SOAP::Drivers::Session::EventType::C_Data", [0, 1]]
853
+ ]
854
+ )
855
+
856
+ EncodedRegistry.register(
857
+ :class => Virtuozzo::SOAP::Drivers::Session::EventType::C_Data,
858
+ :schema_name => XSD::QName.new(NsTypes, "data"),
859
+ :is_anonymous => true,
860
+ :schema_qualified => true,
861
+ :schema_element => [
862
+ ["event_data", "Virtuozzo::SOAP::Drivers::Session::Event_dataType"]
863
+ ]
864
+ )
865
+
866
+ EncodedRegistry.register(
867
+ :class => Virtuozzo::SOAP::Drivers::Session::InfoType,
868
+ :schema_type => XSD::QName.new(NsTypes, "infoType"),
869
+ :schema_element => [
870
+ ["message", "SOAP::SOAPBase64"],
871
+ ["translate", nil, [0, 1]],
872
+ ["parameter", "Virtuozzo::SOAP::Drivers::Session::InfoType[]", [0, nil]],
873
+ ["name", "SOAP::SOAPString"]
874
+ ]
875
+ )
876
+
877
+ EncodedRegistry.register(
878
+ :class => Virtuozzo::SOAP::Drivers::Session::AceType,
879
+ :schema_type => XSD::QName.new(NsTypes, "aceType"),
880
+ :schema_element => [
881
+ ["type", "SOAP::SOAPInt"],
882
+ ["sid", nil],
883
+ ["rights", "SOAP::SOAPBase64"]
884
+ ]
885
+ )
886
+
887
+ EncodedRegistry.register(
888
+ :class => Virtuozzo::SOAP::Drivers::Session::Security_descriptorType,
889
+ :schema_type => XSD::QName.new(NsTypes, "security_descriptorType"),
890
+ :schema_element => [
891
+ ["owner", nil],
892
+ ["group", nil],
893
+ ["dacl", "Virtuozzo::SOAP::Drivers::Session::Security_descriptorType::Dacl", [0, 1]]
894
+ ]
895
+ )
896
+
897
+ EncodedRegistry.register(
898
+ :class => Virtuozzo::SOAP::Drivers::Session::Security_descriptorType::Dacl,
899
+ :schema_name => XSD::QName.new(NsTypes, "dacl"),
900
+ :is_anonymous => true,
901
+ :schema_qualified => true,
902
+ :schema_element => [
903
+ ["ace", "Virtuozzo::SOAP::Drivers::Session::AceType[]", [0, nil]]
904
+ ]
905
+ )
906
+
907
+ EncodedRegistry.register(
908
+ :class => Virtuozzo::SOAP::Drivers::Session::Env_security_objectType,
909
+ :schema_type => XSD::QName.new(NsTypes, "env_security_objectType"),
910
+ :schema_basetype => XSD::QName.new(NsTypes, "security_objectType"),
911
+ :schema_element => [
912
+ ["eid", nil]
913
+ ]
914
+ )
915
+
916
+ EncodedRegistry.register(
917
+ :class => Virtuozzo::SOAP::Drivers::Session::Net_deviceType,
918
+ :schema_type => XSD::QName.new(NsTypes, "net_deviceType"),
919
+ :schema_element => [
920
+ ["id", "SOAP::SOAPString", [0, 1]],
921
+ ["ip_address", "Virtuozzo::SOAP::Drivers::Session::Ip_addressType[]", [0, nil]],
922
+ ["dhcp", nil, [0, 1]],
923
+ ["network_id", "SOAP::SOAPBase64", [0, 1]],
924
+ ["status", "Virtuozzo::SOAP::Drivers::Session::Net_deviceType::Status", [0, 1]]
925
+ ]
926
+ )
927
+
928
+ EncodedRegistry.register(
929
+ :class => Virtuozzo::SOAP::Drivers::Session::Net_deviceType::Status,
930
+ :schema_name => XSD::QName.new(NsTypes, "status"),
931
+ :is_anonymous => true,
932
+ :schema_qualified => true,
933
+ :schema_element => [ :choice,
934
+ ["up", nil],
935
+ ["down", nil]
936
+ ]
937
+ )
938
+
939
+ EncodedRegistry.register(
940
+ :class => Virtuozzo::SOAP::Drivers::Session::Voc_parameterType,
941
+ :schema_type => XSD::QName.new(NsTypes, "voc_parameterType"),
942
+ :schema_element => [
943
+ ["id", "SOAP::SOAPString"],
944
+ ["type", "SOAP::SOAPString", [0, 1]],
945
+ ["min", "SOAP::SOAPString", [0, 1]],
946
+ ["max", "SOAP::SOAPString", [0, 1]],
947
+ ["long", "SOAP::SOAPString", [0, 1]],
948
+ ["short", "SOAP::SOAPString", [0, 1]],
949
+ ["category", "SOAP::SOAPString[]", [0, nil]],
950
+ ["complex", "SOAP::SOAPString", [0, 1]],
951
+ ["default", "SOAP::SOAPString", [0, 1]],
952
+ ["measure", "SOAP::SOAPString", [0, 1]],
953
+ ["data", nil, [0, 1]],
954
+ ["name", nil, [0, 1]]
955
+ ]
956
+ )
957
+
958
+ EncodedRegistry.register(
959
+ :class => Virtuozzo::SOAP::Drivers::Session::VocabularyType,
960
+ :schema_type => XSD::QName.new(NsTypes, "vocabularyType"),
961
+ :schema_element => [
962
+ ["name", "SOAP::SOAPString"],
963
+ ["parameter", "Virtuozzo::SOAP::Drivers::Session::Voc_parameterType[]", [0, nil]],
964
+ ["category", "Virtuozzo::SOAP::Drivers::Session::Voc_parameterType[]", [0, nil]]
965
+ ]
966
+ )
967
+
968
+ EncodedRegistry.register(
969
+ :class => Virtuozzo::SOAP::Drivers::Session::Net_nicType,
970
+ :schema_type => XSD::QName.new(NsTypes, "net_nicType"),
971
+ :schema_basetype => XSD::QName.new(NsTypes, "net_deviceType"),
972
+ :schema_element => [
973
+ ["id", "SOAP::SOAPString", [0, 1]],
974
+ ["ip_address", "Virtuozzo::SOAP::Drivers::Session::Ip_addressType[]", [0, nil]],
975
+ ["dhcp", nil, [0, 1]],
976
+ ["network_id", "SOAP::SOAPBase64", [0, 1]],
977
+ ["status", "Virtuozzo::SOAP::Drivers::Session::Net_nicType::Status", [0, 1]],
978
+ ["mac_address", "SOAP::SOAPString", [0, 1]]
979
+ ]
980
+ )
981
+
982
+ EncodedRegistry.register(
983
+ :class => Virtuozzo::SOAP::Drivers::Session::Net_nicType::Status,
984
+ :schema_name => XSD::QName.new(NsTypes, "status"),
985
+ :is_anonymous => true,
986
+ :schema_qualified => true,
987
+ :schema_element => [ :choice,
988
+ ["up", nil],
989
+ ["down", nil]
990
+ ]
991
+ )
992
+
993
+ EncodedRegistry.register(
994
+ :class => Virtuozzo::SOAP::Drivers::Session::Perf_statType,
995
+ :schema_type => XSD::QName.new(NsTypes, "perf_statType"),
996
+ :schema_element => [
997
+ ["cur", "SOAP::SOAPAnySimpleType"],
998
+ ["avg", "SOAP::SOAPAnySimpleType"],
999
+ ["max", "SOAP::SOAPAnySimpleType"],
1000
+ ["min", "SOAP::SOAPAnySimpleType"]
1001
+ ]
1002
+ )
1003
+
1004
+ EncodedRegistry.register(
1005
+ :class => Virtuozzo::SOAP::Drivers::Session::Perf_dataType,
1006
+ :schema_type => XSD::QName.new(NsTypes, "perf_dataType"),
1007
+ :schema_element => [
1008
+ ["eid", nil],
1009
+ ["v_class", ["Virtuozzo::SOAP::Drivers::Session::Perf_dataType::C_Class[]", XSD::QName.new(NsTypes, "class")], [0, nil]],
1010
+ ["interval", "Virtuozzo::SOAP::Drivers::Session::IntervalType"]
1011
+ ]
1012
+ )
1013
+
1014
+ EncodedRegistry.register(
1015
+ :class => Virtuozzo::SOAP::Drivers::Session::Perf_dataType::C_Class::Instance::Counter,
1016
+ :schema_name => XSD::QName.new(NsTypes, "counter"),
1017
+ :is_anonymous => true,
1018
+ :schema_qualified => true,
1019
+ :schema_element => [
1020
+ ["name", "SOAP::SOAPString"],
1021
+ ["value", "Virtuozzo::SOAP::Drivers::Session::Perf_statType"]
1022
+ ]
1023
+ )
1024
+
1025
+ EncodedRegistry.register(
1026
+ :class => Virtuozzo::SOAP::Drivers::Session::Perf_dataType::C_Class::Instance,
1027
+ :schema_name => XSD::QName.new(NsTypes, "instance"),
1028
+ :is_anonymous => true,
1029
+ :schema_qualified => true,
1030
+ :schema_element => [
1031
+ ["name", "SOAP::SOAPString", [0, 1]],
1032
+ ["counter", "Virtuozzo::SOAP::Drivers::Session::Perf_dataType::C_Class::Instance::Counter[]", [1, nil]]
1033
+ ]
1034
+ )
1035
+
1036
+ EncodedRegistry.register(
1037
+ :class => Virtuozzo::SOAP::Drivers::Session::Perf_dataType::C_Class,
1038
+ :schema_name => XSD::QName.new(NsTypes, "class"),
1039
+ :is_anonymous => true,
1040
+ :schema_qualified => true,
1041
+ :schema_element => [
1042
+ ["name", "SOAP::SOAPString"],
1043
+ ["instance", "Virtuozzo::SOAP::Drivers::Session::Perf_dataType::C_Class::Instance[]", [1, nil]]
1044
+ ]
1045
+ )
1046
+
1047
+ EncodedRegistry.register(
1048
+ :class => Virtuozzo::SOAP::Drivers::Session::Log_options_baseType,
1049
+ :schema_type => XSD::QName.new(NsTypes, "log_options_baseType"),
1050
+ :schema_element => []
1051
+ )
1052
+
1053
+ EncodedRegistry.register(
1054
+ :class => Virtuozzo::SOAP::Drivers::Session::Log_optionsType,
1055
+ :schema_type => XSD::QName.new(NsTypes, "log_optionsType"),
1056
+ :schema_basetype => XSD::QName.new(NsTypes, "log_options_baseType"),
1057
+ :schema_element => []
1058
+ )
1059
+
1060
+ EncodedRegistry.register(
1061
+ :class => Virtuozzo::SOAP::Drivers::Session::Packet_headerType,
1062
+ :schema_type => XSD::QName.new(NsProtocol, "packet_headerType"),
1063
+ :schema_element => [
1064
+ ["auth", "Virtuozzo::SOAP::Drivers::Session::AuthType", [0, 1]],
1065
+ ["cookie", "SOAP::SOAPString", [0, 1]],
1066
+ ["target", "SOAP::SOAPString[]", [0, nil]],
1067
+ ["origin", "SOAP::SOAPString", [0, 1]],
1068
+ ["src", "Virtuozzo::SOAP::Drivers::Session::RouteType", [0, 1]],
1069
+ ["dst", "Virtuozzo::SOAP::Drivers::Session::RouteType", [0, 1]],
1070
+ ["session", "SOAP::SOAPString", [0, 1]]
1071
+ ],
1072
+ :schema_attribute => {
1073
+ XSD::QName.new(nil, "version") => "SOAP::SOAPString",
1074
+ XSD::QName.new(nil, "id") => "SOAP::SOAPString",
1075
+ XSD::QName.new(nil, "priority") => "SOAP::SOAPString",
1076
+ XSD::QName.new(nil, "time") => "SOAP::SOAPString",
1077
+ XSD::QName.new(nil, "progress") => "SOAP::SOAPString",
1078
+ XSD::QName.new(nil, "log") => "SOAP::SOAPString",
1079
+ XSD::QName.new(nil, "type") => "SOAP::SOAPInt",
1080
+ XSD::QName.new(nil, "timeout") => "SOAP::SOAPInt",
1081
+ XSD::QName.new(nil, "timeout_limit") => "SOAP::SOAPInt",
1082
+ XSD::QName.new(nil, "uid") => "SOAP::SOAPInt"
1083
+ }
1084
+ )
1085
+
1086
+ EncodedRegistry.register(
1087
+ :class => Virtuozzo::SOAP::Drivers::Session::OperatorType,
1088
+ :schema_type => XSD::QName.new(NsProtocol, "operatorType"),
1089
+ :schema_element => [ :choice,
1090
+ ["configuration", "Virtuozzo::SOAP::Drivers::Session::ConfigurationType"]
1091
+ ]
1092
+ )
1093
+
1094
+ EncodedRegistry.register(
1095
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_functionalType,
1096
+ :schema_type => XSD::QName.new(NsProtocol, "operator_functionalType"),
1097
+ :schema_basetype => XSD::QName.new(NsProtocol, "operatorType"),
1098
+ :schema_element => [ :choice,
1099
+ ["configuration", "Virtuozzo::SOAP::Drivers::Session::ConfigurationType"],
1100
+ ["ok", "Virtuozzo::SOAP::Drivers::Session::Operator_functionalType::Ok[]"],
1101
+ ["error", "Virtuozzo::SOAP::Drivers::Session::Operator_functionalType::Error[]"]
1102
+ ]
1103
+ )
1104
+
1105
+ EncodedRegistry.register(
1106
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_functionalType::Ok,
1107
+ :schema_name => XSD::QName.new(NsProtocol, "ok"),
1108
+ :is_anonymous => true,
1109
+ :schema_qualified => true,
1110
+ :schema_element => []
1111
+ )
1112
+
1113
+ EncodedRegistry.register(
1114
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_functionalType::Error,
1115
+ :schema_name => XSD::QName.new(NsProtocol, "error"),
1116
+ :is_anonymous => true,
1117
+ :schema_qualified => true,
1118
+ :schema_element => [
1119
+ ["code", "SOAP::SOAPInt"],
1120
+ ["message", "SOAP::SOAPString", [0, 1]]
1121
+ ]
1122
+ )
1123
+
1124
+ EncodedRegistry.register(
1125
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_periodicType,
1126
+ :schema_type => XSD::QName.new(NsProtocol, "operator_periodicType"),
1127
+ :schema_basetype => XSD::QName.new(NsProtocol, "operator_functionalType"),
1128
+ :schema_element => [ :choice,
1129
+ ["configuration", "Virtuozzo::SOAP::Drivers::Session::ConfigurationType"],
1130
+ ["ok", "Virtuozzo::SOAP::Drivers::Session::Operator_periodicType::Ok[]"],
1131
+ ["error", "Virtuozzo::SOAP::Drivers::Session::Operator_periodicType::Error[]"],
1132
+ [ :choice,
1133
+ ["start_monitor", "Virtuozzo::SOAP::Drivers::Session::Start_monitorType"],
1134
+ ["stop_monitor", "Virtuozzo::SOAP::Drivers::Session::Stop_monitorType"],
1135
+ ["set_period", "Virtuozzo::SOAP::Drivers::Session::Set_periodType", [0, 1]],
1136
+ ["report", nil, [0, 1]]
1137
+ ]
1138
+ ]
1139
+ )
1140
+
1141
+ EncodedRegistry.register(
1142
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_periodicType::Ok,
1143
+ :schema_name => XSD::QName.new(NsProtocol, "ok"),
1144
+ :is_anonymous => true,
1145
+ :schema_qualified => true,
1146
+ :schema_element => []
1147
+ )
1148
+
1149
+ EncodedRegistry.register(
1150
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_periodicType::Error,
1151
+ :schema_name => XSD::QName.new(NsProtocol, "error"),
1152
+ :is_anonymous => true,
1153
+ :schema_qualified => true,
1154
+ :schema_element => [
1155
+ ["code", "SOAP::SOAPInt"],
1156
+ ["message", "SOAP::SOAPString", [0, 1]]
1157
+ ]
1158
+ )
1159
+
1160
+ EncodedRegistry.register(
1161
+ :class => Virtuozzo::SOAP::Drivers::Session::Set_periodType,
1162
+ :schema_type => XSD::QName.new(NsProtocol, "set_periodType"),
1163
+ :schema_element => [
1164
+ ["collect", "SOAP::SOAPInt"],
1165
+ ["log", "SOAP::SOAPInt"],
1166
+ ["report", "SOAP::SOAPInt"]
1167
+ ]
1168
+ )
1169
+
1170
+ EncodedRegistry.register(
1171
+ :class => Virtuozzo::SOAP::Drivers::Session::Start_monitorType,
1172
+ :schema_type => XSD::QName.new(NsProtocol, "start_monitorType"),
1173
+ :schema_element => [
1174
+ ["period", "SOAP::SOAPInt"],
1175
+ ["any", [nil, XSD::QName.new(NsXMLSchema, "anyType")]]
1176
+ ]
1177
+ )
1178
+
1179
+ EncodedRegistry.register(
1180
+ :class => Virtuozzo::SOAP::Drivers::Session::Stop_monitorType,
1181
+ :schema_type => XSD::QName.new(NsProtocol, "stop_monitorType"),
1182
+ :schema_element => [
1183
+ ["any", [nil, XSD::QName.new(NsXMLSchema, "anyType")]]
1184
+ ]
1185
+ )
1186
+
1187
+ EncodedRegistry.register(
1188
+ :class => Virtuozzo::SOAP::Drivers::Session::AuthType,
1189
+ :schema_type => XSD::QName.new(NsProtocol, "authType"),
1190
+ :schema_element => [
1191
+ ["any", [nil, XSD::QName.new(NsXMLSchema, "anyType")]]
1192
+ ]
1193
+ )
1194
+
1195
+ EncodedRegistry.register(
1196
+ :class => Virtuozzo::SOAP::Drivers::Session::Event_configurationType,
1197
+ :schema_type => XSD::QName.new(NsProtocol, "event_configurationType"),
1198
+ :schema_basetype => XSD::QName.new(NsProtocol, "configurationType"),
1199
+ :schema_element => [
1200
+ ["period", "SOAP::SOAPInt"]
1201
+ ]
1202
+ )
1203
+
1204
+ EncodedRegistry.register(
1205
+ :class => Virtuozzo::SOAP::Drivers::Session::Periodic_configurationType,
1206
+ :schema_type => XSD::QName.new(NsProtocol, "periodic_configurationType"),
1207
+ :schema_basetype => XSD::QName.new(NsProtocol, "configurationType"),
1208
+ :schema_element => [
1209
+ ["log_priority", "SOAP::SOAPInt"],
1210
+ ["monitor_priority", "SOAP::SOAPInt"],
1211
+ ["min_monitor_period", "SOAP::SOAPInt"],
1212
+ ["min_monitor_period_root", "SOAP::SOAPInt"]
1213
+ ]
1214
+ )
1215
+
1216
+ EncodedRegistry.register(
1217
+ :class => Virtuozzo::SOAP::Drivers::Session::RouteType,
1218
+ :schema_type => XSD::QName.new(NsProtocol, "routeType"),
1219
+ :schema_element => [
1220
+ ["director", "SOAP::SOAPString", [0, 1]],
1221
+ ["host", "SOAP::SOAPString", [0, 1]],
1222
+ ["index", "SOAP::SOAPString", [0, 1]],
1223
+ ["target", "SOAP::SOAPString", [0, 1]]
1224
+ ]
1225
+ )
1226
+
1227
+ EncodedRegistry.register(
1228
+ :class => Virtuozzo::SOAP::Drivers::Session::DataType_,
1229
+ :schema_type => XSD::QName.new(NsProtocol, "dataType"),
1230
+ :schema_element => [
1231
+ ["operator", "Virtuozzo::SOAP::Drivers::Session::OperatorType[]"]
1232
+ ]
1233
+ )
1234
+
1235
+ EncodedRegistry.register(
1236
+ :class => Virtuozzo::SOAP::Drivers::Session::ConfigurationType,
1237
+ :schema_type => XSD::QName.new(NsProtocol, "configurationType"),
1238
+ :schema_element => []
1239
+ )
1240
+
1241
+ EncodedRegistry.register(
1242
+ :class => Virtuozzo::SOAP::Drivers::Session::Transport_type,
1243
+ :schema_type => XSD::QName.new(NsTypes, "transport_type")
1244
+ )
1245
+
1246
+ EncodedRegistry.register(
1247
+ :class => Virtuozzo::SOAP::Drivers::Session::Yes_no_type,
1248
+ :schema_type => XSD::QName.new(NsTypes, "yes_no_type")
1249
+ )
1250
+
1251
+ LiteralRegistry.register(
1252
+ :class => Virtuozzo::SOAP::Drivers::Session::SessionmType,
1253
+ :schema_type => XSD::QName.new(NsSessionm, "sessionmType"),
1254
+ :schema_basetype => XSD::QName.new(NsProtocol, "operator_functionalType"),
1255
+ :schema_element => [ :choice,
1256
+ ["configuration", ["Virtuozzo::SOAP::Drivers::Session::ConfigurationType", XSD::QName.new(NsProtocol, "configuration")]],
1257
+ ["ok", ["Virtuozzo::SOAP::Drivers::Session::SessionmType::Ok[]", XSD::QName.new(NsProtocol, "ok")]],
1258
+ ["error", ["Virtuozzo::SOAP::Drivers::Session::SessionmType::Error[]", XSD::QName.new(NsProtocol, "error")]],
1259
+ [
1260
+ ["login", "Virtuozzo::SOAP::Drivers::Session::Login[]", [0, 1]],
1261
+ ["login_as", "Virtuozzo::SOAP::Drivers::Session::Login_as[]", [0, 1]],
1262
+ ["duplicate_session", "Virtuozzo::SOAP::Drivers::Session::Duplicate_session[]", [0, 1]],
1263
+ ["logout", "Virtuozzo::SOAP::Drivers::Session::Logout[]", [0, 1]],
1264
+ ["verify", "Virtuozzo::SOAP::Drivers::Session::Verify[]", [0, 1]],
1265
+ ["put", "Virtuozzo::SOAP::Drivers::Session::Put[]", [0, 1]],
1266
+ ["get", "Virtuozzo::SOAP::Drivers::Session::Get[]", [0, 1]],
1267
+ ["list_sessions", "Virtuozzo::SOAP::Drivers::Session::List_sessions[]", [0, 1]],
1268
+ ["register_client", "Virtuozzo::SOAP::Drivers::Session::Register_client[]", [0, 1]],
1269
+ ["count_registered", "Virtuozzo::SOAP::Drivers::Session::Count_registered[]", [0, 1]],
1270
+ ["get_session", "Virtuozzo::SOAP::Drivers::Session::Get_session[]", [0, 1]],
1271
+ ["update_session", "Virtuozzo::SOAP::Drivers::Session::Update_session[]", [0, 1]]
1272
+ ],
1273
+ [
1274
+ ["session_id", "SOAP::SOAPString[]", [0, nil]],
1275
+ ["data", "Virtuozzo::SOAP::Drivers::Session::DataType[]", [0, nil]],
1276
+ ["session", "Virtuozzo::SOAP::Drivers::Session::SessionType[]", [0, nil]],
1277
+ ["pass", "Virtuozzo::SOAP::Drivers::Session::Auth_nameType[]", [0, 1]],
1278
+ ["token", "Virtuozzo::SOAP::Drivers::Session::TokenType[]", [0, 1]],
1279
+ ["registered", "Virtuozzo::SOAP::Drivers::Session::Registered[]", [0, 1]]
1280
+ ]
1281
+ ]
1282
+ )
1283
+
1284
+ LiteralRegistry.register(
1285
+ :class => Virtuozzo::SOAP::Drivers::Session::SessionmType::Ok,
1286
+ :schema_name => XSD::QName.new(NsProtocol, "ok"),
1287
+ :is_anonymous => true,
1288
+ :schema_qualified => true,
1289
+ :schema_element => []
1290
+ )
1291
+
1292
+ LiteralRegistry.register(
1293
+ :class => Virtuozzo::SOAP::Drivers::Session::SessionmType::Error,
1294
+ :schema_name => XSD::QName.new(NsProtocol, "error"),
1295
+ :is_anonymous => true,
1296
+ :schema_qualified => true,
1297
+ :schema_element => [
1298
+ ["code", "SOAP::SOAPInt"],
1299
+ ["message", "SOAP::SOAPString", [0, 1]]
1300
+ ]
1301
+ )
1302
+
1303
+ LiteralRegistry.register(
1304
+ :class => Virtuozzo::SOAP::Drivers::Session::SessionType,
1305
+ :schema_type => XSD::QName.new(NsSessionm, "sessionType"),
1306
+ :schema_element => [
1307
+ ["id", "SOAP::SOAPString"],
1308
+ ["creation", nil],
1309
+ ["access", nil],
1310
+ ["user", "Virtuozzo::SOAP::Drivers::Session::Auth_nameType"],
1311
+ ["expiration", "SOAP::SOAPInt", [0, 1]],
1312
+ ["stamp", "SOAP::SOAPString", [0, 1]],
1313
+ ["data", "Virtuozzo::SOAP::Drivers::Session::DataType[]", [0, nil]],
1314
+ ["token", "Virtuozzo::SOAP::Drivers::Session::TokenType", [0, 1]]
1315
+ ]
1316
+ )
1317
+
1318
+ LiteralRegistry.register(
1319
+ :class => Virtuozzo::SOAP::Drivers::Session::DataType,
1320
+ :schema_type => XSD::QName.new(NsSessionm, "dataType"),
1321
+ :schema_element => [
1322
+ ["key", "SOAP::SOAPString"],
1323
+ ["value", nil]
1324
+ ]
1325
+ )
1326
+
1327
+ LiteralRegistry.register(
1328
+ :class => Virtuozzo::SOAP::Drivers::Session::Sessionm_configurationType,
1329
+ :schema_type => XSD::QName.new(NsSessionm, "sessionm_configurationType"),
1330
+ :schema_basetype => XSD::QName.new(NsProtocol, "configurationType"),
1331
+ :schema_element => [
1332
+ ["session_expiration", "SOAP::SOAPInt"],
1333
+ ["persistent_session_expiration", "SOAP::SOAPInt"]
1334
+ ]
1335
+ )
1336
+
1337
+ LiteralRegistry.register(
1338
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::Ip_addressType[]", [0, nil]],
1377
+ ["architecture", "SOAP::SOAPString", [0, 1]],
1378
+ ["os", "Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::Ip_addressType[]", [0, nil]],
1398
+ ["architecture", "SOAP::SOAPString", [0, 1]],
1399
+ ["os", "Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::QosType[]", [0, nil]]
1407
+ ]
1408
+ )
1409
+
1410
+ LiteralRegistry.register(
1411
+ :class => Virtuozzo::SOAP::Drivers::Session::Native_configType,
1412
+ :schema_type => XSD::QName.new(NsTypes, "native_configType"),
1413
+ :schema_element => []
1414
+ )
1415
+
1416
+ LiteralRegistry.register(
1417
+ :class => Virtuozzo::SOAP::Drivers::Session::EnvType,
1418
+ :schema_type => XSD::QName.new(NsTypes, "envType"),
1419
+ :schema_element => [
1420
+ ["parent_eid", nil],
1421
+ ["eid", nil],
1422
+ ["status", "Virtuozzo::SOAP::Drivers::Session::Env_statusType", [0, 1]],
1423
+ ["alert", "SOAP::SOAPInt", [0, 1]],
1424
+ ["config", "Virtuozzo::SOAP::Drivers::Session::Env_configType", [0, 1]],
1425
+ ["virtual_config", "Virtuozzo::SOAP::Drivers::Session::Venv_configType", [0, 1]]
1426
+ ]
1427
+ )
1428
+
1429
+ LiteralRegistry.register(
1430
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::TransferType,
1481
+ :schema_type => XSD::QName.new(NsTypes, "transferType"),
1482
+ :schema_element => [
1483
+ ["input", "Virtuozzo::SOAP::Drivers::Session::TransferType::Input"],
1484
+ ["output", "Virtuozzo::SOAP::Drivers::Session::TransferType::Output"]
1485
+ ]
1486
+ )
1487
+
1488
+ LiteralRegistry.register(
1489
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::System_nodeType,
1512
+ :schema_type => XSD::QName.new(NsTypes, "system_nodeType"),
1513
+ :schema_element => [
1514
+ ["address", "Virtuozzo::SOAP::Drivers::Session::System_nodeType::Address"],
1515
+ ["login", "Virtuozzo::SOAP::Drivers::Session::System_nodeType::Login", [0, 1]]
1516
+ ]
1517
+ )
1518
+
1519
+ LiteralRegistry.register(
1520
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::Net_classType,
1587
+ :schema_type => XSD::QName.new(NsTypes, "net_classType"),
1588
+ :schema_element => [
1589
+ ["id", "SOAP::SOAPString", [0, 1]],
1590
+ ["transfer", "Virtuozzo::SOAP::Drivers::Session::TransferType", [0, 1]]
1591
+ ]
1592
+ )
1593
+
1594
+ LiteralRegistry.register(
1595
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::Sample_confType,
1607
+ :schema_type => XSD::QName.new(NsTypes, "sample_confType"),
1608
+ :schema_element => [
1609
+ ["env_config", "Virtuozzo::SOAP::Drivers::Session::Env_configType"],
1610
+ ["id", "SOAP::SOAPString", [0, 1]],
1611
+ ["name", "SOAP::SOAPString"],
1612
+ ["comment", "SOAP::SOAPBase64", [0, 1]],
1613
+ ["vt_version", "Virtuozzo::SOAP::Drivers::Session::Sample_confType::Vt_version", [0, 1]]
1614
+ ]
1615
+ )
1616
+
1617
+ LiteralRegistry.register(
1618
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::TransferType", [0, 1]],
1636
+ ["ipaddress", nil, [0, 1]],
1637
+ ["flags", "SOAP::SOAPInt", [0, 1]]
1638
+ ]
1639
+ )
1640
+
1641
+ LiteralRegistry.register(
1642
+ :class => Virtuozzo::SOAP::Drivers::Session::Sys_infoType,
1643
+ :schema_type => XSD::QName.new(NsTypes, "sys_infoType"),
1644
+ :schema_element => [
1645
+ ["load_avg", "Virtuozzo::SOAP::Drivers::Session::Load_avgType"],
1646
+ ["processes", "Virtuozzo::SOAP::Drivers::Session::ProcessesType"],
1647
+ ["cpu_load", "Virtuozzo::SOAP::Drivers::Session::Cpu_loadType"],
1648
+ ["cpu_states", "Virtuozzo::SOAP::Drivers::Session::Cpu_loadType"],
1649
+ ["users", "SOAP::SOAPInt"],
1650
+ ["uptime", "SOAP::SOAPLong"],
1651
+ ["memory", "Virtuozzo::SOAP::Drivers::Session::Sys_infoType::Memory", [0, 1]],
1652
+ ["swap", "Virtuozzo::SOAP::Drivers::Session::Sys_infoType::Swap", [0, 1]]
1653
+ ]
1654
+ )
1655
+
1656
+ LiteralRegistry.register(
1657
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::Ps_infoType,
1680
+ :schema_type => XSD::QName.new(NsTypes, "ps_infoType"),
1681
+ :schema_element => [
1682
+ ["process", "Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::Load_avg_statsType,
1707
+ :schema_type => XSD::QName.new(NsTypes, "load_avg_statsType"),
1708
+ :schema_element => [
1709
+ ["l1", "Virtuozzo::SOAP::Drivers::Session::Load_avg_statsType::L1"],
1710
+ ["l2", "Virtuozzo::SOAP::Drivers::Session::Load_avg_statsType::L2", [0, 1]],
1711
+ ["l3", "Virtuozzo::SOAP::Drivers::Session::Load_avg_statsType::L3", [0, 1]]
1712
+ ]
1713
+ )
1714
+
1715
+ LiteralRegistry.register(
1716
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::Env_resourceType,
1774
+ :schema_type => XSD::QName.new(NsTypes, "env_resourceType"),
1775
+ :schema_element => [
1776
+ ["eid", nil],
1777
+ ["ip_pool", "Virtuozzo::SOAP::Drivers::Session::Ip_poolType", [0, 1]]
1778
+ ]
1779
+ )
1780
+
1781
+ LiteralRegistry.register(
1782
+ :class => Virtuozzo::SOAP::Drivers::Session::Ip_poolType,
1783
+ :schema_type => XSD::QName.new(NsTypes, "ip_poolType"),
1784
+ :schema_element => [ :choice,
1785
+ ["ip_range", "Virtuozzo::SOAP::Drivers::Session::Ip_poolType::Ip_range[]"],
1786
+ ["ip", "[]"]
1787
+ ]
1788
+ )
1789
+
1790
+ LiteralRegistry.register(
1791
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::CredentialType[]", [0, nil]],
1820
+ ["objects", "Virtuozzo::SOAP::Drivers::Session::Root_credentialType::Objects", [0, 1]]
1821
+ ]
1822
+ )
1823
+
1824
+ LiteralRegistry.register(
1825
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::CredentialType[]", [0, nil]]
1842
+ ]
1843
+ )
1844
+
1845
+ LiteralRegistry.register(
1846
+ :class => Virtuozzo::SOAP::Drivers::Session::TokenType,
1847
+ :schema_type => XSD::QName.new(NsTypes, "tokenType"),
1848
+ :schema_element => [
1849
+ ["user", nil],
1850
+ ["groups", "Virtuozzo::SOAP::Drivers::Session::TokenType::Groups", [0, 1]],
1851
+ ["deny_only_sids", "Virtuozzo::SOAP::Drivers::Session::TokenType::Deny_only_sids", [0, 1]],
1852
+ ["privileges", "Virtuozzo::SOAP::Drivers::Session::TokenType::Privileges", [0, 1]],
1853
+ ["source", "Virtuozzo::SOAP::Drivers::Session::TokenType::Source", [0, 1]]
1854
+ ]
1855
+ )
1856
+
1857
+ LiteralRegistry.register(
1858
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::Auth_nameType", [0, 1]],
1927
+ ["password", "SOAP::SOAPBase64", [0, 1]]
1928
+ ]
1929
+ )
1930
+
1931
+ LiteralRegistry.register(
1932
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::UserType,
1957
+ :schema_type => XSD::QName.new(NsTypes, "userType"),
1958
+ :schema_element => [
1959
+ ["initial_group", "Virtuozzo::SOAP::Drivers::Session::UserType::Initial_group", [0, 1]],
1960
+ ["group", "Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::GroupType,
1994
+ :schema_type => XSD::QName.new(NsTypes, "groupType"),
1995
+ :schema_element => [
1996
+ ["user", "Virtuozzo::SOAP::Drivers::Session::GroupType::User[]", [0, nil]],
1997
+ ["member_group", "Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::Event_dataType,
2038
+ :schema_type => XSD::QName.new(NsTypes, "event_dataType"),
2039
+ :schema_element => []
2040
+ )
2041
+
2042
+ LiteralRegistry.register(
2043
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::InfoType"],
2085
+ ["data", "Virtuozzo::SOAP::Drivers::Session::EventType::C_Data", [0, 1]]
2086
+ ]
2087
+ )
2088
+
2089
+ LiteralRegistry.register(
2090
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::Event_dataType"]
2096
+ ]
2097
+ )
2098
+
2099
+ LiteralRegistry.register(
2100
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::InfoType[]", [0, nil]],
2106
+ ["name", "SOAP::SOAPString"]
2107
+ ]
2108
+ )
2109
+
2110
+ LiteralRegistry.register(
2111
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::Security_descriptorType,
2122
+ :schema_type => XSD::QName.new(NsTypes, "security_descriptorType"),
2123
+ :schema_element => [
2124
+ ["owner", nil],
2125
+ ["group", nil],
2126
+ ["dacl", "Virtuozzo::SOAP::Drivers::Session::Security_descriptorType::Dacl", [0, 1]]
2127
+ ]
2128
+ )
2129
+
2130
+ LiteralRegistry.register(
2131
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::AceType[]", [0, nil]]
2137
+ ]
2138
+ )
2139
+
2140
+ LiteralRegistry.register(
2141
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::Ip_addressType[]", [0, nil]],
2155
+ ["dhcp", nil, [0, 1]],
2156
+ ["network_id", "SOAP::SOAPBase64", [0, 1]],
2157
+ ["status", "Virtuozzo::SOAP::Drivers::Session::Net_deviceType::Status", [0, 1]]
2158
+ ]
2159
+ )
2160
+
2161
+ LiteralRegistry.register(
2162
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::VocabularyType,
2193
+ :schema_type => XSD::QName.new(NsTypes, "vocabularyType"),
2194
+ :schema_element => [
2195
+ ["name", "SOAP::SOAPString"],
2196
+ ["parameter", "Virtuozzo::SOAP::Drivers::Session::Voc_parameterType[]", [0, nil]],
2197
+ ["category", "Virtuozzo::SOAP::Drivers::Session::Voc_parameterType[]", [0, nil]]
2198
+ ]
2199
+ )
2200
+
2201
+ LiteralRegistry.register(
2202
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::Ip_addressType[]", [0, nil]],
2208
+ ["dhcp", nil, [0, 1]],
2209
+ ["network_id", "SOAP::SOAPBase64", [0, 1]],
2210
+ ["status", "Virtuozzo::SOAP::Drivers::Session::Net_nicType::Status", [0, 1]],
2211
+ ["mac_address", "SOAP::SOAPString", [0, 1]]
2212
+ ]
2213
+ )
2214
+
2215
+ LiteralRegistry.register(
2216
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::Perf_dataType,
2239
+ :schema_type => XSD::QName.new(NsTypes, "perf_dataType"),
2240
+ :schema_element => [
2241
+ ["eid", nil],
2242
+ ["v_class", ["Virtuozzo::SOAP::Drivers::Session::Perf_dataType::C_Class[]", XSD::QName.new(NsTypes, "class")], [0, nil]],
2243
+ ["interval", "Virtuozzo::SOAP::Drivers::Session::IntervalType"]
2244
+ ]
2245
+ )
2246
+
2247
+ LiteralRegistry.register(
2248
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::Perf_statType"]
2255
+ ]
2256
+ )
2257
+
2258
+ LiteralRegistry.register(
2259
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::Perf_dataType::C_Class::Instance::Counter[]", [1, nil]]
2266
+ ]
2267
+ )
2268
+
2269
+ LiteralRegistry.register(
2270
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::Perf_dataType::C_Class::Instance[]", [1, nil]]
2277
+ ]
2278
+ )
2279
+
2280
+ LiteralRegistry.register(
2281
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::Packet_headerType,
2295
+ :schema_type => XSD::QName.new(NsProtocol, "packet_headerType"),
2296
+ :schema_element => [
2297
+ ["auth", "Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::RouteType", [0, 1]],
2302
+ ["dst", "Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::OperatorType,
2321
+ :schema_type => XSD::QName.new(NsProtocol, "operatorType"),
2322
+ :schema_element => [ :choice,
2323
+ ["configuration", "Virtuozzo::SOAP::Drivers::Session::ConfigurationType"]
2324
+ ]
2325
+ )
2326
+
2327
+ LiteralRegistry.register(
2328
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::ConfigurationType"],
2333
+ ["ok", "Virtuozzo::SOAP::Drivers::Session::Operator_functionalType::Ok[]"],
2334
+ ["error", "Virtuozzo::SOAP::Drivers::Session::Operator_functionalType::Error[]"]
2335
+ ]
2336
+ )
2337
+
2338
+ LiteralRegistry.register(
2339
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::ConfigurationType"],
2363
+ ["ok", "Virtuozzo::SOAP::Drivers::Session::Operator_periodicType::Ok[]"],
2364
+ ["error", "Virtuozzo::SOAP::Drivers::Session::Operator_periodicType::Error[]"],
2365
+ [ :choice,
2366
+ ["start_monitor", "Virtuozzo::SOAP::Drivers::Session::Start_monitorType"],
2367
+ ["stop_monitor", "Virtuozzo::SOAP::Drivers::Session::Stop_monitorType"],
2368
+ ["set_period", "Virtuozzo::SOAP::Drivers::Session::Set_periodType", [0, 1]],
2369
+ ["report", nil, [0, 1]]
2370
+ ]
2371
+ ]
2372
+ )
2373
+
2374
+ LiteralRegistry.register(
2375
+ :class => Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::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::Drivers::Session::DataType_,
2462
+ :schema_type => XSD::QName.new(NsProtocol, "dataType"),
2463
+ :schema_element => [
2464
+ ["operator", "Virtuozzo::SOAP::Drivers::Session::OperatorType[]"]
2465
+ ]
2466
+ )
2467
+
2468
+ LiteralRegistry.register(
2469
+ :class => Virtuozzo::SOAP::Drivers::Session::ConfigurationType,
2470
+ :schema_type => XSD::QName.new(NsProtocol, "configurationType"),
2471
+ :schema_element => []
2472
+ )
2473
+
2474
+ LiteralRegistry.register(
2475
+ :class => Virtuozzo::SOAP::Drivers::Session::Transport_type,
2476
+ :schema_type => XSD::QName.new(NsTypes, "transport_type")
2477
+ )
2478
+
2479
+ LiteralRegistry.register(
2480
+ :class => Virtuozzo::SOAP::Drivers::Session::Yes_no_type,
2481
+ :schema_type => XSD::QName.new(NsTypes, "yes_no_type")
2482
+ )
2483
+
2484
+ LiteralRegistry.register(
2485
+ :class => Virtuozzo::SOAP::Drivers::Session::Packet_headerType,
2486
+ :schema_name => XSD::QName.new(NsSessionm_0, "packet_header"),
2487
+ :schema_element => [
2488
+ ["auth", "Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::RouteType", [0, 1]],
2493
+ ["dst", "Virtuozzo::SOAP::Drivers::Session::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::Drivers::Session::SessionmType,
2512
+ :schema_name => XSD::QName.new(NsSessionm, "sessionm"),
2513
+ :schema_element => [ :choice,
2514
+ ["configuration", ["Virtuozzo::SOAP::Drivers::Session::ConfigurationType", XSD::QName.new(NsProtocol, "configuration")]],
2515
+ ["ok", ["Virtuozzo::SOAP::Drivers::Session::SessionmType::Ok[]", XSD::QName.new(NsProtocol, "ok")]],
2516
+ ["error", ["Virtuozzo::SOAP::Drivers::Session::SessionmType::Error[]", XSD::QName.new(NsProtocol, "error")]],
2517
+ [
2518
+ ["login", "Virtuozzo::SOAP::Drivers::Session::Login[]", [0, 1]],
2519
+ ["login_as", "Virtuozzo::SOAP::Drivers::Session::Login_as[]", [0, 1]],
2520
+ ["duplicate_session", "Virtuozzo::SOAP::Drivers::Session::Duplicate_session[]", [0, 1]],
2521
+ ["logout", "Virtuozzo::SOAP::Drivers::Session::Logout[]", [0, 1]],
2522
+ ["verify", "Virtuozzo::SOAP::Drivers::Session::Verify[]", [0, 1]],
2523
+ ["put", "Virtuozzo::SOAP::Drivers::Session::Put[]", [0, 1]],
2524
+ ["get", "Virtuozzo::SOAP::Drivers::Session::Get[]", [0, 1]],
2525
+ ["list_sessions", "Virtuozzo::SOAP::Drivers::Session::List_sessions[]", [0, 1]],
2526
+ ["register_client", "Virtuozzo::SOAP::Drivers::Session::Register_client[]", [0, 1]],
2527
+ ["count_registered", "Virtuozzo::SOAP::Drivers::Session::Count_registered[]", [0, 1]],
2528
+ ["get_session", "Virtuozzo::SOAP::Drivers::Session::Get_session[]", [0, 1]],
2529
+ ["update_session", "Virtuozzo::SOAP::Drivers::Session::Update_session[]", [0, 1]]
2530
+ ],
2531
+ [
2532
+ ["session_id", "SOAP::SOAPString[]", [0, nil]],
2533
+ ["data", "Virtuozzo::SOAP::Drivers::Session::DataType[]", [0, nil]],
2534
+ ["session", "Virtuozzo::SOAP::Drivers::Session::SessionType[]", [0, nil]],
2535
+ ["pass", "Virtuozzo::SOAP::Drivers::Session::Auth_nameType[]", [0, 1]],
2536
+ ["token", "Virtuozzo::SOAP::Drivers::Session::TokenType[]", [0, 1]],
2537
+ ["registered", "Virtuozzo::SOAP::Drivers::Session::Registered[]", [0, 1]]
2538
+ ]
2539
+ ]
2540
+ )
2541
+
2542
+ LiteralRegistry.register(
2543
+ :class => Virtuozzo::SOAP::Drivers::Session::SessionmType::Ok,
2544
+ :schema_name => XSD::QName.new(NsProtocol, "ok"),
2545
+ :is_anonymous => true,
2546
+ :schema_qualified => true,
2547
+ :schema_element => []
2548
+ )
2549
+
2550
+ LiteralRegistry.register(
2551
+ :class => Virtuozzo::SOAP::Drivers::Session::SessionmType::Error,
2552
+ :schema_name => XSD::QName.new(NsProtocol, "error"),
2553
+ :is_anonymous => true,
2554
+ :schema_qualified => true,
2555
+ :schema_element => [
2556
+ ["code", "SOAP::SOAPInt"],
2557
+ ["message", "SOAP::SOAPString", [0, 1]]
2558
+ ]
2559
+ )
2560
+
2561
+ LiteralRegistry.register(
2562
+ :class => Virtuozzo::SOAP::Drivers::Session::Login,
2563
+ :schema_name => XSD::QName.new(NsSessionm, "login"),
2564
+ :schema_element => [
2565
+ ["name", ["SOAP::SOAPBase64", XSD::QName.new(NsTypes, "name")], [0, 1]],
2566
+ ["domain", ["SOAP::SOAPBase64", XSD::QName.new(NsTypes, "domain")], [0, 1]],
2567
+ ["realm", [nil, XSD::QName.new(NsTypes, "realm")]],
2568
+ ["password", "SOAP::SOAPBase64", [0, 1]],
2569
+ ["expiration", "SOAP::SOAPInt", [0, 1]]
2570
+ ]
2571
+ )
2572
+
2573
+ LiteralRegistry.register(
2574
+ :class => Virtuozzo::SOAP::Drivers::Session::Login_as,
2575
+ :schema_name => XSD::QName.new(NsSessionm, "login_as"),
2576
+ :schema_element => [
2577
+ ["sid", nil]
2578
+ ]
2579
+ )
2580
+
2581
+ LiteralRegistry.register(
2582
+ :class => Virtuozzo::SOAP::Drivers::Session::Duplicate_session,
2583
+ :schema_name => XSD::QName.new(NsSessionm, "duplicate_session"),
2584
+ :schema_element => [
2585
+ ["session_id", "SOAP::SOAPString", [0, 1]],
2586
+ [
2587
+ ["expiration", "SOAP::SOAPInt"],
2588
+ ["eid", nil]
2589
+ ]
2590
+ ]
2591
+ )
2592
+
2593
+ LiteralRegistry.register(
2594
+ :class => Virtuozzo::SOAP::Drivers::Session::Logout,
2595
+ :schema_name => XSD::QName.new(NsSessionm, "logout"),
2596
+ :schema_element => [
2597
+ ["session_id", "SOAP::SOAPString"]
2598
+ ]
2599
+ )
2600
+
2601
+ LiteralRegistry.register(
2602
+ :class => Virtuozzo::SOAP::Drivers::Session::Verify,
2603
+ :schema_name => XSD::QName.new(NsSessionm, "verify"),
2604
+ :schema_element => [
2605
+ ["session_id", "SOAP::SOAPString"]
2606
+ ]
2607
+ )
2608
+
2609
+ LiteralRegistry.register(
2610
+ :class => Virtuozzo::SOAP::Drivers::Session::Put,
2611
+ :schema_name => XSD::QName.new(NsSessionm, "put"),
2612
+ :schema_element => [
2613
+ ["session_id", "SOAP::SOAPString"],
2614
+ ["data", "Virtuozzo::SOAP::Drivers::Session::Put::C_Data[]", [1, nil]]
2615
+ ]
2616
+ )
2617
+
2618
+ LiteralRegistry.register(
2619
+ :class => Virtuozzo::SOAP::Drivers::Session::Put::C_Data,
2620
+ :schema_name => XSD::QName.new(NsSessionm, "data"),
2621
+ :is_anonymous => true,
2622
+ :schema_qualified => true,
2623
+ :schema_element => [
2624
+ ["key", "SOAP::SOAPString"],
2625
+ ["value", nil, [0, 1]]
2626
+ ]
2627
+ )
2628
+
2629
+ LiteralRegistry.register(
2630
+ :class => Virtuozzo::SOAP::Drivers::Session::Get,
2631
+ :schema_name => XSD::QName.new(NsSessionm, "get"),
2632
+ :schema_element => [
2633
+ ["session_id", "SOAP::SOAPString"],
2634
+ ["key", "SOAP::SOAPString[]", [0, nil]]
2635
+ ]
2636
+ )
2637
+
2638
+ LiteralRegistry.register(
2639
+ :class => Virtuozzo::SOAP::Drivers::Session::Register_client,
2640
+ :schema_name => XSD::QName.new(NsSessionm, "register_client"),
2641
+ :schema_element => [
2642
+ ["id", "SOAP::SOAPString"],
2643
+ ["session_id", "SOAP::SOAPString"]
2644
+ ]
2645
+ )
2646
+
2647
+ LiteralRegistry.register(
2648
+ :class => Virtuozzo::SOAP::Drivers::Session::Count_registered,
2649
+ :schema_name => XSD::QName.new(NsSessionm, "count_registered"),
2650
+ :schema_element => [
2651
+ ["id", "SOAP::SOAPString", [0, 1]]
2652
+ ]
2653
+ )
2654
+
2655
+ LiteralRegistry.register(
2656
+ :class => Virtuozzo::SOAP::Drivers::Session::Update_session,
2657
+ :schema_name => XSD::QName.new(NsSessionm, "update_session"),
2658
+ :schema_element => [
2659
+ ["session_id", "SOAP::SOAPString"],
2660
+ ["stamp", "SOAP::SOAPString"]
2661
+ ]
2662
+ )
2663
+
2664
+ LiteralRegistry.register(
2665
+ :class => Virtuozzo::SOAP::Drivers::Session::Get_session,
2666
+ :schema_name => XSD::QName.new(NsSessionm, "get_session"),
2667
+ :schema_element => [
2668
+ [
2669
+ ["session_id", "SOAP::SOAPString", [0, 1]],
2670
+ ["pass", "Virtuozzo::SOAP::Drivers::Session::Auth_nameType", [0, 1]]
2671
+ ],
2672
+ ["stamp", nil, [0, 1]]
2673
+ ]
2674
+ )
2675
+
2676
+ LiteralRegistry.register(
2677
+ :class => Virtuozzo::SOAP::Drivers::Session::DataType,
2678
+ :schema_name => XSD::QName.new(NsSessionm, "data"),
2679
+ :schema_element => [
2680
+ ["key", "SOAP::SOAPString"],
2681
+ ["value", nil]
2682
+ ]
2683
+ )
2684
+
2685
+ LiteralRegistry.register(
2686
+ :class => Virtuozzo::SOAP::Drivers::Session::SessionType,
2687
+ :schema_name => XSD::QName.new(NsSessionm, "session"),
2688
+ :schema_element => [
2689
+ ["id", "SOAP::SOAPString"],
2690
+ ["creation", nil],
2691
+ ["access", nil],
2692
+ ["user", "Virtuozzo::SOAP::Drivers::Session::Auth_nameType"],
2693
+ ["expiration", "SOAP::SOAPInt", [0, 1]],
2694
+ ["stamp", "SOAP::SOAPString", [0, 1]],
2695
+ ["data", "Virtuozzo::SOAP::Drivers::Session::DataType[]", [0, nil]],
2696
+ ["token", "Virtuozzo::SOAP::Drivers::Session::TokenType", [0, 1]]
2697
+ ]
2698
+ )
2699
+
2700
+ LiteralRegistry.register(
2701
+ :class => Virtuozzo::SOAP::Drivers::Session::TokenType,
2702
+ :schema_name => XSD::QName.new(NsSessionm, "token"),
2703
+ :schema_element => [
2704
+ ["user", nil],
2705
+ ["groups", "Virtuozzo::SOAP::Drivers::Session::TokenType::Groups", [0, 1]],
2706
+ ["deny_only_sids", "Virtuozzo::SOAP::Drivers::Session::TokenType::Deny_only_sids", [0, 1]],
2707
+ ["privileges", "Virtuozzo::SOAP::Drivers::Session::TokenType::Privileges", [0, 1]],
2708
+ ["source", "Virtuozzo::SOAP::Drivers::Session::TokenType::Source", [0, 1]]
2709
+ ]
2710
+ )
2711
+
2712
+ LiteralRegistry.register(
2713
+ :class => Virtuozzo::SOAP::Drivers::Session::TokenType::Groups,
2714
+ :schema_name => XSD::QName.new(NsTypes, "groups"),
2715
+ :is_anonymous => true,
2716
+ :schema_qualified => true,
2717
+ :schema_element => [
2718
+ ["sid", "[]", [1, nil]]
2719
+ ]
2720
+ )
2721
+
2722
+ LiteralRegistry.register(
2723
+ :class => Virtuozzo::SOAP::Drivers::Session::TokenType::Deny_only_sids,
2724
+ :schema_name => XSD::QName.new(NsTypes, "deny_only_sids"),
2725
+ :is_anonymous => true,
2726
+ :schema_qualified => true,
2727
+ :schema_element => [
2728
+ ["sid", "[]", [0, nil]]
2729
+ ]
2730
+ )
2731
+
2732
+ LiteralRegistry.register(
2733
+ :class => Virtuozzo::SOAP::Drivers::Session::TokenType::Privileges,
2734
+ :schema_name => XSD::QName.new(NsTypes, "privileges"),
2735
+ :is_anonymous => true,
2736
+ :schema_qualified => true,
2737
+ :schema_element => [
2738
+ ["privilege", "[]", [0, nil]]
2739
+ ]
2740
+ )
2741
+
2742
+ LiteralRegistry.register(
2743
+ :class => Virtuozzo::SOAP::Drivers::Session::TokenType::Source,
2744
+ :schema_name => XSD::QName.new(NsTypes, "source"),
2745
+ :is_anonymous => true,
2746
+ :schema_qualified => true,
2747
+ :schema_element => [
2748
+ ["name", "SOAP::SOAPString"],
2749
+ ["id", nil]
2750
+ ]
2751
+ )
2752
+
2753
+ LiteralRegistry.register(
2754
+ :class => Virtuozzo::SOAP::Drivers::Session::Auth_nameType,
2755
+ :schema_name => XSD::QName.new(NsSessionm, "pass"),
2756
+ :schema_element => [
2757
+ ["name", "SOAP::SOAPBase64", [0, 1]],
2758
+ ["domain", "SOAP::SOAPBase64", [0, 1]],
2759
+ ["realm", nil]
2760
+ ]
2761
+ )
2762
+
2763
+ LiteralRegistry.register(
2764
+ :class => Virtuozzo::SOAP::Drivers::Session::Registered,
2765
+ :schema_name => XSD::QName.new(NsSessionm, "registered"),
2766
+ :schema_element => [
2767
+ ["id", "SOAP::SOAPString"],
2768
+ ["count", "SOAP::SOAPInt"]
2769
+ ]
2770
+ )
2771
+
2772
+ LiteralRegistry.register(
2773
+ :class => Virtuozzo::SOAP::Drivers::Session::Duplicate_sessionResponse,
2774
+ :schema_name => XSD::QName.new(NsSessionm, "duplicate_sessionResponse"),
2775
+ :schema_element => [
2776
+ ["session_id", "SOAP::SOAPString"],
2777
+ ["token", "Virtuozzo::SOAP::Drivers::Session::TokenType"],
2778
+ ["pass", "Virtuozzo::SOAP::Drivers::Session::Auth_nameType"]
2779
+ ]
2780
+ )
2781
+
2782
+ LiteralRegistry.register(
2783
+ :class => Virtuozzo::SOAP::Drivers::Session::LoginResponse,
2784
+ :schema_name => XSD::QName.new(NsSessionm, "loginResponse"),
2785
+ :schema_element => [
2786
+ ["session_id", "SOAP::SOAPString"],
2787
+ ["token", "Virtuozzo::SOAP::Drivers::Session::TokenType"]
2788
+ ]
2789
+ )
2790
+
2791
+ LiteralRegistry.register(
2792
+ :class => Virtuozzo::SOAP::Drivers::Session::Login_asResponse,
2793
+ :schema_name => XSD::QName.new(NsSessionm, "login_asResponse"),
2794
+ :schema_element => [
2795
+ ["session_id", "SOAP::SOAPString"],
2796
+ ["token", "Virtuozzo::SOAP::Drivers::Session::TokenType"]
2797
+ ]
2798
+ )
2799
+
2800
+ LiteralRegistry.register(
2801
+ :class => Virtuozzo::SOAP::Drivers::Session::LogoutResponse,
2802
+ :schema_name => XSD::QName.new(NsSessionm, "logoutResponse"),
2803
+ :schema_element => []
2804
+ )
2805
+
2806
+ LiteralRegistry.register(
2807
+ :class => Virtuozzo::SOAP::Drivers::Session::VerifyResponse,
2808
+ :schema_name => XSD::QName.new(NsSessionm, "verifyResponse"),
2809
+ :schema_element => []
2810
+ )
2811
+
2812
+ LiteralRegistry.register(
2813
+ :class => Virtuozzo::SOAP::Drivers::Session::PutResponse,
2814
+ :schema_name => XSD::QName.new(NsSessionm, "putResponse"),
2815
+ :schema_element => []
2816
+ )
2817
+
2818
+ LiteralRegistry.register(
2819
+ :class => Virtuozzo::SOAP::Drivers::Session::GetResponse,
2820
+ :schema_name => XSD::QName.new(NsSessionm, "getResponse"),
2821
+ :schema_element => [
2822
+ ["data", "Virtuozzo::SOAP::Drivers::Session::DataType[]", [1, nil]]
2823
+ ]
2824
+ )
2825
+
2826
+ LiteralRegistry.register(
2827
+ :class => Virtuozzo::SOAP::Drivers::Session::List_sessionsResponse,
2828
+ :schema_name => XSD::QName.new(NsSessionm, "list_sessionsResponse"),
2829
+ :schema_element => [
2830
+ ["session", "Virtuozzo::SOAP::Drivers::Session::SessionType[]", [1, nil]]
2831
+ ]
2832
+ )
2833
+
2834
+ LiteralRegistry.register(
2835
+ :class => Virtuozzo::SOAP::Drivers::Session::Register_clientResponse,
2836
+ :schema_name => XSD::QName.new(NsSessionm, "register_clientResponse"),
2837
+ :schema_element => []
2838
+ )
2839
+
2840
+ LiteralRegistry.register(
2841
+ :class => Virtuozzo::SOAP::Drivers::Session::Count_registeredResponse,
2842
+ :schema_name => XSD::QName.new(NsSessionm, "count_registeredResponse"),
2843
+ :schema_element => [
2844
+ ["registered", "Virtuozzo::SOAP::Drivers::Session::Registered"]
2845
+ ]
2846
+ )
2847
+
2848
+ LiteralRegistry.register(
2849
+ :class => Virtuozzo::SOAP::Drivers::Session::Update_sessionResponse,
2850
+ :schema_name => XSD::QName.new(NsSessionm, "update_sessionResponse"),
2851
+ :schema_element => []
2852
+ )
2853
+
2854
+ LiteralRegistry.register(
2855
+ :class => Virtuozzo::SOAP::Drivers::Session::Get_sessionResponse,
2856
+ :schema_name => XSD::QName.new(NsSessionm, "get_sessionResponse"),
2857
+ :schema_element => [
2858
+ ["session", "Virtuozzo::SOAP::Drivers::Session::SessionType"]
2859
+ ]
2860
+ )
2861
+
2862
+ LiteralRegistry.register(
2863
+ :class => Virtuozzo::SOAP::Drivers::Session::Event_dataType,
2864
+ :schema_name => XSD::QName.new(NsTypes, "event_data"),
2865
+ :schema_element => []
2866
+ )
2867
+
2868
+ LiteralRegistry.register(
2869
+ :class => Virtuozzo::SOAP::Drivers::Session::Voc_parameterType,
2870
+ :schema_name => XSD::QName.new(NsTypes, "parameter"),
2871
+ :schema_element => [
2872
+ ["id", "SOAP::SOAPString"],
2873
+ ["type", "SOAP::SOAPString", [0, 1]],
2874
+ ["min", "SOAP::SOAPString", [0, 1]],
2875
+ ["max", "SOAP::SOAPString", [0, 1]],
2876
+ ["long", "SOAP::SOAPString", [0, 1]],
2877
+ ["short", "SOAP::SOAPString", [0, 1]],
2878
+ ["category", "SOAP::SOAPString[]", [0, nil]],
2879
+ ["complex", "SOAP::SOAPString", [0, 1]],
2880
+ ["default", "SOAP::SOAPString", [0, 1]],
2881
+ ["measure", "SOAP::SOAPString", [0, 1]],
2882
+ ["data", nil, [0, 1]],
2883
+ ["name", nil, [0, 1]]
2884
+ ]
2885
+ )
2886
+
2887
+ LiteralRegistry.register(
2888
+ :class => Virtuozzo::SOAP::Drivers::Session::Voc_parameterType,
2889
+ :schema_name => XSD::QName.new(NsTypes, "category"),
2890
+ :schema_element => [
2891
+ ["id", "SOAP::SOAPString"],
2892
+ ["type", "SOAP::SOAPString", [0, 1]],
2893
+ ["min", "SOAP::SOAPString", [0, 1]],
2894
+ ["max", "SOAP::SOAPString", [0, 1]],
2895
+ ["long", "SOAP::SOAPString", [0, 1]],
2896
+ ["short", "SOAP::SOAPString", [0, 1]],
2897
+ ["category", "SOAP::SOAPString[]", [0, nil]],
2898
+ ["complex", "SOAP::SOAPString", [0, 1]],
2899
+ ["default", "SOAP::SOAPString", [0, 1]],
2900
+ ["measure", "SOAP::SOAPString", [0, 1]],
2901
+ ["data", nil, [0, 1]],
2902
+ ["name", nil, [0, 1]]
2903
+ ]
2904
+ )
2905
+
2906
+ LiteralRegistry.register(
2907
+ :class => Virtuozzo::SOAP::Drivers::Session::Packet,
2908
+ :schema_name => XSD::QName.new(NsProtocol, "packet"),
2909
+ :schema_element => [
2910
+ ["auth", "Virtuozzo::SOAP::Drivers::Session::AuthType", [0, 1]],
2911
+ ["cookie", "SOAP::SOAPString", [0, 1]],
2912
+ ["target", "SOAP::SOAPString[]", [0, nil]],
2913
+ ["origin", "SOAP::SOAPString", [0, 1]],
2914
+ ["src", "Virtuozzo::SOAP::Drivers::Session::RouteType", [0, 1]],
2915
+ ["dst", "Virtuozzo::SOAP::Drivers::Session::RouteType", [0, 1]],
2916
+ ["session", "SOAP::SOAPString", [0, 1]],
2917
+ ["data", "Virtuozzo::SOAP::Drivers::Session::Packet::C_Data"]
2918
+ ],
2919
+ :schema_attribute => {
2920
+ XSD::QName.new(nil, "version") => "SOAP::SOAPString",
2921
+ XSD::QName.new(nil, "id") => "SOAP::SOAPString",
2922
+ XSD::QName.new(nil, "priority") => "SOAP::SOAPString",
2923
+ XSD::QName.new(nil, "time") => "SOAP::SOAPString",
2924
+ XSD::QName.new(nil, "progress") => "SOAP::SOAPString",
2925
+ XSD::QName.new(nil, "log") => "SOAP::SOAPString",
2926
+ XSD::QName.new(nil, "type") => "SOAP::SOAPInt",
2927
+ XSD::QName.new(nil, "timeout") => "SOAP::SOAPInt",
2928
+ XSD::QName.new(nil, "timeout_limit") => "SOAP::SOAPInt",
2929
+ XSD::QName.new(nil, "uid") => "SOAP::SOAPInt"
2930
+ }
2931
+ )
2932
+
2933
+ LiteralRegistry.register(
2934
+ :class => Virtuozzo::SOAP::Drivers::Session::Packet::C_Data,
2935
+ :schema_name => XSD::QName.new(NsProtocol, "data"),
2936
+ :is_anonymous => true,
2937
+ :schema_qualified => true,
2938
+ :schema_element => [
2939
+ ["operator", "Virtuozzo::SOAP::Drivers::Session::OperatorType[]"]
2940
+ ]
2941
+ )
2942
+
2943
+ LiteralRegistry.register(
2944
+ :class => Virtuozzo::SOAP::Drivers::Session::Packet_headerType,
2945
+ :schema_name => XSD::QName.new(NsProtocol, "packet_header"),
2946
+ :schema_element => [
2947
+ ["auth", "Virtuozzo::SOAP::Drivers::Session::AuthType", [0, 1]],
2948
+ ["cookie", "SOAP::SOAPString", [0, 1]],
2949
+ ["target", "SOAP::SOAPString[]", [0, nil]],
2950
+ ["origin", "SOAP::SOAPString", [0, 1]],
2951
+ ["src", "Virtuozzo::SOAP::Drivers::Session::RouteType", [0, 1]],
2952
+ ["dst", "Virtuozzo::SOAP::Drivers::Session::RouteType", [0, 1]],
2953
+ ["session", "SOAP::SOAPString", [0, 1]]
2954
+ ],
2955
+ :schema_attribute => {
2956
+ XSD::QName.new(nil, "version") => "SOAP::SOAPString",
2957
+ XSD::QName.new(nil, "id") => "SOAP::SOAPString",
2958
+ XSD::QName.new(nil, "priority") => "SOAP::SOAPString",
2959
+ XSD::QName.new(nil, "time") => "SOAP::SOAPString",
2960
+ XSD::QName.new(nil, "progress") => "SOAP::SOAPString",
2961
+ XSD::QName.new(nil, "log") => "SOAP::SOAPString",
2962
+ XSD::QName.new(nil, "type") => "SOAP::SOAPInt",
2963
+ XSD::QName.new(nil, "timeout") => "SOAP::SOAPInt",
2964
+ XSD::QName.new(nil, "timeout_limit") => "SOAP::SOAPInt",
2965
+ XSD::QName.new(nil, "uid") => "SOAP::SOAPInt"
2966
+ }
2967
+ )
2968
+
2969
+ LiteralRegistry.register(
2970
+ :class => Virtuozzo::SOAP::Drivers::Session::OperatorType,
2971
+ :schema_name => XSD::QName.new(NsProtocol, "operator"),
2972
+ :schema_element => [ :choice,
2973
+ ["configuration", "Virtuozzo::SOAP::Drivers::Session::ConfigurationType"]
2974
+ ]
2975
+ )
2976
+
2977
+ LiteralRegistry.register(
2978
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_periodicType,
2979
+ :schema_name => XSD::QName.new(NsProtocol, "operator_periodic"),
2980
+ :schema_element => [ :choice,
2981
+ ["configuration", "Virtuozzo::SOAP::Drivers::Session::ConfigurationType"],
2982
+ ["ok", "Virtuozzo::SOAP::Drivers::Session::Operator_periodicType::Ok[]"],
2983
+ ["error", "Virtuozzo::SOAP::Drivers::Session::Operator_periodicType::Error[]"],
2984
+ [ :choice,
2985
+ ["start_monitor", "Virtuozzo::SOAP::Drivers::Session::Start_monitorType"],
2986
+ ["stop_monitor", "Virtuozzo::SOAP::Drivers::Session::Stop_monitorType"],
2987
+ ["set_period", "Virtuozzo::SOAP::Drivers::Session::Set_periodType", [0, 1]],
2988
+ ["report", nil, [0, 1]]
2989
+ ]
2990
+ ]
2991
+ )
2992
+
2993
+ LiteralRegistry.register(
2994
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_periodicType::Ok,
2995
+ :schema_name => XSD::QName.new(NsProtocol, "ok"),
2996
+ :is_anonymous => true,
2997
+ :schema_qualified => true,
2998
+ :schema_element => []
2999
+ )
3000
+
3001
+ LiteralRegistry.register(
3002
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_periodicType::Error,
3003
+ :schema_name => XSD::QName.new(NsProtocol, "error"),
3004
+ :is_anonymous => true,
3005
+ :schema_qualified => true,
3006
+ :schema_element => [
3007
+ ["code", "SOAP::SOAPInt"],
3008
+ ["message", "SOAP::SOAPString", [0, 1]]
3009
+ ]
3010
+ )
3011
+
3012
+ LiteralRegistry.register(
3013
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_functionalType,
3014
+ :schema_name => XSD::QName.new(NsProtocol, "operator_functional"),
3015
+ :schema_element => [ :choice,
3016
+ ["configuration", "Virtuozzo::SOAP::Drivers::Session::ConfigurationType"],
3017
+ ["ok", "Virtuozzo::SOAP::Drivers::Session::Operator_functionalType::Ok[]"],
3018
+ ["error", "Virtuozzo::SOAP::Drivers::Session::Operator_functionalType::Error[]"]
3019
+ ]
3020
+ )
3021
+
3022
+ LiteralRegistry.register(
3023
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_functionalType::Ok,
3024
+ :schema_name => XSD::QName.new(NsProtocol, "ok"),
3025
+ :is_anonymous => true,
3026
+ :schema_qualified => true,
3027
+ :schema_element => []
3028
+ )
3029
+
3030
+ LiteralRegistry.register(
3031
+ :class => Virtuozzo::SOAP::Drivers::Session::Operator_functionalType::Error,
3032
+ :schema_name => XSD::QName.new(NsProtocol, "error"),
3033
+ :is_anonymous => true,
3034
+ :schema_qualified => true,
3035
+ :schema_element => [
3036
+ ["code", "SOAP::SOAPInt"],
3037
+ ["message", "SOAP::SOAPString", [0, 1]]
3038
+ ]
3039
+ )
3040
+ end
3041
+
3042
+ end
3043
+ end
3044
+ end