Class: OvirtSDK4::Host

Inherits:
Identified show all
Defined in:
lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb

Instance Method Summary collapse

Methods included from Type

#dig, #href, #href=

Constructor Details

#initialize(opts = {}) ⇒ Host

Creates a new instance of the OvirtSDK4::Host class.

Parameters:

  • opts (Hash) (defaults to: {})

    A hash containing the attributes of the object. The keys of the hash should be symbols corresponding to the names of the attributes. The values of the hash should be the values of the attributes.

Options Hash (opts):

  • :address (String)

    The value of attribute address.

  • :affinity_labels (Array<AffinityLabel>, Array<Hash>)

    The values of attribute affinity_labels.

  • :agents (Array<Agent>, Array<Hash>)

    The values of attribute agents.

  • :auto_numa_status (AutoNumaStatus)

    The value of attribute auto_numa_status.

  • :certificate (Certificate, Hash)

    The value of attribute certificate.

  • :cluster (Cluster, Hash)

    The value of attribute cluster.

  • :comment (String)

    The value of attribute comment.

  • :cpu (Cpu, Hash)

    The value of attribute cpu.

  • :description (String)

    The value of attribute description.

  • :device_passthrough (HostDevicePassthrough, Hash)

    The value of attribute device_passthrough.

  • :devices (Array<Device>, Array<Hash>)

    The values of attribute devices.

  • :display (Display, Hash)

    The value of attribute display.

  • :external_host_provider (ExternalHostProvider, Hash)

    The value of attribute external_host_provider.

  • :external_network_provider_configurations (Array<ExternalNetworkProviderConfiguration>, Array<Hash>)

    The values of attribute external_network_provider_configurations.

  • :external_status (ExternalStatus)

    The value of attribute external_status.

  • :hardware_information (HardwareInformation, Hash)

    The value of attribute hardware_information.

  • :hooks (Array<Hook>, Array<Hash>)

    The values of attribute hooks.

  • :hosted_engine (HostedEngine, Hash)

    The value of attribute hosted_engine.

  • :id (String)

    The value of attribute id.

  • :iscsi (IscsiDetails, Hash)

    The value of attribute iscsi.

  • :katello_errata (Array<KatelloErratum>, Array<Hash>)

    The values of attribute katello_errata.

  • :kdump_status (KdumpStatus)

    The value of attribute kdump_status.

  • :ksm (Ksm, Hash)

    The value of attribute ksm.

  • :libvirt_version (Version, Hash)

    The value of attribute libvirt_version.

  • :max_scheduling_memory (Integer)

    The value of attribute max_scheduling_memory.

  • :memory (Integer)

    The value of attribute memory.

  • :name (String)

    The value of attribute name.

  • :network_attachments (Array<NetworkAttachment>, Array<Hash>)

    The values of attribute network_attachments.

  • :network_operation_in_progress (Boolean)

    The value of attribute network_operation_in_progress.

  • :nics (Array<HostNic>, Array<Hash>)

    The values of attribute nics.

  • :numa_nodes (Array<NumaNode>, Array<Hash>)

    The values of attribute numa_nodes.

  • :numa_supported (Boolean)

    The value of attribute numa_supported.

  • :os (OperatingSystem, Hash)

    The value of attribute os.

  • :override_iptables (Boolean)

    The value of attribute override_iptables.

  • :permissions (Array<Permission>, Array<Hash>)

    The values of attribute permissions.

  • :port (Integer)

    The value of attribute port.

  • :power_management (PowerManagement, Hash)

    The value of attribute power_management.

  • :protocol (HostProtocol)

    The value of attribute protocol.

  • :root_password (String)

    The value of attribute root_password.

  • :se_linux (SeLinux, Hash)

    The value of attribute se_linux.

  • :spm (Spm, Hash)

    The value of attribute spm.

  • :ssh (Ssh, Hash)

    The value of attribute ssh.

  • :statistics (Array<Statistic>, Array<Hash>)

    The values of attribute statistics.

  • :status (HostStatus)

    The value of attribute status.

  • :status_detail (String)

    The value of attribute status_detail.

  • :storage_connection_extensions (Array<StorageConnectionExtension>, Array<Hash>)

    The values of attribute storage_connection_extensions.

  • :storages (Array<HostStorage>, Array<Hash>)

    The values of attribute storages.

  • :summary (VmSummary, Hash)

    The value of attribute summary.

  • :tags (Array<Tag>, Array<Hash>)

    The values of attribute tags.

  • :transparent_huge_pages (TransparentHugePages, Hash)

    The value of attribute transparent_huge_pages.

  • :type (HostType)

    The value of attribute type.

  • :unmanaged_networks (Array<UnmanagedNetwork>, Array<Hash>)

    The values of attribute unmanaged_networks.

  • :update_available (Boolean)

    The value of attribute update_available.

  • :version (Version, Hash)

    The value of attribute version.

  • :vgpu_placement (VgpuPlacement)

    The value of attribute vgpu_placement.



43098
43099
43100
43101
43102
43103
43104
43105
43106
43107
43108
43109
43110
43111
43112
43113
43114
43115
43116
43117
43118
43119
43120
43121
43122
43123
43124
43125
43126
43127
43128
43129
43130
43131
43132
43133
43134
43135
43136
43137
43138
43139
43140
43141
43142
43143
43144
43145
43146
43147
43148
43149
43150
43151
# File 'lib/ovirtsdk4/types.rb', line 43098

