Class: OvirtSDK4::Cluster

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

Instance Method Summary (collapse)

Methods included from Type

#href, #href=

Constructor Details

- (Cluster) initialize(opts = {})

Creates a new instance of the OvirtSDK4::Cluster 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):

  • :affinity_groups (Array<AffinityGroup>, Array<Hash>)

    The values of attribute affinity_groups.

  • :ballooning_enabled (Boolean)

    The value of attribute ballooning_enabled.

  • :comment (String)

    The value of attribute comment.

  • :cpu (Cpu, Hash)

    The value of attribute cpu.

  • :cpu_profiles (Array<CpuProfile>, Array<Hash>)

    The values of attribute cpu_profiles.

  • :data_center (DataCenter, Hash)

    The value of attribute data_center.

  • :description (String)

    The value of attribute description.

  • :display (Display, Hash)

    The value of attribute display.

  • :error_handling (ErrorHandling, Hash)

    The value of attribute error_handling.

  • :fencing_policy (FencingPolicy, Hash)

    The value of attribute fencing_policy.

  • :gluster_hooks (Array<GlusterHook>, Array<Hash>)

    The values of attribute gluster_hooks.

  • :gluster_service (Boolean)

    The value of attribute gluster_service.

  • :gluster_volumes (Array<GlusterVolume>, Array<Hash>)

    The values of attribute gluster_volumes.

  • :ha_reservation (Boolean)

    The value of attribute ha_reservation.

  • :id (String)

    The value of attribute id.

  • :ksm (Ksm, Hash)

    The value of attribute ksm.

  • :mac_pool (MacPool, Hash)

    The value of attribute mac_pool.

  • :maintenance_reason_required (Boolean)

    The value of attribute maintenance_reason_required.

  • :management_network (Network, Hash)

    The value of attribute management_network.

  • :memory_policy (MemoryPolicy, Hash)

    The value of attribute memory_policy.

  • :migration (MigrationOptions, Hash)

    The value of attribute migration.

  • :name (String)

    The value of attribute name.

  • :network_filters (Array<NetworkFilter>, Array<Hash>)

    The values of attribute network_filters.

  • :networks (Array<Network>, Array<Hash>)

    The values of attribute networks.

  • :optional_reason (Boolean)

    The value of attribute optional_reason.

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

    The values of attribute permissions.

  • :required_rng_sources (Array<RngSource>, Array<Hash>)

    The values of attribute required_rng_sources.

  • :scheduling_policy (SchedulingPolicy, Hash)

    The value of attribute scheduling_policy.

  • :serial_number (SerialNumber, Hash)

    The value of attribute serial_number.

  • :supported_versions (Array<Version>, Array<Hash>)

    The values of attribute supported_versions.

  • :threads_as_cores (Boolean)

    The value of attribute threads_as_cores.

  • :trusted_service (Boolean)

    The value of attribute trusted_service.

  • :tunnel_migration (Boolean)

    The value of attribute tunnel_migration.

  • :version (Version, Hash)

    The value of attribute version.

  • :virt_service (Boolean)

    The value of attribute virt_service.



24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
# File 'lib/ovirtsdk4/types.rb', line 24713

def initialize(opts = {})
  super(opts)
  self.affinity_groups = opts[:affinity_groups]
  self.ballooning_enabled = opts[:ballooning_enabled]
  self.comment = opts[:comment]
  self.cpu = opts[:cpu]
  self.cpu_profiles = opts[:cpu_profiles]
  self.data_center = opts[:data_center]
  self.description = opts[:description]
  self.display = opts[:display]
  self.error_handling = opts[:error_handling]
  self.fencing_policy = opts[:fencing_policy]
  self.gluster_hooks = opts[:gluster_hooks]
  self.gluster_service = opts[:gluster_service]
  self.gluster_volumes = opts[:gluster_volumes]
  self.ha_reservation = opts[:ha_reservation]
  self.id = opts[:id]
  self.ksm = opts[:ksm]
  self.mac_pool = opts[:mac_pool]
  self.maintenance_reason_required = opts[:maintenance_reason_required]
  self.management_network = opts[:management_network]
  self.memory_policy = opts[:memory_policy]
  self.migration = opts[:migration]
  self.name = opts[:name]
  self.network_filters = opts[:network_filters]
  self.networks = opts[:networks]
  self.optional_reason = opts[:optional_reason]
  self.permissions = opts[:permissions]
  self.required_rng_sources = opts[:required_rng_sources]
  self.scheduling_policy = opts[:scheduling_policy]
  self.serial_number = opts[:serial_number]
  self.supported_versions = opts[:supported_versions]
  self.threads_as_cores = opts[:threads_as_cores]
  self.trusted_service = opts[:trusted_service]
  self.tunnel_migration = opts[:tunnel_migration]
  self.version = opts[:version]
  self.virt_service = opts[:virt_service]
