ovirt-engine-sdk 4.0.0.alpha12 → 4.0.0.alpha13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +2 -1
- data/lib/ovirtsdk4/http.rb +28 -34
- data/lib/ovirtsdk4/reader.rb +17 -17
- data/lib/ovirtsdk4/readers.rb +412 -180
- data/lib/ovirtsdk4/service.rb +6 -6
- data/lib/ovirtsdk4/services.rb +8451 -3621
- data/lib/ovirtsdk4/type.rb +8 -8
- data/lib/ovirtsdk4/types.rb +13533 -11515
- data/lib/ovirtsdk4/version.rb +3 -3
- data/lib/ovirtsdk4/writer.rb +12 -12
- data/lib/ovirtsdk4/writers.rb +163 -91
- data/lib/ovirtsdk4.rb +5 -5
- metadata +2 -2
data/lib/ovirtsdk4/readers.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
#
|
2
2
|
# Copyright (c) 2015-2016 Red Hat, Inc.
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -12,7 +12,7 @@
|
|
12
12
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
13
|
# See the License for the specific language governing permissions and
|
14
14
|
# limitations under the License.
|
15
|
-
|
15
|
+
#
|
16
16
|
|
17
17
|
|
18
18
|
module OvirtSDK4
|
@@ -38,6 +38,8 @@ module OvirtSDK4
|
|
38
38
|
object.comment = value if not value.nil?
|
39
39
|
value = reader.get_attribute('connectivity_timeout')
|
40
40
|
object.connectivity_timeout = value if not value.nil?
|
41
|
+
value = reader.get_attribute('deploy_hosted_engine')
|
42
|
+
object.deploy_hosted_engine = value if not value.nil?
|
41
43
|
value = reader.get_attribute('description')
|
42
44
|
object.description = value if not value.nil?
|
43
45
|
value = reader.get_attribute('discard_snapshots')
|
@@ -76,10 +78,14 @@ module OvirtSDK4
|
|
76
78
|
object.restore_memory = value if not value.nil?
|
77
79
|
value = reader.get_attribute('root_password')
|
78
80
|
object.root_password = value if not value.nil?
|
81
|
+
value = reader.get_attribute('status')
|
82
|
+
object.status = value if not value.nil?
|
79
83
|
value = reader.get_attribute('stop_gluster_service')
|
80
84
|
object.stop_gluster_service = value if not value.nil?
|
81
85
|
value = reader.get_attribute('succeeded')
|
82
86
|
object.succeeded = value if not value.nil?
|
87
|
+
value = reader.get_attribute('undeploy_hosted_engine')
|
88
|
+
object.undeploy_hosted_engine = value if not value.nil?
|
83
89
|
value = reader.get_attribute('use_cloud_init')
|
84
90
|
object.use_cloud_init = value if not value.nil?
|
85
91
|
value = reader.get_attribute('use_sysprep')
|
@@ -111,6 +117,8 @@ module OvirtSDK4
|
|
111
117
|
object.connectivity_timeout = Reader.read_integer(reader)
|
112
118
|
when 'data_center'
|
113
119
|
object.data_center = DataCenterReader.read_one(reader)
|
120
|
+
when 'deploy_hosted_engine'
|
121
|
+
object.deploy_hosted_engine = Reader.read_boolean(reader)
|
114
122
|
when 'description'
|
115
123
|
object.description = Reader.read_string(reader)
|
116
124
|
when 'details'
|
@@ -160,7 +168,7 @@ module OvirtSDK4
|
|
160
168
|
when 'modified_bonds'
|
161
169
|
object.modified_bonds = HostNicReader.read_many(reader)
|
162
170
|
when 'modified_labels'
|
163
|
-
object.modified_labels =
|
171
|
+
object.modified_labels = NetworkLabelReader.read_many(reader)
|
164
172
|
when 'modified_network_attachments'
|
165
173
|
object.modified_network_attachments = NetworkAttachmentReader.read_many(reader)
|
166
174
|
when 'name'
|
@@ -178,7 +186,7 @@ module OvirtSDK4
|
|
178
186
|
when 'removed_bonds'
|
179
187
|
object.removed_bonds = HostNicReader.read_many(reader)
|
180
188
|
when 'removed_labels'
|
181
|
-
object.removed_labels =
|
189
|
+
object.removed_labels = NetworkLabelReader.read_many(reader)
|
182
190
|
when 'removed_network_attachments'
|
183
191
|
object.removed_network_attachments = NetworkAttachmentReader.read_many(reader)
|
184
192
|
when 'resolution_type'
|
@@ -192,7 +200,7 @@ module OvirtSDK4
|
|
192
200
|
when 'ssh'
|
193
201
|
object.ssh = SshReader.read_one(reader)
|
194
202
|
when 'status'
|
195
|
-
object.status =
|
203
|
+
object.status = Reader.read_string(reader)
|
196
204
|
when 'stop_gluster_service'
|
197
205
|
object.stop_gluster_service = Reader.read_boolean(reader)
|
198
206
|
when 'storage_domain'
|
@@ -207,6 +215,8 @@ module OvirtSDK4
|
|
207
215
|
object.template = TemplateReader.read_one(reader)
|
208
216
|
when 'ticket'
|
209
217
|
object.ticket = TicketReader.read_one(reader)
|
218
|
+
when 'undeploy_hosted_engine'
|
219
|
+
object.undeploy_hosted_engine = Reader.read_boolean(reader)
|
210
220
|
when 'use_cloud_init'
|
211
221
|
object.use_cloud_init = Reader.read_boolean(reader)
|
212
222
|
when 'use_sysprep'
|
@@ -337,6 +347,88 @@ module OvirtSDK4
|
|
337
347
|
|
338
348
|
end
|
339
349
|
|
350
|
+
class AffinityLabelReader < Reader # :nodoc:
|
351
|
+
|
352
|
+
def self.read_one(reader)
|
353
|
+
# Do nothing if there aren't more tags:
|
354
|
+
return nil unless reader.forward
|
355
|
+
|
356
|
+
# Create the object:
|
357
|
+
object = AffinityLabel.new
|
358
|
+
|
359
|
+
# Process the attributes:
|
360
|
+
object.href = reader.get_attribute('href')
|
361
|
+
value = reader.get_attribute('comment')
|
362
|
+
object.comment = value if not value.nil?
|
363
|
+
value = reader.get_attribute('description')
|
364
|
+
object.description = value if not value.nil?
|
365
|
+
value = reader.get_attribute('id')
|
366
|
+
object.id = value if not value.nil?
|
367
|
+
value = reader.get_attribute('name')
|
368
|
+
object.name = value if not value.nil?
|
369
|
+
value = reader.get_attribute('read_only')
|
370
|
+
object.read_only = value if not value.nil?
|
371
|
+
|
372
|
+
# Discard the start tag:
|
373
|
+
empty = reader.empty_element?
|
374
|
+
reader.read
|
375
|
+
return object if empty
|
376
|
+
|
377
|
+
# Process the inner elements:
|
378
|
+
while reader.forward do
|
379
|
+
case reader.node_name
|
380
|
+
when 'comment'
|
381
|
+
object.comment = Reader.read_string(reader)
|
382
|
+
when 'description'
|
383
|
+
object.description = Reader.read_string(reader)
|
384
|
+
when 'id'
|
385
|
+
object.id = Reader.read_string(reader)
|
386
|
+
when 'name'
|
387
|
+
object.name = Reader.read_string(reader)
|
388
|
+
when 'read_only'
|
389
|
+
object.read_only = Reader.read_boolean(reader)
|
390
|
+
when 'hosts'
|
391
|
+
object.hosts = HostReader.read_many(reader)
|
392
|
+
when 'vms'
|
393
|
+
object.vms = VmReader.read_many(reader)
|
394
|
+
else
|
395
|
+
reader.next_element
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
# Discard the end tag:
|
400
|
+
reader.read
|
401
|
+
|
402
|
+
return object
|
403
|
+
end
|
404
|
+
|
405
|
+
|
406
|
+
def self.read_many(reader)
|
407
|
+
# Do nothing if there aren't more tags:
|
408
|
+
list = List.new
|
409
|
+
return list unless reader.forward
|
410
|
+
|
411
|
+
# Process the attributes:
|
412
|
+
list.href = reader.get_attribute('href')
|
413
|
+
|
414
|
+
# Discard the start tag:
|
415
|
+
empty = reader.empty_element?
|
416
|
+
reader.read
|
417
|
+
return list if empty
|
418
|
+
|
419
|
+
# Process the inner elements:
|
420
|
+
while reader.forward do
|
421
|
+
list << read_one(reader)
|
422
|
+
end
|
423
|
+
|
424
|
+
# Discard the end tag:
|
425
|
+
reader.read
|
426
|
+
|
427
|
+
return list
|
428
|
+
end
|
429
|
+
|
430
|
+
end
|
431
|
+
|
340
432
|
class AgentReader < Reader # :nodoc:
|
341
433
|
|
342
434
|
def self.read_one(reader)
|
@@ -2376,6 +2468,8 @@ module OvirtSDK4
|
|
2376
2468
|
object.name = value if not value.nil?
|
2377
2469
|
value = reader.get_attribute('quota_mode')
|
2378
2470
|
object.quota_mode = value if not value.nil?
|
2471
|
+
value = reader.get_attribute('status')
|
2472
|
+
object.status = value if not value.nil?
|
2379
2473
|
value = reader.get_attribute('storage_format')
|
2380
2474
|
object.storage_format = value if not value.nil?
|
2381
2475
|
|
@@ -2400,15 +2494,13 @@ module OvirtSDK4
|
|
2400
2494
|
when 'quota_mode'
|
2401
2495
|
object.quota_mode = Reader.read_string(reader)
|
2402
2496
|
when 'status'
|
2403
|
-
object.status =
|
2497
|
+
object.status = Reader.read_string(reader)
|
2404
2498
|
when 'storage_format'
|
2405
2499
|
object.storage_format = Reader.read_string(reader)
|
2406
2500
|
when 'supported_versions'
|
2407
2501
|
object.supported_versions = VersionReader.read_many(reader)
|
2408
2502
|
when 'version'
|
2409
2503
|
object.version = VersionReader.read_one(reader)
|
2410
|
-
when 'mac_pool'
|
2411
|
-
object.mac_pool = MacPoolReader.read_one(reader)
|
2412
2504
|
else
|
2413
2505
|
reader.next_element
|
2414
2506
|
end
|
@@ -2576,6 +2668,8 @@ module OvirtSDK4
|
|
2576
2668
|
object.shareable = value if not value.nil?
|
2577
2669
|
value = reader.get_attribute('sparse')
|
2578
2670
|
object.sparse = value if not value.nil?
|
2671
|
+
value = reader.get_attribute('status')
|
2672
|
+
object.status = value if not value.nil?
|
2579
2673
|
value = reader.get_attribute('storage_type')
|
2580
2674
|
object.storage_type = value if not value.nil?
|
2581
2675
|
value = reader.get_attribute('uses_scsi_reservation')
|
@@ -2632,7 +2726,7 @@ module OvirtSDK4
|
|
2632
2726
|
when 'statistics'
|
2633
2727
|
object.statistics = StatisticReader.read_many(reader)
|
2634
2728
|
when 'status'
|
2635
|
-
object.status =
|
2729
|
+
object.status = Reader.read_string(reader)
|
2636
2730
|
when 'storage_type'
|
2637
2731
|
object.storage_type = Reader.read_string(reader)
|
2638
2732
|
when 'uses_scsi_reservation'
|
@@ -2697,6 +2791,92 @@ module OvirtSDK4
|
|
2697
2791
|
|
2698
2792
|
end
|
2699
2793
|
|
2794
|
+
class DiskAttachmentReader < Reader # :nodoc:
|
2795
|
+
|
2796
|
+
def self.read_one(reader)
|
2797
|
+
# Do nothing if there aren't more tags:
|
2798
|
+
return nil unless reader.forward
|
2799
|
+
|
2800
|
+
# Create the object:
|
2801
|
+
object = DiskAttachment.new
|
2802
|
+
|
2803
|
+
# Process the attributes:
|
2804
|
+
object.href = reader.get_attribute('href')
|
2805
|
+
value = reader.get_attribute('bootable')
|
2806
|
+
object.bootable = value if not value.nil?
|
2807
|
+
value = reader.get_attribute('comment')
|
2808
|
+
object.comment = value if not value.nil?
|
2809
|
+
value = reader.get_attribute('description')
|
2810
|
+
object.description = value if not value.nil?
|
2811
|
+
value = reader.get_attribute('id')
|
2812
|
+
object.id = value if not value.nil?
|
2813
|
+
value = reader.get_attribute('interface')
|
2814
|
+
object.interface = value if not value.nil?
|
2815
|
+
value = reader.get_attribute('name')
|
2816
|
+
object.name = value if not value.nil?
|
2817
|
+
|
2818
|
+
# Discard the start tag:
|
2819
|
+
empty = reader.empty_element?
|
2820
|
+
reader.read
|
2821
|
+
return object if empty
|
2822
|
+
|
2823
|
+
# Process the inner elements:
|
2824
|
+
while reader.forward do
|
2825
|
+
case reader.node_name
|
2826
|
+
when 'bootable'
|
2827
|
+
object.bootable = Reader.read_boolean(reader)
|
2828
|
+
when 'comment'
|
2829
|
+
object.comment = Reader.read_string(reader)
|
2830
|
+
when 'description'
|
2831
|
+
object.description = Reader.read_string(reader)
|
2832
|
+
when 'id'
|
2833
|
+
object.id = Reader.read_string(reader)
|
2834
|
+
when 'interface'
|
2835
|
+
object.interface = Reader.read_string(reader)
|
2836
|
+
when 'name'
|
2837
|
+
object.name = Reader.read_string(reader)
|
2838
|
+
when 'disk'
|
2839
|
+
object.disk = DiskReader.read_one(reader)
|
2840
|
+
when 'vm'
|
2841
|
+
object.vm = VmReader.read_one(reader)
|
2842
|
+
else
|
2843
|
+
reader.next_element
|
2844
|
+
end
|
2845
|
+
end
|
2846
|
+
|
2847
|
+
# Discard the end tag:
|
2848
|
+
reader.read
|
2849
|
+
|
2850
|
+
return object
|
2851
|
+
end
|
2852
|
+
|
2853
|
+
|
2854
|
+
def self.read_many(reader)
|
2855
|
+
# Do nothing if there aren't more tags:
|
2856
|
+
list = List.new
|
2857
|
+
return list unless reader.forward
|
2858
|
+
|
2859
|
+
# Process the attributes:
|
2860
|
+
list.href = reader.get_attribute('href')
|
2861
|
+
|
2862
|
+
# Discard the start tag:
|
2863
|
+
empty = reader.empty_element?
|
2864
|
+
reader.read
|
2865
|
+
return list if empty
|
2866
|
+
|
2867
|
+
# Process the inner elements:
|
2868
|
+
while reader.forward do
|
2869
|
+
list << read_one(reader)
|
2870
|
+
end
|
2871
|
+
|
2872
|
+
# Discard the end tag:
|
2873
|
+
reader.read
|
2874
|
+
|
2875
|
+
return list
|
2876
|
+
end
|
2877
|
+
|
2878
|
+
end
|
2879
|
+
|
2700
2880
|
class DiskProfileReader < Reader # :nodoc:
|
2701
2881
|
|
2702
2882
|
def self.read_one(reader)
|
@@ -2822,6 +3002,8 @@ module OvirtSDK4
|
|
2822
3002
|
object.shareable = value if not value.nil?
|
2823
3003
|
value = reader.get_attribute('sparse')
|
2824
3004
|
object.sparse = value if not value.nil?
|
3005
|
+
value = reader.get_attribute('status')
|
3006
|
+
object.status = value if not value.nil?
|
2825
3007
|
value = reader.get_attribute('storage_type')
|
2826
3008
|
object.storage_type = value if not value.nil?
|
2827
3009
|
value = reader.get_attribute('uses_scsi_reservation')
|
@@ -2878,7 +3060,7 @@ module OvirtSDK4
|
|
2878
3060
|
when 'statistics'
|
2879
3061
|
object.statistics = StatisticReader.read_many(reader)
|
2880
3062
|
when 'status'
|
2881
|
-
object.status =
|
3063
|
+
object.status = Reader.read_string(reader)
|
2882
3064
|
when 'storage_type'
|
2883
3065
|
object.storage_type = Reader.read_string(reader)
|
2884
3066
|
when 'uses_scsi_reservation'
|
@@ -4458,6 +4640,8 @@ module OvirtSDK4
|
|
4458
4640
|
object.port = value if not value.nil?
|
4459
4641
|
value = reader.get_attribute('server_id')
|
4460
4642
|
object.server_id = value if not value.nil?
|
4643
|
+
value = reader.get_attribute('status')
|
4644
|
+
object.status = value if not value.nil?
|
4461
4645
|
|
4462
4646
|
# Discard the start tag:
|
4463
4647
|
empty = reader.empty_element?
|
@@ -4494,7 +4678,7 @@ module OvirtSDK4
|
|
4494
4678
|
when 'server_id'
|
4495
4679
|
object.server_id = Reader.read_string(reader)
|
4496
4680
|
when 'status'
|
4497
|
-
object.status =
|
4681
|
+
object.status = Reader.read_string(reader)
|
4498
4682
|
when 'gluster_volume'
|
4499
4683
|
object.gluster_volume = GlusterVolumeReader.read_one(reader)
|
4500
4684
|
when 'instance_type'
|
@@ -4816,6 +5000,8 @@ module OvirtSDK4
|
|
4816
5000
|
object.name = value if not value.nil?
|
4817
5001
|
value = reader.get_attribute('stage')
|
4818
5002
|
object.stage = value if not value.nil?
|
5003
|
+
value = reader.get_attribute('status')
|
5004
|
+
object.status = value if not value.nil?
|
4819
5005
|
|
4820
5006
|
# Discard the start tag:
|
4821
5007
|
empty = reader.empty_element?
|
@@ -4848,7 +5034,7 @@ module OvirtSDK4
|
|
4848
5034
|
when 'stage'
|
4849
5035
|
object.stage = Reader.read_string(reader)
|
4850
5036
|
when 'status'
|
4851
|
-
object.status =
|
5037
|
+
object.status = Reader.read_string(reader)
|
4852
5038
|
when 'cluster'
|
4853
5039
|
object.cluster = ClusterReader.read_one(reader)
|
4854
5040
|
when 'server_hooks'
|
@@ -5020,6 +5206,8 @@ module OvirtSDK4
|
|
5020
5206
|
object.id = value if not value.nil?
|
5021
5207
|
value = reader.get_attribute('name')
|
5022
5208
|
object.name = value if not value.nil?
|
5209
|
+
value = reader.get_attribute('status')
|
5210
|
+
object.status = value if not value.nil?
|
5023
5211
|
|
5024
5212
|
# Discard the start tag:
|
5025
5213
|
empty = reader.empty_element?
|
@@ -5042,7 +5230,7 @@ module OvirtSDK4
|
|
5042
5230
|
when 'name'
|
5043
5231
|
object.name = Reader.read_string(reader)
|
5044
5232
|
when 'status'
|
5045
|
-
object.status =
|
5233
|
+
object.status = Reader.read_string(reader)
|
5046
5234
|
when 'host'
|
5047
5235
|
object.host = HostReader.read_one(reader)
|
5048
5236
|
else
|
@@ -5108,6 +5296,8 @@ module OvirtSDK4
|
|
5108
5296
|
object.redundancy_count = value if not value.nil?
|
5109
5297
|
value = reader.get_attribute('replica_count')
|
5110
5298
|
object.replica_count = value if not value.nil?
|
5299
|
+
value = reader.get_attribute('status')
|
5300
|
+
object.status = value if not value.nil?
|
5111
5301
|
value = reader.get_attribute('stripe_count')
|
5112
5302
|
object.stripe_count = value if not value.nil?
|
5113
5303
|
value = reader.get_attribute('volume_type')
|
@@ -5138,7 +5328,7 @@ module OvirtSDK4
|
|
5138
5328
|
when 'replica_count'
|
5139
5329
|
object.replica_count = Reader.read_integer(reader)
|
5140
5330
|
when 'status'
|
5141
|
-
object.status =
|
5331
|
+
object.status = Reader.read_string(reader)
|
5142
5332
|
when 'stripe_count'
|
5143
5333
|
object.stripe_count = Reader.read_integer(reader)
|
5144
5334
|
when 'transport_types'
|
@@ -5840,6 +6030,8 @@ module OvirtSDK4
|
|
5840
6030
|
object.comment = value if not value.nil?
|
5841
6031
|
value = reader.get_attribute('description')
|
5842
6032
|
object.description = value if not value.nil?
|
6033
|
+
value = reader.get_attribute('external_status')
|
6034
|
+
object.external_status = value if not value.nil?
|
5843
6035
|
value = reader.get_attribute('id')
|
5844
6036
|
object.id = value if not value.nil?
|
5845
6037
|
value = reader.get_attribute('kdump_status')
|
@@ -5860,6 +6052,10 @@ module OvirtSDK4
|
|
5860
6052
|
object.protocol = value if not value.nil?
|
5861
6053
|
value = reader.get_attribute('root_password')
|
5862
6054
|
object.root_password = value if not value.nil?
|
6055
|
+
value = reader.get_attribute('status')
|
6056
|
+
object.status = value if not value.nil?
|
6057
|
+
value = reader.get_attribute('status_detail')
|
6058
|
+
object.status_detail = value if not value.nil?
|
5863
6059
|
value = reader.get_attribute('type')
|
5864
6060
|
object.type = value if not value.nil?
|
5865
6061
|
value = reader.get_attribute('update_available')
|
@@ -5890,7 +6086,7 @@ module OvirtSDK4
|
|
5890
6086
|
when 'display'
|
5891
6087
|
object.display = DisplayReader.read_one(reader)
|
5892
6088
|
when 'external_status'
|
5893
|
-
object.external_status =
|
6089
|
+
object.external_status = Reader.read_string(reader)
|
5894
6090
|
when 'hardware_information'
|
5895
6091
|
object.hardware_information = HardwareInformationReader.read_one(reader)
|
5896
6092
|
when 'hosted_engine'
|
@@ -5927,8 +6123,8 @@ module OvirtSDK4
|
|
5927
6123
|
object.protocol = Reader.read_string(reader)
|
5928
6124
|
when 'root_password'
|
5929
6125
|
object.root_password = Reader.read_string(reader)
|
5930
|
-
when '
|
5931
|
-
object.
|
6126
|
+
when 'se_linux'
|
6127
|
+
object.se_linux = SeLinuxReader.read_one(reader)
|
5932
6128
|
when 'spm'
|
5933
6129
|
object.spm = SpmReader.read_one(reader)
|
5934
6130
|
when 'ssh'
|
@@ -5936,7 +6132,9 @@ module OvirtSDK4
|
|
5936
6132
|
when 'statistics'
|
5937
6133
|
object.statistics = StatisticReader.read_many(reader)
|
5938
6134
|
when 'status'
|
5939
|
-
object.status =
|
6135
|
+
object.status = Reader.read_string(reader)
|
6136
|
+
when 'status_detail'
|
6137
|
+
object.status_detail = Reader.read_string(reader)
|
5940
6138
|
when 'summary'
|
5941
6139
|
object.summary = VmSummaryReader.read_one(reader)
|
5942
6140
|
when 'transparent_hugepages'
|
@@ -6194,6 +6392,8 @@ module OvirtSDK4
|
|
6194
6392
|
object.override_configuration = value if not value.nil?
|
6195
6393
|
value = reader.get_attribute('speed')
|
6196
6394
|
object.speed = value if not value.nil?
|
6395
|
+
value = reader.get_attribute('status')
|
6396
|
+
object.status = value if not value.nil?
|
6197
6397
|
|
6198
6398
|
# Discard the start tag:
|
6199
6399
|
empty = reader.empty_element?
|
@@ -6227,14 +6427,14 @@ module OvirtSDK4
|
|
6227
6427
|
object.ipv6 = IpReader.read_one(reader)
|
6228
6428
|
when 'ipv6_boot_protocol'
|
6229
6429
|
object.ipv6_boot_protocol = Reader.read_string(reader)
|
6230
|
-
when 'labels'
|
6231
|
-
object.labels = LabelReader.read_many(reader)
|
6232
6430
|
when 'mac'
|
6233
6431
|
object.mac = MacReader.read_one(reader)
|
6234
6432
|
when 'mtu'
|
6235
6433
|
object.mtu = Reader.read_integer(reader)
|
6236
6434
|
when 'name'
|
6237
6435
|
object.name = Reader.read_string(reader)
|
6436
|
+
when 'network_labels'
|
6437
|
+
object.network_labels = NetworkLabelReader.read_many(reader)
|
6238
6438
|
when 'override_configuration'
|
6239
6439
|
object.override_configuration = Reader.read_boolean(reader)
|
6240
6440
|
when 'properties'
|
@@ -6244,7 +6444,7 @@ module OvirtSDK4
|
|
6244
6444
|
when 'statistics'
|
6245
6445
|
object.statistics = StatisticReader.read_many(reader)
|
6246
6446
|
when 'status'
|
6247
|
-
object.status =
|
6447
|
+
object.status = Reader.read_string(reader)
|
6248
6448
|
when 'virtual_functions_configuration'
|
6249
6449
|
object.virtual_functions_configuration = HostNicVirtualFunctionsConfigurationReader.read_one(reader)
|
6250
6450
|
when 'vlan'
|
@@ -6988,6 +7188,8 @@ module OvirtSDK4
|
|
6988
7188
|
object.start_paused = value if not value.nil?
|
6989
7189
|
value = reader.get_attribute('stateless')
|
6990
7190
|
object.stateless = value if not value.nil?
|
7191
|
+
value = reader.get_attribute('status')
|
7192
|
+
object.status = value if not value.nil?
|
6991
7193
|
value = reader.get_attribute('tunnel_migration')
|
6992
7194
|
object.tunnel_migration = value if not value.nil?
|
6993
7195
|
value = reader.get_attribute('type')
|
@@ -7068,7 +7270,7 @@ module OvirtSDK4
|
|
7068
7270
|
when 'stateless'
|
7069
7271
|
object.stateless = Reader.read_boolean(reader)
|
7070
7272
|
when 'status'
|
7071
|
-
object.status =
|
7273
|
+
object.status = Reader.read_string(reader)
|
7072
7274
|
when 'time_zone'
|
7073
7275
|
object.time_zone = TimeZoneReader.read_one(reader)
|
7074
7276
|
when 'tunnel_migration'
|
@@ -7562,6 +7764,8 @@ module OvirtSDK4
|
|
7562
7764
|
object.name = value if not value.nil?
|
7563
7765
|
value = reader.get_attribute('start_time')
|
7564
7766
|
object.start_time = value if not value.nil?
|
7767
|
+
value = reader.get_attribute('status')
|
7768
|
+
object.status = value if not value.nil?
|
7565
7769
|
|
7566
7770
|
# Discard the start tag:
|
7567
7771
|
empty = reader.empty_element?
|
@@ -7590,7 +7794,7 @@ module OvirtSDK4
|
|
7590
7794
|
when 'start_time'
|
7591
7795
|
object.start_time = Reader.read_date(reader)
|
7592
7796
|
when 'status'
|
7593
|
-
object.status =
|
7797
|
+
object.status = Reader.read_string(reader)
|
7594
7798
|
when 'owner'
|
7595
7799
|
object.owner = UserReader.read_one(reader)
|
7596
7800
|
else
|
@@ -7861,84 +8065,6 @@ module OvirtSDK4
|
|
7861
8065
|
|
7862
8066
|
end
|
7863
8067
|
|
7864
|
-
class LabelReader < Reader # :nodoc:
|
7865
|
-
|
7866
|
-
def self.read_one(reader)
|
7867
|
-
# Do nothing if there aren't more tags:
|
7868
|
-
return nil unless reader.forward
|
7869
|
-
|
7870
|
-
# Create the object:
|
7871
|
-
object = Label.new
|
7872
|
-
|
7873
|
-
# Process the attributes:
|
7874
|
-
object.href = reader.get_attribute('href')
|
7875
|
-
value = reader.get_attribute('comment')
|
7876
|
-
object.comment = value if not value.nil?
|
7877
|
-
value = reader.get_attribute('description')
|
7878
|
-
object.description = value if not value.nil?
|
7879
|
-
value = reader.get_attribute('id')
|
7880
|
-
object.id = value if not value.nil?
|
7881
|
-
value = reader.get_attribute('name')
|
7882
|
-
object.name = value if not value.nil?
|
7883
|
-
|
7884
|
-
# Discard the start tag:
|
7885
|
-
empty = reader.empty_element?
|
7886
|
-
reader.read
|
7887
|
-
return object if empty
|
7888
|
-
|
7889
|
-
# Process the inner elements:
|
7890
|
-
while reader.forward do
|
7891
|
-
case reader.node_name
|
7892
|
-
when 'comment'
|
7893
|
-
object.comment = Reader.read_string(reader)
|
7894
|
-
when 'description'
|
7895
|
-
object.description = Reader.read_string(reader)
|
7896
|
-
when 'id'
|
7897
|
-
object.id = Reader.read_string(reader)
|
7898
|
-
when 'name'
|
7899
|
-
object.name = Reader.read_string(reader)
|
7900
|
-
when 'host_nic'
|
7901
|
-
object.host_nic = HostNicReader.read_one(reader)
|
7902
|
-
when 'network'
|
7903
|
-
object.network = NetworkReader.read_one(reader)
|
7904
|
-
else
|
7905
|
-
reader.next_element
|
7906
|
-
end
|
7907
|
-
end
|
7908
|
-
|
7909
|
-
# Discard the end tag:
|
7910
|
-
reader.read
|
7911
|
-
|
7912
|
-
return object
|
7913
|
-
end
|
7914
|
-
|
7915
|
-
|
7916
|
-
def self.read_many(reader)
|
7917
|
-
# Do nothing if there aren't more tags:
|
7918
|
-
list = List.new
|
7919
|
-
return list unless reader.forward
|
7920
|
-
|
7921
|
-
# Process the attributes:
|
7922
|
-
list.href = reader.get_attribute('href')
|
7923
|
-
|
7924
|
-
# Discard the start tag:
|
7925
|
-
empty = reader.empty_element?
|
7926
|
-
reader.read
|
7927
|
-
return list if empty
|
7928
|
-
|
7929
|
-
# Process the inner elements:
|
7930
|
-
while reader.forward do
|
7931
|
-
list << read_one(reader)
|
7932
|
-
end
|
7933
|
-
|
7934
|
-
# Discard the end tag:
|
7935
|
-
reader.read
|
7936
|
-
|
7937
|
-
return list
|
7938
|
-
end
|
7939
|
-
|
7940
|
-
end
|
7941
|
-
|
7942
8068
|
class LogicalUnitReader < Reader # :nodoc:
|
7943
8069
|
|
7944
8070
|
def self.read_one(reader)
|
@@ -8405,6 +8531,72 @@ module OvirtSDK4
|
|
8405
8531
|
|
8406
8532
|
end
|
8407
8533
|
|
8534
|
+
class MigrationBandwidthReader < Reader # :nodoc:
|
8535
|
+
|
8536
|
+
def self.read_one(reader)
|
8537
|
+
# Do nothing if there aren't more tags:
|
8538
|
+
return nil unless reader.forward
|
8539
|
+
|
8540
|
+
# Create the object:
|
8541
|
+
object = MigrationBandwidth.new
|
8542
|
+
|
8543
|
+
# Process the attributes:
|
8544
|
+
object.href = reader.get_attribute('href')
|
8545
|
+
value = reader.get_attribute('assignment_method')
|
8546
|
+
object.assignment_method = value if not value.nil?
|
8547
|
+
value = reader.get_attribute('custom_value')
|
8548
|
+
object.custom_value = value if not value.nil?
|
8549
|
+
|
8550
|
+
# Discard the start tag:
|
8551
|
+
empty = reader.empty_element?
|
8552
|
+
reader.read
|
8553
|
+
return object if empty
|
8554
|
+
|
8555
|
+
# Process the inner elements:
|
8556
|
+
while reader.forward do
|
8557
|
+
case reader.node_name
|
8558
|
+
when 'assignment_method'
|
8559
|
+
object.assignment_method = Reader.read_string(reader)
|
8560
|
+
when 'custom_value'
|
8561
|
+
object.custom_value = Reader.read_integer(reader)
|
8562
|
+
else
|
8563
|
+
reader.next_element
|
8564
|
+
end
|
8565
|
+
end
|
8566
|
+
|
8567
|
+
# Discard the end tag:
|
8568
|
+
reader.read
|
8569
|
+
|
8570
|
+
return object
|
8571
|
+
end
|
8572
|
+
|
8573
|
+
|
8574
|
+
def self.read_many(reader)
|
8575
|
+
# Do nothing if there aren't more tags:
|
8576
|
+
list = List.new
|
8577
|
+
return list unless reader.forward
|
8578
|
+
|
8579
|
+
# Process the attributes:
|
8580
|
+
list.href = reader.get_attribute('href')
|
8581
|
+
|
8582
|
+
# Discard the start tag:
|
8583
|
+
empty = reader.empty_element?
|
8584
|
+
reader.read
|
8585
|
+
return list if empty
|
8586
|
+
|
8587
|
+
# Process the inner elements:
|
8588
|
+
while reader.forward do
|
8589
|
+
list << read_one(reader)
|
8590
|
+
end
|
8591
|
+
|
8592
|
+
# Discard the end tag:
|
8593
|
+
reader.read
|
8594
|
+
|
8595
|
+
return list
|
8596
|
+
end
|
8597
|
+
|
8598
|
+
end
|
8599
|
+
|
8408
8600
|
class MigrationOptionsReader < Reader # :nodoc:
|
8409
8601
|
|
8410
8602
|
def self.read_one(reader)
|
@@ -8431,6 +8623,8 @@ module OvirtSDK4
|
|
8431
8623
|
case reader.node_name
|
8432
8624
|
when 'auto_converge'
|
8433
8625
|
object.auto_converge = Reader.read_string(reader)
|
8626
|
+
when 'bandwidth'
|
8627
|
+
object.bandwidth = MigrationBandwidthReader.read_one(reader)
|
8434
8628
|
when 'compressed'
|
8435
8629
|
object.compressed = Reader.read_string(reader)
|
8436
8630
|
when 'policy'
|
@@ -8574,6 +8768,8 @@ module OvirtSDK4
|
|
8574
8768
|
object.profile_required = value if not value.nil?
|
8575
8769
|
value = reader.get_attribute('required')
|
8576
8770
|
object.required = value if not value.nil?
|
8771
|
+
value = reader.get_attribute('status')
|
8772
|
+
object.status = value if not value.nil?
|
8577
8773
|
value = reader.get_attribute('stp')
|
8578
8774
|
object.stp = value if not value.nil?
|
8579
8775
|
|
@@ -8595,18 +8791,18 @@ module OvirtSDK4
|
|
8595
8791
|
object.id = Reader.read_string(reader)
|
8596
8792
|
when 'ip'
|
8597
8793
|
object.ip = IpReader.read_one(reader)
|
8598
|
-
when 'labels'
|
8599
|
-
object.labels = LabelReader.read_many(reader)
|
8600
8794
|
when 'mtu'
|
8601
8795
|
object.mtu = Reader.read_integer(reader)
|
8602
8796
|
when 'name'
|
8603
8797
|
object.name = Reader.read_string(reader)
|
8798
|
+
when 'network_labels'
|
8799
|
+
object.network_labels = NetworkLabelReader.read_many(reader)
|
8604
8800
|
when 'profile_required'
|
8605
8801
|
object.profile_required = Reader.read_boolean(reader)
|
8606
8802
|
when 'required'
|
8607
8803
|
object.required = Reader.read_boolean(reader)
|
8608
8804
|
when 'status'
|
8609
|
-
object.status =
|
8805
|
+
object.status = Reader.read_string(reader)
|
8610
8806
|
when 'stp'
|
8611
8807
|
object.stp = Reader.read_boolean(reader)
|
8612
8808
|
when 'usages'
|
@@ -8887,6 +9083,84 @@ module OvirtSDK4
|
|
8887
9083
|
|
8888
9084
|
end
|
8889
9085
|
|
9086
|
+
class NetworkLabelReader < Reader # :nodoc:
|
9087
|
+
|
9088
|
+
def self.read_one(reader)
|
9089
|
+
# Do nothing if there aren't more tags:
|
9090
|
+
return nil unless reader.forward
|
9091
|
+
|
9092
|
+
# Create the object:
|
9093
|
+
object = NetworkLabel.new
|
9094
|
+
|
9095
|
+
# Process the attributes:
|
9096
|
+
object.href = reader.get_attribute('href')
|
9097
|
+
value = reader.get_attribute('comment')
|
9098
|
+
object.comment = value if not value.nil?
|
9099
|
+
value = reader.get_attribute('description')
|
9100
|
+
object.description = value if not value.nil?
|
9101
|
+
value = reader.get_attribute('id')
|
9102
|
+
object.id = value if not value.nil?
|
9103
|
+
value = reader.get_attribute('name')
|
9104
|
+
object.name = value if not value.nil?
|
9105
|
+
|
9106
|
+
# Discard the start tag:
|
9107
|
+
empty = reader.empty_element?
|
9108
|
+
reader.read
|
9109
|
+
return object if empty
|
9110
|
+
|
9111
|
+
# Process the inner elements:
|
9112
|
+
while reader.forward do
|
9113
|
+
case reader.node_name
|
9114
|
+
when 'comment'
|
9115
|
+
object.comment = Reader.read_string(reader)
|
9116
|
+
when 'description'
|
9117
|
+
object.description = Reader.read_string(reader)
|
9118
|
+
when 'id'
|
9119
|
+
object.id = Reader.read_string(reader)
|
9120
|
+
when 'name'
|
9121
|
+
object.name = Reader.read_string(reader)
|
9122
|
+
when 'host_nic'
|
9123
|
+
object.host_nic = HostNicReader.read_one(reader)
|
9124
|
+
when 'network'
|
9125
|
+
object.network = NetworkReader.read_one(reader)
|
9126
|
+
else
|
9127
|
+
reader.next_element
|
9128
|
+
end
|
9129
|
+
end
|
9130
|
+
|
9131
|
+
# Discard the end tag:
|
9132
|
+
reader.read
|
9133
|
+
|
9134
|
+
return object
|
9135
|
+
end
|
9136
|
+
|
9137
|
+
|
9138
|
+
def self.read_many(reader)
|
9139
|
+
# Do nothing if there aren't more tags:
|
9140
|
+
list = List.new
|
9141
|
+
return list unless reader.forward
|
9142
|
+
|
9143
|
+
# Process the attributes:
|
9144
|
+
list.href = reader.get_attribute('href')
|
9145
|
+
|
9146
|
+
# Discard the start tag:
|
9147
|
+
empty = reader.empty_element?
|
9148
|
+
reader.read
|
9149
|
+
return list if empty
|
9150
|
+
|
9151
|
+
# Process the inner elements:
|
9152
|
+
while reader.forward do
|
9153
|
+
list << read_one(reader)
|
9154
|
+
end
|
9155
|
+
|
9156
|
+
# Discard the end tag:
|
9157
|
+
reader.read
|
9158
|
+
|
9159
|
+
return list
|
9160
|
+
end
|
9161
|
+
|
9162
|
+
end
|
9163
|
+
|
8890
9164
|
class NfsProfileDetailReader < Reader # :nodoc:
|
8891
9165
|
|
8892
9166
|
def self.read_one(reader)
|
@@ -10791,6 +11065,8 @@ module OvirtSDK4
|
|
10791
11065
|
object.kdump_detection = value if not value.nil?
|
10792
11066
|
value = reader.get_attribute('password')
|
10793
11067
|
object.password = value if not value.nil?
|
11068
|
+
value = reader.get_attribute('status')
|
11069
|
+
object.status = value if not value.nil?
|
10794
11070
|
value = reader.get_attribute('type')
|
10795
11071
|
object.type = value if not value.nil?
|
10796
11072
|
value = reader.get_attribute('username')
|
@@ -10821,7 +11097,7 @@ module OvirtSDK4
|
|
10821
11097
|
when 'pm_proxies'
|
10822
11098
|
object.pm_proxies = PmProxyReader.read_many(reader)
|
10823
11099
|
when 'status'
|
10824
|
-
object.status =
|
11100
|
+
object.status = Reader.read_string(reader)
|
10825
11101
|
when 'type'
|
10826
11102
|
object.type = Reader.read_string(reader)
|
10827
11103
|
when 'username'
|
@@ -12643,6 +12919,10 @@ module OvirtSDK4
|
|
12643
12919
|
object.start_time = value if not value.nil?
|
12644
12920
|
value = reader.get_attribute('stateless')
|
12645
12921
|
object.stateless = value if not value.nil?
|
12922
|
+
value = reader.get_attribute('status')
|
12923
|
+
object.status = value if not value.nil?
|
12924
|
+
value = reader.get_attribute('status_detail')
|
12925
|
+
object.status_detail = value if not value.nil?
|
12646
12926
|
value = reader.get_attribute('stop_reason')
|
12647
12927
|
object.stop_reason = value if not value.nil?
|
12648
12928
|
value = reader.get_attribute('stop_time')
|
@@ -12757,7 +13037,9 @@ module OvirtSDK4
|
|
12757
13037
|
when 'statistics'
|
12758
13038
|
object.statistics = StatisticReader.read_many(reader)
|
12759
13039
|
when 'status'
|
12760
|
-
object.status =
|
13040
|
+
object.status = Reader.read_string(reader)
|
13041
|
+
when 'status_detail'
|
13042
|
+
object.status_detail = Reader.read_string(reader)
|
12761
13043
|
when 'stop_reason'
|
12762
13044
|
object.stop_reason = Reader.read_string(reader)
|
12763
13045
|
when 'stop_time'
|
@@ -12927,6 +13209,8 @@ module OvirtSDK4
|
|
12927
13209
|
object.href = reader.get_attribute('href')
|
12928
13210
|
value = reader.get_attribute('priority')
|
12929
13211
|
object.priority = value if not value.nil?
|
13212
|
+
value = reader.get_attribute('status')
|
13213
|
+
object.status = value if not value.nil?
|
12930
13214
|
|
12931
13215
|
# Discard the start tag:
|
12932
13216
|
empty = reader.empty_element?
|
@@ -12939,7 +13223,7 @@ module OvirtSDK4
|
|
12939
13223
|
when 'priority'
|
12940
13224
|
object.priority = Reader.read_integer(reader)
|
12941
13225
|
when 'status'
|
12942
|
-
object.status =
|
13226
|
+
object.status = Reader.read_string(reader)
|
12943
13227
|
else
|
12944
13228
|
reader.next_element
|
12945
13229
|
end
|
@@ -13312,72 +13596,6 @@ module OvirtSDK4
|
|
13312
13596
|
|
13313
13597
|
end
|
13314
13598
|
|
13315
|
-
class StatusReader < Reader # :nodoc:
|
13316
|
-
|
13317
|
-
def self.read_one(reader)
|
13318
|
-
# Do nothing if there aren't more tags:
|
13319
|
-
return nil unless reader.forward
|
13320
|
-
|
13321
|
-
# Create the object:
|
13322
|
-
object = Status.new
|
13323
|
-
|
13324
|
-
# Process the attributes:
|
13325
|
-
object.href = reader.get_attribute('href')
|
13326
|
-
value = reader.get_attribute('detail')
|
13327
|
-
object.detail = value if not value.nil?
|
13328
|
-
value = reader.get_attribute('state')
|
13329
|
-
object.state = value if not value.nil?
|
13330
|
-
|
13331
|
-
# Discard the start tag:
|
13332
|
-
empty = reader.empty_element?
|
13333
|
-
reader.read
|
13334
|
-
return object if empty
|
13335
|
-
|
13336
|
-
# Process the inner elements:
|
13337
|
-
while reader.forward do
|
13338
|
-
case reader.node_name
|
13339
|
-
when 'detail'
|
13340
|
-
object.detail = Reader.read_string(reader)
|
13341
|
-
when 'state'
|
13342
|
-
object.state = Reader.read_string(reader)
|
13343
|
-
else
|
13344
|
-
reader.next_element
|
13345
|
-
end
|
13346
|
-
end
|
13347
|
-
|
13348
|
-
# Discard the end tag:
|
13349
|
-
reader.read
|
13350
|
-
|
13351
|
-
return object
|
13352
|
-
end
|
13353
|
-
|
13354
|
-
|
13355
|
-
def self.read_many(reader)
|
13356
|
-
# Do nothing if there aren't more tags:
|
13357
|
-
list = List.new
|
13358
|
-
return list unless reader.forward
|
13359
|
-
|
13360
|
-
# Process the attributes:
|
13361
|
-
list.href = reader.get_attribute('href')
|
13362
|
-
|
13363
|
-
# Discard the start tag:
|
13364
|
-
empty = reader.empty_element?
|
13365
|
-
reader.read
|
13366
|
-
return list if empty
|
13367
|
-
|
13368
|
-
# Process the inner elements:
|
13369
|
-
while reader.forward do
|
13370
|
-
list << read_one(reader)
|
13371
|
-
end
|
13372
|
-
|
13373
|
-
# Discard the end tag:
|
13374
|
-
reader.read
|
13375
|
-
|
13376
|
-
return list
|
13377
|
-
end
|
13378
|
-
|
13379
|
-
end
|
13380
|
-
|
13381
13599
|
class StepReader < Reader # :nodoc:
|
13382
13600
|
|
13383
13601
|
def self.read_one(reader)
|
@@ -13407,6 +13625,8 @@ module OvirtSDK4
|
|
13407
13625
|
object.number = value if not value.nil?
|
13408
13626
|
value = reader.get_attribute('start_time')
|
13409
13627
|
object.start_time = value if not value.nil?
|
13628
|
+
value = reader.get_attribute('status')
|
13629
|
+
object.status = value if not value.nil?
|
13410
13630
|
value = reader.get_attribute('type')
|
13411
13631
|
object.type = value if not value.nil?
|
13412
13632
|
|
@@ -13437,7 +13657,7 @@ module OvirtSDK4
|
|
13437
13657
|
when 'start_time'
|
13438
13658
|
object.start_time = Reader.read_date(reader)
|
13439
13659
|
when 'status'
|
13440
|
-
object.status =
|
13660
|
+
object.status = Reader.read_string(reader)
|
13441
13661
|
when 'type'
|
13442
13662
|
object.type = Reader.read_string(reader)
|
13443
13663
|
when 'job'
|
@@ -13719,6 +13939,8 @@ module OvirtSDK4
|
|
13719
13939
|
object.critical_space_action_blocker = value if not value.nil?
|
13720
13940
|
value = reader.get_attribute('description')
|
13721
13941
|
object.description = value if not value.nil?
|
13942
|
+
value = reader.get_attribute('external_status')
|
13943
|
+
object.external_status = value if not value.nil?
|
13722
13944
|
value = reader.get_attribute('id')
|
13723
13945
|
object.id = value if not value.nil?
|
13724
13946
|
value = reader.get_attribute('import')
|
@@ -13727,6 +13949,8 @@ module OvirtSDK4
|
|
13727
13949
|
object.master = value if not value.nil?
|
13728
13950
|
value = reader.get_attribute('name')
|
13729
13951
|
object.name = value if not value.nil?
|
13952
|
+
value = reader.get_attribute('status')
|
13953
|
+
object.status = value if not value.nil?
|
13730
13954
|
value = reader.get_attribute('storage_format')
|
13731
13955
|
object.storage_format = value if not value.nil?
|
13732
13956
|
value = reader.get_attribute('type')
|
@@ -13757,7 +13981,7 @@ module OvirtSDK4
|
|
13757
13981
|
when 'description'
|
13758
13982
|
object.description = Reader.read_string(reader)
|
13759
13983
|
when 'external_status'
|
13760
|
-
object.external_status =
|
13984
|
+
object.external_status = Reader.read_string(reader)
|
13761
13985
|
when 'id'
|
13762
13986
|
object.id = Reader.read_string(reader)
|
13763
13987
|
when 'import'
|
@@ -13767,7 +13991,7 @@ module OvirtSDK4
|
|
13767
13991
|
when 'name'
|
13768
13992
|
object.name = Reader.read_string(reader)
|
13769
13993
|
when 'status'
|
13770
|
-
object.status =
|
13994
|
+
object.status = Reader.read_string(reader)
|
13771
13995
|
when 'storage'
|
13772
13996
|
object.storage = HostStorageReader.read_one(reader)
|
13773
13997
|
when 'storage_format'
|
@@ -13951,6 +14175,8 @@ module OvirtSDK4
|
|
13951
14175
|
object.start_paused = value if not value.nil?
|
13952
14176
|
value = reader.get_attribute('stateless')
|
13953
14177
|
object.stateless = value if not value.nil?
|
14178
|
+
value = reader.get_attribute('status')
|
14179
|
+
object.status = value if not value.nil?
|
13954
14180
|
value = reader.get_attribute('tunnel_migration')
|
13955
14181
|
object.tunnel_migration = value if not value.nil?
|
13956
14182
|
value = reader.get_attribute('type')
|
@@ -14031,7 +14257,7 @@ module OvirtSDK4
|
|
14031
14257
|
when 'stateless'
|
14032
14258
|
object.stateless = Reader.read_boolean(reader)
|
14033
14259
|
when 'status'
|
14034
|
-
object.status =
|
14260
|
+
object.status = Reader.read_string(reader)
|
14035
14261
|
when 'time_zone'
|
14036
14262
|
object.time_zone = TimeZoneReader.read_one(reader)
|
14037
14263
|
when 'tunnel_migration'
|
@@ -15183,6 +15409,10 @@ module OvirtSDK4
|
|
15183
15409
|
object.start_time = value if not value.nil?
|
15184
15410
|
value = reader.get_attribute('stateless')
|
15185
15411
|
object.stateless = value if not value.nil?
|
15412
|
+
value = reader.get_attribute('status')
|
15413
|
+
object.status = value if not value.nil?
|
15414
|
+
value = reader.get_attribute('status_detail')
|
15415
|
+
object.status_detail = value if not value.nil?
|
15186
15416
|
value = reader.get_attribute('stop_reason')
|
15187
15417
|
object.stop_reason = value if not value.nil?
|
15188
15418
|
value = reader.get_attribute('stop_time')
|
@@ -15289,7 +15519,9 @@ module OvirtSDK4
|
|
15289
15519
|
when 'statistics'
|
15290
15520
|
object.statistics = StatisticReader.read_many(reader)
|
15291
15521
|
when 'status'
|
15292
|
-
object.status =
|
15522
|
+
object.status = Reader.read_string(reader)
|
15523
|
+
when 'status_detail'
|
15524
|
+
object.status_detail = Reader.read_string(reader)
|
15293
15525
|
when 'stop_reason'
|
15294
15526
|
object.stop_reason = Reader.read_string(reader)
|
15295
15527
|
when 'stop_time'
|
@@ -15502,8 +15734,6 @@ module OvirtSDK4
|
|
15502
15734
|
object.start_paused = Reader.read_boolean(reader)
|
15503
15735
|
when 'stateless'
|
15504
15736
|
object.stateless = Reader.read_boolean(reader)
|
15505
|
-
when 'status'
|
15506
|
-
object.status = StatusReader.read_one(reader)
|
15507
15737
|
when 'time_zone'
|
15508
15738
|
object.time_zone = TimeZoneReader.read_one(reader)
|
15509
15739
|
when 'tunnel_migration'
|
@@ -15910,6 +16140,8 @@ module OvirtSDK4
|
|
15910
16140
|
object.port_mirroring = Reader.read_boolean(reader)
|
15911
16141
|
when 'network'
|
15912
16142
|
object.network = NetworkReader.read_one(reader)
|
16143
|
+
when 'network_filter'
|
16144
|
+
object.network_filter = NetworkFilterReader.read_one(reader)
|
15913
16145
|
when 'qos'
|
15914
16146
|
object.qos = QosReader.read_one(reader)
|
15915
16147
|
else
|