def initialize(opts = {})
  super(opts)
  self.address = opts[:address]
  self.affinity_labels = opts[:affinity_labels]
  self.agents = opts[:agents]
  self.auto_numa_status = opts[:auto_numa_status]
  self.certificate = opts[:certificate]
  self.cluster = opts[:cluster]
  self.cpu = opts[:cpu]
  self.device_passthrough = opts[:device_passthrough]
  self.devices = opts[:devices]
  self.display = opts[:display]
  self.external_host_provider = opts[:external_host_provider]
  self.external_network_provider_configurations = opts[:external_network_provider_configurations]
  self.external_status = opts[:external_status]
  self.hardware_information = opts[:hardware_information]
  self.hooks = opts[:hooks]
  self.hosted_engine = opts[:hosted_engine]
  self.iscsi = opts[:iscsi]
  self.katello_errata = opts[:katello_errata]
  self.kdump_status = opts[:kdump_status]
  self.ksm = opts[:ksm]
  self.libvirt_version = opts[:libvirt_version]
  self.max_scheduling_memory = opts[:max_scheduling_memory]
  self.memory = opts[:memory]
  self.network_attachments = opts[:network_attachments]
  self.network_operation_in_progress = opts[:network_operation_in_progress]
  self.nics = opts[:nics]
  self.numa_nodes = opts[:numa_nodes]
  self.numa_supported = opts[:numa_supported]
  self.os = opts[:os]
  self.override_iptables = opts[:override_iptables]
  self.permissions = opts[:permissions]
  self.port = opts[:port]
  self.power_management = opts[:power_management]
  self.protocol = opts[:protocol]
  self.root_password = opts[:root_password]
  self.se_linux = opts[:se_linux]
  self.spm = opts[:spm]
  self.ssh = opts[:ssh]
  self.statistics = opts[:statistics]
  self.status = opts[:status]
  self.status_detail = opts[:status_detail]
  self.storage_connection_extensions = opts[:storage_connection_extensions]
  self.storages = opts[:storages]
  self.summary = opts[:summary]
  self.tags = opts[:tags]
  self.transparent_huge_pages = opts[:transparent_huge_pages]
  self.type = opts[:type]
  self.unmanaged_networks = opts[:unmanaged_networks]
  self.update_available = opts[:update_available]
  self.version = opts[:version]
  self.vgpu_placement = opts[:vgpu_placement]
end

Instance Method Details

#==(other) ⇒ Object

Returns true if self and other have the same attributes and values.



43156
43157
43158
43159
43160
43161
43162
43163
43164
43165
43166
43167
43168
43169
43170
43171
43172
43173
43174
43175
43176
43177
43178
43179
43180
43181
43182
43183
43184
43185
43186
43187
43188
43189
43190
43191
43192
43193
43194
43195
43196
43197
43198
43199
43200
43201
43202
43203
43204
43205
43206
43207
43208
43209
# File 'lib/ovirtsdk4/types.rb', line 43156

def ==(other)
  super &&
  @address == other.address &&
  @affinity_labels == other.affinity_labels &&
  @agents == other.agents &&
  @auto_numa_status == other.auto_numa_status &&
  @certificate == other.certificate &&
  @cluster == other.cluster &&
  @cpu == other.cpu &&
  @device_passthrough == other.device_passthrough &&
  @devices == other.devices &&
  @display == other.display &&
  @external_host_provider == other.external_host_provider &&
  @external_network_provider_configurations == other.external_network_provider_configurations &&
  @external_status == other.external_status &&
  @hardware_information == other.hardware_information &&
  @hooks == other.hooks &&
  @hosted_engine == other.hosted_engine &&
  @iscsi == other.iscsi &&
  @katello_errata == other.katello_errata &&
  @kdump_status == other.kdump_status &&
  @ksm == other.ksm &&
  @libvirt_version == other.libvirt_version &&
  @max_scheduling_memory == other.max_scheduling_memory &&
  @memory == other.memory &&
  @network_attachments == other.network_attachments &&
  @network_operation_in_progress == other.network_operation_in_progress &&
  @nics == other.nics &&
  @numa_nodes == other.numa_nodes &&
  @numa_supported == other.numa_supported &&
  @os == other.os &&
  @override_iptables == other.override_iptables &&
  @permissions == other.permissions &&
  @port == other.port &&
  @power_management == other.power_management &&
  @protocol == other.protocol &&
  @root_password == other.root_password &&
  @se_linux == other.se_linux &&
  @spm == other.spm &&
  @ssh == other.ssh &&
  @statistics == other.statistics &&
  @status == other.status &&
  @status_detail == other.status_detail &&
  @storage_connection_extensions == other.storage_connection_extensions &&
  @storages == other.storages &&
  @summary == other.summary &&
  @tags == other.tags &&
  @transparent_huge_pages == other.transparent_huge_pages &&
  @type == other.type &&
  @unmanaged_networks == other.unmanaged_networks &&
  @update_available == other.update_available &&
  @version == other.version &&
  @vgpu_placement == other.vgpu_placement
end