end

Instance Method Details

- (Array<AffinityGroup>) affinity_groups

Returns the value of the affinity_groups attribute.

Returns:



23864
23865
23866
# File 'lib/ovirtsdk4/types.rb', line 23864

def affinity_groups
  return @affinity_groups
end

- (Object) affinity_groups=(list)

Sets the value of the affinity_groups attribute.

Parameters:



23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
# File 'lib/ovirtsdk4/types.rb', line 23872

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

- (Boolean) ballooning_enabled

Returns the value of the ballooning_enabled attribute.

Returns:

  • (Boolean)


23889
23890
23891
# File 'lib/ovirtsdk4/types.rb', line 23889

def ballooning_enabled
  return @ballooning_enabled
end

- (Object) ballooning_enabled=(value)

Sets the value of the ballooning_enabled attribute.

Parameters:

  • value (Boolean)


23898
23899
23900
# File 'lib/ovirtsdk4/types.rb', line 23898

def ballooning_enabled=(value)
  @ballooning_enabled = value
end

- (String) comment

Returns the value of the comment attribute.

Returns:

  • (String)


23907
23908
23909
# File 'lib/ovirtsdk4/types.rb', line 23907

def comment
  return @comment
end

- (Object) comment=(value)

Sets the value of the comment attribute.

Parameters:

  • value (String)


23916
23917
23918
# File 'lib/ovirtsdk4/types.rb', line 23916

def comment=(value)
  @comment = value
end

- (Cpu) cpu

Returns the value of the cpu attribute.

Returns:



23925
23926
23927
# File 'lib/ovirtsdk4/types.rb', line 23925

def cpu
  return @cpu
end

- (Object) cpu=(value)

Sets the value of the cpu attribute.

The value parameter can be an instance of OvirtSDK4::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)


23938
23939
23940
23941
23942
23943
# File 'lib/ovirtsdk4/types.rb', line 23938

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

- (Array<CpuProfile>) cpu_profiles

Returns the value of the cpu_profiles attribute.

Returns:



23950
23951
23952
# File 'lib/ovirtsdk4/types.rb', line 23950

def cpu_profiles
  return @cpu_profiles
end

- (Object) cpu_profiles=(list)

Sets the value of the cpu_profiles attribute.

Parameters:



23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
# File 'lib/ovirtsdk4/types.rb', line 23958

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

- (DataCenter) data_center

Returns the value of the data_center attribute.

Returns:



23975
23976
23977
# File 'lib/ovirtsdk4/types.rb', line 23975

def data_center
  return @data_center
end

- (Object) data_center=(value)

Sets the value of the data_center attribute.

The value parameter can be an instance of DataCenter 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:



23988
23989
23990
23991
23992
23993
# File 'lib/ovirtsdk4/types.rb', line 23988

def data_center=(value)
  if value.is_a?(Hash)
    value = DataCenter.new(value)
  end
  @data_center = value
end

- (String) description

Returns the value of the description attribute.

Returns:

  • (String)


24000
24001
24002
# File 'lib/ovirtsdk4/types.rb', line 24000

def description
  return @description
end

- (Object) description=(value)

Sets the value of the description attribute.

Parameters:

  • value (String)


24009
24010
24011
# File 'lib/ovirtsdk4/types.rb', line 24009

def description=(value)
  @description = value
end

- (Display) display

Returns the value of the display attribute.

Returns:



24018
24019
24020
# File 'lib/ovirtsdk4/types.rb', line 24018

def display
  return @display
end

- (Object) display=(value)

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:



24031
24032
24033
24034
24035
24036
# File 'lib/ovirtsdk4/types.rb', line 24031

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

- (ErrorHandling) error_handling

Returns the value of the error_handling attribute.

Returns:



24043
24044
24045
# File 'lib/ovirtsdk4/types.rb', line 24043

def error_handling
  return @error_handling
end

- (Object) error_handling=(value)

Sets the value of the error_handling attribute.

