plainprograms-virtuozzo 0.1.0

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