#addressString

Returns the value of the address attribute.

Returns:

  • (String)


41742
41743
41744
# File 'lib/ovirtsdk4/types.rb', line 41742

def address
  @address
end

#address=(value) ⇒ Object

Sets the value of the address attribute.

Parameters:

  • value (String)


41751
41752
41753
# File 'lib/ovirtsdk4/types.rb', line 41751

def address=(value)
  @address = value
end

#affinity_labelsArray<AffinityLabel>

Returns the value of the affinity_labels attribute.

Returns:



41760
41761
41762
# File 'lib/ovirtsdk4/types.rb', line 41760

def affinity_labels
  @affinity_labels
end

#affinity_labels=(list) ⇒ Object

Sets the value of the affinity_labels attribute.

Parameters:



41769
41770
41771
41772
41773
41774
41775
41776
41777
41778
41779
# File 'lib/ovirtsdk4/types.rb', line 41769

def affinity_labels=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = AffinityLabel.new(value)
      end
    end
  end
  @affinity_labels = list
end

#agentsArray<Agent>

Returns the value of the agents attribute.

Returns:



41786
41787
41788
# File 'lib/ovirtsdk4/types.rb', line 41786

def agents
  @agents
end

#agents=(list) ⇒ Object

Sets the value of the agents attribute.

Parameters:



41795
41796
41797
41798
41799
41800
41801
41802
41803
41804
41805
# File 'lib/ovirtsdk4/types.rb', line 41795

def agents=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Agent.new(value)
      end
    end
  end
  @agents = list
end

#auto_numa_statusAutoNumaStatus

Returns the value of the auto_numa_status attribute.

Returns:



41812
41813
41814
# File 'lib/ovirtsdk4/types.rb', line 41812

def auto_numa_status
  @auto_numa_status
end

#auto_numa_status=(value) ⇒ Object

Sets the value of the auto_numa_status attribute.

Parameters:



41821
41822
41823
# File 'lib/ovirtsdk4/types.rb', line 41821

def auto_numa_status=(value)
  @auto_numa_status = value
end

#certificateCertificate

Returns the value of the certificate attribute.

Returns:



41830
41831
41832
# File 'lib/ovirtsdk4/types.rb', line 41830

def certificate
  @certificate
end

#certificate=(value) ⇒ Object

Sets the value of the certificate attribute.

The value parameter can be an instance of Certificate or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



41843
41844
41845
41846
41847
41848
# File 'lib/ovirtsdk4/types.rb', line 41843

def certificate=(value)
  if value.is_a?(Hash)
    value = Certificate.new(value)
  end
  @certificate = value
end

#clusterCluster

Returns the value of the cluster attribute.

Returns:



41855
41856
41857
# File 'lib/ovirtsdk4/types.rb', line 41855

def cluster
  @cluster
end

#cluster=(value) ⇒ Object

Sets the value of the cluster attribute.

The value parameter can be an instance of Cluster or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



41868
41869
41870
41871
41872
41873
# File 'lib/ovirtsdk4/types.rb', line 41868

def cluster=(value)
  if value.is_a?(Hash)
    value = Cluster.new(value)
  end
  @cluster = value
end

#commentString

Returns the value of the comment attribute.

Returns:

  • (String)


41880
41881
41882
# File 'lib/ovirtsdk4/types.rb', line 41880

def comment
  @comment
end

#comment=(value) ⇒ Object

Sets the value of the comment attribute.

Parameters:

  • value (String)


41889
41890
41891
# File 'lib/ovirtsdk4/types.rb', line 41889

def comment=(value)
  @comment = value
end

#cpuCpu

Returns the value of the cpu attribute.

Returns:



41898
41899
41900
# File 'lib/ovirtsdk4/types.rb', line 41898

def cpu
  @cpu
end

#cpu=(value) ⇒ Object

Sets the value of the cpu attribute.

The value parameter can be an instance of Cpu or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Cpu, Hash)


41911
41912
41913
41914
41915
41916
# File 'lib/ovirtsdk4/types.rb', line 41911

def cpu=(value)
  if value.is_a?(Hash)
    value = Cpu.new(value)
  end
  @cpu = value
end

#descriptionString

Returns the value of the description attribute.

Returns:

  • (String)


41923
41924
41925
# File 'lib/ovirtsdk4/types.rb', line 41923

def description
  @description
end

#description=(value) ⇒ Object

Sets the value of the description attribute.

Parameters:

  • value (String)


41932
41933
41934
# File 'lib/ovirtsdk4/types.rb', line 41932

def description=(value)
  @description = value
end

#device_passthroughHostDevicePassthrough

Returns the value of the device_passthrough attribute.



41941
41942
41943
# File 'lib/ovirtsdk4/types.rb', line 41941

def device_passthrough
  @device_passthrough
end

#device_passthrough=(value) ⇒ Object

Sets the value of the device_passthrough attribute.

The value parameter can be an instance of OvirtSDK4::HostDevicePassthrough or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



41954
41955
41956
41957
41958
41959
# File 'lib/ovirtsdk4/types.rb', line 41954

def device_passthrough=(value)
  if value.is_a?(Hash)
    value = HostDevicePassthrough.new(value)
  end
  @device_passthrough = value
end

#devicesArray<Device>