The value parameter can be an instance of ErrorHandling 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:



24056
24057
24058
24059
24060
24061
# File 'lib/ovirtsdk4/types.rb', line 24056

def error_handling=(value)
  if value.is_a?(Hash)
    value = ErrorHandling.new(value)
  end
  @error_handling = value
end

- (FencingPolicy) fencing_policy

Returns the value of the fencing_policy attribute.

Returns:



24068
24069
24070
# File 'lib/ovirtsdk4/types.rb', line 24068

def fencing_policy
  return @fencing_policy
end

- (Object) fencing_policy=(value)

Sets the value of the fencing_policy attribute.

The value parameter can be an instance of FencingPolicy 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:



24081
24082
24083
24084
24085
24086
# File 'lib/ovirtsdk4/types.rb', line 24081

def fencing_policy=(value)
  if value.is_a?(Hash)
    value = FencingPolicy.new(value)
  end
  @fencing_policy = value
end

- (Array<GlusterHook>) gluster_hooks

Returns the value of the gluster_hooks attribute.

Returns:



24093
24094
24095
# File 'lib/ovirtsdk4/types.rb', line 24093

def gluster_hooks
  return @gluster_hooks
end

- (Object) gluster_hooks=(list)

Sets the value of the gluster_hooks attribute.

Parameters:



24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
# File 'lib/ovirtsdk4/types.rb', line 24101

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

- (Boolean) gluster_service

Returns the value of the gluster_service attribute.

Returns:

  • (Boolean)


24118
24119
24120
# File 'lib/ovirtsdk4/types.rb', line 24118

def gluster_service
  return @gluster_service
end

- (Object) gluster_service=(value)

Sets the value of the gluster_service attribute.

Parameters:

  • value (Boolean)


24127
24128
24129
# File 'lib/ovirtsdk4/types.rb', line 24127

def gluster_service=(value)
  @gluster_service = value
end

- (Array<GlusterVolume>) gluster_volumes

Returns the value of the gluster_volumes attribute.

Returns:



24136
24137
24138
# File 'lib/ovirtsdk4/types.rb', line 24136

def gluster_volumes
  return @gluster_volumes
end

- (Object) gluster_volumes=(list)

Sets the value of the gluster_volumes attribute.

Parameters:



24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
# File 'lib/ovirtsdk4/types.rb', line 24144

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

- (Boolean) ha_reservation

Returns the value of the ha_reservation attribute.

Returns:

  • (Boolean)


24161
24162
24163
# File 'lib/ovirtsdk4/types.rb', line 24161

def ha_reservation
  return @ha_reservation
end

- (Object) ha_reservation=(value)

Sets the value of the ha_reservation attribute.

Parameters:

  • value (Boolean)


24170
24171
24172
# File 'lib/ovirtsdk4/types.rb', line 24170

def ha_reservation=(value)
  @ha_reservation = value
end

- (String) id

Returns the value of the id attribute.

Returns:

  • (String)


24179
24180
24181
# File 'lib/ovirtsdk4/types.rb', line 24179

def id
  return @id
end

- (Object) id=(value)

Sets the value of the id attribute.

Parameters:

  • value (String)


24188
24189
24190
# File 'lib/ovirtsdk4/types.rb', line 24188

def id=(value)
  @id = value
end

- (Ksm) ksm

Returns the value of the ksm attribute.

Returns:



24197
24198
24199
# File 'lib/ovirtsdk4/types.rb', line 24197

def ksm
  return @ksm
end

- (Object) ksm=(value)

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)


24210
24211
24212
24213
24214
24215
# File 'lib/ovirtsdk4/types.rb', line 24210

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

- (MacPool) mac_pool

Returns the value of the mac_pool attribute.

Returns:



24222
24223
24224
# File 'lib/ovirtsdk4/types.rb', line 24222

def mac_pool
  return @mac_pool
end

- (Object) mac_pool=(value)

Sets the value of the mac_pool attribute.

The value parameter can be an instance of MacPool 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:



24235
24236
24237
24238
24239
24240
# File 'lib/ovirtsdk4/types.rb', line 24235

def mac_pool=(value)
  if value.is_a?(Hash)
    value = MacPool.new(value)
  end
  @mac_pool = value
end

- (Boolean) maintenance_reason_required

Returns the value of the maintenance_reason_required attribute.

Returns:

  • (Boolean)


