ovirt-engine-sdk 4.1.2 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23726,6 +23726,24 @@ module OvirtSDK4
23726
23726
 
23727
23727
  class VmPool < Identified
23728
23728
 
23729
+ #
23730
+ # Returns the value of the `auto_storage_select` attribute.
23731
+ #
23732
+ # @return [Boolean]
23733
+ #
23734
+ def auto_storage_select
23735
+ @auto_storage_select
23736
+ end
23737
+
23738
+ #
23739
+ # Sets the value of the `auto_storage_select` attribute.
23740
+ #
23741
+ # @param value [Boolean]
23742
+ #
23743
+ def auto_storage_select=(value)
23744
+ @auto_storage_select = value
23745
+ end
23746
+
23729
23747
  #
23730
23748
  # Returns the value of the `cluster` attribute.
23731
23749
  #
@@ -24107,6 +24125,8 @@ module OvirtSDK4
24107
24125
  # should be symbols corresponding to the names of the attributes. The values of the hash
24108
24126
  # should be the values of the attributes.
24109
24127
  #
24128
+ # @option opts [Boolean] :auto_storage_select The value of attribute `auto_storage_select`.
24129
+ #
24110
24130
  # @option opts [Cluster, Hash] :cluster The value of attribute `cluster`.
24111
24131
  #
24112
24132
  # @option opts [String] :comment The value of attribute `comment`.
@@ -24146,6 +24166,7 @@ module OvirtSDK4
24146
24166
  #
24147
24167
  def initialize(opts = {})
24148
24168
  super(opts)
24169
+ self.auto_storage_select = opts[:auto_storage_select]
24149
24170
  self.cluster = opts[:cluster]
24150
24171
  self.display = opts[:display]
24151
24172
  self.instance_type = opts[:instance_type]
@@ -24167,6 +24188,7 @@ module OvirtSDK4
24167
24188
  #
24168
24189
  def ==(other)
24169
24190
  super &&
24191
+ @auto_storage_select == other.auto_storage_select &&
24170
24192
  @cluster == other.cluster &&
24171
24193
  @display == other.display &&
24172
24194
  @instance_type == other.instance_type &&
@@ -24188,6 +24210,7 @@ module OvirtSDK4
24188
24210
  #
24189
24211
  def hash
24190
24212
  super +
24213
+ @auto_storage_select.hash +
24191
24214
  @cluster.hash +
24192
24215
  @display.hash +
24193
24216
  @instance_type.hash +
@@ -52151,6 +52174,7 @@ module OvirtSDK4
52151
52174
  V3 = 'v3'.freeze
52152
52175
  V4 = 'v4'.freeze
52153
52176
  V4_1 = 'v4_1'.freeze
52177
+ V4_2 = 'v4_2'.freeze
52154
52178
  end
52155
52179
 
52156
52180
  module NicInterface
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module OvirtSDK4
19
- VERSION = '4.1.2'.freeze
19
+ VERSION = '4.1.3'.freeze
20
20
  end
@@ -64,9 +64,9 @@ module OvirtSDK4
64
64
  JobWriter.write_one(object.job, writer, 'job') unless object.job.nil?
65
65
  LogicalUnitWriter.write_many(object.logical_units, writer, 'logical_unit', 'logical_units') unless object.logical_units.nil?
66
66
  Writer.write_boolean(writer, 'maintenance_enabled', object.maintenance_enabled) unless object.maintenance_enabled.nil?
67
- HostNicWriter.write_many(object.modified_bonds, writer, 'modified_bond', 'modified_bonds') unless object.modified_bonds.nil?
68
- NetworkLabelWriter.write_many(object.modified_labels, writer, 'modified_label', 'modified_labels') unless object.modified_labels.nil?
69
- NetworkAttachmentWriter.write_many(object.modified_network_attachments, writer, 'modified_network_attachment', 'modified_network_attachments') unless object.modified_network_attachments.nil?
67
+ HostNicWriter.write_many(object.modified_bonds, writer, 'host_nic', 'modified_bonds') unless object.modified_bonds.nil?
68
+ NetworkLabelWriter.write_many(object.modified_labels, writer, 'network_label', 'modified_labels') unless object.modified_labels.nil?
69
+ NetworkAttachmentWriter.write_many(object.modified_network_attachments, writer, 'network_attachment', 'modified_network_attachments') unless object.modified_network_attachments.nil?
70
70
  Writer.write_string(writer, 'name', object.name) unless object.name.nil?