Returns the value of the devices attribute.

Returns:



41966
41967
41968
# File 'lib/ovirtsdk4/types.rb', line 41966

def devices
  @devices
end

#devices=(list) ⇒ Object

Sets the value of the devices attribute.

Parameters:



41975
41976
41977
41978
41979
41980
41981
41982
41983
41984
41985
# File 'lib/ovirtsdk4/types.rb', line 41975

def devices=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Device.new(value)
      end
    end
  end
  @devices = list
end

#displayDisplay

Returns the value of the display attribute.

Returns:



41992
41993
41994
# File 'lib/ovirtsdk4/types.rb', line 41992

def display
  @display
end

#display=(value) ⇒ Object

Sets the value of the display attribute.

The value parameter can be an instance of Display or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42005
42006
42007
42008
42009
42010
# File 'lib/ovirtsdk4/types.rb', line 42005

def display=(value)
  if value.is_a?(Hash)
    value = Display.new(value)
  end
  @display = value
end

#external_host_providerExternalHostProvider

Returns the value of the external_host_provider attribute.



42017
42018
42019
# File 'lib/ovirtsdk4/types.rb', line 42017

def external_host_provider
  @external_host_provider
end

#external_host_provider=(value) ⇒ Object

Sets the value of the external_host_provider attribute.

The value parameter can be an instance of ExternalHostProvider or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42030
42031
42032
42033
42034
42035
# File 'lib/ovirtsdk4/types.rb', line 42030

def external_host_provider=(value)
  if value.is_a?(Hash)
    value = ExternalHostProvider.new(value)
  end
  @external_host_provider = value
end

#external_network_provider_configurationsArray<ExternalNetworkProviderConfiguration>

Returns the value of the external_network_provider_configurations attribute.



42042
42043
42044
# File 'lib/ovirtsdk4/types.rb', line 42042

def external_network_provider_configurations
  @external_network_provider_configurations
end

#external_network_provider_configurations=(list) ⇒ Object

Sets the value of the external_network_provider_configurations attribute.

Parameters:



42051
42052
42053
42054
42055
42056
42057
42058
42059
42060
42061
# File 'lib/ovirtsdk4/types.rb', line 42051

def external_network_provider_configurations=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = ExternalNetworkProviderConfiguration.new(value)
      end
    end
  end
  @external_network_provider_configurations = list
end

#external_statusExternalStatus

Returns the value of the external_status attribute.

Returns:



42068
42069
42070
# File 'lib/ovirtsdk4/types.rb', line 42068

def external_status
  @external_status
end

#external_status=(value) ⇒ Object

Sets the value of the external_status attribute.

Parameters:



42077
42078
42079
# File 'lib/ovirtsdk4/types.rb', line 42077

def external_status=(value)
  @external_status = value
end

#hardware_informationHardwareInformation

Returns the value of the hardware_information attribute.

Returns:



42086
42087
42088
# File 'lib/ovirtsdk4/types.rb', line 42086

def hardware_information
  @hardware_information
end

#hardware_information=(value) ⇒ Object

Sets the value of the hardware_information attribute.

The value parameter can be an instance of OvirtSDK4::HardwareInformation or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42099
42100
42101
42102
42103
42104
# File 'lib/ovirtsdk4/types.rb', line 42099

def hardware_information=(value)
  if value.is_a?(Hash)
    value = HardwareInformation.new(value)
  end
  @hardware_information = value
end

#hashObject

Generates a hash value for this object.



43214
43215
43216
43217
43218
43219
43220
43221
43222
43223
43224
43225
43226
43227
43228
43229
43230
43231
43232
43233
43234
43235
43236
43237
43238
43239
43240
43241
43242
43243
43244
43245
43246
43247
43248
43249
43250
43251
43252
43253
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
# File 'lib/ovirtsdk4/types.rb', line 43214

def hash
  super +
  @address.hash +
  @affinity_labels.hash +
  @agents.hash +
  @auto_numa_status.hash +
  @certificate.hash +
  @cluster.hash +
  @cpu.hash +
  @device_passthrough.hash +
  @devices.hash +
  @display.hash +
  @external_host_provider.hash +
  @external_network_provider_configurations.hash +
  @external_status.hash +
  @hardware_information.hash +
  @hooks.hash +
  @hosted_engine.hash +
  @iscsi.hash +
  @katello_errata.hash +
  @kdump_status.hash +
  @ksm.hash +
  @libvirt_version.hash +
  @max_scheduling_memory.hash +
  @memory.hash +
  @network_attachments.hash +
  @network_operation_in_progress.hash +
  @nics.hash +
  @numa_nodes.hash +
  @numa_supported.hash +
  @os.hash +
  @override_iptables.hash +
  @permissions.hash +
  @port.hash +
  @power_management.hash +
  @protocol.hash +
  @root_password.hash +
  @se_linux.hash +
  @spm.hash +
  @ssh.hash +
  @statistics.hash +
  @status.hash +
  @status_detail.hash +
  @storage_connection_extensions.hash +
  @storages.hash +
  @summary.hash +
  @tags.hash +
  @transparent_huge_pages.hash +
  @type.hash +
  @unmanaged_networks.hash +
  @update_available.hash +
  @version.hash +
  @vgpu_placement.hash
