ovirt-engine-sdk 4.0.0.alpha11 → 4.0.0.alpha12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/ovirtsdk4c/ov_xml_reader.c +85 -54
- data/ext/ovirtsdk4c/ov_xml_writer.c +116 -63
- data/lib/ovirtsdk4.rb +1 -1
- data/lib/ovirtsdk4/http.rb +300 -41
- data/lib/ovirtsdk4/readers.rb +338 -4
- data/lib/ovirtsdk4/service.rb +5 -8
- data/lib/ovirtsdk4/services.rb +1386 -3336
- data/lib/ovirtsdk4/types.rb +3228 -1412
- data/lib/ovirtsdk4/version.rb +1 -1
- data/lib/ovirtsdk4/writers.rb +134 -2
- metadata +16 -2
data/lib/ovirtsdk4/readers.rb
CHANGED
@@ -28,6 +28,62 @@ module OvirtSDK4
|
|
28
28
|
|
29
29
|
# Process the attributes:
|
30
30
|
object.href = reader.get_attribute('href')
|
31
|
+
value = reader.get_attribute('async')
|
32
|
+
object.async = value if not value.nil?
|
33
|
+
value = reader.get_attribute('check_connectivity')
|
34
|
+
object.check_connectivity = value if not value.nil?
|
35
|
+
value = reader.get_attribute('clone')
|
36
|
+
object.clone = value if not value.nil?
|
37
|
+
value = reader.get_attribute('comment')
|
38
|
+
object.comment = value if not value.nil?
|
39
|
+
value = reader.get_attribute('connectivity_timeout')
|
40
|
+
object.connectivity_timeout = value if not value.nil?
|
41
|
+
value = reader.get_attribute('description')
|
42
|
+
object.description = value if not value.nil?
|
43
|
+
value = reader.get_attribute('discard_snapshots')
|
44
|
+
object.discard_snapshots = value if not value.nil?
|
45
|
+
value = reader.get_attribute('exclusive')
|
46
|
+
object.exclusive = value if not value.nil?
|
47
|
+
value = reader.get_attribute('exclussive')
|
48
|
+
object.exclussive = value if not value.nil?
|
49
|
+
value = reader.get_attribute('fence_type')
|
50
|
+
object.fence_type = value if not value.nil?
|
51
|
+
value = reader.get_attribute('filter')
|
52
|
+
object.filter = value if not value.nil?
|
53
|
+
value = reader.get_attribute('fix_layout')
|
54
|
+
object.fix_layout = value if not value.nil?
|
55
|
+
value = reader.get_attribute('force')
|
56
|
+
object.force = value if not value.nil?
|
57
|
+
value = reader.get_attribute('id')
|
58
|
+
object.id = value if not value.nil?
|
59
|
+
value = reader.get_attribute('image')
|
60
|
+
object.image = value if not value.nil?
|
61
|
+
value = reader.get_attribute('import_as_template')
|
62
|
+
object.import_as_template = value if not value.nil?
|
63
|
+
value = reader.get_attribute('is_attached')
|
64
|
+
object.is_attached = value if not value.nil?
|
65
|
+
value = reader.get_attribute('maintenance_enabled')
|
66
|
+
object.maintenance_enabled = value if not value.nil?
|
67
|
+
value = reader.get_attribute('name')
|
68
|
+
object.name = value if not value.nil?
|
69
|
+
value = reader.get_attribute('pause')
|
70
|
+
object.pause = value if not value.nil?
|
71
|
+
value = reader.get_attribute('reason')
|
72
|
+
object.reason = value if not value.nil?
|
73
|
+
value = reader.get_attribute('resolution_type')
|
74
|
+
object.resolution_type = value if not value.nil?
|
75
|
+
value = reader.get_attribute('restore_memory')
|
76
|
+
object.restore_memory = value if not value.nil?
|
77
|
+
value = reader.get_attribute('root_password')
|
78
|
+
object.root_password = value if not value.nil?
|
79
|
+
value = reader.get_attribute('stop_gluster_service')
|
80
|
+
object.stop_gluster_service = value if not value.nil?
|
81
|
+
value = reader.get_attribute('succeeded')
|
82
|
+
object.succeeded = value if not value.nil?
|
83
|
+
value = reader.get_attribute('use_cloud_init')
|
84
|
+
object.use_cloud_init = value if not value.nil?
|
85
|
+
value = reader.get_attribute('use_sysprep')
|
86
|
+
object.use_sysprep = value if not value.nil?
|
31
87
|
|
32
88
|
# Discard the start tag:
|
33
89
|
empty = reader.empty_element?
|
@@ -37,10 +93,128 @@ module OvirtSDK4
|
|
37
93
|
# Process the inner elements:
|
38
94
|
while reader.forward do
|
39
95
|
case reader.node_name
|
96
|
+
when 'async'
|
97
|
+
object.async = Reader.read_boolean(reader)
|
98
|
+
when 'bricks'
|
99
|
+
object.bricks = GlusterBrickReader.read_many(reader)
|
100
|
+
when 'certificates'
|
101
|
+
object.certificates = CertificateReader.read_many(reader)
|
102
|
+
when 'check_connectivity'
|
103
|
+
object.check_connectivity = Reader.read_boolean(reader)
|
104
|
+
when 'clone'
|
105
|
+
object.clone = Reader.read_boolean(reader)
|
106
|
+
when 'cluster'
|
107
|
+
object.cluster = ClusterReader.read_one(reader)
|
108
|
+
when 'comment'
|
109
|
+
object.comment = Reader.read_string(reader)
|
110
|
+
when 'connectivity_timeout'
|
111
|
+
object.connectivity_timeout = Reader.read_integer(reader)
|
112
|
+
when 'data_center'
|
113
|
+
object.data_center = DataCenterReader.read_one(reader)
|
114
|
+
when 'description'
|
115
|
+
object.description = Reader.read_string(reader)
|
116
|
+
when 'details'
|
117
|
+
object.details = GlusterVolumeProfileDetailsReader.read_one(reader)
|
118
|
+
when 'discard_snapshots'
|
119
|
+
object.discard_snapshots = Reader.read_boolean(reader)
|
120
|
+
when 'disk'
|
121
|
+
object.disk = DiskReader.read_one(reader)
|
122
|
+
when 'disks'
|
123
|
+
object.disks = DiskReader.read_many(reader)
|
124
|
+
when 'exclusive'
|
125
|
+
object.exclusive = Reader.read_boolean(reader)
|
126
|
+
when 'exclussive'
|
127
|
+
object.exclussive = Reader.read_boolean(reader)
|
40
128
|
when 'fault'
|
41
129
|
object.fault = FaultReader.read_one(reader)
|
130
|
+
when 'fence_type'
|
131
|
+
object.fence_type = Reader.read_string(reader)
|
132
|
+
when 'filter'
|
133
|
+
object.filter = Reader.read_boolean(reader)
|
134
|
+
when 'fix_layout'
|
135
|
+
object.fix_layout = Reader.read_boolean(reader)
|
136
|
+
when 'force'
|
137
|
+
object.force = Reader.read_boolean(reader)
|
138
|
+
when 'grace_period'
|
139
|
+
object.grace_period = GracePeriodReader.read_one(reader)
|
140
|
+
when 'host'
|
141
|
+
object.host = HostReader.read_one(reader)
|
142
|
+
when 'id'
|
143
|
+
object.id = Reader.read_string(reader)
|
144
|
+
when 'image'
|
145
|
+
object.image = Reader.read_string(reader)
|
146
|
+
when 'import_as_template'
|
147
|
+
object.import_as_template = Reader.read_boolean(reader)
|
148
|
+
when 'is_attached'
|
149
|
+
object.is_attached = Reader.read_boolean(reader)
|
150
|
+
when 'iscsi'
|
151
|
+
object.iscsi = IscsiDetailsReader.read_one(reader)
|
152
|
+
when 'iscsi_targets'
|
153
|
+
reader.next_element
|
154
|
+
when 'job'
|
155
|
+
object.job = JobReader.read_one(reader)
|
156
|
+
when 'logical_units'
|
157
|
+
object.logical_units = LogicalUnitReader.read_many(reader)
|
158
|
+
when 'maintenance_enabled'
|
159
|
+
object.maintenance_enabled = Reader.read_boolean(reader)
|
160
|
+
when 'modified_bonds'
|
161
|
+
object.modified_bonds = HostNicReader.read_many(reader)
|
162
|
+
when 'modified_labels'
|
163
|
+
object.modified_labels = LabelReader.read_many(reader)
|
164
|
+
when 'modified_network_attachments'
|
165
|
+
object.modified_network_attachments = NetworkAttachmentReader.read_many(reader)
|
166
|
+
when 'name'
|
167
|
+
object.name = Reader.read_string(reader)
|
168
|
+
when 'option'
|
169
|
+
object.option = OptionReader.read_one(reader)
|
170
|
+
when 'pause'
|
171
|
+
object.pause = Reader.read_boolean(reader)
|
172
|
+
when 'power_management'
|
173
|
+
object.power_management = PowerManagementReader.read_one(reader)
|
174
|
+
when 'proxy_ticket'
|
175
|
+
object.proxy_ticket = ProxyTicketReader.read_one(reader)
|
176
|
+
when 'reason'
|
177
|
+
object.reason = Reader.read_string(reader)
|
178
|
+
when 'removed_bonds'
|
179
|
+
object.removed_bonds = HostNicReader.read_many(reader)
|
180
|
+
when 'removed_labels'
|
181
|
+
object.removed_labels = LabelReader.read_many(reader)
|
182
|
+
when 'removed_network_attachments'
|
183
|
+
object.removed_network_attachments = NetworkAttachmentReader.read_many(reader)
|
184
|
+
when 'resolution_type'
|
185
|
+
object.resolution_type = Reader.read_string(reader)
|
186
|
+
when 'restore_memory'
|
187
|
+
object.restore_memory = Reader.read_boolean(reader)
|
188
|
+
when 'root_password'
|
189
|
+
object.root_password = Reader.read_string(reader)
|
190
|
+
when 'snapshot'
|
191
|
+
object.snapshot = SnapshotReader.read_one(reader)
|
192
|
+
when 'ssh'
|
193
|
+
object.ssh = SshReader.read_one(reader)
|
42
194
|
when 'status'
|
43
195
|
object.status = StatusReader.read_one(reader)
|
196
|
+
when 'stop_gluster_service'
|
197
|
+
object.stop_gluster_service = Reader.read_boolean(reader)
|
198
|
+
when 'storage_domain'
|
199
|
+
object.storage_domain = StorageDomainReader.read_one(reader)
|
200
|
+
when 'storage_domains'
|
201
|
+
object.storage_domains = StorageDomainReader.read_many(reader)
|
202
|
+
when 'succeeded'
|
203
|
+
object.succeeded = Reader.read_boolean(reader)
|
204
|
+
when 'synchronized_network_attachments'
|
205
|
+
object.synchronized_network_attachments = NetworkAttachmentReader.read_many(reader)
|
206
|
+
when 'template'
|
207
|
+
object.template = TemplateReader.read_one(reader)
|
208
|
+
when 'ticket'
|
209
|
+
object.ticket = TicketReader.read_one(reader)
|
210
|
+
when 'use_cloud_init'
|
211
|
+
object.use_cloud_init = Reader.read_boolean(reader)
|
212
|
+
when 'use_sysprep'
|
213
|
+
object.use_sysprep = Reader.read_boolean(reader)
|
214
|
+
when 'virtual_functions_configuration'
|
215
|
+
object.virtual_functions_configuration = HostNicVirtualFunctionsConfigurationReader.read_one(reader)
|
216
|
+
when 'vm'
|
217
|
+
object.vm = VmReader.read_one(reader)
|
44
218
|
else
|
45
219
|
reader.next_element
|
46
220
|
end
|
@@ -5091,6 +5265,68 @@ module OvirtSDK4
|
|
5091
5265
|
|
5092
5266
|
end
|
5093
5267
|
|
5268
|
+
class GracePeriodReader < Reader # :nodoc:
|
5269
|
+
|
5270
|
+
def self.read_one(reader)
|
5271
|
+
# Do nothing if there aren't more tags:
|
5272
|
+
return nil unless reader.forward
|
5273
|
+
|
5274
|
+
# Create the object:
|
5275
|
+
object = GracePeriod.new
|
5276
|
+
|
5277
|
+
# Process the attributes:
|
5278
|
+
object.href = reader.get_attribute('href')
|
5279
|
+
value = reader.get_attribute('expiry')
|
5280
|
+
object.expiry = value if not value.nil?
|
5281
|
+
|
5282
|
+
# Discard the start tag:
|
5283
|
+
empty = reader.empty_element?
|
5284
|
+
reader.read
|
5285
|
+
return object if empty
|
5286
|
+
|
5287
|
+
# Process the inner elements:
|
5288
|
+
while reader.forward do
|
5289
|
+
case reader.node_name
|
5290
|
+
when 'expiry'
|
5291
|
+
object.expiry = Reader.read_integer(reader)
|
5292
|
+
else
|
5293
|
+
reader.next_element
|
5294
|
+
end
|
5295
|
+
end
|
5296
|
+
|
5297
|
+
# Discard the end tag:
|
5298
|
+
reader.read
|
5299
|
+
|
5300
|
+
return object
|
5301
|
+
end
|
5302
|
+
|
5303
|
+
|
5304
|
+
def self.read_many(reader)
|
5305
|
+
# Do nothing if there aren't more tags:
|
5306
|
+
list = List.new
|
5307
|
+
return list unless reader.forward
|
5308
|
+
|
5309
|
+
# Process the attributes:
|
5310
|
+
list.href = reader.get_attribute('href')
|
5311
|
+
|
5312
|
+
# Discard the start tag:
|
5313
|
+
empty = reader.empty_element?
|
5314
|
+
reader.read
|
5315
|
+
return list if empty
|
5316
|
+
|
5317
|
+
# Process the inner elements:
|
5318
|
+
while reader.forward do
|
5319
|
+
list << read_one(reader)
|
5320
|
+
end
|
5321
|
+
|
5322
|
+
# Discard the end tag:
|
5323
|
+
reader.read
|
5324
|
+
|
5325
|
+
return list
|
5326
|
+
end
|
5327
|
+
|
5328
|
+
end
|
5329
|
+
|
5094
5330
|
class GraphicsConsoleReader < Reader # :nodoc:
|
5095
5331
|
|
5096
5332
|
def self.read_one(reader)
|
@@ -5608,8 +5844,6 @@ module OvirtSDK4
|
|
5608
5844
|
object.id = value if not value.nil?
|
5609
5845
|
value = reader.get_attribute('kdump_status')
|
5610
5846
|
object.kdump_status = value if not value.nil?
|
5611
|
-
value = reader.get_attribute('live_snapshot_support')
|
5612
|
-
object.live_snapshot_support = value if not value.nil?
|
5613
5847
|
value = reader.get_attribute('max_scheduling_memory')
|
5614
5848
|
object.max_scheduling_memory = value if not value.nil?
|
5615
5849
|
value = reader.get_attribute('memory')
|
@@ -5673,8 +5907,6 @@ module OvirtSDK4
|
|
5673
5907
|
object.ksm = KsmReader.read_one(reader)
|
5674
5908
|
when 'libvirt_version'
|
5675
5909
|
object.libvirt_version = VersionReader.read_one(reader)
|
5676
|
-
when 'live_snapshot_support'
|
5677
|
-
object.live_snapshot_support = Reader.read_boolean(reader)
|
5678
5910
|
when 'max_scheduling_memory'
|
5679
5911
|
object.max_scheduling_memory = Reader.read_integer(reader)
|
5680
5912
|
when 'memory'
|
@@ -5952,6 +6184,8 @@ module OvirtSDK4
|
|
5952
6184
|
object.description = value if not value.nil?
|
5953
6185
|
value = reader.get_attribute('id')
|
5954
6186
|
object.id = value if not value.nil?
|
6187
|
+
value = reader.get_attribute('ipv6_boot_protocol')
|
6188
|
+
object.ipv6_boot_protocol = value if not value.nil?
|
5955
6189
|
value = reader.get_attribute('mtu')
|
5956
6190
|
object.mtu = value if not value.nil?
|
5957
6191
|
value = reader.get_attribute('name')
|
@@ -5989,6 +6223,10 @@ module OvirtSDK4
|
|
5989
6223
|
object.id = Reader.read_string(reader)
|
5990
6224
|
when 'ip'
|
5991
6225
|
object.ip = IpReader.read_one(reader)
|
6226
|
+
when 'ipv6'
|
6227
|
+
object.ipv6 = IpReader.read_one(reader)
|
6228
|
+
when 'ipv6_boot_protocol'
|
6229
|
+
object.ipv6_boot_protocol = Reader.read_string(reader)
|
5992
6230
|
when 'labels'
|
5993
6231
|
object.labels = LabelReader.read_many(reader)
|
5994
6232
|
when 'mac'
|
@@ -6775,6 +7013,8 @@ module OvirtSDK4
|
|
6775
7013
|
object.cpu_shares = Reader.read_integer(reader)
|
6776
7014
|
when 'creation_time'
|
6777
7015
|
object.creation_time = Reader.read_date(reader)
|
7016
|
+
when 'custom_compatibility_version'
|
7017
|
+
object.custom_compatibility_version = VersionReader.read_one(reader)
|
6778
7018
|
when 'custom_cpu_model'
|
6779
7019
|
object.custom_cpu_model = Reader.read_string(reader)
|
6780
7020
|
when 'custom_emulated_machine'
|
@@ -8193,6 +8433,82 @@ module OvirtSDK4
|
|
8193
8433
|
object.auto_converge = Reader.read_string(reader)
|
8194
8434
|
when 'compressed'
|
8195
8435
|
object.compressed = Reader.read_string(reader)
|
8436
|
+
when 'policy'
|
8437
|
+
object.policy = MigrationPolicyReader.read_one(reader)
|
8438
|
+
else
|
8439
|
+
reader.next_element
|
8440
|
+
end
|
8441
|
+
end
|
8442
|
+
|
8443
|
+
# Discard the end tag:
|
8444
|
+
reader.read
|
8445
|
+
|
8446
|
+
return object
|
8447
|
+
end
|
8448
|
+
|
8449
|
+
|
8450
|
+
def self.read_many(reader)
|
8451
|
+
# Do nothing if there aren't more tags:
|
8452
|
+
list = List.new
|
8453
|
+
return list unless reader.forward
|
8454
|
+
|
8455
|
+
# Process the attributes:
|
8456
|
+
list.href = reader.get_attribute('href')
|
8457
|
+
|
8458
|
+
# Discard the start tag:
|
8459
|
+
empty = reader.empty_element?
|
8460
|
+
reader.read
|
8461
|
+
return list if empty
|
8462
|
+
|
8463
|
+
# Process the inner elements:
|
8464
|
+
while reader.forward do
|
8465
|
+
list << read_one(reader)
|
8466
|
+
end
|
8467
|
+
|
8468
|
+
# Discard the end tag:
|
8469
|
+
reader.read
|
8470
|
+
|
8471
|
+
return list
|
8472
|
+
end
|
8473
|
+
|
8474
|
+
end
|
8475
|
+
|
8476
|
+
class MigrationPolicyReader < Reader # :nodoc:
|
8477
|
+
|
8478
|
+
def self.read_one(reader)
|
8479
|
+
# Do nothing if there aren't more tags:
|
8480
|
+
return nil unless reader.forward
|
8481
|
+
|
8482
|
+
# Create the object:
|
8483
|
+
object = MigrationPolicy.new
|
8484
|
+
|
8485
|
+
# Process the attributes:
|
8486
|
+
object.href = reader.get_attribute('href')
|
8487
|
+
value = reader.get_attribute('comment')
|
8488
|
+
object.comment = value if not value.nil?
|
8489
|
+
value = reader.get_attribute('description')
|
8490
|
+
object.description = value if not value.nil?
|
8491
|
+
value = reader.get_attribute('id')
|
8492
|
+
object.id = value if not value.nil?
|
8493
|
+
value = reader.get_attribute('name')
|
8494
|
+
object.name = value if not value.nil?
|
8495
|
+
|
8496
|
+
# Discard the start tag:
|
8497
|
+
empty = reader.empty_element?
|
8498
|
+
reader.read
|
8499
|
+
return object if empty
|
8500
|
+
|
8501
|
+
# Process the inner elements:
|
8502
|
+
while reader.forward do
|
8503
|
+
case reader.node_name
|
8504
|
+
when 'comment'
|
8505
|
+
object.comment = Reader.read_string(reader)
|
8506
|
+
when 'description'
|
8507
|
+
object.description = Reader.read_string(reader)
|
8508
|
+
when 'id'
|
8509
|
+
object.id = Reader.read_string(reader)
|
8510
|
+
when 'name'
|
8511
|
+
object.name = Reader.read_string(reader)
|
8196
8512
|
else
|
8197
8513
|
reader.next_element
|
8198
8514
|
end
|
@@ -9256,10 +9572,14 @@ module OvirtSDK4
|
|
9256
9572
|
object.password = value if not value.nil?
|
9257
9573
|
value = reader.get_attribute('plugin_type')
|
9258
9574
|
object.plugin_type = value if not value.nil?
|
9575
|
+
value = reader.get_attribute('read_only')
|
9576
|
+
object.read_only = value if not value.nil?
|
9259
9577
|
value = reader.get_attribute('requires_authentication')
|
9260
9578
|
object.requires_authentication = value if not value.nil?
|
9261
9579
|
value = reader.get_attribute('tenant_name')
|
9262
9580
|
object.tenant_name = value if not value.nil?
|
9581
|
+
value = reader.get_attribute('type')
|
9582
|
+
object.type = value if not value.nil?
|
9263
9583
|
value = reader.get_attribute('url')
|
9264
9584
|
object.url = value if not value.nil?
|
9265
9585
|
value = reader.get_attribute('username')
|
@@ -9291,10 +9611,14 @@ module OvirtSDK4
|
|
9291
9611
|
object.plugin_type = Reader.read_string(reader)
|
9292
9612
|
when 'properties'
|
9293
9613
|
object.properties = PropertyReader.read_many(reader)
|
9614
|
+
when 'read_only'
|
9615
|
+
object.read_only = Reader.read_boolean(reader)
|
9294
9616
|
when 'requires_authentication'
|
9295
9617
|
object.requires_authentication = Reader.read_boolean(reader)
|
9296
9618
|
when 'tenant_name'
|
9297
9619
|
object.tenant_name = Reader.read_string(reader)
|
9620
|
+
when 'type'
|
9621
|
+
object.type = Reader.read_string(reader)
|
9298
9622
|
when 'url'
|
9299
9623
|
object.url = Reader.read_string(reader)
|
9300
9624
|
when 'username'
|
@@ -12350,6 +12674,8 @@ module OvirtSDK4
|
|
12350
12674
|
object.cpu_shares = Reader.read_integer(reader)
|
12351
12675
|
when 'creation_time'
|
12352
12676
|
object.creation_time = Reader.read_date(reader)
|
12677
|
+
when 'custom_compatibility_version'
|
12678
|
+
object.custom_compatibility_version = VersionReader.read_one(reader)
|
12353
12679
|
when 'custom_cpu_model'
|
12354
12680
|
object.custom_cpu_model = Reader.read_string(reader)
|
12355
12681
|
when 'custom_emulated_machine'
|
@@ -13650,6 +13976,8 @@ module OvirtSDK4
|
|
13650
13976
|
object.cpu_shares = Reader.read_integer(reader)
|
13651
13977
|
when 'creation_time'
|
13652
13978
|
object.creation_time = Reader.read_date(reader)
|
13979
|
+
when 'custom_compatibility_version'
|
13980
|
+
object.custom_compatibility_version = VersionReader.read_one(reader)
|
13653
13981
|
when 'custom_cpu_model'
|
13654
13982
|
object.custom_cpu_model = Reader.read_string(reader)
|
13655
13983
|
when 'custom_emulated_machine'
|
@@ -14886,6 +15214,8 @@ module OvirtSDK4
|
|
14886
15214
|
object.cpu_shares = Reader.read_integer(reader)
|
14887
15215
|
when 'creation_time'
|
14888
15216
|
object.creation_time = Reader.read_date(reader)
|
15217
|
+
when 'custom_compatibility_version'
|
15218
|
+
object.custom_compatibility_version = VersionReader.read_one(reader)
|
14889
15219
|
when 'custom_cpu_model'
|
14890
15220
|
object.custom_cpu_model = Reader.read_string(reader)
|
14891
15221
|
when 'custom_emulated_machine'
|
@@ -15118,6 +15448,8 @@ module OvirtSDK4
|
|
15118
15448
|
object.cpu_shares = Reader.read_integer(reader)
|
15119
15449
|
when 'creation_time'
|
15120
15450
|
object.creation_time = Reader.read_date(reader)
|
15451
|
+
when 'custom_compatibility_version'
|
15452
|
+
object.custom_compatibility_version = VersionReader.read_one(reader)
|
15121
15453
|
when 'custom_cpu_model'
|
15122
15454
|
object.custom_cpu_model = Reader.read_string(reader)
|
15123
15455
|
when 'custom_emulated_machine'
|
@@ -15356,6 +15688,8 @@ module OvirtSDK4
|
|
15356
15688
|
object.use_latest_template_version = Reader.read_boolean(reader)
|
15357
15689
|
when 'cluster'
|
15358
15690
|
object.cluster = ClusterReader.read_one(reader)
|
15691
|
+
when 'instance_type'
|
15692
|
+
object.instance_type = InstanceTypeReader.read_one(reader)
|
15359
15693
|
when 'template'
|
15360
15694
|
object.template = TemplateReader.read_one(reader)
|
15361
15695
|
when 'vm'
|