24247
24248
24249
# File 'lib/ovirtsdk4/types.rb', line 24247

def maintenance_reason_required
  return @maintenance_reason_required
end

- (Object) maintenance_reason_required=(value)

Sets the value of the maintenance_reason_required attribute.

Parameters:

  • value (Boolean)


24256
24257
24258
# File 'lib/ovirtsdk4/types.rb', line 24256

def maintenance_reason_required=(value)
  @maintenance_reason_required = value
end

- (Network) management_network

Returns the value of the management_network attribute.

Returns:



24265
24266
24267
# File 'lib/ovirtsdk4/types.rb', line 24265

def management_network
  return @management_network
end

- (Object) management_network=(value)

Sets the value of the management_network attribute.

The value parameter can be an instance of Network 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:



24278
24279
24280
24281
24282
24283
# File 'lib/ovirtsdk4/types.rb', line 24278

def management_network=(value)
  if value.is_a?(Hash)
    value = Network.new(value)
  end
  @management_network = value
end

- (MemoryPolicy) memory_policy

Returns the value of the memory_policy attribute.

Returns:



24290
24291
24292
# File 'lib/ovirtsdk4/types.rb', line 24290

def memory_policy
  return @memory_policy
end

- (Object) memory_policy=(value)

Sets the value of the memory_policy attribute.

The value parameter can be an instance of MemoryPolicy 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:



24303
24304
24305
24306
24307
24308
# File 'lib/ovirtsdk4/types.rb', line 24303

def memory_policy=(value)
  if value.is_a?(Hash)
    value = MemoryPolicy.new(value)
  end
  @memory_policy = value
end

- (MigrationOptions) migration

Returns the value of the migration attribute.

Returns:



24315
24316
24317
# File 'lib/ovirtsdk4/types.rb', line 24315

def migration
  return @migration
end

- (Object) migration=(value)

Sets the value of the migration attribute.

The value parameter can be an instance of MigrationOptions 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:



24328
24329
24330
24331
24332
24333
# File 'lib/ovirtsdk4/types.rb', line 24328

def migration=(value)
  if value.is_a?(Hash)
    value = MigrationOptions.new(value)
  end
  @migration = value
end

- (String) name

Returns the value of the name attribute.

Returns:

  • (String)


24340
24341
24342
# File 'lib/ovirtsdk4/types.rb', line 24340

def name
  return @name
end

- (Object) name=(value)

Sets the value of the name attribute.

Parameters:

  • value (String)


24349
24350
24351
# File 'lib/ovirtsdk4/types.rb', line 24349

def name=(value)
  @name = value
end

- (Array<NetworkFilter>) network_filters

Returns the value of the network_filters attribute.

Returns:



24358
24359
24360
# File 'lib/ovirtsdk4/types.rb', line 24358

def network_filters
  return @network_filters
end

- (Object) network_filters=(list)

Sets the value of the network_filters attribute.

Parameters:



24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
# File 'lib/ovirtsdk4/types.rb', line 24366

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

- (Array<Network>) networks

Returns the value of the networks attribute.

Returns:



24383
24384
24385
# File 'lib/ovirtsdk4/types.rb', line 24383

def networks
  return @networks
end

- (Object) networks=(list)

Sets the value of the networks attribute.

Parameters:



24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
# File 'lib/ovirtsdk4/types.rb', line 24391

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

- (Boolean) optional_reason

Returns the value of the optional_reason attribute.

Returns:

  • (Boolean)


24408
24409
24410
# File 'lib/ovirtsdk4/types.rb', line 24408

def optional_reason
  return @optional_reason
end

- (Object) optional_reason=(value)

Sets the value of the optional_reason attribute.

Parameters:

  • value (Boolean)


24417
24418
24419
# File 'lib/ovirtsdk4/types.rb', line 24417

def optional_reason=(value)
  @optional_reason = value
end

- (Array<Permission>) permissions

Returns the value of the permissions attribute.

Returns:



24426
24427
24428
# File 'lib/ovirtsdk4/types.rb', line 24426

def permissions
  return @permissions
end

- (Object) permissions=(list)

Sets the value of the permissions attribute.

Parameters:



24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
# File 'lib/ovirtsdk4/types.rb', line 24434

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

- (Array<RngSource>) required_rng_sources

Returns the value of the required_rng_sources attribute.

Returns:



24451
24452
24453
# File 'lib/ovirtsdk4/types.rb', line 24451