end

#hooksArray<Hook>

Returns the value of the hooks attribute.

Returns:



42111
42112
42113
# File 'lib/ovirtsdk4/types.rb', line 42111

def hooks
  @hooks
end

#hooks=(list) ⇒ Object

Sets the value of the hooks attribute.

Parameters:

  • list (Array<Hook>)


42120
42121
42122
42123
42124
42125
42126
42127
42128
42129
42130
# File 'lib/ovirtsdk4/types.rb', line 42120

def hooks=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Hook.new(value)
      end
    end
  end
  @hooks = list
end

#hosted_engineHostedEngine

Returns the value of the hosted_engine attribute.

Returns:



42137
42138
42139
# File 'lib/ovirtsdk4/types.rb', line 42137

def hosted_engine
  @hosted_engine
end

#hosted_engine=(value) ⇒ Object

Sets the value of the hosted_engine attribute.

The value parameter can be an instance of OvirtSDK4::HostedEngine or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42150
42151
42152
42153
42154
42155
# File 'lib/ovirtsdk4/types.rb', line 42150

def hosted_engine=(value)
  if value.is_a?(Hash)
    value = HostedEngine.new(value)
  end
  @hosted_engine = value
end

#idString

Returns the value of the id attribute.

Returns:

  • (String)


42162
42163
42164
# File 'lib/ovirtsdk4/types.rb', line 42162

def id
  @id
end

#id=(value) ⇒ Object

Sets the value of the id attribute.

Parameters:

  • value (String)


42171
42172
42173
# File 'lib/ovirtsdk4/types.rb', line 42171

def id=(value)
  @id = value
end

#iscsiIscsiDetails

Returns the value of the iscsi attribute.

Returns:



42180
42181
42182
# File 'lib/ovirtsdk4/types.rb', line 42180

def iscsi
  @iscsi
end

#iscsi=(value) ⇒ Object

Sets the value of the iscsi attribute.

The value parameter can be an instance of IscsiDetails or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42193
42194
42195
42196
42197
42198
# File 'lib/ovirtsdk4/types.rb', line 42193

def iscsi=(value)
  if value.is_a?(Hash)
    value = IscsiDetails.new(value)
  end
  @iscsi = value
end

#katello_errataArray<KatelloErratum>

Returns the value of the katello_errata attribute.

Returns:



42205
42206
42207
# File 'lib/ovirtsdk4/types.rb', line 42205

def katello_errata
  @katello_errata
end

#katello_errata=(list) ⇒ Object

Sets the value of the katello_errata attribute.

Parameters:



42214
42215
42216
42217
42218
42219
42220
42221
42222
42223
42224
# File 'lib/ovirtsdk4/types.rb', line 42214

def katello_errata=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = KatelloErratum.new(value)
      end
    end
  end
  @katello_errata = list
end

#kdump_statusKdumpStatus

Returns the value of the kdump_status attribute.

Returns:



42231
42232
42233
# File 'lib/ovirtsdk4/types.rb', line 42231

def kdump_status
  @kdump_status
end

#kdump_status=(value) ⇒ Object

Sets the value of the kdump_status attribute.

Parameters:



42240
42241
42242
# File 'lib/ovirtsdk4/types.rb', line 42240

def kdump_status=(value)
  @kdump_status = value
end

#ksmKsm

Returns the value of the ksm attribute.

Returns:



42249
42250
42251
# File 'lib/ovirtsdk4/types.rb', line 42249

def ksm
  @ksm
end

#ksm=(value) ⇒ Object

Sets the value of the ksm attribute.

The value parameter can be an instance of Ksm or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Ksm, Hash)


42262
42263
42264
42265
42266
42267
# File 'lib/ovirtsdk4/types.rb', line 42262

def ksm=(value)
  if value.is_a?(Hash)
    value = Ksm.new(value)
  end
  @ksm = value
end

#libvirt_versionVersion

Returns the value of the libvirt_version attribute.

Returns:



42274
42275
42276
# File 'lib/ovirtsdk4/types.rb', line 42274

def libvirt_version
  @libvirt_version
end

#libvirt_version=(value) ⇒ Object

Sets the value of the libvirt_version attribute.

The value parameter can be an instance of Version or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42287
42288
42289
42290
42291
42292
# File 'lib/ovirtsdk4/types.rb', line 42287

def libvirt_version=(value)
  if value.is_a?(Hash)
    value = Version.new(value)
  end
  @libvirt_version = value
end

#max_scheduling_memoryInteger

Returns the value of the max_scheduling_memory attribute.

Returns:

  • (Integer)


42299
42300
42301
# File 'lib/ovirtsdk4/types.rb', line 42299

def max_scheduling_memory
  @max_scheduling_memory
end

#max_scheduling_memory=(value) ⇒ Object

Sets the value of the max_scheduling_memory attribute.

Parameters:

  • value (Integer)


42308
42309
42310
# File 'lib/ovirtsdk4/types.rb', line 42308

def max_scheduling_memory=(value)
  @max_scheduling_memory = value
end

#memoryInteger

Returns the value of the memory attribute.

Returns:

  • (Integer)


42317
42318
42319
# File 'lib/ovirtsdk4/types.rb', line 42317

def memory
  @memory
end

