virtuozzo 0.5.1

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