71
71
  OptionWriter.write_one(object.option, writer, 'option') unless object.option.nil?
72
72
  Writer.write_boolean(writer, 'pause', object.pause) unless object.pause.nil?
@@ -75,9 +75,9 @@ module OvirtSDK4
75
75
  Writer.write_string(writer, 'reason', object.reason) unless object.reason.nil?
76
76
  Writer.write_boolean(writer, 'reassign_bad_macs', object.reassign_bad_macs) unless object.reassign_bad_macs.nil?
77
77
  Writer.write_string(writer, 'remote_viewer_connection_file', object.remote_viewer_connection_file) unless object.remote_viewer_connection_file.nil?
78
- HostNicWriter.write_many(object.removed_bonds, writer, 'removed_bond', 'removed_bonds') unless object.removed_bonds.nil?
79
- NetworkLabelWriter.write_many(object.removed_labels, writer, 'removed_label', 'removed_labels') unless object.removed_labels.nil?
80
- NetworkAttachmentWriter.write_many(object.removed_network_attachments, writer, 'removed_network_attachment', 'removed_network_attachments') unless object.removed_network_attachments.nil?
78
+ HostNicWriter.write_many(object.removed_bonds, writer, 'host_nic', 'removed_bonds') unless object.removed_bonds.nil?
79
+ NetworkLabelWriter.write_many(object.removed_labels, writer, 'network_label', 'removed_labels') unless object.removed_labels.nil?
80
+ NetworkAttachmentWriter.write_many(object.removed_network_attachments, writer, 'network_attachment', 'removed_network_attachments') unless object.removed_network_attachments.nil?
81
81
  Writer.write_string(writer, 'resolution_type', object.resolution_type) unless object.resolution_type.nil?
82
82
  Writer.write_boolean(writer, 'restore_memory', object.restore_memory) unless object.restore_memory.nil?
83
83
  Writer.write_string(writer, 'root_password', object.root_password) unless object.root_password.nil?
@@ -88,7 +88,7 @@ module OvirtSDK4
88
88
  StorageDomainWriter.write_one(object.storage_domain, writer, 'storage_domain') unless object.storage_domain.nil?
89
89
  StorageDomainWriter.write_many(object.storage_domains, writer, 'storage_domain', 'storage_domains') unless object.storage_domains.nil?
90
90
  Writer.write_boolean(writer, 'succeeded', object.succeeded) unless object.succeeded.nil?
91
- NetworkAttachmentWriter.write_many(object.synchronized_network_attachments, writer, 'synchronized_network_attachment', 'synchronized_network_attachments') unless object.synchronized_network_attachments.nil?
91
+ NetworkAttachmentWriter.write_many(object.synchronized_network_attachments, writer, 'network_attachment', 'synchronized_network_attachments') unless object.synchronized_network_attachments.nil?
92
92
  TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
93
93
  TicketWriter.write_one(object.ticket, writer, 'ticket') unless object.ticket.nil?
94
94
  Writer.write_boolean(writer, 'undeploy_hosted_engine', object.undeploy_hosted_engine) unless object.undeploy_hosted_engine.nil?
@@ -533,7 +533,7 @@ module OvirtSDK4
533
533
  writer.write_attribute('href', href) unless href.nil?
534
534
  MacWriter.write_one(object.ad_partner_mac, writer, 'ad_partner_mac') unless object.ad_partner_mac.nil?
535
535
  OptionWriter.write_many(object.options, writer, 'option', 'options') unless object.options.nil?