#memory=(value) ⇒ Object

Sets the value of the memory attribute.

Parameters:

  • value (Integer)


42326
42327
42328
# File 'lib/ovirtsdk4/types.rb', line 42326

def memory=(value)
  @memory = value
end

#nameString

Returns the value of the name attribute.

Returns:

  • (String)


42335
42336
42337
# File 'lib/ovirtsdk4/types.rb', line 42335

def name
  @name
end

#name=(value) ⇒ Object

Sets the value of the name attribute.

Parameters:

  • value (String)


42344
42345
42346
# File 'lib/ovirtsdk4/types.rb', line 42344

def name=(value)
  @name = value
end

#network_attachmentsArray<NetworkAttachment>

Returns the value of the network_attachments attribute.

Returns:



42353
42354
42355
# File 'lib/ovirtsdk4/types.rb', line 42353

def network_attachments
  @network_attachments
end

#network_attachments=(list) ⇒ Object

Sets the value of the network_attachments attribute.

Parameters:



42362
42363
42364
42365
42366
42367
42368
42369
42370
42371
42372
# File 'lib/ovirtsdk4/types.rb', line 42362

def network_attachments=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NetworkAttachment.new(value)
      end
    end
  end
  @network_attachments = list
end

#network_operation_in_progressBoolean

Returns the value of the network_operation_in_progress attribute.

Returns:

  • (Boolean)


42379
42380
42381
# File 'lib/ovirtsdk4/types.rb', line 42379

def network_operation_in_progress
  @network_operation_in_progress
end

#network_operation_in_progress=(value) ⇒ Object

Sets the value of the network_operation_in_progress attribute.

Parameters:

  • value (Boolean)


42388
42389
42390
# File 'lib/ovirtsdk4/types.rb', line 42388

def network_operation_in_progress=(value)
  @network_operation_in_progress = value
end

#nicsArray<HostNic>

Returns the value of the nics attribute.

Returns:



42397
42398
42399
# File 'lib/ovirtsdk4/types.rb', line 42397

def nics
  @nics
end

#nics=(list) ⇒ Object

Sets the value of the nics attribute.

Parameters:



42406
42407
42408
42409
42410
42411
42412
42413
42414
42415
42416
# File 'lib/ovirtsdk4/types.rb', line 42406

def nics=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = HostNic.new(value)
      end
    end
  end
  @nics = list
end

#numa_nodesArray<NumaNode>

Returns the value of the numa_nodes attribute.

Returns:



42423
42424
42425
# File 'lib/ovirtsdk4/types.rb', line 42423

def numa_nodes
  @numa_nodes
end

#numa_nodes=(list) ⇒ Object

Sets the value of the numa_nodes attribute.

Parameters:



42432
42433
42434
42435
42436
42437
42438
42439
42440
42441
42442
# File 'lib/ovirtsdk4/types.rb', line 42432

def numa_nodes=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = NumaNode.new(value)
      end
    end
  end
  @numa_nodes = list
end

#numa_supportedBoolean

Returns the value of the numa_supported attribute.

Returns:

  • (Boolean)


42449
42450
42451
# File 'lib/ovirtsdk4/types.rb', line 42449

def numa_supported
  @numa_supported
end

#numa_supported=(value) ⇒ Object

Sets the value of the numa_supported attribute.

Parameters:

  • value (Boolean)


42458
42459
42460
# File 'lib/ovirtsdk4/types.rb', line 42458

def numa_supported=(value)
  @numa_supported = value
end

#osOperatingSystem

Returns the value of the os attribute.

Returns:



42467
42468
42469
# File 'lib/ovirtsdk4/types.rb', line 42467

def os
  @os
end

#os=(value) ⇒ Object

Sets the value of the os attribute.

The value parameter can be an instance of OperatingSystem or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42480
42481
42482
42483
42484
42485
# File 'lib/ovirtsdk4/types.rb', line 42480

def os=(value)
  if value.is_a?(Hash)
    value = OperatingSystem.new(value)
  end
  @os = value
end

#override_iptablesBoolean

Returns the value of the override_iptables attribute.

Returns:

  • (Boolean)


42492
42493
42494
# File 'lib/ovirtsdk4/types.rb', line 42492

def override_iptables
  @override_iptables
end

#override_iptables=(value) ⇒ Object

Sets the value of the override_iptables attribute.

Parameters:

  • value (Boolean)


42501
42502
42503
# File 'lib/ovirtsdk4/types.rb', line 42501

def override_iptables=(value)
  @override_iptables = value
end

#permissionsArray<Permission>

Returns the value of the permissions attribute.

Returns:



42510
42511
42512
# File 'lib/ovirtsdk4/types.rb', line 42510

def permissions
  @permissions
end

#permissions=(list) ⇒ Object

Sets the value of the permissions attribute.

Parameters:



42519
42520
42521
42522
42523
42524
42525
42526
42527
42528
42529
# File 'lib/ovirtsdk4/types.rb', line 42519

def permissions=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Permission.new(value)
      end
    end
  end
  @permissions = list
end

#portInteger

Returns the value of the port attribute.

Returns:

  • (Integer)


42536
42537
42538
# File 'lib/ovirtsdk4/types.rb', line 42536

def port
  @port
end

#port=(value) ⇒ Object

