ovirt-engine-sdk 4.2.5 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.adoc +37 -0
- data/lib/ovirtsdk4/readers.rb +194 -4
- data/lib/ovirtsdk4/services.rb +613 -63
- data/lib/ovirtsdk4/types.rb +717 -39
- data/lib/ovirtsdk4/version.rb +1 -1
- data/lib/ovirtsdk4/writers.rb +54 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35398e06f6b9889ef03870a5ca361c7f2cabf3a817961c2f56de53f32fd12092
|
4
|
+
data.tar.gz: 61ab20ca3ae181a1ab339e37eb4e4ea5272a801a5b243439bc4f7ef986ea501f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 238610e381a15b6c98f6d28843a4efdc4e72a12febc8314ab4225f6951e0f822395f3f6e2619b22c638b94d2fbebf7a08dbd825d38e14d056ac9f9317e4db98b
|
7
|
+
data.tar.gz: 73dcef63dc9478abebc7991268941f6aa011d8ee54b8d1efe6413c224d61629cc45ba701e5c86e0a513bc82de138499d56bfd143a0842ab6237732a2717dde05
|
data/CHANGES.adoc
CHANGED
@@ -2,6 +2,43 @@
|
|
2
2
|
|
3
3
|
This document describes the relevant changes between releases of the SDK.
|
4
4
|
|
5
|
+
== 4.3.0 / Jan 16 2018
|
6
|
+
Update to model 4.3.21.
|
7
|
+
|
8
|
+
New features:
|
9
|
+
|
10
|
+
* Add `activate` input param to add/install/approve host
|
11
|
+
http://bugzilla.redhat.com/1561539[1561539].
|
12
|
+
|
13
|
+
* Added support for incremental backup.
|
14
|
+
|
15
|
+
* Added block size Storage domain property
|
16
|
+
https://bugzilla.redhat.com/1592916[1592916].
|
17
|
+
|
18
|
+
* Added V5 storage format
|
19
|
+
https://bugzilla.redhat.com/1592916[1592916].
|
20
|
+
|
21
|
+
* Add driverSensitiveOptions to managed block storage type.
|
22
|
+
|
23
|
+
* Add managed block storage type.
|
24
|
+
|
25
|
+
* Setup networks commit on success.
|
26
|
+
|
27
|
+
* Add vGPU placement to Host
|
28
|
+
https://bugzilla.redhat.com/1641125[1641125].
|
29
|
+
|
30
|
+
* Specify cloud-init protocol in vm intialization
|
31
|
+
https://bugzilla.redhat.com/1611889[1611889].
|
32
|
+
|
33
|
+
* Added SATA to DiskInterface enum.
|
34
|
+
|
35
|
+
* Add disks link to Snapshot type.
|
36
|
+
|
37
|
+
Bug fixes:
|
38
|
+
|
39
|
+
* Change HostNic statistics and labels to Link
|
40
|
+
https://bugzilla.redhat.com/1661207[1661207].
|
41
|
+
|
5
42
|
== 4.2.5 / Oct 5 2018
|
6
43
|
Update to model 4.2.32.
|
7
44
|
|
data/lib/ovirtsdk4/readers.rb
CHANGED
@@ -28,6 +28,8 @@ module OvirtSDK4
|
|
28
28
|
|
29
29
|
# Process the attributes:
|
30
30
|
object.href = reader.get_attribute('href')
|
31
|
+
value = reader.get_attribute('activate')
|
32
|
+
object.activate = value if not value.nil?
|
31
33
|
value = reader.get_attribute('allow_partial_import')
|
32
34
|
object.allow_partial_import = value if not value.nil?
|
33
35
|
value = reader.get_attribute('async')
|
@@ -42,6 +44,8 @@ module OvirtSDK4
|
|
42
44
|
object.collapse_snapshots = value if not value.nil?
|
43
45
|
value = reader.get_attribute('comment')
|
44
46
|
object.comment = value if not value.nil?
|
47
|
+
value = reader.get_attribute('commit_on_success')
|
48
|
+
object.commit_on_success = value if not value.nil?
|
45
49
|
value = reader.get_attribute('connectivity_timeout')
|
46
50
|
object.connectivity_timeout = value if not value.nil?
|
47
51
|
value = reader.get_attribute('deploy_hosted_engine')
|
@@ -117,6 +121,8 @@ module OvirtSDK4
|
|
117
121
|
# Process the inner elements:
|
118
122
|
while reader.forward do
|
119
123
|
case reader.node_name
|
124
|
+
when 'activate'
|
125
|
+
object.activate = Reader.read_boolean(reader)
|
120
126
|
when 'allow_partial_import'
|
121
127
|
object.allow_partial_import = Reader.read_boolean(reader)
|
122
128
|
when 'async'
|
@@ -141,6 +147,8 @@ module OvirtSDK4
|
|
141
147
|
object.collapse_snapshots = Reader.read_boolean(reader)
|
142
148
|
when 'comment'
|
143
149
|
object.comment = Reader.read_string(reader)
|
150
|
+
when 'commit_on_success'
|
151
|
+
object.commit_on_success = Reader.read_boolean(reader)
|
144
152
|
when 'connection'
|
145
153
|
object.connection = StorageConnectionReader.read_one(reader)
|
146
154
|
when 'connectivity_timeout'
|
@@ -1159,6 +1167,119 @@ module OvirtSDK4
|
|
1159
1167
|
|
1160
1168
|
end
|
1161
1169
|
|
1170
|
+
class BackupReader < Reader
|
1171
|
+
|
1172
|
+
def self.read_one(reader)
|
1173
|
+
# Do nothing if there aren't more tags:
|
1174
|
+
return nil unless reader.forward
|
1175
|
+
|
1176
|
+
# Create the object:
|
1177
|
+
object = Backup.new
|
1178
|
+
|
1179
|
+
# Process the attributes:
|
1180
|
+
object.href = reader.get_attribute('href')
|
1181
|
+
value = reader.get_attribute('comment')
|
1182
|
+
object.comment = value if not value.nil?
|
1183
|
+
value = reader.get_attribute('creation_date')
|
1184
|
+
object.creation_date = value if not value.nil?
|
1185
|
+
value = reader.get_attribute('description')
|
1186
|
+
object.description = value if not value.nil?
|
1187
|
+
value = reader.get_attribute('from_checkpoint_id')
|
1188
|
+
object.from_checkpoint_id = value if not value.nil?
|
1189
|
+
value = reader.get_attribute('id')
|
1190
|
+
object.id = value if not value.nil?
|
1191
|
+
value = reader.get_attribute('name')
|
1192
|
+
object.name = value if not value.nil?
|
1193
|
+
value = reader.get_attribute('phase')
|
1194
|
+
object.phase = value if not value.nil?
|
1195
|
+
value = reader.get_attribute('to_checkpoint_id')
|
1196
|
+
object.to_checkpoint_id = value if not value.nil?
|
1197
|
+
|
1198
|
+
# Discard the start tag:
|
1199
|
+
empty = reader.empty_element?
|
1200
|
+
reader.read
|
1201
|
+
return object if empty
|
1202
|
+
|
1203
|
+
# Process the inner elements:
|
1204
|
+
while reader.forward do
|
1205
|
+
case reader.node_name
|
1206
|
+
when 'comment'
|
1207
|
+
object.comment = Reader.read_string(reader)
|
1208
|
+
when 'creation_date'
|
1209
|
+
object.creation_date = Reader.read_date(reader)
|
1210
|
+
when 'description'
|
1211
|
+
object.description = Reader.read_string(reader)
|
1212
|
+
when 'from_checkpoint_id'
|
1213
|
+
object.from_checkpoint_id = Reader.read_string(reader)
|
1214
|
+
when 'id'
|
1215
|
+
object.id = Reader.read_string(reader)
|
1216
|
+
when 'name'
|
1217
|
+
object.name = Reader.read_string(reader)
|
1218
|
+
when 'phase'
|
1219
|
+
object.phase = Reader.read_enum(BackupPhase, reader)
|
1220
|
+
when 'to_checkpoint_id'
|
1221
|
+
object.to_checkpoint_id = Reader.read_string(reader)
|
1222
|
+
when 'disks'
|
1223
|
+
object.disks = DiskReader.read_many(reader)
|
1224
|
+
when 'vm'
|
1225
|
+
object.vm = VmReader.read_one(reader)
|
1226
|
+
when 'link'
|
1227
|
+
read_link(reader, object)
|
1228
|
+
else
|
1229
|
+
reader.next_element
|
1230
|
+
end
|
1231
|
+
end
|
1232
|
+
|
1233
|
+
# Discard the end tag:
|
1234
|
+
reader.read
|
1235
|
+
|
1236
|
+
return object
|
1237
|
+
end
|
1238
|
+
|
1239
|
+
|
1240
|
+
def self.read_many(reader)
|
1241
|
+
# Do nothing if there aren't more tags:
|
1242
|
+
list = List.new
|
1243
|
+
return list unless reader.forward
|
1244
|
+
|
1245
|
+
# Process the attributes:
|
1246
|
+
list.href = reader.get_attribute('href')
|
1247
|
+
|
1248
|
+
# Discard the start tag:
|
1249
|
+
empty = reader.empty_element?
|
1250
|
+
reader.read
|
1251
|
+
return list if empty
|
1252
|
+
|
1253
|
+
# Process the inner elements:
|
1254
|
+
while reader.forward do
|
1255
|
+
list << read_one(reader)
|
1256
|
+
end
|
1257
|
+
|
1258
|
+
# Discard the end tag:
|
1259
|
+
reader.read
|
1260
|
+
|
1261
|
+
return list
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
def self.read_link(reader, object)
|
1265
|
+
# Process the attributes:
|
1266
|
+
rel = reader.get_attribute('rel')
|
1267
|
+
href = reader.get_attribute('href')
|
1268
|
+
if rel && href
|
1269
|
+
list = List.new
|
1270
|
+
list.href = href
|
1271
|
+
case rel
|
1272
|
+
when 'disks'
|
1273
|
+
object.disks = list
|
1274
|
+
end
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
# Discard the rest of the element:
|
1278
|
+
reader.next_element
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
end
|
1282
|
+
|
1162
1283
|
class BalanceReader < Reader
|
1163
1284
|
|
1164
1285
|
def self.read_one(reader)
|
@@ -1248,6 +1369,8 @@ module OvirtSDK4
|
|
1248
1369
|
|
1249
1370
|
# Process the attributes:
|
1250
1371
|
object.href = reader.get_attribute('href')
|
1372
|
+
value = reader.get_attribute('type')
|
1373
|
+
object.type = value if not value.nil?
|
1251
1374
|
|
1252
1375
|
# Discard the start tag:
|
1253
1376
|
empty = reader.empty_element?
|
@@ -1259,6 +1382,8 @@ module OvirtSDK4
|
|
1259
1382
|
case reader.node_name
|
1260
1383
|
when 'boot_menu'
|
1261
1384
|
object.boot_menu = BootMenuReader.read_one(reader)
|
1385
|
+
when 'type'
|
1386
|
+
object.type = Reader.read_enum(BiosType, reader)
|
1262
1387
|
else
|
1263
1388
|
reader.next_element
|
1264
1389
|
end
|
@@ -1977,6 +2102,10 @@ module OvirtSDK4
|
|
1977
2102
|
object.ha_reservation = value if not value.nil?
|
1978
2103
|
value = reader.get_attribute('id')
|
1979
2104
|
object.id = value if not value.nil?
|
2105
|
+
value = reader.get_attribute('log_max_memory_used_threshold')
|
2106
|
+
object.log_max_memory_used_threshold = value if not value.nil?
|
2107
|
+
value = reader.get_attribute('log_max_memory_used_threshold_type')
|
2108
|
+
object.log_max_memory_used_threshold_type = value if not value.nil?
|
1980
2109
|
value = reader.get_attribute('maintenance_reason_required')
|
1981
2110
|
object.maintenance_reason_required = value if not value.nil?
|
1982
2111
|
value = reader.get_attribute('name')
|
@@ -2030,6 +2159,10 @@ module OvirtSDK4
|
|
2030
2159
|
object.id = Reader.read_string(reader)
|
2031
2160
|
when 'ksm'
|
2032
2161
|
object.ksm = KsmReader.read_one(reader)
|
2162
|
+
when 'log_max_memory_used_threshold'
|
2163
|
+
object.log_max_memory_used_threshold = Reader.read_integer(reader)
|
2164
|
+
when 'log_max_memory_used_threshold_type'
|
2165
|
+
object.log_max_memory_used_threshold_type = Reader.read_enum(LogMaxMemoryUsedThresholdType, reader)
|
2033
2166
|
when 'maintenance_reason_required'
|
2034
2167
|
object.maintenance_reason_required = Reader.read_boolean(reader)
|
2035
2168
|
when 'memory_policy'
|
@@ -3242,6 +3375,8 @@ module OvirtSDK4
|
|
3242
3375
|
object.actual_size = value if not value.nil?
|
3243
3376
|
value = reader.get_attribute('alias')
|
3244
3377
|
object.alias_ = value if not value.nil?
|
3378
|
+
value = reader.get_attribute('backup')
|
3379
|
+
object.backup = value if not value.nil?
|
3245
3380
|
value = reader.get_attribute('bootable')
|
3246
3381
|
object.bootable = value if not value.nil?
|
3247
3382
|
value = reader.get_attribute('comment')
|
@@ -3303,6 +3438,8 @@ module OvirtSDK4
|
|
3303
3438
|
object.actual_size = Reader.read_integer(reader)
|
3304
3439
|
when 'alias'
|
3305
3440
|
object.alias_ = Reader.read_string(reader)
|
3441
|
+
when 'backup'
|
3442
|
+
object.backup = Reader.read_enum(DiskBackup, reader)
|
3306
3443
|
when 'bootable'
|
3307
3444
|
object.bootable = Reader.read_boolean(reader)
|
3308
3445
|
when 'comment'
|
@@ -3662,6 +3799,8 @@ module OvirtSDK4
|
|
3662
3799
|
object.actual_size = value if not value.nil?
|
3663
3800
|
value = reader.get_attribute('alias')
|
3664
3801
|
object.alias_ = value if not value.nil?
|
3802
|
+
value = reader.get_attribute('backup')
|
3803
|
+
object.backup = value if not value.nil?
|
3665
3804
|
value = reader.get_attribute('bootable')
|
3666
3805
|
object.bootable = value if not value.nil?
|
3667
3806
|
value = reader.get_attribute('comment')
|
@@ -3723,6 +3862,8 @@ module OvirtSDK4
|
|
3723
3862
|
object.actual_size = Reader.read_integer(reader)
|
3724
3863
|
when 'alias'
|
3725
3864
|
object.alias_ = Reader.read_string(reader)
|
3865
|
+
when 'backup'
|
3866
|
+
object.backup = Reader.read_enum(DiskBackup, reader)
|
3726
3867
|
when 'bootable'
|
3727
3868
|
object.bootable = Reader.read_boolean(reader)
|
3728
3869
|
when 'comment'
|
@@ -7233,6 +7374,8 @@ module OvirtSDK4
|
|
7233
7374
|
object.type = value if not value.nil?
|
7234
7375
|
value = reader.get_attribute('update_available')
|
7235
7376
|
object.update_available = value if not value.nil?
|
7377
|
+
value = reader.get_attribute('vgpu_placement')
|
7378
|
+
object.vgpu_placement = value if not value.nil?
|
7236
7379
|
|
7237
7380
|
# Discard the start tag:
|
7238
7381
|
empty = reader.empty_element?
|
@@ -7316,6 +7459,8 @@ module OvirtSDK4
|
|
7316
7459
|
object.update_available = Reader.read_boolean(reader)
|
7317
7460
|
when 'version'
|
7318
7461
|
object.version = VersionReader.read_one(reader)
|
7462
|
+
when 'vgpu_placement'
|
7463
|
+
object.vgpu_placement = Reader.read_enum(VgpuPlacement, reader)
|
7319
7464
|
when 'affinity_labels'
|
7320
7465
|
object.affinity_labels = AffinityLabelReader.read_many(reader)
|
7321
7466
|
when 'agents'
|
@@ -7685,16 +7830,12 @@ module OvirtSDK4
|
|
7685
7830
|
object.mtu = Reader.read_integer(reader)
|
7686
7831
|
when 'name'
|
7687
7832
|
object.name = Reader.read_string(reader)
|
7688
|
-
when 'network_labels'
|
7689
|
-
object.network_labels = NetworkLabelReader.read_many(reader)
|
7690
7833
|
when 'override_configuration'
|
7691
7834
|
object.override_configuration = Reader.read_boolean(reader)
|
7692
7835
|
when 'properties'
|
7693
7836
|
object.properties = PropertyReader.read_many(reader)
|
7694
7837
|
when 'speed'
|
7695
7838
|
object.speed = Reader.read_integer(reader)
|
7696
|
-
when 'statistics'
|
7697
|
-
object.statistics = StatisticReader.read_many(reader)
|
7698
7839
|
when 'status'
|
7699
7840
|
object.status = Reader.read_enum(NicStatus, reader)
|
7700
7841
|
when 'virtual_functions_configuration'
|
@@ -7705,10 +7846,16 @@ module OvirtSDK4
|
|
7705
7846
|
object.host = HostReader.read_one(reader)
|
7706
7847
|
when 'network'
|
7707
7848
|
object.network = NetworkReader.read_one(reader)
|
7849
|
+
when 'network_labels'
|
7850
|
+
object.network_labels = NetworkLabelReader.read_many(reader)
|
7708
7851
|
when 'physical_function'
|
7709
7852
|
object.physical_function = HostNicReader.read_one(reader)
|
7710
7853
|
when 'qos'
|
7711
7854
|
object.qos = QosReader.read_one(reader)
|
7855
|
+
when 'statistics'
|
7856
|
+
object.statistics = StatisticReader.read_many(reader)
|
7857
|
+
when 'link'
|
7858
|
+
read_link(reader, object)
|
7712
7859
|
else
|
7713
7860
|
reader.next_element
|
7714
7861
|
end
|
@@ -7745,6 +7892,25 @@ module OvirtSDK4
|
|
7745
7892
|
return list
|
7746
7893
|
end
|
7747
7894
|
|
7895
|
+
def self.read_link(reader, object)
|
7896
|
+
# Process the attributes:
|
7897
|
+
rel = reader.get_attribute('rel')
|
7898
|
+
href = reader.get_attribute('href')
|
7899
|
+
if rel && href
|
7900
|
+
list = List.new
|
7901
|
+
list.href = href
|
7902
|
+
case rel
|
7903
|
+
when 'networklabels'
|
7904
|
+
object.network_labels = list
|
7905
|
+
when 'statistics'
|
7906
|
+
object.statistics = list
|
7907
|
+
end
|
7908
|
+
end
|
7909
|
+
|
7910
|
+
# Discard the rest of the element:
|
7911
|
+
reader.next_element
|
7912
|
+
end
|
7913
|
+
|
7748
7914
|
end
|
7749
7915
|
|
7750
7916
|
class HostNicVirtualFunctionsConfigurationReader < Reader
|
@@ -7879,6 +8045,10 @@ module OvirtSDK4
|
|
7879
8045
|
object.comment = Reader.read_string(reader)
|
7880
8046
|
when 'description'
|
7881
8047
|
object.description = Reader.read_string(reader)
|
8048
|
+
when 'driver_options'
|
8049
|
+
object.driver_options = PropertyReader.read_many(reader)
|
8050
|
+
when 'driver_sensitive_options'
|
8051
|
+
object.driver_sensitive_options = PropertyReader.read_many(reader)
|
7882
8052
|
when 'id'
|
7883
8053
|
object.id = Reader.read_string(reader)
|
7884
8054
|
when 'logical_units'
|
@@ -8290,6 +8460,8 @@ module OvirtSDK4
|
|
8290
8460
|
object.description = value if not value.nil?
|
8291
8461
|
value = reader.get_attribute('direction')
|
8292
8462
|
object.direction = value if not value.nil?
|
8463
|
+
value = reader.get_attribute('format')
|
8464
|
+
object.format = value if not value.nil?
|
8293
8465
|
value = reader.get_attribute('id')
|
8294
8466
|
object.id = value if not value.nil?
|
8295
8467
|
value = reader.get_attribute('inactivity_timeout')
|
@@ -8323,6 +8495,8 @@ module OvirtSDK4
|
|
8323
8495
|
object.description = Reader.read_string(reader)
|
8324
8496
|
when 'direction'
|
8325
8497
|
object.direction = Reader.read_enum(ImageTransferDirection, reader)
|
8498
|
+
when 'format'
|
8499
|
+
object.format = Reader.read_enum(DiskFormat, reader)
|
8326
8500
|
when 'id'
|
8327
8501
|
object.id = Reader.read_string(reader)
|
8328
8502
|
when 'inactivity_timeout'
|
@@ -8339,6 +8513,8 @@ module OvirtSDK4
|
|
8339
8513
|
object.transfer_url = Reader.read_string(reader)
|
8340
8514
|
when 'transferred'
|
8341
8515
|
object.transferred = Reader.read_integer(reader)
|
8516
|
+
when 'backup'
|
8517
|
+
object.backup = BackupReader.read_one(reader)
|
8342
8518
|
when 'disk'
|
8343
8519
|
object.disk = DiskReader.read_one(reader)
|
8344
8520
|
when 'host'
|
@@ -8400,6 +8576,8 @@ module OvirtSDK4
|
|
8400
8576
|
object.active_directory_ou = value if not value.nil?
|
8401
8577
|
value = reader.get_attribute('authorized_ssh_keys')
|
8402
8578
|
object.authorized_ssh_keys = value if not value.nil?
|
8579
|
+
value = reader.get_attribute('cloud_init_network_protocol')
|
8580
|
+
object.cloud_init_network_protocol = value if not value.nil?
|
8403
8581
|
value = reader.get_attribute('custom_script')
|
8404
8582
|
object.custom_script = value if not value.nil?
|
8405
8583
|
value = reader.get_attribute('dns_search')
|
@@ -8447,6 +8625,8 @@ module OvirtSDK4
|
|
8447
8625
|
object.authorized_ssh_keys = Reader.read_string(reader)
|
8448
8626
|
when 'cloud_init'
|
8449
8627
|
object.cloud_init = CloudInitReader.read_one(reader)
|
8628
|
+
when 'cloud_init_network_protocol'
|
8629
|
+
object.cloud_init_network_protocol = Reader.read_enum(CloudInitNetworkProtocol, reader)
|
8450
8630
|
when 'configuration'
|
8451
8631
|
object.configuration = ConfigurationReader.read_one(reader)
|
8452
8632
|
when 'custom_script'
|
@@ -15540,6 +15720,8 @@ module OvirtSDK4
|
|
15540
15720
|
object.cpu_profile = CpuProfileReader.read_one(reader)
|
15541
15721
|
when 'disk_attachments'
|
15542
15722
|
object.disk_attachments = DiskAttachmentReader.read_many(reader)
|
15723
|
+
when 'disks'
|
15724
|
+
object.disks = DiskReader.read_many(reader)
|
15543
15725
|
when 'external_host_provider'
|
15544
15726
|
object.external_host_provider = ExternalHostProviderReader.read_one(reader)
|
15545
15727
|
when 'floppies'
|
@@ -15638,6 +15820,8 @@ module OvirtSDK4
|
|
15638
15820
|
object.cdroms = list
|
15639
15821
|
when 'diskattachments'
|
15640
15822
|
object.disk_attachments = list
|
15823
|
+
when 'disks'
|
15824
|
+
object.disks = list
|
15641
15825
|
when 'floppies'
|
15642
15826
|
object.floppies = list
|
15643
15827
|
when 'graphicsconsoles'
|
@@ -16501,6 +16685,8 @@ module OvirtSDK4
|
|
16501
16685
|
object.available = value if not value.nil?
|
16502
16686
|
value = reader.get_attribute('backup')
|
16503
16687
|
object.backup = value if not value.nil?
|
16688
|
+
value = reader.get_attribute('block_size')
|
16689
|
+
object.block_size = value if not value.nil?
|
16504
16690
|
value = reader.get_attribute('comment')
|
16505
16691
|
object.comment = value if not value.nil?
|
16506
16692
|
value = reader.get_attribute('committed')
|
@@ -16550,6 +16736,8 @@ module OvirtSDK4
|
|
16550
16736
|
object.available = Reader.read_integer(reader)
|
16551
16737
|
when 'backup'
|
16552
16738
|
object.backup = Reader.read_boolean(reader)
|
16739
|
+
when 'block_size'
|
16740
|
+
object.block_size = Reader.read_integer(reader)
|
16553
16741
|
when 'comment'
|
16554
16742
|
object.comment = Reader.read_string(reader)
|
16555
16743
|
when 'committed'
|
@@ -19649,6 +19837,8 @@ module OvirtSDK4
|
|
19649
19837
|
Reader.register('applications', ApplicationReader.method(:read_many))
|
19650
19838
|
Reader.register('authorized_key', AuthorizedKeyReader.method(:read_one))
|
19651
19839
|
Reader.register('authorized_keys', AuthorizedKeyReader.method(:read_many))
|
19840
|
+
Reader.register('backup', BackupReader.method(:read_one))
|
19841
|
+
Reader.register('backups', BackupReader.method(:read_many))
|
19652
19842
|
Reader.register('balance', BalanceReader.method(:read_one))
|
19653
19843
|
Reader.register('balances', BalanceReader.method(:read_many))
|
19654
19844
|
Reader.register('bios', BiosReader.method(:read_one))
|