def required_rng_sources
  return @required_rng_sources
end

- (Object) required_rng_sources=(list)

Sets the value of the required_rng_sources attribute.

Parameters:



24459
24460
24461
# File 'lib/ovirtsdk4/types.rb', line 24459

def required_rng_sources=(list)
  @required_rng_sources = list
end

- (SchedulingPolicy) scheduling_policy

Returns the value of the scheduling_policy attribute.

Returns:



24468
24469
24470
# File 'lib/ovirtsdk4/types.rb', line 24468

def scheduling_policy
  return @scheduling_policy
end

- (Object) scheduling_policy=(value)

Sets the value of the scheduling_policy attribute.

The value parameter can be an instance of SchedulingPolicy 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:



24481
24482
24483
24484
24485
24486
# File 'lib/ovirtsdk4/types.rb', line 24481

def scheduling_policy=(value)
  if value.is_a?(Hash)
    value = SchedulingPolicy.new(value)
  end
  @scheduling_policy = value
end

- (SerialNumber) serial_number

Returns the value of the serial_number attribute.

Returns:



24493
24494
24495
# File 'lib/ovirtsdk4/types.rb', line 24493

def serial_number
  return @serial_number
end

- (Object) serial_number=(value)

Sets the value of the serial_number attribute.

The value parameter can be an instance of SerialNumber 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:



24506
24507
24508
24509
24510
24511
# File 'lib/ovirtsdk4/types.rb', line 24506

def serial_number=(value)
  if value.is_a?(Hash)
    value = SerialNumber.new(value)
  end
  @serial_number = value
end

- (Array<Version>) supported_versions

Returns the value of the supported_versions attribute.

Returns:



24518
24519
24520
# File 'lib/ovirtsdk4/types.rb', line 24518

def supported_versions
  return @supported_versions
end

- (Object) supported_versions=(list)

Sets the value of the supported_versions attribute.

Parameters:



24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
# File 'lib/ovirtsdk4/types.rb', line 24526

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

- (Boolean) threads_as_cores

Returns the value of the threads_as_cores attribute.

Returns:

  • (Boolean)


24543
24544
24545
# File 'lib/ovirtsdk4/types.rb', line 24543

def threads_as_cores
  return @threads_as_cores
end

- (Object) threads_as_cores=(value)

Sets the value of the threads_as_cores attribute.

Parameters:

  • value (Boolean)


24552
24553
24554
# File 'lib/ovirtsdk4/types.rb', line 24552

def threads_as_cores=(value)
  @threads_as_cores = value
end

- (Boolean) trusted_service

Returns the value of the trusted_service attribute.

Returns:

  • (Boolean)


24561
24562
24563
# File 'lib/ovirtsdk4/types.rb', line 24561

def trusted_service
  return @trusted_service
end

- (Object) trusted_service=(value)

Sets the value of the trusted_service attribute.

Parameters:

  • value (Boolean)


24570
24571
24572
# File 'lib/ovirtsdk4/types.rb', line 24570

def trusted_service=(value)
  @trusted_service = value
end

- (Boolean) tunnel_migration

Returns the value of the tunnel_migration attribute.

Returns:

  • (Boolean)


24579
24580
24581
# File 'lib/ovirtsdk4/types.rb', line 24579

def tunnel_migration
  return @tunnel_migration
end

- (Object) tunnel_migration=(value)

Sets the value of the tunnel_migration attribute.

Parameters:

  • value (Boolean)


24588
24589
24590
# File 'lib/ovirtsdk4/types.rb', line 24588

def tunnel_migration=(value)
  @tunnel_migration = value
end

- (Version) version

Returns the value of the version attribute.

Returns:



24597
24598
24599
# File 'lib/ovirtsdk4/types.rb', line 24597

def version
  return @version
end

- (Object) version=(value)

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:



24610
24611
24612
24613
24614
24615
# File 'lib/ovirtsdk4/types.rb', line 24610

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

- (Boolean) virt_service

Returns the value of the virt_service attribute.

Returns:

  • (Boolean)


24622
24623
24624
# File 'lib/ovirtsdk4/types.rb', line 24622

def virt_service
  return @virt_service
end

- (Object) virt_service=(value)

Sets the value of the virt_service attribute.

Parameters:

  • value (Boolean)


24631
24632
24633
# File 'lib/ovirtsdk4/types.rb', line 24631

def virt_service=(value)
  @virt_service = value
end