Sets the value of the port attribute.

Parameters:

  • value (Integer)


42545
42546
42547
# File 'lib/ovirtsdk4/types.rb', line 42545

def port=(value)
  @port = value
end

#power_managementPowerManagement

Returns the value of the power_management attribute.

Returns:



42554
42555
42556
# File 'lib/ovirtsdk4/types.rb', line 42554

def power_management
  @power_management
end

#power_management=(value) ⇒ Object

Sets the value of the power_management attribute.

The value parameter can be an instance of PowerManagement or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42567
42568
42569
42570
42571
42572
# File 'lib/ovirtsdk4/types.rb', line 42567

def power_management=(value)
  if value.is_a?(Hash)
    value = PowerManagement.new(value)
  end
  @power_management = value
end

#protocolHostProtocol

Returns the value of the protocol attribute.

Returns:



42579
42580
42581
# File 'lib/ovirtsdk4/types.rb', line 42579

def protocol
  @protocol
end

#protocol=(value) ⇒ Object

Sets the value of the protocol attribute.

Parameters:



42588
42589
42590
# File 'lib/ovirtsdk4/types.rb', line 42588

def protocol=(value)
  @protocol = value
end

#root_passwordString

Returns the value of the root_password attribute.

Returns:

  • (String)


42597
42598
42599
# File 'lib/ovirtsdk4/types.rb', line 42597

def root_password
  @root_password
end

#root_password=(value) ⇒ Object

Sets the value of the root_password attribute.

Parameters:

  • value (String)


42606
42607
42608
# File 'lib/ovirtsdk4/types.rb', line 42606

def root_password=(value)
  @root_password = value
end

#se_linuxSeLinux

Returns the value of the se_linux attribute.

Returns:



42615
42616
42617
# File 'lib/ovirtsdk4/types.rb', line 42615

def se_linux
  @se_linux
end

#se_linux=(value) ⇒ Object

Sets the value of the se_linux attribute.

The value parameter can be an instance of SeLinux or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42628
42629
42630
42631
42632
42633
# File 'lib/ovirtsdk4/types.rb', line 42628

def se_linux=(value)
  if value.is_a?(Hash)
    value = SeLinux.new(value)
  end
  @se_linux = value
end

#spmSpm

Returns the value of the spm attribute.

Returns:



42640
42641
42642
# File 'lib/ovirtsdk4/types.rb', line 42640

def spm
  @spm
end

#spm=(value) ⇒ Object

Sets the value of the spm attribute.

The value parameter can be an instance of Spm or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Spm, Hash)


42653
42654
42655
42656
42657
42658
# File 'lib/ovirtsdk4/types.rb', line 42653

def spm=(value)
  if value.is_a?(Hash)
    value = Spm.new(value)
  end
  @spm = value
end

#sshSsh

Returns the value of the ssh attribute.

Returns:



42665
42666
42667
# File 'lib/ovirtsdk4/types.rb', line 42665

def ssh
  @ssh
end

#ssh=(value) ⇒ Object

Sets the value of the ssh attribute.

The value parameter can be an instance of Ssh or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:

  • value (Ssh, Hash)


42678
42679
42680
42681
42682
42683
# File 'lib/ovirtsdk4/types.rb', line 42678

def ssh=(value)
  if value.is_a?(Hash)
    value = Ssh.new(value)
  end
  @ssh = value
end

#statisticsArray<Statistic>

Returns the value of the statistics attribute.

Returns:



42690
42691
42692
# File 'lib/ovirtsdk4/types.rb', line 42690

def statistics
  @statistics
end

#statistics=(list) ⇒ Object

Sets the value of the statistics attribute.

Parameters:



42699
42700
42701
42702
42703
42704
42705
42706
42707
42708
42709
# File 'lib/ovirtsdk4/types.rb', line 42699

def statistics=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Statistic.new(value)
      end
    end
  end
  @statistics = list
end

#statusHostStatus

Returns the value of the status attribute.

Returns:



42716
42717
42718
# File 'lib/ovirtsdk4/types.rb', line 42716

def status
  @status
end

#status=(value) ⇒ Object

Sets the value of the status attribute.

Parameters:



42725
42726
42727
# File 'lib/ovirtsdk4/types.rb', line 42725

def status=(value)
  @status = value
end

#status_detailString

Returns the value of the status_detail attribute.

Returns:

  • (String)


42734
42735
42736
# File 'lib/ovirtsdk4/types.rb', line 42734

def status_detail
  @status_detail
end

#status_detail=(value) ⇒ Object

Sets the value of the status_detail attribute.

Parameters:

  • value (String)


42743
42744
42745
# File 'lib/ovirtsdk4/types.rb', line 42743

def status_detail=(value)
  @status_detail = value
end

#storage_connection_extensionsArray<StorageConnectionExtension>

Returns the value of the storage_connection_extensions attribute.

Returns:



42752
42753
42754
# File 'lib/ovirtsdk4/types.rb', line 42752

def storage_connection_extensions
  @storage_connection_extensions
end

#storage_connection_extensions=(list) ⇒ Object

Sets the value of the storage_connection_extensions attribute.

Parameters:



42761
42762
42763
42764
42765
42766
42767
42768
42769
42770
42771
# File 'lib/ovirtsdk4/types.rb', line 42761