536
- HostNicWriter.write_many(object.slaves, writer, 'slave', 'slaves') unless object.slaves.nil?
536
+ HostNicWriter.write_many(object.slaves, writer, 'host_nic', 'slaves') unless object.slaves.nil?
537
537
  HostNicWriter.write_one(object.active_slave, writer, 'active_slave') unless object.active_slave.nil?
538
538
  writer.write_end
539
539
  end
@@ -785,7 +785,7 @@ module OvirtSDK4
785
785
  Writer.write_boolean(writer, 'ballooning_enabled', object.ballooning_enabled) unless object.ballooning_enabled.nil?
786
786
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
787
787
  CpuWriter.write_one(object.cpu, writer, 'cpu') unless object.cpu.nil?
788
- PropertyWriter.write_many(object.custom_scheduling_policy_properties, writer, 'custom_scheduling_policy_property', 'custom_scheduling_policy_properties') unless object.custom_scheduling_policy_properties.nil?
788
+ PropertyWriter.write_many(object.custom_scheduling_policy_properties, writer, 'property', 'custom_scheduling_policy_properties') unless object.custom_scheduling_policy_properties.nil?
789
789
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
790
790
  DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
791
791
  ErrorHandlingWriter.write_one(object.error_handling, writer, 'error_handling') unless object.error_handling.nil?
@@ -807,7 +807,7 @@ module OvirtSDK4
807
807
  writer.write_end
808
808
  end
809
809
  SerialNumberWriter.write_one(object.serial_number, writer, 'serial_number') unless object.serial_number.nil?
810
- VersionWriter.write_many(object.supported_versions, writer, 'supported_version', 'supported_versions') unless object.supported_versions.nil?
810
+ VersionWriter.write_many(object.supported_versions, writer, 'version', 'supported_versions') unless object.supported_versions.nil?
811
811
  Writer.write_string(writer, 'switch_type', object.switch_type) unless object.switch_type.nil?
812
812
  Writer.write_boolean(writer, 'threads_as_cores', object.threads_as_cores) unless object.threads_as_cores.nil?
813
813
  Writer.write_boolean(writer, 'trusted_service', object.trusted_service) unless object.trusted_service.nil?
@@ -1156,7 +1156,7 @@ module OvirtSDK4
1156
1156
  Writer.write_string(writer, 'quota_mode', object.quota_mode) unless object.quota_mode.nil?
1157
1157
  Writer.write_string(writer, 'status', object.status) unless object.status.nil?
1158
1158
  Writer.write_string(writer, 'storage_format', object.storage_format) unless object.storage_format.nil?
1159
- VersionWriter.write_many(object.supported_versions, writer, 'supported_version', 'supported_versions') unless object.supported_versions.nil?
1159
+ VersionWriter.write_many(object.supported_versions, writer, 'version', 'supported_versions') unless object.supported_versions.nil?
1160
1160
  VersionWriter.write_one(object.version, writer, 'version') unless object.version.nil?
1161
1161
  ClusterWriter.write_many(object.clusters, writer, 'cluster', 'clusters') unless object.clusters.nil?
1162
1162
  IscsiBondWriter.write_many(object.iscsi_bonds, writer, 'iscsi_bond', 'iscsi_bonds') unless object.iscsi_bonds.nil?
@@ -1465,8 +1465,8 @@ module OvirtSDK4
1465
1465
  writer.write_start(singular)
1466
1466
  href = object.href
1467
1467
  writer.write_attribute('href', href) unless href.nil?
1468
- HostWriter.write_many(object.search_domains, writer, 'search_domain', 'search_domains') unless object.search_domains.nil?
1469
- HostWriter.write_many(object.servers, writer, 'server', 'servers') unless object.servers.nil?
1468
+ HostWriter.write_many(object.search_domains, writer, 'host', 'search_domains') unless object.search_domains.nil?
1469
+ HostWriter.write_many(object.servers, writer, 'host', 'servers') unless object.servers.nil?
1470
1470
  writer.write_end
1471
1471
  end
1472
1472
 
