ovirt-engine-sdk 4.4.1 → 4.6.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 +10 -3
- data/ext/ovirtsdk4c/ov_http_client.c +10 -2
- data/ext/ovirtsdk4c/ov_http_request.c +1 -1
- data/ext/ovirtsdk4c/ov_http_response.c +1 -1
- data/ext/ovirtsdk4c/ov_http_transfer.c +1 -1
- data/ext/ovirtsdk4c/ov_xml_reader.c +1 -1
- data/lib/ovirtsdk4/readers.rb +538 -0
- data/lib/ovirtsdk4/services.rb +1226 -199
- data/lib/ovirtsdk4/types.rb +1996 -49
- data/lib/ovirtsdk4/version.rb +1 -1
- data/lib/ovirtsdk4/writers.rb +182 -0
- metadata +26 -13
data/lib/ovirtsdk4/version.rb
CHANGED
data/lib/ovirtsdk4/writers.rb
CHANGED
@@ -42,6 +42,7 @@ module OvirtSDK4
|
|
42
42
|
Writer.write_boolean(writer, 'commit_on_success', object.commit_on_success) unless object.commit_on_success.nil?
|
43
43
|
StorageConnectionWriter.write_one(object.connection, writer, 'connection') unless object.connection.nil?
|
44
44
|
Writer.write_integer(writer, 'connectivity_timeout', object.connectivity_timeout) unless object.connectivity_timeout.nil?
|
45
|
+
Writer.write_string(writer, 'correlation_id', object.correlation_id) unless object.correlation_id.nil?
|
45
46
|
DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
|
46
47
|
Writer.write_boolean(writer, 'deploy_hosted_engine', object.deploy_hosted_engine) unless object.deploy_hosted_engine.nil?
|
47
48
|
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
@@ -58,6 +59,7 @@ module OvirtSDK4
|
|
58
59
|
Writer.write_string(writer, 'filename', object.filename) unless object.filename.nil?
|
59
60
|
Writer.write_boolean(writer, 'filter', object.filter) unless object.filter.nil?
|
60
61
|
Writer.write_boolean(writer, 'fix_layout', object.fix_layout) unless object.fix_layout.nil?
|
62
|
+
Writer.write_string(writer, 'follow', object.follow) unless object.follow.nil?
|
61
63
|
Writer.write_boolean(writer, 'force', object.force) unless object.force.nil?
|
62
64
|
GracePeriodWriter.write_one(object.grace_period, writer, 'grace_period') unless object.grace_period.nil?
|
63
65
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
@@ -116,6 +118,7 @@ module OvirtSDK4
|
|
116
118
|
Writer.write_integer(writer, 'timeout', object.timeout) unless object.timeout.nil?
|
117
119
|
Writer.write_boolean(writer, 'undeploy_hosted_engine', object.undeploy_hosted_engine) unless object.undeploy_hosted_engine.nil?
|
118
120
|
Writer.write_string(writer, 'upgrade_action', object.upgrade_action) unless object.upgrade_action.nil?
|
121
|
+
Writer.write_integer(writer, 'upgrade_percent_complete', object.upgrade_percent_complete) unless object.upgrade_percent_complete.nil?
|
119
122
|
Writer.write_boolean(writer, 'use_cloud_init', object.use_cloud_init) unless object.use_cloud_init.nil?
|
120
123
|
Writer.write_boolean(writer, 'use_ignition', object.use_ignition) unless object.use_ignition.nil?
|
121
124
|
Writer.write_boolean(writer, 'use_initialization', object.use_initialization) unless object.use_initialization.nil?
|
@@ -151,6 +154,7 @@ module OvirtSDK4
|
|
151
154
|
href = object.href
|
152
155
|
writer.write_attribute('href', href) unless href.nil?
|
153
156
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
157
|
+
Writer.write_boolean(writer, 'broken', object.broken) unless object.broken.nil?
|
154
158
|
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
155
159
|
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
156
160
|
Writer.write_boolean(writer, 'enforcing', object.enforcing) unless object.enforcing.nil?
|
@@ -483,11 +487,13 @@ module OvirtSDK4
|
|
483
487
|
Writer.write_date(writer, 'creation_date', object.creation_date) unless object.creation_date.nil?
|
484
488
|
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
485
489
|
Writer.write_string(writer, 'from_checkpoint_id', object.from_checkpoint_id) unless object.from_checkpoint_id.nil?
|
490
|
+
Writer.write_date(writer, 'modification_date', object.modification_date) unless object.modification_date.nil?
|
486
491
|
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
487
492
|
Writer.write_string(writer, 'phase', object.phase) unless object.phase.nil?
|
488
493
|
Writer.write_string(writer, 'to_checkpoint_id', object.to_checkpoint_id) unless object.to_checkpoint_id.nil?
|
489
494
|
DiskWriter.write_many(object.disks, writer, 'disk', 'disks') unless object.disks.nil?
|
490
495
|
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
496
|
+
SnapshotWriter.write_one(object.snapshot, writer, 'snapshot') unless object.snapshot.nil?
|
491
497
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
492
498
|
writer.write_end
|
493
499
|
end
|
@@ -825,6 +831,7 @@ module OvirtSDK4
|
|
825
831
|
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
826
832
|
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
827
833
|
Writer.write_string(writer, 'parent_id', object.parent_id) unless object.parent_id.nil?
|
834
|
+
Writer.write_string(writer, 'state', object.state) unless object.state.nil?
|
828
835
|
DiskWriter.write_many(object.disks, writer, 'disk', 'disks') unless object.disks.nil?
|
829
836
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
830
837
|
writer.write_end
|
@@ -922,6 +929,9 @@ module OvirtSDK4
|
|
922
929
|
Writer.write_boolean(writer, 'threads_as_cores', object.threads_as_cores) unless object.threads_as_cores.nil?
|
923
930
|
Writer.write_boolean(writer, 'trusted_service', object.trusted_service) unless object.trusted_service.nil?
|
924
931
|
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
932
|
+
Writer.write_string(writer, 'upgrade_correlation_id', object.upgrade_correlation_id) unless object.upgrade_correlation_id.nil?
|
933
|
+
Writer.write_boolean(writer, 'upgrade_in_progress', object.upgrade_in_progress) unless object.upgrade_in_progress.nil?
|
934
|
+
Writer.write_integer(writer, 'upgrade_percent_complete', object.upgrade_percent_complete) unless object.upgrade_percent_complete.nil?
|
925
935
|
VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
926
936
|
Writer.write_boolean(writer, 'virt_service', object.virt_service) unless object.virt_service.nil?
|
927
937
|
Writer.write_boolean(writer, 'vnc_encryption', object.vnc_encryption) unless object.vnc_encryption.nil?
|
@@ -1589,6 +1599,7 @@ module OvirtSDK4
|
|
1589
1599
|
CertificateWriter.write_one(object.certificate, writer, 'certificate') unless object.certificate.nil?
|
1590
1600
|
Writer.write_boolean(writer, 'copy_paste_enabled', object.copy_paste_enabled) unless object.copy_paste_enabled.nil?
|
1591
1601
|
Writer.write_string(writer, 'disconnect_action', object.disconnect_action) unless object.disconnect_action.nil?
|
1602
|
+
Writer.write_integer(writer, 'disconnect_action_delay', object.disconnect_action_delay) unless object.disconnect_action_delay.nil?
|
1592
1603
|
Writer.write_boolean(writer, 'file_transfer_enabled', object.file_transfer_enabled) unless object.file_transfer_enabled.nil?
|
1593
1604
|
Writer.write_string(writer, 'keyboard_layout', object.keyboard_layout) unless object.keyboard_layout.nil?
|
1594
1605
|
Writer.write_integer(writer, 'monitors', object.monitors) unless object.monitors.nil?
|
@@ -1711,6 +1722,34 @@ module OvirtSDK4
|
|
1711
1722
|
|
1712
1723
|
end
|
1713
1724
|
|
1725
|
+
class DynamicCpuWriter < Writer
|
1726
|
+
|
1727
|
+
def self.write_one(object, writer, singular = nil)
|
1728
|
+
singular ||= 'dynamic_cpu'
|
1729
|
+
writer.write_start(singular)
|
1730
|
+
href = object.href
|
1731
|
+
writer.write_attribute('href', href) unless href.nil?
|
1732
|
+
CpuTuneWriter.write_one(object.cpu_tune, writer, 'cpu_tune') unless object.cpu_tune.nil?
|
1733
|
+
CpuTopologyWriter.write_one(object.topology, writer, 'topology') unless object.topology.nil?
|
1734
|
+
writer.write_end
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
def self.write_many(list, writer, singular = nil, plural = nil)
|
1738
|
+
singular ||= 'dynamic_cpu'
|
1739
|
+
plural ||= 'dynamic_cpus'
|
1740
|
+
writer.write_start(plural)
|
1741
|
+
if list.is_a?(List)
|
1742
|
+
href = list.href
|
1743
|
+
writer.write_attribute('href', href) unless href.nil?
|
1744
|
+
end
|
1745
|
+
list.each do |item|
|
1746
|
+
write_one(item, writer, singular)
|
1747
|
+
end
|
1748
|
+
writer.write_end
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
end
|
1752
|
+
|
1714
1753
|
class EntityProfileDetailWriter < Writer
|
1715
1754
|
|
1716
1755
|
def self.write_one(object, writer, singular = nil)
|
@@ -2091,6 +2130,40 @@ module OvirtSDK4
|
|
2091
2130
|
|
2092
2131
|
end
|
2093
2132
|
|
2133
|
+
class ExternalTemplateImportWriter < Writer
|
2134
|
+
|
2135
|
+
def self.write_one(object, writer, singular = nil)
|
2136
|
+
singular ||= 'external_template_import'
|
2137
|
+
writer.write_start(singular)
|
2138
|
+
href = object.href
|
2139
|
+
writer.write_attribute('href', href) unless href.nil?
|
2140
|
+
Writer.write_boolean(writer, 'clone', object.clone) unless object.clone.nil?
|
2141
|
+
Writer.write_string(writer, 'url', object.url) unless object.url.nil?
|
2142
|
+
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
2143
|
+
CpuProfileWriter.write_one(object.cpu_profile, writer, 'cpu_profile') unless object.cpu_profile.nil?
|
2144
|
+
HostWriter.write_one(object.host, writer, 'host') unless object.host.nil?
|
2145
|
+
QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
|
2146
|
+
StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
|
2147
|
+
TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
|
2148
|
+
writer.write_end
|
2149
|
+
end
|
2150
|
+
|
2151
|
+
def self.write_many(list, writer, singular = nil, plural = nil)
|
2152
|
+
singular ||= 'external_template_import'
|
2153
|
+
plural ||= 'external_template_imports'
|
2154
|
+
writer.write_start(plural)
|
2155
|
+
if list.is_a?(List)
|
2156
|
+
href = list.href
|
2157
|
+
writer.write_attribute('href', href) unless href.nil?
|
2158
|
+
end
|
2159
|
+
list.each do |item|
|
2160
|
+
write_one(item, writer, singular)
|
2161
|
+
end
|
2162
|
+
writer.write_end
|
2163
|
+
end
|
2164
|
+
|
2165
|
+
end
|
2166
|
+
|
2094
2167
|
class ExternalVmImportWriter < Writer
|
2095
2168
|
|
2096
2169
|
def self.write_one(object, writer, singular = nil)
|
@@ -2914,6 +2987,7 @@ module OvirtSDK4
|
|
2914
2987
|
Writer.write_boolean(writer, 'numa_supported', object.numa_supported) unless object.numa_supported.nil?
|
2915
2988
|
OperatingSystemWriter.write_one(object.os, writer, 'os') unless object.os.nil?
|
2916
2989
|
Writer.write_boolean(writer, 'override_iptables', object.override_iptables) unless object.override_iptables.nil?
|
2990
|
+
Writer.write_boolean(writer, 'ovn_configured', object.ovn_configured) unless object.ovn_configured.nil?
|
2917
2991
|
Writer.write_integer(writer, 'port', object.port) unless object.port.nil?
|
2918
2992
|
PowerManagementWriter.write_one(object.power_management, writer, 'power_management') unless object.power_management.nil?
|
2919
2993
|
Writer.write_string(writer, 'protocol', object.protocol) unless object.protocol.nil?
|
@@ -2933,6 +3007,7 @@ module OvirtSDK4
|
|
2933
3007
|
AffinityLabelWriter.write_many(object.affinity_labels, writer, 'affinity_label', 'affinity_labels') unless object.affinity_labels.nil?
|
2934
3008
|
AgentWriter.write_many(object.agents, writer, 'agent', 'agents') unless object.agents.nil?
|
2935
3009
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
3010
|
+
HostCpuUnitWriter.write_many(object.cpu_units, writer, 'host_cpu_unit', 'cpu_units') unless object.cpu_units.nil?
|
2936
3011
|
HostDeviceWriter.write_many(object.devices, writer, 'host_device', 'devices') unless object.devices.nil?
|
2937
3012
|
ExternalHostProviderWriter.write_one(object.external_host_provider, writer, 'external_host_provider') unless object.external_host_provider.nil?
|
2938
3013
|
ExternalNetworkProviderConfigurationWriter.write_many(object.external_network_provider_configurations, writer, 'external_network_provider_configuration', 'external_network_provider_configurations') unless object.external_network_provider_configurations.nil?
|
@@ -2966,6 +3041,41 @@ module OvirtSDK4
|
|
2966
3041
|
|
2967
3042
|
end
|
2968
3043
|
|
3044
|
+
class HostCpuUnitWriter < Writer
|
3045
|
+
|
3046
|
+
def self.write_one(object, writer, singular = nil)
|
3047
|
+
singular ||= 'host_cpu_unit'
|
3048
|
+
writer.write_start(singular)
|
3049
|
+
href = object.href
|
3050
|
+
writer.write_attribute('href', href) unless href.nil?
|
3051
|
+
writer.write_attribute('id', object.id) unless object.id.nil?
|
3052
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3053
|
+
Writer.write_integer(writer, 'core_id', object.core_id) unless object.core_id.nil?
|
3054
|
+
Writer.write_integer(writer, 'cpu_id', object.cpu_id) unless object.cpu_id.nil?
|
3055
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3056
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3057
|
+
Writer.write_boolean(writer, 'runs_vdsm', object.runs_vdsm) unless object.runs_vdsm.nil?
|
3058
|
+
Writer.write_integer(writer, 'socket_id', object.socket_id) unless object.socket_id.nil?
|
3059
|
+
VmWriter.write_many(object.vms, writer, 'vm', 'vms') unless object.vms.nil?
|
3060
|
+
writer.write_end
|
3061
|
+
end
|
3062
|
+
|
3063
|
+
def self.write_many(list, writer, singular = nil, plural = nil)
|
3064
|
+
singular ||= 'host_cpu_unit'
|
3065
|
+
plural ||= 'host_cpu_units'
|
3066
|
+
writer.write_start(plural)
|
3067
|
+
if list.is_a?(List)
|
3068
|
+
href = list.href
|
3069
|
+
writer.write_attribute('href', href) unless href.nil?
|
3070
|
+
end
|
3071
|
+
list.each do |item|
|
3072
|
+
write_one(item, writer, singular)
|
3073
|
+
end
|
3074
|
+
writer.write_end
|
3075
|
+
end
|
3076
|
+
|
3077
|
+
end
|
3078
|
+
|
2969
3079
|
class HostDeviceWriter < Writer
|
2970
3080
|
|
2971
3081
|
def self.write_one(object, writer, singular = nil)
|
@@ -3394,10 +3504,12 @@ module OvirtSDK4
|
|
3394
3504
|
href = object.href
|
3395
3505
|
writer.write_attribute('href', href) unless href.nil?
|
3396
3506
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
3507
|
+
Writer.write_string(writer, 'auto_pinning_policy', object.auto_pinning_policy) unless object.auto_pinning_policy.nil?
|
3397
3508
|
BiosWriter.write_one(object.bios, writer, 'bios') unless object.bios.nil?
|
3398
3509
|
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
3399
3510
|
ConsoleWriter.write_one(object.console, writer, 'console') unless object.console.nil?
|
3400
3511
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
3512
|
+
Writer.write_string(writer, 'cpu_pinning_policy', object.cpu_pinning_policy) unless object.cpu_pinning_policy.nil?
|
3401
3513
|
Writer.write_integer(writer, 'cpu_shares', object.cpu_shares) unless object.cpu_shares.nil?
|
3402
3514
|
Writer.write_date(writer, 'creation_time', object.creation_time) unless object.creation_time.nil?
|
3403
3515
|
VersionWriter.write_one(object.custom_compatibility_version, writer, 'custom_compatibility_version') unless object.custom_compatibility_version.nil?
|
@@ -3432,11 +3544,13 @@ module OvirtSDK4
|
|
3432
3544
|
Writer.write_string(writer, 'status', object.status) unless object.status.nil?
|
3433
3545
|
Writer.write_string(writer, 'storage_error_resume_behaviour', object.storage_error_resume_behaviour) unless object.storage_error_resume_behaviour.nil?
|
3434
3546
|
TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
|
3547
|
+
Writer.write_boolean(writer, 'tpm_enabled', object.tpm_enabled) unless object.tpm_enabled.nil?
|
3435
3548
|
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
3436
3549
|
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
3437
3550
|
UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
|
3438
3551
|
TemplateVersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
3439
3552
|
VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
|
3553
|
+
Writer.write_integer(writer, 'virtio_scsi_multi_queues', object.virtio_scsi_multi_queues) unless object.virtio_scsi_multi_queues.nil?
|
3440
3554
|
Writer.write_boolean(writer, 'virtio_scsi_multi_queues_enabled', object.virtio_scsi_multi_queues_enabled) unless object.virtio_scsi_multi_queues_enabled.nil?
|
3441
3555
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
3442
3556
|
CdromWriter.write_many(object.cdroms, writer, 'cdrom', 'cdroms') unless object.cdroms.nil?
|
@@ -3444,6 +3558,7 @@ module OvirtSDK4
|
|
3444
3558
|
CpuProfileWriter.write_one(object.cpu_profile, writer, 'cpu_profile') unless object.cpu_profile.nil?
|
3445
3559
|
DiskAttachmentWriter.write_many(object.disk_attachments, writer, 'disk_attachment', 'disk_attachments') unless object.disk_attachments.nil?
|
3446
3560
|
GraphicsConsoleWriter.write_many(object.graphics_consoles, writer, 'graphics_console', 'graphics_consoles') unless object.graphics_consoles.nil?
|
3561
|
+
VmMediatedDeviceWriter.write_many(object.mediated_devices, writer, 'vm_mediated_device', 'mediated_devices') unless object.mediated_devices.nil?
|
3447
3562
|
NicWriter.write_many(object.nics, writer, 'nic', 'nics') unless object.nics.nil?
|
3448
3563
|
PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
|
3449
3564
|
QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
|
@@ -3850,6 +3965,7 @@ module OvirtSDK4
|
|
3850
3965
|
writer.write_attribute('href', href) unless href.nil?
|
3851
3966
|
Writer.write_integer(writer, 'available_instances', object.available_instances) unless object.available_instances.nil?
|
3852
3967
|
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
3968
|
+
Writer.write_string(writer, 'human_readable_name', object.human_readable_name) unless object.human_readable_name.nil?
|
3853
3969
|
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
3854
3970
|
writer.write_end
|
3855
3971
|
end
|
@@ -4054,7 +4170,9 @@ module OvirtSDK4
|
|
4054
4170
|
Writer.write_string(writer, 'auto_converge', object.auto_converge) unless object.auto_converge.nil?
|
4055
4171
|
MigrationBandwidthWriter.write_one(object.bandwidth, writer, 'bandwidth') unless object.bandwidth.nil?
|
4056
4172
|
Writer.write_string(writer, 'compressed', object.compressed) unless object.compressed.nil?
|
4173
|
+
Writer.write_integer(writer, 'custom_parallel_migrations', object.custom_parallel_migrations) unless object.custom_parallel_migrations.nil?
|
4057
4174
|
Writer.write_string(writer, 'encrypted', object.encrypted) unless object.encrypted.nil?
|
4175
|
+
Writer.write_string(writer, 'parallel_migrations_policy', object.parallel_migrations_policy) unless object.parallel_migrations_policy.nil?
|
4058
4176
|
MigrationPolicyWriter.write_one(object.policy, writer, 'policy') unless object.policy.nil?
|
4059
4177
|
writer.write_end
|
4060
4178
|
end
|
@@ -4368,6 +4486,7 @@ module OvirtSDK4
|
|
4368
4486
|
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4369
4487
|
Writer.write_boolean(writer, 'on_boot', object.on_boot) unless object.on_boot.nil?
|
4370
4488
|
Writer.write_boolean(writer, 'plugged', object.plugged) unless object.plugged.nil?
|
4489
|
+
Writer.write_boolean(writer, 'synced', object.synced) unless object.synced.nil?
|
4371
4490
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
4372
4491
|
NetworkWriter.write_one(object.network, writer, 'network') unless object.network.nil?
|
4373
4492
|
NetworkAttachmentWriter.write_many(object.network_attachments, writer, 'network_attachment', 'network_attachments') unless object.network_attachments.nil?
|
@@ -4882,6 +5001,7 @@ module OvirtSDK4
|
|
4882
5001
|
IconWriter.write_one(object.large_icon, writer, 'large_icon') unless object.large_icon.nil?
|
4883
5002
|
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
4884
5003
|
IconWriter.write_one(object.small_icon, writer, 'small_icon') unless object.small_icon.nil?
|
5004
|
+
Writer.write_string(writer, 'tpm_support', object.tpm_support) unless object.tpm_support.nil?
|
4885
5005
|
writer.write_end
|
4886
5006
|
end
|
4887
5007
|
|
@@ -6088,10 +6208,12 @@ module OvirtSDK4
|
|
6088
6208
|
href = object.href
|
6089
6209
|
writer.write_attribute('href', href) unless href.nil?
|
6090
6210
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
6211
|
+
Writer.write_string(writer, 'auto_pinning_policy', object.auto_pinning_policy) unless object.auto_pinning_policy.nil?
|
6091
6212
|
BiosWriter.write_one(object.bios, writer, 'bios') unless object.bios.nil?
|
6092
6213
|
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
6093
6214
|
ConsoleWriter.write_one(object.console, writer, 'console') unless object.console.nil?
|
6094
6215
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
6216
|
+
Writer.write_string(writer, 'cpu_pinning_policy', object.cpu_pinning_policy) unless object.cpu_pinning_policy.nil?
|
6095
6217
|
Writer.write_integer(writer, 'cpu_shares', object.cpu_shares) unless object.cpu_shares.nil?
|
6096
6218
|
Writer.write_date(writer, 'creation_time', object.creation_time) unless object.creation_time.nil?
|
6097
6219
|
VersionWriter.write_one(object.custom_compatibility_version, writer, 'custom_compatibility_version') unless object.custom_compatibility_version.nil?
|
@@ -6142,11 +6264,13 @@ module OvirtSDK4
|
|
6142
6264
|
Writer.write_date(writer, 'stop_time', object.stop_time) unless object.stop_time.nil?
|
6143
6265
|
Writer.write_string(writer, 'storage_error_resume_behaviour', object.storage_error_resume_behaviour) unless object.storage_error_resume_behaviour.nil?
|
6144
6266
|
TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
|
6267
|
+
Writer.write_boolean(writer, 'tpm_enabled', object.tpm_enabled) unless object.tpm_enabled.nil?
|
6145
6268
|
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
6146
6269
|
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
6147
6270
|
UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
|
6148
6271
|
Writer.write_boolean(writer, 'use_latest_template_version', object.use_latest_template_version) unless object.use_latest_template_version.nil?
|
6149
6272
|
VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
|
6273
|
+
Writer.write_integer(writer, 'virtio_scsi_multi_queues', object.virtio_scsi_multi_queues) unless object.virtio_scsi_multi_queues.nil?
|
6150
6274
|
Writer.write_boolean(writer, 'virtio_scsi_multi_queues_enabled', object.virtio_scsi_multi_queues_enabled) unless object.virtio_scsi_multi_queues_enabled.nil?
|
6151
6275
|
AffinityLabelWriter.write_many(object.affinity_labels, writer, 'affinity_label', 'affinity_labels') unless object.affinity_labels.nil?
|
6152
6276
|
ApplicationWriter.write_many(object.applications, writer, 'application', 'applications') unless object.applications.nil?
|
@@ -6155,6 +6279,7 @@ module OvirtSDK4
|
|
6155
6279
|
CpuProfileWriter.write_one(object.cpu_profile, writer, 'cpu_profile') unless object.cpu_profile.nil?
|
6156
6280
|
DiskAttachmentWriter.write_many(object.disk_attachments, writer, 'disk_attachment', 'disk_attachments') unless object.disk_attachments.nil?
|
6157
6281
|
DiskWriter.write_many(object.disks, writer, 'disk', 'disks') unless object.disks.nil?
|
6282
|
+
DynamicCpuWriter.write_one(object.dynamic_cpu, writer, 'dynamic_cpu') unless object.dynamic_cpu.nil?
|
6158
6283
|
ExternalHostProviderWriter.write_one(object.external_host_provider, writer, 'external_host_provider') unless object.external_host_provider.nil?
|
6159
6284
|
FloppyWriter.write_many(object.floppies, writer, 'floppy', 'floppies') unless object.floppies.nil?
|
6160
6285
|
GraphicsConsoleWriter.write_many(object.graphics_consoles, writer, 'graphics_console', 'graphics_consoles') unless object.graphics_consoles.nil?
|
@@ -6162,6 +6287,7 @@ module OvirtSDK4
|
|
6162
6287
|
HostDeviceWriter.write_many(object.host_devices, writer, 'host_device', 'host_devices') unless object.host_devices.nil?
|
6163
6288
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
6164
6289
|
KatelloErratumWriter.write_many(object.katello_errata, writer, 'katello_erratum', 'katello_errata') unless object.katello_errata.nil?
|
6290
|
+
VmMediatedDeviceWriter.write_many(object.mediated_devices, writer, 'vm_mediated_device', 'mediated_devices') unless object.mediated_devices.nil?
|
6165
6291
|
NicWriter.write_many(object.nics, writer, 'nic', 'nics') unless object.nics.nil?
|
6166
6292
|
NumaNodeWriter.write_many(object.numa_nodes, writer, 'host_numa_node', 'host_numa_nodes') unless object.numa_nodes.nil?
|
6167
6293
|
TemplateWriter.write_one(object.original_template, writer, 'original_template') unless object.original_template.nil?
|
@@ -6700,10 +6826,12 @@ module OvirtSDK4
|
|
6700
6826
|
href = object.href
|
6701
6827
|
writer.write_attribute('href', href) unless href.nil?
|
6702
6828
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
6829
|
+
Writer.write_string(writer, 'auto_pinning_policy', object.auto_pinning_policy) unless object.auto_pinning_policy.nil?
|
6703
6830
|
BiosWriter.write_one(object.bios, writer, 'bios') unless object.bios.nil?
|
6704
6831
|
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
6705
6832
|
ConsoleWriter.write_one(object.console, writer, 'console') unless object.console.nil?
|
6706
6833
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
6834
|
+
Writer.write_string(writer, 'cpu_pinning_policy', object.cpu_pinning_policy) unless object.cpu_pinning_policy.nil?
|
6707
6835
|
Writer.write_integer(writer, 'cpu_shares', object.cpu_shares) unless object.cpu_shares.nil?
|
6708
6836
|
Writer.write_date(writer, 'creation_time', object.creation_time) unless object.creation_time.nil?
|
6709
6837
|
VersionWriter.write_one(object.custom_compatibility_version, writer, 'custom_compatibility_version') unless object.custom_compatibility_version.nil?
|
@@ -6738,11 +6866,13 @@ module OvirtSDK4
|
|
6738
6866
|
Writer.write_string(writer, 'status', object.status) unless object.status.nil?
|
6739
6867
|
Writer.write_string(writer, 'storage_error_resume_behaviour', object.storage_error_resume_behaviour) unless object.storage_error_resume_behaviour.nil?
|
6740
6868
|
TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
|
6869
|
+
Writer.write_boolean(writer, 'tpm_enabled', object.tpm_enabled) unless object.tpm_enabled.nil?
|
6741
6870
|
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
6742
6871
|
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
6743
6872
|
UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
|
6744
6873
|
TemplateVersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
|
6745
6874
|
VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
|
6875
|
+
Writer.write_integer(writer, 'virtio_scsi_multi_queues', object.virtio_scsi_multi_queues) unless object.virtio_scsi_multi_queues.nil?
|
6746
6876
|
Writer.write_boolean(writer, 'virtio_scsi_multi_queues_enabled', object.virtio_scsi_multi_queues_enabled) unless object.virtio_scsi_multi_queues_enabled.nil?
|
6747
6877
|
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
6748
6878
|
CdromWriter.write_many(object.cdroms, writer, 'cdrom', 'cdroms') unless object.cdroms.nil?
|
@@ -6750,6 +6880,7 @@ module OvirtSDK4
|
|
6750
6880
|
CpuProfileWriter.write_one(object.cpu_profile, writer, 'cpu_profile') unless object.cpu_profile.nil?
|
6751
6881
|
DiskAttachmentWriter.write_many(object.disk_attachments, writer, 'disk_attachment', 'disk_attachments') unless object.disk_attachments.nil?
|
6752
6882
|
GraphicsConsoleWriter.write_many(object.graphics_consoles, writer, 'graphics_console', 'graphics_consoles') unless object.graphics_consoles.nil?
|
6883
|
+
VmMediatedDeviceWriter.write_many(object.mediated_devices, writer, 'vm_mediated_device', 'mediated_devices') unless object.mediated_devices.nil?
|
6753
6884
|
NicWriter.write_many(object.nics, writer, 'nic', 'nics') unless object.nics.nil?
|
6754
6885
|
PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
|
6755
6886
|
QuotaWriter.write_one(object.quota, writer, 'quota') unless object.quota.nil?
|
@@ -7248,10 +7379,12 @@ module OvirtSDK4
|
|
7248
7379
|
href = object.href
|
7249
7380
|
writer.write_attribute('href', href) unless href.nil?
|
7250
7381
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
7382
|
+
Writer.write_string(writer, 'auto_pinning_policy', object.auto_pinning_policy) unless object.auto_pinning_policy.nil?
|
7251
7383
|
BiosWriter.write_one(object.bios, writer, 'bios') unless object.bios.nil?
|
7252
7384
|
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
7253
7385
|
ConsoleWriter.write_one(object.console, writer, 'console') unless object.console.nil?
|
7254
7386
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
7387
|
+
Writer.write_string(writer, 'cpu_pinning_policy', object.cpu_pinning_policy) unless object.cpu_pinning_policy.nil?
|
7255
7388
|
Writer.write_integer(writer, 'cpu_shares', object.cpu_shares) unless object.cpu_shares.nil?
|
7256
7389
|
Writer.write_date(writer, 'creation_time', object.creation_time) unless object.creation_time.nil?
|
7257
7390
|
VersionWriter.write_one(object.custom_compatibility_version, writer, 'custom_compatibility_version') unless object.custom_compatibility_version.nil?
|
@@ -7298,11 +7431,13 @@ module OvirtSDK4
|
|
7298
7431
|
Writer.write_date(writer, 'stop_time', object.stop_time) unless object.stop_time.nil?
|
7299
7432
|
Writer.write_string(writer, 'storage_error_resume_behaviour', object.storage_error_resume_behaviour) unless object.storage_error_resume_behaviour.nil?
|
7300
7433
|
TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
|
7434
|
+
Writer.write_boolean(writer, 'tpm_enabled', object.tpm_enabled) unless object.tpm_enabled.nil?
|
7301
7435
|
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
7302
7436
|
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
7303
7437
|
UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
|
7304
7438
|
Writer.write_boolean(writer, 'use_latest_template_version', object.use_latest_template_version) unless object.use_latest_template_version.nil?
|
7305
7439
|
VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
|
7440
|
+
Writer.write_integer(writer, 'virtio_scsi_multi_queues', object.virtio_scsi_multi_queues) unless object.virtio_scsi_multi_queues.nil?
|
7306
7441
|
Writer.write_boolean(writer, 'virtio_scsi_multi_queues_enabled', object.virtio_scsi_multi_queues_enabled) unless object.virtio_scsi_multi_queues_enabled.nil?
|
7307
7442
|
AffinityLabelWriter.write_many(object.affinity_labels, writer, 'affinity_label', 'affinity_labels') unless object.affinity_labels.nil?
|
7308
7443
|
ApplicationWriter.write_many(object.applications, writer, 'application', 'applications') unless object.applications.nil?
|
@@ -7310,6 +7445,7 @@ module OvirtSDK4
|
|
7310
7445
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
7311
7446
|
CpuProfileWriter.write_one(object.cpu_profile, writer, 'cpu_profile') unless object.cpu_profile.nil?
|
7312
7447
|
DiskAttachmentWriter.write_many(object.disk_attachments, writer, 'disk_attachment', 'disk_attachments') unless object.disk_attachments.nil?
|
7448
|
+
DynamicCpuWriter.write_one(object.dynamic_cpu, writer, 'dynamic_cpu') unless object.dynamic_cpu.nil?
|
7313
7449
|
ExternalHostProviderWriter.write_one(object.external_host_provider, writer, 'external_host_provider') unless object.external_host_provider.nil?
|
7314
7450
|
FloppyWriter.write_many(object.floppies, writer, 'floppy', 'floppies') unless object.floppies.nil?
|
7315
7451
|
GraphicsConsoleWriter.write_many(object.graphics_consoles, writer, 'graphics_console', 'graphics_consoles') unless object.graphics_consoles.nil?
|
@@ -7317,6 +7453,7 @@ module OvirtSDK4
|
|
7317
7453
|
HostDeviceWriter.write_many(object.host_devices, writer, 'host_device', 'host_devices') unless object.host_devices.nil?
|
7318
7454
|
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
7319
7455
|
KatelloErratumWriter.write_many(object.katello_errata, writer, 'katello_erratum', 'katello_errata') unless object.katello_errata.nil?
|
7456
|
+
VmMediatedDeviceWriter.write_many(object.mediated_devices, writer, 'vm_mediated_device', 'mediated_devices') unless object.mediated_devices.nil?
|
7320
7457
|
NicWriter.write_many(object.nics, writer, 'nic', 'nics') unless object.nics.nil?
|
7321
7458
|
NumaNodeWriter.write_many(object.numa_nodes, writer, 'host_numa_node', 'host_numa_nodes') unless object.numa_nodes.nil?
|
7322
7459
|
TemplateWriter.write_one(object.original_template, writer, 'original_template') unless object.original_template.nil?
|
@@ -7358,10 +7495,12 @@ module OvirtSDK4
|
|
7358
7495
|
href = object.href
|
7359
7496
|
writer.write_attribute('href', href) unless href.nil?
|
7360
7497
|
writer.write_attribute('id', object.id) unless object.id.nil?
|
7498
|
+
Writer.write_string(writer, 'auto_pinning_policy', object.auto_pinning_policy) unless object.auto_pinning_policy.nil?
|
7361
7499
|
BiosWriter.write_one(object.bios, writer, 'bios') unless object.bios.nil?
|
7362
7500
|
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
7363
7501
|
ConsoleWriter.write_one(object.console, writer, 'console') unless object.console.nil?
|
7364
7502
|
CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
|
7503
|
+
Writer.write_string(writer, 'cpu_pinning_policy', object.cpu_pinning_policy) unless object.cpu_pinning_policy.nil?
|
7365
7504
|
Writer.write_integer(writer, 'cpu_shares', object.cpu_shares) unless object.cpu_shares.nil?
|
7366
7505
|
Writer.write_date(writer, 'creation_time', object.creation_time) unless object.creation_time.nil?
|
7367
7506
|
VersionWriter.write_one(object.custom_compatibility_version, writer, 'custom_compatibility_version') unless object.custom_compatibility_version.nil?
|
@@ -7395,10 +7534,12 @@ module OvirtSDK4
|
|
7395
7534
|
Writer.write_boolean(writer, 'stateless', object.stateless) unless object.stateless.nil?
|
7396
7535
|
Writer.write_string(writer, 'storage_error_resume_behaviour', object.storage_error_resume_behaviour) unless object.storage_error_resume_behaviour.nil?
|
7397
7536
|
TimeZoneWriter.write_one(object.time_zone, writer, 'time_zone') unless object.time_zone.nil?
|
7537
|
+
Writer.write_boolean(writer, 'tpm_enabled', object.tpm_enabled) unless object.tpm_enabled.nil?
|
7398
7538
|
Writer.write_boolean(writer, 'tunnel_migration', object.tunnel_migration) unless object.tunnel_migration.nil?
|
7399
7539
|
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
7400
7540
|
UsbWriter.write_one(object.usb, writer, 'usb') unless object.usb.nil?
|
7401
7541
|
VirtioScsiWriter.write_one(object.virtio_scsi, writer, 'virtio_scsi') unless object.virtio_scsi.nil?
|
7542
|
+
Writer.write_integer(writer, 'virtio_scsi_multi_queues', object.virtio_scsi_multi_queues) unless object.virtio_scsi_multi_queues.nil?
|
7402
7543
|
Writer.write_boolean(writer, 'virtio_scsi_multi_queues_enabled', object.virtio_scsi_multi_queues_enabled) unless object.virtio_scsi_multi_queues_enabled.nil?
|
7403
7544
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
7404
7545
|
CpuProfileWriter.write_one(object.cpu_profile, writer, 'cpu_profile') unless object.cpu_profile.nil?
|
@@ -7423,6 +7564,41 @@ module OvirtSDK4
|
|
7423
7564
|
|
7424
7565
|
end
|
7425
7566
|
|
7567
|
+
class VmMediatedDeviceWriter < Writer
|
7568
|
+
|
7569
|
+
def self.write_one(object, writer, singular = nil)
|
7570
|
+
singular ||= 'vm_mediated_device'
|
7571
|
+
writer.write_start(singular)
|
7572
|
+
href = object.href
|
7573
|
+
writer.write_attribute('href', href) unless href.nil?
|
7574
|
+
writer.write_attribute('id', object.id) unless object.id.nil?
|
7575
|
+
Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
|
7576
|
+
Writer.write_string(writer, 'description', object.description) unless object.description.nil?
|
7577
|
+
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
7578
|
+
PropertyWriter.write_many(object.spec_params, writer, 'property', 'spec_params') unless object.spec_params.nil?
|
7579
|
+
InstanceTypeWriter.write_one(object.instance_type, writer, 'instance_type') unless object.instance_type.nil?
|
7580
|
+
TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
|
7581
|
+
VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
|
7582
|
+
VmWriter.write_many(object.vms, writer, 'vm', 'vms') unless object.vms.nil?
|
7583
|
+
writer.write_end
|
7584
|
+
end
|
7585
|
+
|
7586
|
+
def self.write_many(list, writer, singular = nil, plural = nil)
|
7587
|
+
singular ||= 'vm_mediated_device'
|
7588
|
+
plural ||= 'vm_mediated_devices'
|
7589
|
+
writer.write_start(plural)
|
7590
|
+
if list.is_a?(List)
|
7591
|
+
href = list.href
|
7592
|
+
writer.write_attribute('href', href) unless href.nil?
|
7593
|
+
end
|
7594
|
+
list.each do |item|
|
7595
|
+
write_one(item, writer, singular)
|
7596
|
+
end
|
7597
|
+
writer.write_end
|
7598
|
+
end
|
7599
|
+
|
7600
|
+
end
|
7601
|
+
|
7426
7602
|
class VmPlacementPolicyWriter < Writer
|
7427
7603
|
|
7428
7604
|
def self.write_one(object, writer, singular = nil)
|
@@ -7470,6 +7646,7 @@ module OvirtSDK4
|
|
7470
7646
|
Writer.write_integer(writer, 'size', object.size) unless object.size.nil?
|
7471
7647
|
Writer.write_boolean(writer, 'soundcard_enabled', object.soundcard_enabled) unless object.soundcard_enabled.nil?
|
7472
7648
|
Writer.write_boolean(writer, 'stateful', object.stateful) unless object.stateful.nil?
|
7649
|
+
Writer.write_boolean(writer, 'tpm_enabled', object.tpm_enabled) unless object.tpm_enabled.nil?
|
7473
7650
|
Writer.write_string(writer, 'type', object.type) unless object.type.nil?
|
7474
7651
|
Writer.write_boolean(writer, 'use_latest_template_version', object.use_latest_template_version) unless object.use_latest_template_version.nil?
|
7475
7652
|
ClusterWriter.write_one(object.cluster, writer, 'cluster') unless object.cluster.nil?
|
@@ -7567,6 +7744,7 @@ module OvirtSDK4
|
|
7567
7744
|
Writer.write_string(writer, 'name', object.name) unless object.name.nil?
|
7568
7745
|
VnicPassThroughWriter.write_one(object.pass_through, writer, 'pass_through') unless object.pass_through.nil?
|
7569
7746
|
Writer.write_boolean(writer, 'port_mirroring', object.port_mirroring) unless object.port_mirroring.nil?
|
7747
|
+
VnicProfileWriter.write_one(object.failover, writer, 'failover') unless object.failover.nil?
|
7570
7748
|
NetworkWriter.write_one(object.network, writer, 'network') unless object.network.nil?
|
7571
7749
|
NetworkFilterWriter.write_one(object.network_filter, writer, 'network_filter') unless object.network_filter.nil?
|
7572
7750
|
PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
|
@@ -7763,6 +7941,7 @@ module OvirtSDK4
|
|
7763
7941
|
Writer.register(Dns, DnsWriter.method(:write_one))
|
7764
7942
|
Writer.register(DnsResolverConfiguration, DnsResolverConfigurationWriter.method(:write_one))
|
7765
7943
|
Writer.register(Domain, DomainWriter.method(:write_one))
|
7944
|
+
Writer.register(DynamicCpu, DynamicCpuWriter.method(:write_one))
|
7766
7945
|
Writer.register(EntityProfileDetail, EntityProfileDetailWriter.method(:write_one))
|
7767
7946
|
Writer.register(ErrorHandling, ErrorHandlingWriter.method(:write_one))
|
7768
7947
|
Writer.register(Event, EventWriter.method(:write_one))
|
@@ -7774,6 +7953,7 @@ module OvirtSDK4
|
|
7774
7953
|
Writer.register(ExternalHostProvider, ExternalHostProviderWriter.method(:write_one))
|
7775
7954
|
Writer.register(ExternalNetworkProviderConfiguration, ExternalNetworkProviderConfigurationWriter.method(:write_one))
|
7776
7955
|
Writer.register(ExternalProvider, ExternalProviderWriter.method(:write_one))
|
7956
|
+
Writer.register(ExternalTemplateImport, ExternalTemplateImportWriter.method(:write_one))
|
7777
7957
|
Writer.register(ExternalVmImport, ExternalVmImportWriter.method(:write_one))
|
7778
7958
|
Writer.register(Fault, FaultWriter.method(:write_one))
|
7779
7959
|
Writer.register(FencingPolicy, FencingPolicyWriter.method(:write_one))
|
@@ -7798,6 +7978,7 @@ module OvirtSDK4
|
|
7798
7978
|
Writer.register(HighAvailability, HighAvailabilityWriter.method(:write_one))
|
7799
7979
|
Writer.register(Hook, HookWriter.method(:write_one))
|
7800
7980
|
Writer.register(Host, HostWriter.method(:write_one))
|
7981
|
+
Writer.register(HostCpuUnit, HostCpuUnitWriter.method(:write_one))
|
7801
7982
|
Writer.register(HostDevice, HostDeviceWriter.method(:write_one))
|
7802
7983
|
Writer.register(HostDevicePassthrough, HostDevicePassthroughWriter.method(:write_one))
|
7803
7984
|
Writer.register(HostNic, HostNicWriter.method(:write_one))
|
@@ -7923,6 +8104,7 @@ module OvirtSDK4
|
|
7923
8104
|
Writer.register(Vlan, VlanWriter.method(:write_one))
|
7924
8105
|
Writer.register(Vm, VmWriter.method(:write_one))
|
7925
8106
|
Writer.register(VmBase, VmBaseWriter.method(:write_one))
|
8107
|
+
Writer.register(VmMediatedDevice, VmMediatedDeviceWriter.method(:write_one))
|
7926
8108
|
Writer.register(VmPlacementPolicy, VmPlacementPolicyWriter.method(:write_one))
|
7927
8109
|
Writer.register(VmPool, VmPoolWriter.method(:write_one))
|
7928
8110
|
Writer.register(VmSummary, VmSummaryWriter.method(:write_one))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ovirt-engine-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Hernandez
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '13.1'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '13.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake-compiler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.2'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.60.2
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 1.60.2
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webrick
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.8'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.8'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: yard
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,7 +169,7 @@ homepage: http://ovirt.org
|
|
155
169
|
licenses:
|
156
170
|
- Apache-2.0
|
157
171
|
metadata: {}
|
158
|
-
post_install_message:
|
172
|
+
post_install_message:
|
159
173
|
rdoc_options: []
|
160
174
|
require_paths:
|
161
175
|
- lib
|
@@ -170,9 +184,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
184
|
- !ruby/object:Gem::Version
|
171
185
|
version: '0'
|
172
186
|
requirements: []
|
173
|
-
|
174
|
-
|
175
|
-
signing_key:
|
187
|
+
rubygems_version: 3.3.7
|
188
|
+
signing_key:
|
176
189
|
specification_version: 4
|
177
190
|
summary: oVirt SDK
|
178
191
|
test_files: []
|