def storage_connection_extensions=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = StorageConnectionExtension.new(value)
      end
    end
  end
  @storage_connection_extensions = list
end

#storagesArray<HostStorage>

Returns the value of the storages attribute.

Returns:



42778
42779
42780
# File 'lib/ovirtsdk4/types.rb', line 42778

def storages
  @storages
end

#storages=(list) ⇒ Object

Sets the value of the storages attribute.

Parameters:



42787
42788
42789
42790
42791
42792
42793
42794
42795
42796
42797
# File 'lib/ovirtsdk4/types.rb', line 42787

def storages=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = HostStorage.new(value)
      end
    end
  end
  @storages = list
end

#summaryVmSummary

Returns the value of the summary attribute.

Returns:



42804
42805
42806
# File 'lib/ovirtsdk4/types.rb', line 42804

def summary
  @summary
end

#summary=(value) ⇒ Object

Sets the value of the summary attribute.

The value parameter can be an instance of VmSummary or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42817
42818
42819
42820
42821
42822
# File 'lib/ovirtsdk4/types.rb', line 42817

def summary=(value)
  if value.is_a?(Hash)
    value = VmSummary.new(value)
  end
  @summary = value
end

#tagsArray<Tag>

Returns the value of the tags attribute.

Returns:



42829
42830
42831
# File 'lib/ovirtsdk4/types.rb', line 42829

def tags
  @tags
end

#tags=(list) ⇒ Object

Sets the value of the tags attribute.

Parameters:

  • list (Array<Tag>)


42838
42839
42840
42841
42842
42843
42844
42845
42846
42847
42848
# File 'lib/ovirtsdk4/types.rb', line 42838

def tags=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = Tag.new(value)
      end
    end
  end
  @tags = list
end

#transparent_huge_pagesTransparentHugePages

Returns the value of the transparent_huge_pages attribute.



42855
42856
42857
# File 'lib/ovirtsdk4/types.rb', line 42855

def transparent_huge_pages
  @transparent_huge_pages
end

#transparent_huge_pages=(value) ⇒ Object

Sets the value of the transparent_huge_pages attribute.

The value parameter can be an instance of TransparentHugePages or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42868
42869
42870
42871
42872
42873
# File 'lib/ovirtsdk4/types.rb', line 42868

def transparent_huge_pages=(value)
  if value.is_a?(Hash)
    value = TransparentHugePages.new(value)
  end
  @transparent_huge_pages = value
end

#typeHostType

Returns the value of the type attribute.

Returns:



42880
42881
42882
# File 'lib/ovirtsdk4/types.rb', line 42880

def type
  @type
end

#type=(value) ⇒ Object

Sets the value of the type attribute.

Parameters:



42889
42890
42891
# File 'lib/ovirtsdk4/types.rb', line 42889

def type=(value)
  @type = value
end

#unmanaged_networksArray<UnmanagedNetwork>

Returns the value of the unmanaged_networks attribute.

Returns:



42898
42899
42900
# File 'lib/ovirtsdk4/types.rb', line 42898

def unmanaged_networks
  @unmanaged_networks
end

#unmanaged_networks=(list) ⇒ Object

Sets the value of the unmanaged_networks attribute.

Parameters:



42907
42908
42909
42910
42911
42912
42913
42914
42915
42916
42917
# File 'lib/ovirtsdk4/types.rb', line 42907

def unmanaged_networks=(list)
  if list.class == Array
    list = List.new(list)
    list.each_with_index do |value, index|
      if value.is_a?(Hash)
        list[index] = UnmanagedNetwork.new(value)
      end
    end
  end
  @unmanaged_networks = list
end

#update_availableBoolean

Returns the value of the update_available attribute.

Returns:

  • (Boolean)


42924
42925
42926
# File 'lib/ovirtsdk4/types.rb', line 42924

def update_available
  @update_available
end

#update_available=(value) ⇒ Object

Sets the value of the update_available attribute.

Parameters:

  • value (Boolean)


42933
42934
42935
# File 'lib/ovirtsdk4/types.rb', line 42933

def update_available=(value)
  @update_available = value
end

#versionVersion

Returns the value of the version attribute.

Returns:



42942
42943
42944
# File 'lib/ovirtsdk4/types.rb', line 42942

def version
  @version
end

#version=(value) ⇒ Object

Sets the value of the version attribute.

The value parameter can be an instance of Version or a hash. If it is a hash then a new instance will be created passing the hash as the opts parameter to the constructor.

Parameters:



42955
42956
42957
42958
42959
42960
# File 'lib/ovirtsdk4/types.rb', line 42955

def version=(value)
  if value.is_a?(Hash)
    value = Version.new(value)
  end
  @version = value
end

#vgpu_placementVgpuPlacement

Returns the value of the vgpu_placement attribute.

Returns:



42967
42968
42969
# File 'lib/ovirtsdk4/types.rb', line 42967

def vgpu_placement
  @vgpu_placement
end

#vgpu_placement=(value) ⇒ Object

Sets the value of the vgpu_placement attribute.

Parameters:



42976
42977
42978
# File 'lib/ovirtsdk4/types.rb', line 42976

def vgpu_placement=(value)
  @vgpu_placement = value
end