@@ -1805,9 +1805,9 @@ module OvirtSDK4
1805
1805
  Writer.write_string(writer, 'url', object.url) unless object.url.nil?
1806
1806
  Writer.write_string(writer, 'username', object.username) unless object.username.nil?
1807
1807
  CertificateWriter.write_many(object.certificates, writer, 'certificate', 'certificates') unless object.certificates.nil?
1808
- ExternalComputeResourceWriter.write_many(object.compute_resources, writer, 'compute_resource', 'compute_resources') unless object.compute_resources.nil?
1809
- ExternalDiscoveredHostWriter.write_many(object.discovered_hosts, writer, 'discovered_host', 'discovered_hosts') unless object.discovered_hosts.nil?
1810
- ExternalHostGroupWriter.write_many(object.host_groups, writer, 'host_group', 'host_groups') unless object.host_groups.nil?
1808
+ ExternalComputeResourceWriter.write_many(object.compute_resources, writer, 'external_compute_resource', 'compute_resources') unless object.compute_resources.nil?
1809
+ ExternalDiscoveredHostWriter.write_many(object.discovered_hosts, writer, 'external_discovered_host', 'discovered_hosts') unless object.discovered_hosts.nil?
1810
+ ExternalHostGroupWriter.write_many(object.host_groups, writer, 'external_host_group', 'host_groups') unless object.host_groups.nil?
1811
1811
  HostWriter.write_many(object.hosts, writer, 'host', 'hosts') unless object.hosts.nil?
1812
1812
  writer.write_end
1813
1813
  end
@@ -2713,7 +2713,7 @@ module OvirtSDK4
2713
2713
  PermissionWriter.write_many(object.permissions, writer, 'permission', 'permissions') unless object.permissions.nil?
2714
2714
  StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
2715
2715
  StorageConnectionExtensionWriter.write_many(object.storage_connection_extensions, writer, 'storage_connection_extension', 'storage_connection_extensions') unless object.storage_connection_extensions.nil?
2716
- HostStorageWriter.write_many(object.storages, writer, 'storage', 'storages') unless object.storages.nil?
2716
+ HostStorageWriter.write_many(object.storages, writer, 'host_storage', 'storages') unless object.storages.nil?
2717
2717
  TagWriter.write_many(object.tags, writer, 'tag', 'tags') unless object.tags.nil?
2718
2718
  UnmanagedNetworkWriter.write_many(object.unmanaged_networks, writer, 'unmanaged_network', 'unmanaged_networks') unless object.unmanaged_networks.nil?
2719
2719
  writer.write_end
@@ -4023,8 +4023,8 @@ module OvirtSDK4
4023
4023
  ReportedDeviceWriter.write_many(object.reported_devices, writer, 'reported_device', 'reported_devices') unless object.reported_devices.nil?
4024
4024
  StatisticWriter.write_many(object.statistics, writer, 'statistic', 'statistics') unless object.statistics.nil?
4025
4025
  TemplateWriter.write_one(object.template, writer, 'template') unless object.template.nil?
4026
- NetworkLabelWriter.write_many(object.virtual_function_allowed_labels, writer, 'virtual_function_allowed_label', 'virtual_function_allowed_labels') unless object.virtual_function_allowed_labels.nil?
4027
- NetworkWriter.write_many(object.virtual_function_allowed_networks, writer, 'virtual_function_allowed_network', 'virtual_function_allowed_networks') unless object.virtual_function_allowed_networks.nil?
4026
+ NetworkLabelWriter.write_many(object.virtual_function_allowed_labels, writer, 'network_label', 'virtual_function_allowed_labels') unless object.virtual_function_allowed_labels.nil?
4027
+ NetworkWriter.write_many(object.virtual_function_allowed_networks, writer, 'network', 'virtual_function_allowed_networks') unless object.virtual_function_allowed_networks.nil?
4028
4028
  VmWriter.write_one(object.vm, writer, 'vm') unless object.vm.nil?
4029
4029
  VmWriter.write_many(object.vms, writer, 'vm', 'vms') unless object.vms.nil?
4030
4030
  VnicProfileWriter.write_one(object.vnic_profile, writer, 'vnic_profile') unless object.vnic_profile.nil?
@@ -4192,7 +4192,7 @@ module OvirtSDK4
4192
4192
  Writer.write_string(writer, 'url', object.url) unless object.url.nil?
4193
4193
  Writer.write_string(writer, 'username', object.username) unless object.username.nil?
4194
4194
  CertificateWriter.write_many(object.certificates, writer, 'certificate', 'certificates') unless object.certificates.nil?
4195
- OpenStackImageWriter.write_many(object.images, writer, 'image', 'images') unless object.images.nil?
4195
+ OpenStackImageWriter.write_many(object.images, writer, 'openstack_image', 'images') unless object.images.nil?
4196
4196
  writer.write_end
4197
4197
  end
4198
4198
 
@@ -4266,8 +4266,8 @@ module OvirtSDK4
4266
4266
  Writer.write_string(writer, 'url', object.url) unless object.url.nil?
4267
4267
  Writer.write_string(writer, 'username', object.username) unless object.username.nil?
4268
4268
  CertificateWriter.write_many(object.certificates, writer, 'certificate', 'certificates') unless object.certificates.nil?
4269
- OpenStackNetworkWriter.write_many(object.networks, writer, 'network', 'networks') unless object.networks.nil?
4270
- OpenStackSubnetWriter.write_many(object.subnets, writer, 'subnet', 'subnets') unless object.subnets.nil?
4269
+ OpenStackNetworkWriter.write_many(object.networks, writer, 'openstack_network', 'networks') unless object.networks.nil?
4270
+ OpenStackSubnetWriter.write_many(object.subnets, writer, 'openstack_subnet', 'subnets') unless object.subnets.nil?
4271
4271
  writer.write_end
4272
4272
  end
4273
4273
 
@@ -4383,10 +4383,10 @@ module OvirtSDK4
4383
4383
  Writer.write_string(writer, 'tenant_name', object.tenant_name) unless object.tenant_name.nil?
4384
4384
  Writer.write_string(writer, 'url', object.url) unless object.url.nil?
4385
4385
  Writer.write_string(writer, 'username', object.username) unless object.username.nil?
4386
- OpenstackVolumeAuthenticationKeyWriter.write_many(object.authentication_keys, writer, 'authentication_key', 'authentication_keys') unless object.authentication_keys.nil?
4386
+ OpenstackVolumeAuthenticationKeyWriter.write_many(object.authentication_keys, writer, 'openstack_volume_authentication_key', 'authentication_keys') unless object.authentication_keys.nil?
4387
4387
  CertificateWriter.write_many(object.certificates, writer, 'certificate', 'certificates') unless object.certificates.nil?
4388
4388
  DataCenterWriter.write_one(object.data_center, writer, 'data_center') unless object.data_center.nil?
4389
- OpenStackVolumeTypeWriter.write_many(object.volume_types, writer, 'volume_type', 'volume_types') unless object.volume_types.nil?
4389
+ OpenStackVolumeTypeWriter.write_many(object.volume_types, writer, 'open_stack_volume_type', 'volume_types') unless object.volume_types.nil?
4390
4390
  writer.write_end
4391
4391
  end
4392
4392
 
@@ -6752,6 +6752,7 @@ module OvirtSDK4
6752
6752
  href = object.href
6753
6753
  writer.write_attribute('href', href) unless href.nil?
6754
6754
  writer.write_attribute('id', object.id) unless object.id.nil?
6755
+ Writer.write_boolean(writer, 'auto_storage_select', object.auto_storage_select) unless object.auto_storage_select.nil?
6755
6756
  Writer.write_string(writer, 'comment', object.comment) unless object.comment.nil?
6756
6757
  Writer.write_string(writer, 'description', object.description) unless object.description.nil?
6757
6758
  DisplayWriter.write_one(object.display, writer, 'display') unless object.display.nil?
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.1.2
4
+ version: 4.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Hernandez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-09 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake