ovirt-engine-sdk 4.4.1 → 4.6.0

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.
@@ -86,12 +86,18 @@ module OvirtSDK4
86
86
  class DnsResolverConfiguration < Struct
87
87
  end
88
88
 
89
+ class DynamicCpu < Struct
90
+ end
91
+
89
92
  class EntityProfileDetail < Struct
90
93
  end
91
94
 
92
95
  class ErrorHandling < Struct
93
96
  end
94
97
 
98
+ class ExternalTemplateImport < Struct
99
+ end
100
+
95
101
  class ExternalVmImport < Struct
96
102
  end
97
103
 
@@ -614,6 +620,9 @@ module OvirtSDK4
614
620
  class Host < Identified
615
621
  end
616
622
 
623
+ class HostCpuUnit < Identified
624
+ end
625
+
617
626
  class HostDevice < Identified
618
627
  end
619
628
 
@@ -641,6 +650,9 @@ module OvirtSDK4
641
650
  class Vm < VmBase
642
651
  end
643
652
 
653
+ class VmMediatedDevice < Device
654
+ end
655
+
644
656
  class Watchdog < Device
645
657
  end
646
658
 
@@ -2913,6 +2925,24 @@ module OvirtSDK4
2913
2925
  @disconnect_action = value
2914
2926
  end
2915
2927
 
2928
+ #
2929
+ # Returns the value of the `disconnect_action_delay` attribute.
2930
+ #
2931
+ # @return [Integer]
2932
+ #
2933
+ def disconnect_action_delay
2934
+ @disconnect_action_delay
2935
+ end
2936
+
2937
+ #
2938
+ # Sets the value of the `disconnect_action_delay` attribute.
2939
+ #
2940
+ # @param value [Integer]
2941
+ #
2942
+ def disconnect_action_delay=(value)
2943
+ @disconnect_action_delay = value
2944
+ end
2945
+
2916
2946
  #
2917
2947
  # Returns the value of the `file_transfer_enabled` attribute.
2918
2948
  #
@@ -3092,6 +3122,8 @@ module OvirtSDK4
3092
3122
  #
3093
3123
  # @option opts [String] :disconnect_action The value of attribute `disconnect_action`.
3094
3124
  #
3125
+ # @option opts [Integer] :disconnect_action_delay The value of attribute `disconnect_action_delay`.
3126
+ #
3095
3127
  # @option opts [Boolean] :file_transfer_enabled The value of attribute `file_transfer_enabled`.
3096
3128
  #
3097
3129
  # @option opts [String] :keyboard_layout The value of attribute `keyboard_layout`.
@@ -3118,6 +3150,7 @@ module OvirtSDK4
3118
3150
  self.certificate = opts[:certificate]
3119
3151
  self.copy_paste_enabled = opts[:copy_paste_enabled]
3120
3152
  self.disconnect_action = opts[:disconnect_action]
3153
+ self.disconnect_action_delay = opts[:disconnect_action_delay]
3121
3154
  self.file_transfer_enabled = opts[:file_transfer_enabled]
3122
3155
  self.keyboard_layout = opts[:keyboard_layout]
3123
3156
  self.monitors = opts[:monitors]
@@ -3139,6 +3172,7 @@ module OvirtSDK4
3139
3172
  @certificate == other.certificate &&
3140
3173
  @copy_paste_enabled == other.copy_paste_enabled &&
3141
3174
  @disconnect_action == other.disconnect_action &&
3175
+ @disconnect_action_delay == other.disconnect_action_delay &&
3142
3176
  @file_transfer_enabled == other.file_transfer_enabled &&
3143
3177
  @keyboard_layout == other.keyboard_layout &&
3144
3178
  @monitors == other.monitors &&
@@ -3160,6 +3194,7 @@ module OvirtSDK4
3160
3194
  @certificate.hash +
3161
3195
  @copy_paste_enabled.hash +
3162
3196
  @disconnect_action.hash +
3197
+ @disconnect_action_delay.hash +
3163
3198
  @file_transfer_enabled.hash +
3164
3199
  @keyboard_layout.hash +
3165
3200
  @monitors.hash +
@@ -3318,6 +3353,96 @@ module OvirtSDK4
3318
3353
 
3319
3354
  end
3320
3355
 
3356
+ class DynamicCpu < Struct
3357
+
3358
+ #
3359
+ # Returns the value of the `cpu_tune` attribute.
3360
+ #
3361
+ # @return [CpuTune]
3362
+ #
3363
+ def cpu_tune
3364
+ @cpu_tune
3365
+ end
3366
+
3367
+ #
3368
+ # Sets the value of the `cpu_tune` attribute.
3369
+ #
3370
+ # @param value [CpuTune, Hash]
3371
+ #
3372
+ # The `value` parameter can be an instance of {OvirtSDK4::CpuTune} or a hash.
3373
+ # If it is a hash then a new instance will be created passing the hash as the
3374
+ # `opts` parameter to the constructor.
3375
+ #
3376
+ def cpu_tune=(value)
3377
+ if value.is_a?(Hash)
3378
+ value = CpuTune.new(value)
3379
+ end
3380
+ @cpu_tune = value
3381
+ end
3382
+
3383
+ #
3384
+ # Returns the value of the `topology` attribute.
3385
+ #
3386
+ # @return [CpuTopology]
3387
+ #
3388
+ def topology
3389
+ @topology
3390
+ end
3391
+
3392
+ #
3393
+ # Sets the value of the `topology` attribute.
3394
+ #
3395
+ # @param value [CpuTopology, Hash]
3396
+ #
3397
+ # The `value` parameter can be an instance of {OvirtSDK4::CpuTopology} or a hash.
3398
+ # If it is a hash then a new instance will be created passing the hash as the
3399
+ # `opts` parameter to the constructor.
3400
+ #
3401
+ def topology=(value)
3402
+ if value.is_a?(Hash)
3403
+ value = CpuTopology.new(value)
3404
+ end
3405
+ @topology = value
3406
+ end
3407
+
3408
+ #
3409
+ # Creates a new instance of the {DynamicCpu} class.
3410
+ #
3411
+ # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
3412
+ # should be symbols corresponding to the names of the attributes. The values of the hash
3413
+ # should be the values of the attributes.
3414
+ #
3415
+ # @option opts [CpuTune, Hash] :cpu_tune The value of attribute `cpu_tune`.
3416
+ #
3417
+ # @option opts [CpuTopology, Hash] :topology The value of attribute `topology`.
3418
+ #
3419
+ #
3420
+ def initialize(opts = {})
3421
+ super(opts)
3422
+ self.cpu_tune = opts[:cpu_tune]
3423
+ self.topology = opts[:topology]
3424
+ end
3425
+
3426
+ #
3427
+ # Returns `true` if `self` and `other` have the same attributes and values.
3428
+ #
3429
+ def ==(other)
3430
+ super &&
3431
+ @cpu_tune == other.cpu_tune &&
3432
+ @topology == other.topology
3433
+ end
3434
+
3435
+ #
3436
+ # Generates a hash value for this object.
3437
+ #
3438
+ def hash
3439
+ super +
3440
+ @cpu_tune.hash +
3441
+ @topology.hash
3442
+ end
3443
+
3444
+ end
3445
+
3321
3446
  class EntityProfileDetail < Struct
3322
3447
 
3323
3448
  #
@@ -3432,6 +3557,262 @@ module OvirtSDK4
3432
3557
 
3433
3558
  end
3434
3559
 
3560
+ class ExternalTemplateImport < Struct
3561
+
3562
+ #
3563
+ # Returns the value of the `clone` attribute.
3564
+ #
3565
+ # @return [Boolean]
3566
+ #
3567
+ def clone
3568
+ @clone
3569
+ end
3570
+
3571
+ #
3572
+ # Sets the value of the `clone` attribute.
3573
+ #
3574
+ # @param value [Boolean]
3575
+ #
3576
+ def clone=(value)
3577
+ @clone = value
3578
+ end
3579
+
3580
+ #
3581
+ # Returns the value of the `cluster` attribute.
3582
+ #
3583
+ # @return [Cluster]
3584
+ #
3585
+ def cluster
3586
+ @cluster
3587
+ end
3588
+
3589
+ #
3590
+ # Sets the value of the `cluster` attribute.
3591
+ #
3592
+ # @param value [Cluster, Hash]
3593
+ #
3594
+ # The `value` parameter can be an instance of {OvirtSDK4::Cluster} or a hash.
3595
+ # If it is a hash then a new instance will be created passing the hash as the
3596
+ # `opts` parameter to the constructor.
3597
+ #
3598
+ def cluster=(value)
3599
+ if value.is_a?(Hash)
3600
+ value = Cluster.new(value)
3601
+ end
3602
+ @cluster = value
3603
+ end
3604
+
3605
+ #
3606
+ # Returns the value of the `cpu_profile` attribute.
3607
+ #
3608
+ # @return [CpuProfile]
3609
+ #
3610
+ def cpu_profile
3611
+ @cpu_profile
3612
+ end
3613
+
3614
+ #
3615
+ # Sets the value of the `cpu_profile` attribute.
3616
+ #
3617
+ # @param value [CpuProfile, Hash]
3618
+ #
3619
+ # The `value` parameter can be an instance of {OvirtSDK4::CpuProfile} or a hash.
3620
+ # If it is a hash then a new instance will be created passing the hash as the
3621
+ # `opts` parameter to the constructor.
3622
+ #
3623
+ def cpu_profile=(value)
3624
+ if value.is_a?(Hash)
3625
+ value = CpuProfile.new(value)
3626
+ end
3627
+ @cpu_profile = value
3628
+ end
3629
+
3630
+ #
3631
+ # Returns the value of the `host` attribute.
3632
+ #
3633
+ # @return [Host]
3634
+ #
3635
+ def host
3636
+ @host
3637
+ end
3638
+
3639
+ #
3640
+ # Sets the value of the `host` attribute.
3641
+ #
3642
+ # @param value [Host, Hash]
3643
+ #
3644
+ # The `value` parameter can be an instance of {OvirtSDK4::Host} or a hash.
3645
+ # If it is a hash then a new instance will be created passing the hash as the
3646
+ # `opts` parameter to the constructor.
3647
+ #
3648
+ def host=(value)
3649
+ if value.is_a?(Hash)
3650
+ value = Host.new(value)
3651
+ end
3652
+ @host = value
3653
+ end
3654
+
3655
+ #
3656
+ # Returns the value of the `quota` attribute.
3657
+ #
3658
+ # @return [Quota]
3659
+ #
3660
+ def quota
3661
+ @quota
3662
+ end
3663
+
3664
+ #
3665
+ # Sets the value of the `quota` attribute.
3666
+ #
3667
+ # @param value [Quota, Hash]
3668
+ #
3669
+ # The `value` parameter can be an instance of {OvirtSDK4::Quota} or a hash.
3670
+ # If it is a hash then a new instance will be created passing the hash as the
3671
+ # `opts` parameter to the constructor.
3672
+ #
3673
+ def quota=(value)
3674
+ if value.is_a?(Hash)
3675
+ value = Quota.new(value)
3676
+ end
3677
+ @quota = value
3678
+ end
3679
+
3680
+ #
3681
+ # Returns the value of the `storage_domain` attribute.
3682
+ #
3683
+ # @return [StorageDomain]
3684
+ #
3685
+ def storage_domain
3686
+ @storage_domain
3687
+ end
3688
+
3689
+ #
3690
+ # Sets the value of the `storage_domain` attribute.
3691
+ #
3692
+ # @param value [StorageDomain, Hash]
3693
+ #
3694
+ # The `value` parameter can be an instance of {OvirtSDK4::StorageDomain} or a hash.
3695
+ # If it is a hash then a new instance will be created passing the hash as the
3696
+ # `opts` parameter to the constructor.
3697
+ #
3698
+ def storage_domain=(value)
3699
+ if value.is_a?(Hash)
3700
+ value = StorageDomain.new(value)
3701
+ end
3702
+ @storage_domain = value
3703
+ end
3704
+
3705
+ #
3706
+ # Returns the value of the `template` attribute.
3707
+ #
3708
+ # @return [Template]
3709
+ #
3710
+ def template
3711
+ @template
3712
+ end
3713
+
3714
+ #
3715
+ # Sets the value of the `template` attribute.
3716
+ #
3717
+ # @param value [Template, Hash]
3718
+ #
3719
+ # The `value` parameter can be an instance of {OvirtSDK4::Template} or a hash.
3720
+ # If it is a hash then a new instance will be created passing the hash as the
3721
+ # `opts` parameter to the constructor.
3722
+ #
3723
+ def template=(value)
3724
+ if value.is_a?(Hash)
3725
+ value = Template.new(value)
3726
+ end
3727
+ @template = value
3728
+ end
3729
+
3730
+ #
3731
+ # Returns the value of the `url` attribute.
3732
+ #
3733
+ # @return [String]
3734
+ #
3735
+ def url
3736
+ @url
3737
+ end
3738
+
3739
+ #
3740
+ # Sets the value of the `url` attribute.
3741
+ #
3742
+ # @param value [String]
3743
+ #
3744
+ def url=(value)
3745
+ @url = value
3746
+ end
3747
+
3748
+ #
3749
+ # Creates a new instance of the {ExternalTemplateImport} class.
3750
+ #
3751
+ # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
3752
+ # should be symbols corresponding to the names of the attributes. The values of the hash
3753
+ # should be the values of the attributes.
3754
+ #
3755
+ # @option opts [Boolean] :clone The value of attribute `clone`.
3756
+ #
3757
+ # @option opts [Cluster, Hash] :cluster The value of attribute `cluster`.
3758
+ #
3759
+ # @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
3760
+ #
3761
+ # @option opts [Host, Hash] :host The value of attribute `host`.
3762
+ #
3763
+ # @option opts [Quota, Hash] :quota The value of attribute `quota`.
3764
+ #
3765
+ # @option opts [StorageDomain, Hash] :storage_domain The value of attribute `storage_domain`.
3766
+ #
3767
+ # @option opts [Template, Hash] :template The value of attribute `template`.
3768
+ #
3769
+ # @option opts [String] :url The value of attribute `url`.
3770
+ #
3771
+ #
3772
+ def initialize(opts = {})
3773
+ super(opts)
3774
+ self.clone = opts[:clone]
3775
+ self.cluster = opts[:cluster]
3776
+ self.cpu_profile = opts[:cpu_profile]
3777
+ self.host = opts[:host]
3778
+ self.quota = opts[:quota]
3779
+ self.storage_domain = opts[:storage_domain]
3780
+ self.template = opts[:template]
3781
+ self.url = opts[:url]
3782
+ end
3783
+
3784
+ #
3785
+ # Returns `true` if `self` and `other` have the same attributes and values.
3786
+ #
3787
+ def ==(other)
3788
+ super &&
3789
+ @clone == other.clone &&
3790
+ @cluster == other.cluster &&
3791
+ @cpu_profile == other.cpu_profile &&
3792
+ @host == other.host &&
3793
+ @quota == other.quota &&
3794
+ @storage_domain == other.storage_domain &&
3795
+ @template == other.template &&
3796
+ @url == other.url
3797
+ end
3798
+
3799
+ #
3800
+ # Generates a hash value for this object.
3801
+ #
3802
+ def hash
3803
+ super +
3804
+ @clone.hash +
3805
+ @cluster.hash +
3806
+ @cpu_profile.hash +
3807
+ @host.hash +
3808
+ @quota.hash +
3809
+ @storage_domain.hash +
3810
+ @template.hash +
3811
+ @url.hash
3812
+ end
3813
+
3814
+ end
3815
+
3435
3816
  class ExternalVmImport < Struct
3436
3817
 
3437
3818
  #
@@ -8847,6 +9228,24 @@ module OvirtSDK4
8847
9228
  @description = value
8848
9229
  end
8849
9230
 
9231
+ #
9232
+ # Returns the value of the `human_readable_name` attribute.
9233
+ #
9234
+ # @return [String]
9235
+ #
9236
+ def human_readable_name
9237
+ @human_readable_name
9238
+ end
9239
+
9240
+ #
9241
+ # Sets the value of the `human_readable_name` attribute.
9242
+ #
9243
+ # @param value [String]
9244
+ #
9245
+ def human_readable_name=(value)
9246
+ @human_readable_name = value
9247
+ end
9248
+
8850
9249
  #
8851
9250
  # Returns the value of the `name` attribute.
8852
9251
  #
@@ -8876,6 +9275,8 @@ module OvirtSDK4
8876
9275
  #
8877
9276
  # @option opts [String] :description The value of attribute `description`.
8878
9277
  #
9278
+ # @option opts [String] :human_readable_name The value of attribute `human_readable_name`.
9279
+ #
8879
9280
  # @option opts [String] :name The value of attribute `name`.
8880
9281
  #
8881
9282
  #
@@ -8883,6 +9284,7 @@ module OvirtSDK4
8883
9284
  super(opts)
8884
9285
  self.available_instances = opts[:available_instances]
8885
9286
  self.description = opts[:description]
9287
+ self.human_readable_name = opts[:human_readable_name]
8886
9288
  self.name = opts[:name]
8887
9289
  end
8888
9290
 
@@ -8893,6 +9295,7 @@ module OvirtSDK4
8893
9295
  super &&
8894
9296
  @available_instances == other.available_instances &&
8895
9297
  @description == other.description &&
9298
+ @human_readable_name == other.human_readable_name &&
8896
9299
  @name == other.name
8897
9300
  end
8898
9301
 
@@ -8903,6 +9306,7 @@ module OvirtSDK4
8903
9306
  super +
8904
9307
  @available_instances.hash +
8905
9308
  @description.hash +
9309
+ @human_readable_name.hash +
8906
9310
  @name.hash
8907
9311
  end
8908
9312
 
@@ -9583,6 +9987,24 @@ module OvirtSDK4
9583
9987
  @compressed = value
9584
9988
  end
9585
9989
 
9990
+ #
9991
+ # Returns the value of the `custom_parallel_migrations` attribute.
9992
+ #
9993
+ # @return [Integer]
9994
+ #
9995
+ def custom_parallel_migrations
9996
+ @custom_parallel_migrations
9997
+ end
9998
+
9999
+ #
10000
+ # Sets the value of the `custom_parallel_migrations` attribute.
10001
+ #
10002
+ # @param value [Integer]
10003
+ #
10004
+ def custom_parallel_migrations=(value)
10005
+ @custom_parallel_migrations = value
10006
+ end
10007
+
9586
10008
  #
9587
10009
  # Returns the value of the `encrypted` attribute.
9588
10010
  #
@@ -9601,6 +10023,24 @@ module OvirtSDK4
9601
10023
  @encrypted = value
9602
10024
  end
9603
10025
 
10026
+ #
10027
+ # Returns the value of the `parallel_migrations_policy` attribute.
10028
+ #
10029
+ # @return [ParallelMigrationsPolicy]
10030
+ #
10031
+ def parallel_migrations_policy
10032
+ @parallel_migrations_policy
10033
+ end
10034
+
10035
+ #
10036
+ # Sets the value of the `parallel_migrations_policy` attribute.
10037
+ #
10038
+ # @param value [ParallelMigrationsPolicy]
10039
+ #
10040
+ def parallel_migrations_policy=(value)
10041
+ @parallel_migrations_policy = value
10042
+ end
10043
+
9604
10044
  #
9605
10045
  # Returns the value of the `policy` attribute.
9606
10046
  #
@@ -9639,8 +10079,12 @@ module OvirtSDK4
9639
10079
  #
9640
10080
  # @option opts [InheritableBoolean] :compressed The value of attribute `compressed`.
9641
10081
  #
10082
+ # @option opts [Integer] :custom_parallel_migrations The value of attribute `custom_parallel_migrations`.
10083
+ #
9642
10084
  # @option opts [InheritableBoolean] :encrypted The value of attribute `encrypted`.
9643
10085
  #
10086
+ # @option opts [ParallelMigrationsPolicy] :parallel_migrations_policy The value of attribute `parallel_migrations_policy`.
10087
+ #
9644
10088
  # @option opts [MigrationPolicy, Hash] :policy The value of attribute `policy`.
9645
10089
  #
9646
10090
  #
@@ -9649,7 +10093,9 @@ module OvirtSDK4
9649
10093
  self.auto_converge = opts[:auto_converge]
9650
10094
  self.bandwidth = opts[:bandwidth]
9651
10095
  self.compressed = opts[:compressed]
10096
+ self.custom_parallel_migrations = opts[:custom_parallel_migrations]
9652
10097
  self.encrypted = opts[:encrypted]
10098
+ self.parallel_migrations_policy = opts[:parallel_migrations_policy]
9653
10099
  self.policy = opts[:policy]
9654
10100
  end
9655
10101
 
@@ -9661,7 +10107,9 @@ module OvirtSDK4
9661
10107
  @auto_converge == other.auto_converge &&
9662
10108
  @bandwidth == other.bandwidth &&
9663
10109
  @compressed == other.compressed &&
10110
+ @custom_parallel_migrations == other.custom_parallel_migrations &&
9664
10111
  @encrypted == other.encrypted &&
10112
+ @parallel_migrations_policy == other.parallel_migrations_policy &&
9665
10113
  @policy == other.policy
9666
10114
  end
9667
10115
 
@@ -9673,7 +10121,9 @@ module OvirtSDK4
9673
10121
  @auto_converge.hash +
9674
10122
  @bandwidth.hash +
9675
10123
  @compressed.hash +
10124
+ @custom_parallel_migrations.hash +
9676
10125
  @encrypted.hash +
10126
+ @parallel_migrations_policy.hash +
9677
10127
  @policy.hash
9678
10128
  end
9679
10129
 
@@ -13289,6 +13739,24 @@ module OvirtSDK4
13289
13739
  @small_icon = value
13290
13740
  end
13291
13741
 
13742
+ #
13743
+ # Returns the value of the `tpm_support` attribute.
13744
+ #
13745
+ # @return [TpmSupport]
13746
+ #
13747
+ def tpm_support
13748
+ @tpm_support
13749
+ end
13750
+
13751
+ #
13752
+ # Sets the value of the `tpm_support` attribute.
13753
+ #
13754
+ # @param value [TpmSupport]
13755
+ #
13756
+ def tpm_support=(value)
13757
+ @tpm_support = value
13758
+ end
13759
+
13292
13760
  #
13293
13761
  # Creates a new instance of the {OperatingSystemInfo} class.
13294
13762
  #
@@ -13310,12 +13778,15 @@ module OvirtSDK4
13310
13778
  #
13311
13779
  # @option opts [Icon, Hash] :small_icon The value of attribute `small_icon`.
13312
13780
  #
13781
+ # @option opts [TpmSupport] :tpm_support The value of attribute `tpm_support`.
13782
+ #
13313
13783
  #
13314
13784
  def initialize(opts = {})
13315
13785
  super(opts)
13316
13786
  self.architecture = opts[:architecture]
13317
13787
  self.large_icon = opts[:large_icon]
13318
13788
  self.small_icon = opts[:small_icon]
13789
+ self.tpm_support = opts[:tpm_support]
13319
13790
  end
13320
13791
 
13321
13792
  #
@@ -13325,7 +13796,8 @@ module OvirtSDK4
13325
13796
  super &&
13326
13797
  @architecture == other.architecture &&
13327
13798
  @large_icon == other.large_icon &&
13328
- @small_icon == other.small_icon
13799
+ @small_icon == other.small_icon &&
13800
+ @tpm_support == other.tpm_support
13329
13801
  end
13330
13802
 
13331
13803
  #
@@ -13335,7 +13807,8 @@ module OvirtSDK4
13335
13807
  super +
13336
13808
  @architecture.hash +
13337
13809
  @large_icon.hash +
13338
- @small_icon.hash
13810
+ @small_icon.hash +
13811
+ @tpm_support.hash
13339
13812
  end
13340
13813
 
13341
13814
  end
@@ -25061,6 +25534,24 @@ module OvirtSDK4
25061
25534
 
25062
25535
  class VmBase < Identified
25063
25536
 
25537
+ #
25538
+ # Returns the value of the `auto_pinning_policy` attribute.
25539
+ #
25540
+ # @return [AutoPinningPolicy]
25541
+ #
25542
+ def auto_pinning_policy
25543
+ @auto_pinning_policy
25544
+ end
25545
+
25546
+ #
25547
+ # Sets the value of the `auto_pinning_policy` attribute.
25548
+ #
25549
+ # @param value [AutoPinningPolicy]
25550
+ #
25551
+ def auto_pinning_policy=(value)
25552
+ @auto_pinning_policy = value
25553
+ end
25554
+
25064
25555
  #
25065
25556
  # Returns the value of the `bios` attribute.
25066
25557
  #
@@ -25179,6 +25670,24 @@ module OvirtSDK4
25179
25670
  @cpu = value
25180
25671
  end
25181
25672
 
25673
+ #
25674
+ # Returns the value of the `cpu_pinning_policy` attribute.
25675
+ #
25676
+ # @return [CpuPinningPolicy]
25677
+ #
25678
+ def cpu_pinning_policy
25679
+ @cpu_pinning_policy
25680
+ end
25681
+
25682
+ #
25683
+ # Sets the value of the `cpu_pinning_policy` attribute.
25684
+ #
25685
+ # @param value [CpuPinningPolicy]
25686
+ #
25687
+ def cpu_pinning_policy=(value)
25688
+ @cpu_pinning_policy = value
25689
+ end
25690
+
25182
25691
  #
25183
25692
  # Returns the value of the `cpu_profile` attribute.
25184
25693
  #
@@ -25993,6 +26502,24 @@ module OvirtSDK4
25993
26502
  @time_zone = value
25994
26503
  end
25995
26504
 
26505
+ #
26506
+ # Returns the value of the `tpm_enabled` attribute.
26507
+ #
26508
+ # @return [Boolean]
26509
+ #
26510
+ def tpm_enabled
26511
+ @tpm_enabled
26512
+ end
26513
+
26514
+ #
26515
+ # Sets the value of the `tpm_enabled` attribute.
26516
+ #
26517
+ # @param value [Boolean]
26518
+ #
26519
+ def tpm_enabled=(value)
26520
+ @tpm_enabled = value
26521
+ end
26522
+
25996
26523
  #
25997
26524
  # Returns the value of the `tunnel_migration` attribute.
25998
26525
  #
@@ -26079,6 +26606,24 @@ module OvirtSDK4
26079
26606
  @virtio_scsi = value
26080
26607
  end
26081
26608
 
26609
+ #
26610
+ # Returns the value of the `virtio_scsi_multi_queues` attribute.
26611
+ #
26612
+ # @return [Integer]
26613
+ #
26614
+ def virtio_scsi_multi_queues
26615
+ @virtio_scsi_multi_queues
26616
+ end
26617
+
26618
+ #
26619
+ # Sets the value of the `virtio_scsi_multi_queues` attribute.
26620
+ #
26621
+ # @param value [Integer]
26622
+ #
26623
+ def virtio_scsi_multi_queues=(value)
26624
+ @virtio_scsi_multi_queues = value
26625
+ end
26626
+
26082
26627
  #
26083
26628
  # Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
26084
26629
  #
@@ -26104,6 +26649,8 @@ module OvirtSDK4
26104
26649
  # should be symbols corresponding to the names of the attributes. The values of the hash
26105
26650
  # should be the values of the attributes.
26106
26651
  #
26652
+ # @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
26653
+ #
26107
26654
  # @option opts [Bios, Hash] :bios The value of attribute `bios`.
26108
26655
  #
26109
26656
  # @option opts [Cluster, Hash] :cluster The value of attribute `cluster`.
@@ -26114,6 +26661,8 @@ module OvirtSDK4
26114
26661
  #
26115
26662
  # @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
26116
26663
  #
26664
+ # @option opts [CpuPinningPolicy] :cpu_pinning_policy The value of attribute `cpu_pinning_policy`.
26665
+ #
26117
26666
  # @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
26118
26667
  #
26119
26668
  # @option opts [Integer] :cpu_shares The value of attribute `cpu_shares`.
@@ -26188,6 +26737,8 @@ module OvirtSDK4
26188
26737
  #
26189
26738
  # @option opts [TimeZone, Hash] :time_zone The value of attribute `time_zone`.
26190
26739
  #
26740
+ # @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
26741
+ #
26191
26742
  # @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
26192
26743
  #
26193
26744
  # @option opts [VmType] :type The value of attribute `type`.
@@ -26196,15 +26747,19 @@ module OvirtSDK4
26196
26747
  #
26197
26748
  # @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
26198
26749
  #
26750
+ # @option opts [Integer] :virtio_scsi_multi_queues The value of attribute `virtio_scsi_multi_queues`.
26751
+ #
26199
26752
  # @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
26200
26753
  #
26201
26754
  #
26202
26755
  def initialize(opts = {})
26203
26756
  super(opts)
26757
+ self.auto_pinning_policy = opts[:auto_pinning_policy]
26204
26758
  self.bios = opts[:bios]
26205
26759
  self.cluster = opts[:cluster]
26206
26760
  self.console = opts[:console]
26207
26761
  self.cpu = opts[:cpu]
26762
+ self.cpu_pinning_policy = opts[:cpu_pinning_policy]
26208
26763
  self.cpu_profile = opts[:cpu_profile]
26209
26764
  self.cpu_shares = opts[:cpu_shares]
26210
26765
  self.creation_time = opts[:creation_time]
@@ -26239,10 +26794,12 @@ module OvirtSDK4
26239
26794
  self.storage_domain = opts[:storage_domain]
26240
26795
  self.storage_error_resume_behaviour = opts[:storage_error_resume_behaviour]
26241
26796
  self.time_zone = opts[:time_zone]
26797
+ self.tpm_enabled = opts[:tpm_enabled]
26242
26798
  self.tunnel_migration = opts[:tunnel_migration]
26243
26799
  self.type = opts[:type]
26244
26800
  self.usb = opts[:usb]
26245
26801
  self.virtio_scsi = opts[:virtio_scsi]
26802
+ self.virtio_scsi_multi_queues = opts[:virtio_scsi_multi_queues]
26246
26803
  self.virtio_scsi_multi_queues_enabled = opts[:virtio_scsi_multi_queues_enabled]
26247
26804
  end
26248
26805
 
@@ -26251,10 +26808,12 @@ module OvirtSDK4
26251
26808
  #
26252
26809
  def ==(other)
26253
26810
  super &&
26811
+ @auto_pinning_policy == other.auto_pinning_policy &&
26254
26812
  @bios == other.bios &&
26255
26813
  @cluster == other.cluster &&
26256
26814
  @console == other.console &&
26257
26815
  @cpu == other.cpu &&
26816
+ @cpu_pinning_policy == other.cpu_pinning_policy &&
26258
26817
  @cpu_profile == other.cpu_profile &&
26259
26818
  @cpu_shares == other.cpu_shares &&
26260
26819
  @creation_time == other.creation_time &&
@@ -26289,10 +26848,12 @@ module OvirtSDK4
26289
26848
  @storage_domain == other.storage_domain &&
26290
26849
  @storage_error_resume_behaviour == other.storage_error_resume_behaviour &&
26291
26850
  @time_zone == other.time_zone &&
26851
+ @tpm_enabled == other.tpm_enabled &&
26292
26852
  @tunnel_migration == other.tunnel_migration &&
26293
26853
  @type == other.type &&
26294
26854
  @usb == other.usb &&
26295
26855
  @virtio_scsi == other.virtio_scsi &&
26856
+ @virtio_scsi_multi_queues == other.virtio_scsi_multi_queues &&
26296
26857
  @virtio_scsi_multi_queues_enabled == other.virtio_scsi_multi_queues_enabled
26297
26858
  end
26298
26859
 
@@ -26301,10 +26862,12 @@ module OvirtSDK4
26301
26862
  #
26302
26863
  def hash
26303
26864
  super +
26865
+ @auto_pinning_policy.hash +
26304
26866
  @bios.hash +
26305
26867
  @cluster.hash +
26306
26868
  @console.hash +
26307
26869
  @cpu.hash +
26870
+ @cpu_pinning_policy.hash +
26308
26871
  @cpu_profile.hash +
26309
26872
  @cpu_shares.hash +
26310
26873
  @creation_time.hash +
@@ -26339,10 +26902,12 @@ module OvirtSDK4
26339
26902
  @storage_domain.hash +
26340
26903
  @storage_error_resume_behaviour.hash +
26341
26904
  @time_zone.hash +
26905
+ @tpm_enabled.hash +
26342
26906
  @tunnel_migration.hash +
26343
26907
  @type.hash +
26344
26908
  @usb.hash +
26345
26909
  @virtio_scsi.hash +
26910
+ @virtio_scsi_multi_queues.hash +
26346
26911
  @virtio_scsi_multi_queues_enabled.hash
26347
26912
  end
26348
26913
 
@@ -26765,6 +27330,24 @@ module OvirtSDK4
26765
27330
  @template = value
26766
27331
  end
26767
27332
 
27333
+ #
27334
+ # Returns the value of the `tpm_enabled` attribute.
27335
+ #
27336
+ # @return [Boolean]
27337
+ #
27338
+ def tpm_enabled
27339
+ @tpm_enabled
27340
+ end
27341
+
27342
+ #
27343
+ # Sets the value of the `tpm_enabled` attribute.
27344
+ #
27345
+ # @param value [Boolean]
27346
+ #
27347
+ def tpm_enabled=(value)
27348
+ @tpm_enabled = value
27349
+ end
27350
+
26768
27351
  #
26769
27352
  # Returns the value of the `type` attribute.
26770
27353
  #
@@ -26865,6 +27448,8 @@ module OvirtSDK4
26865
27448
  #
26866
27449
  # @option opts [Template, Hash] :template The value of attribute `template`.
26867
27450
  #
27451
+ # @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
27452
+ #
26868
27453
  # @option opts [VmPoolType] :type The value of attribute `type`.
26869
27454
  #
26870
27455
  # @option opts [Boolean] :use_latest_template_version The value of attribute `use_latest_template_version`.
@@ -26886,6 +27471,7 @@ module OvirtSDK4
26886
27471
  self.soundcard_enabled = opts[:soundcard_enabled]
26887
27472
  self.stateful = opts[:stateful]
26888
27473
  self.template = opts[:template]
27474
+ self.tpm_enabled = opts[:tpm_enabled]
26889
27475
  self.type = opts[:type]
26890
27476
  self.use_latest_template_version = opts[:use_latest_template_version]
26891
27477
  self.vm = opts[:vm]
@@ -26908,6 +27494,7 @@ module OvirtSDK4
26908
27494
  @soundcard_enabled == other.soundcard_enabled &&
26909
27495
  @stateful == other.stateful &&
26910
27496
  @template == other.template &&
27497
+ @tpm_enabled == other.tpm_enabled &&
26911
27498
  @type == other.type &&
26912
27499
  @use_latest_template_version == other.use_latest_template_version &&
26913
27500
  @vm == other.vm
@@ -26930,6 +27517,7 @@ module OvirtSDK4
26930
27517
  @soundcard_enabled.hash +
26931
27518
  @stateful.hash +
26932
27519
  @template.hash +
27520
+ @tpm_enabled.hash +
26933
27521
  @type.hash +
26934
27522
  @use_latest_template_version.hash +
26935
27523
  @vm.hash
@@ -27153,6 +27741,31 @@ module OvirtSDK4
27153
27741
  @description = value
27154
27742
  end
27155
27743
 
27744
+ #
27745
+ # Returns the value of the `failover` attribute.
27746
+ #
27747
+ # @return [VnicProfile]
27748
+ #
27749
+ def failover
27750
+ @failover
27751
+ end
27752
+
27753
+ #
27754
+ # Sets the value of the `failover` attribute.
27755
+ #
27756
+ # @param value [VnicProfile, Hash]
27757
+ #
27758
+ # The `value` parameter can be an instance of {OvirtSDK4::VnicProfile} or a hash.
27759
+ # If it is a hash then a new instance will be created passing the hash as the
27760
+ # `opts` parameter to the constructor.
27761
+ #
27762
+ def failover=(value)
27763
+ if value.is_a?(Hash)
27764
+ value = VnicProfile.new(value)
27765
+ end
27766
+ @failover = value
27767
+ end
27768
+
27156
27769
  #
27157
27770
  # Returns the value of the `id` attribute.
27158
27771
  #
@@ -27364,6 +27977,8 @@ module OvirtSDK4
27364
27977
  #
27365
27978
  # @option opts [String] :description The value of attribute `description`.
27366
27979
  #
27980
+ # @option opts [VnicProfile, Hash] :failover The value of attribute `failover`.
27981
+ #
27367
27982
  # @option opts [String] :id The value of attribute `id`.
27368
27983
  #
27369
27984
  # @option opts [Boolean] :migratable The value of attribute `migratable`.
@@ -27386,6 +28001,7 @@ module OvirtSDK4
27386
28001
  def initialize(opts = {})
27387
28002
  super(opts)
27388
28003
  self.custom_properties = opts[:custom_properties]
28004
+ self.failover = opts[:failover]
27389
28005
  self.migratable = opts[:migratable]
27390
28006
  self.network = opts[:network]
27391
28007
  self.network_filter = opts[:network_filter]
@@ -27401,6 +28017,7 @@ module OvirtSDK4
27401
28017
  def ==(other)
27402
28018
  super &&
27403
28019
  @custom_properties == other.custom_properties &&
28020
+ @failover == other.failover &&
27404
28021
  @migratable == other.migratable &&
27405
28022
  @network == other.network &&
27406
28023
  @network_filter == other.network_filter &&
@@ -27416,6 +28033,7 @@ module OvirtSDK4
27416
28033
  def hash
27417
28034
  super +
27418
28035
  @custom_properties.hash +
28036
+ @failover.hash +
27419
28037
  @migratable.hash +
27420
28038
  @network.hash +
27421
28039
  @network_filter.hash +
@@ -28185,6 +28803,24 @@ module OvirtSDK4
28185
28803
  @connectivity_timeout = value
28186
28804
  end
28187
28805
 
28806
+ #
28807
+ # Returns the value of the `correlation_id` attribute.
28808
+ #
28809
+ # @return [String]
28810
+ #
28811
+ def correlation_id
28812
+ @correlation_id
28813
+ end
28814
+
28815
+ #
28816
+ # Sets the value of the `correlation_id` attribute.
28817
+ #
28818
+ # @param value [String]
28819
+ #
28820
+ def correlation_id=(value)
28821
+ @correlation_id = value
28822
+ end
28823
+
28188
28824
  #
28189
28825
  # Returns the value of the `data_center` attribute.
28190
28826
  #
@@ -28524,6 +29160,24 @@ module OvirtSDK4
28524
29160
  @fix_layout = value
28525
29161
  end
28526
29162
 
29163
+ #
29164
+ # Returns the value of the `follow` attribute.
29165
+ #
29166
+ # @return [String]
29167
+ #
29168
+ def follow
29169
+ @follow
29170
+ end
29171
+
29172
+ #
29173
+ # Sets the value of the `follow` attribute.
29174
+ #
29175
+ # @param value [String]
29176
+ #
29177
+ def follow=(value)
29178
+ @follow = value
29179
+ end
29180
+
28527
29181
  #
28528
29182
  # Returns the value of the `force` attribute.
28529
29183
  #
@@ -29676,6 +30330,24 @@ module OvirtSDK4
29676
30330
  @upgrade_action = value
29677
30331
  end
29678
30332
 
30333
+ #
30334
+ # Returns the value of the `upgrade_percent_complete` attribute.
30335
+ #
30336
+ # @return [Integer]
30337
+ #
30338
+ def upgrade_percent_complete
30339
+ @upgrade_percent_complete
30340
+ end
30341
+
30342
+ #
30343
+ # Sets the value of the `upgrade_percent_complete` attribute.
30344
+ #
30345
+ # @param value [Integer]
30346
+ #
30347
+ def upgrade_percent_complete=(value)
30348
+ @upgrade_percent_complete = value
30349
+ end
30350
+
29679
30351
  #
29680
30352
  # Returns the value of the `use_cloud_init` attribute.
29681
30353
  #
@@ -29883,6 +30555,8 @@ module OvirtSDK4
29883
30555
  #
29884
30556
  # @option opts [Integer] :connectivity_timeout The value of attribute `connectivity_timeout`.
29885
30557
  #
30558
+ # @option opts [String] :correlation_id The value of attribute `correlation_id`.
30559
+ #
29886
30560
  # @option opts [DataCenter, Hash] :data_center The value of attribute `data_center`.
29887
30561
  #
29888
30562
  # @option opts [Boolean] :deploy_hosted_engine The value of attribute `deploy_hosted_engine`.
@@ -29915,6 +30589,8 @@ module OvirtSDK4
29915
30589
  #
29916
30590
  # @option opts [Boolean] :fix_layout The value of attribute `fix_layout`.
29917
30591
  #
30592
+ # @option opts [String] :follow The value of attribute `follow`.
30593
+ #
29918
30594
  # @option opts [Boolean] :force The value of attribute `force`.
29919
30595
  #
29920
30596
  # @option opts [GracePeriod, Hash] :grace_period The value of attribute `grace_period`.
@@ -30021,6 +30697,8 @@ module OvirtSDK4
30021
30697
  #
30022
30698
  # @option opts [ClusterUpgradeAction] :upgrade_action The value of attribute `upgrade_action`.
30023
30699
  #
30700
+ # @option opts [Integer] :upgrade_percent_complete The value of attribute `upgrade_percent_complete`.
30701
+ #
30024
30702
  # @option opts [Boolean] :use_cloud_init The value of attribute `use_cloud_init`.
30025
30703
  #
30026
30704
  # @option opts [Boolean] :use_ignition The value of attribute `use_ignition`.
@@ -30056,6 +30734,7 @@ module OvirtSDK4
30056
30734
  self.commit_on_success = opts[:commit_on_success]
30057
30735
  self.connection = opts[:connection]
30058
30736
  self.connectivity_timeout = opts[:connectivity_timeout]
30737
+ self.correlation_id = opts[:correlation_id]
30059
30738
  self.data_center = opts[:data_center]
30060
30739
  self.deploy_hosted_engine = opts[:deploy_hosted_engine]
30061
30740
  self.details = opts[:details]
@@ -30071,6 +30750,7 @@ module OvirtSDK4
30071
30750
  self.filename = opts[:filename]
30072
30751
  self.filter = opts[:filter]
30073
30752
  self.fix_layout = opts[:fix_layout]
30753
+ self.follow = opts[:follow]
30074
30754
  self.force = opts[:force]
30075
30755
  self.grace_period = opts[:grace_period]
30076
30756
  self.host = opts[:host]
@@ -30122,6 +30802,7 @@ module OvirtSDK4
30122
30802
  self.timeout = opts[:timeout]
30123
30803
  self.undeploy_hosted_engine = opts[:undeploy_hosted_engine]
30124
30804
  self.upgrade_action = opts[:upgrade_action]
30805
+ self.upgrade_percent_complete = opts[:upgrade_percent_complete]
30125
30806
  self.use_cloud_init = opts[:use_cloud_init]
30126
30807
  self.use_ignition = opts[:use_ignition]
30127
30808
  self.use_initialization = opts[:use_initialization]
@@ -30153,6 +30834,7 @@ module OvirtSDK4
30153
30834
  @commit_on_success == other.commit_on_success &&
30154
30835
  @connection == other.connection &&
30155
30836
  @connectivity_timeout == other.connectivity_timeout &&
30837
+ @correlation_id == other.correlation_id &&
30156
30838
  @data_center == other.data_center &&
30157
30839
  @deploy_hosted_engine == other.deploy_hosted_engine &&
30158
30840
  @details == other.details &&
@@ -30168,6 +30850,7 @@ module OvirtSDK4
30168
30850
  @filename == other.filename &&
30169
30851
  @filter == other.filter &&
30170
30852
  @fix_layout == other.fix_layout &&
30853
+ @follow == other.follow &&
30171
30854
  @force == other.force &&
30172
30855
  @grace_period == other.grace_period &&
30173
30856
  @host == other.host &&
@@ -30219,6 +30902,7 @@ module OvirtSDK4
30219
30902
  @timeout == other.timeout &&
30220
30903
  @undeploy_hosted_engine == other.undeploy_hosted_engine &&
30221
30904
  @upgrade_action == other.upgrade_action &&
30905
+ @upgrade_percent_complete == other.upgrade_percent_complete &&
30222
30906
  @use_cloud_init == other.use_cloud_init &&
30223
30907
  @use_ignition == other.use_ignition &&
30224
30908
  @use_initialization == other.use_initialization &&
@@ -30250,6 +30934,7 @@ module OvirtSDK4
30250
30934
  @commit_on_success.hash +
30251
30935
  @connection.hash +
30252
30936
  @connectivity_timeout.hash +
30937
+ @correlation_id.hash +
30253
30938
  @data_center.hash +
30254
30939
  @deploy_hosted_engine.hash +
30255
30940
  @details.hash +
@@ -30265,6 +30950,7 @@ module OvirtSDK4
30265
30950
  @filename.hash +
30266
30951
  @filter.hash +
30267
30952
  @fix_layout.hash +
30953
+ @follow.hash +
30268
30954
  @force.hash +
30269
30955
  @grace_period.hash +
30270
30956
  @host.hash +
@@ -30316,6 +31002,7 @@ module OvirtSDK4
30316
31002
  @timeout.hash +
30317
31003
  @undeploy_hosted_engine.hash +
30318
31004
  @upgrade_action.hash +
31005
+ @upgrade_percent_complete.hash +
30319
31006
  @use_cloud_init.hash +
30320
31007
  @use_ignition.hash +
30321
31008
  @use_initialization.hash +
@@ -30330,6 +31017,24 @@ module OvirtSDK4
30330
31017
 
30331
31018
  class AffinityGroup < Identified
30332
31019
 
31020
+ #
31021
+ # Returns the value of the `broken` attribute.
31022
+ #
31023
+ # @return [Boolean]
31024
+ #
31025
+ def broken
31026
+ @broken
31027
+ end
31028
+
31029
+ #
31030
+ # Sets the value of the `broken` attribute.
31031
+ #
31032
+ # @param value [Boolean]
31033
+ #
31034
+ def broken=(value)
31035
+ @broken = value
31036
+ end
31037
+
30333
31038
  #
30334
31039
  # Returns the value of the `cluster` attribute.
30335
31040
  #
@@ -30642,6 +31347,8 @@ module OvirtSDK4
30642
31347
  # should be symbols corresponding to the names of the attributes. The values of the hash
30643
31348
  # should be the values of the attributes.
30644
31349
  #
31350
+ # @option opts [Boolean] :broken The value of attribute `broken`.
31351
+ #
30645
31352
  # @option opts [Cluster, Hash] :cluster The value of attribute `cluster`.
30646
31353
  #
30647
31354
  # @option opts [String] :comment The value of attribute `comment`.
@@ -30673,6 +31380,7 @@ module OvirtSDK4
30673
31380
  #
30674
31381
  def initialize(opts = {})
30675
31382
  super(opts)
31383
+ self.broken = opts[:broken]
30676
31384
  self.cluster = opts[:cluster]
30677
31385
  self.enforcing = opts[:enforcing]
30678
31386
  self.host_labels = opts[:host_labels]
@@ -30690,6 +31398,7 @@ module OvirtSDK4
30690
31398
  #
30691
31399
  def ==(other)
30692
31400
  super &&
31401
+ @broken == other.broken &&
30693
31402
  @cluster == other.cluster &&
30694
31403
  @enforcing == other.enforcing &&
30695
31404
  @host_labels == other.host_labels &&
@@ -30707,6 +31416,7 @@ module OvirtSDK4
30707
31416
  #
30708
31417
  def hash
30709
31418
  super +
31419
+ @broken.hash +
30710
31420
  @cluster.hash +
30711
31421
  @enforcing.hash +
30712
31422
  @host_labels.hash +
@@ -31740,6 +32450,24 @@ module OvirtSDK4
31740
32450
  @id = value
31741
32451
  end
31742
32452
 
32453
+ #
32454
+ # Returns the value of the `modification_date` attribute.
32455
+ #
32456
+ # @return [DateTime]
32457
+ #
32458
+ def modification_date
32459
+ @modification_date
32460
+ end
32461
+
32462
+ #
32463
+ # Sets the value of the `modification_date` attribute.
32464
+ #
32465
+ # @param value [DateTime]
32466
+ #
32467
+ def modification_date=(value)
32468
+ @modification_date = value
32469
+ end
32470
+
31743
32471
  #
31744
32472
  # Returns the value of the `name` attribute.
31745
32473
  #
@@ -31776,6 +32504,31 @@ module OvirtSDK4
31776
32504
  @phase = value
31777
32505
  end
31778
32506
 
32507
+ #
32508
+ # Returns the value of the `snapshot` attribute.
32509
+ #
32510
+ # @return [Snapshot]
32511
+ #
32512
+ def snapshot
32513
+ @snapshot
32514
+ end
32515
+
32516
+ #
32517
+ # Sets the value of the `snapshot` attribute.
32518
+ #
32519
+ # @param value [Snapshot, Hash]
32520
+ #
32521
+ # The `value` parameter can be an instance of {OvirtSDK4::Snapshot} or a hash.
32522
+ # If it is a hash then a new instance will be created passing the hash as the
32523
+ # `opts` parameter to the constructor.
32524
+ #
32525
+ def snapshot=(value)
32526
+ if value.is_a?(Hash)
32527
+ value = Snapshot.new(value)
32528
+ end
32529
+ @snapshot = value
32530
+ end
32531
+
31779
32532
  #
31780
32533
  # Returns the value of the `to_checkpoint_id` attribute.
31781
32534
  #
@@ -31840,10 +32593,14 @@ module OvirtSDK4
31840
32593
  #
31841
32594
  # @option opts [String] :id The value of attribute `id`.
31842
32595
  #
32596
+ # @option opts [DateTime] :modification_date The value of attribute `modification_date`.
32597
+ #
31843
32598
  # @option opts [String] :name The value of attribute `name`.
31844
32599
  #
31845
32600
  # @option opts [BackupPhase] :phase The value of attribute `phase`.
31846
32601
  #
32602
+ # @option opts [Snapshot, Hash] :snapshot The value of attribute `snapshot`.
32603
+ #
31847
32604
  # @option opts [String] :to_checkpoint_id The value of attribute `to_checkpoint_id`.
31848
32605
  #
31849
32606
  # @option opts [Vm, Hash] :vm The value of attribute `vm`.
@@ -31855,7 +32612,9 @@ module OvirtSDK4
31855
32612
  self.disks = opts[:disks]
31856
32613
  self.from_checkpoint_id = opts[:from_checkpoint_id]
31857
32614
  self.host = opts[:host]
32615
+ self.modification_date = opts[:modification_date]
31858
32616
  self.phase = opts[:phase]
32617
+ self.snapshot = opts[:snapshot]
31859
32618
  self.to_checkpoint_id = opts[:to_checkpoint_id]
31860
32619
  self.vm = opts[:vm]
31861
32620
  end
@@ -31869,7 +32628,9 @@ module OvirtSDK4
31869
32628
  @disks == other.disks &&
31870
32629
  @from_checkpoint_id == other.from_checkpoint_id &&
31871
32630
  @host == other.host &&
32631
+ @modification_date == other.modification_date &&
31872
32632
  @phase == other.phase &&
32633
+ @snapshot == other.snapshot &&
31873
32634
  @to_checkpoint_id == other.to_checkpoint_id &&
31874
32635
  @vm == other.vm
31875
32636
  end
@@ -31883,7 +32644,9 @@ module OvirtSDK4
31883
32644
  @disks.hash +
31884
32645
  @from_checkpoint_id.hash +
31885
32646
  @host.hash +
32647
+ @modification_date.hash +
31886
32648
  @phase.hash +
32649
+ @snapshot.hash +
31887
32650
  @to_checkpoint_id.hash +
31888
32651
  @vm.hash
31889
32652
  end
@@ -32596,6 +33359,24 @@ module OvirtSDK4
32596
33359
  @parent_id = value
32597
33360
  end
32598
33361
 
33362
+ #
33363
+ # Returns the value of the `state` attribute.
33364
+ #
33365
+ # @return [CheckpointState]
33366
+ #
33367
+ def state
33368
+ @state
33369
+ end
33370
+
33371
+ #
33372
+ # Sets the value of the `state` attribute.
33373
+ #
33374
+ # @param value [CheckpointState]
33375
+ #
33376
+ def state=(value)
33377
+ @state = value
33378
+ end
33379
+
32599
33380
  #
32600
33381
  # Returns the value of the `vm` attribute.
32601
33382
  #
@@ -32642,6 +33423,8 @@ module OvirtSDK4
32642
33423
  #
32643
33424
  # @option opts [String] :parent_id The value of attribute `parent_id`.
32644
33425
  #
33426
+ # @option opts [CheckpointState] :state The value of attribute `state`.
33427
+ #
32645
33428
  # @option opts [Vm, Hash] :vm The value of attribute `vm`.
32646
33429
  #
32647
33430
  #
@@ -32650,6 +33433,7 @@ module OvirtSDK4
32650
33433
  self.creation_date = opts[:creation_date]
32651
33434
  self.disks = opts[:disks]
32652
33435
  self.parent_id = opts[:parent_id]
33436
+ self.state = opts[:state]
32653
33437
  self.vm = opts[:vm]
32654
33438
  end
32655
33439
 
@@ -32661,6 +33445,7 @@ module OvirtSDK4
32661
33445
  @creation_date == other.creation_date &&
32662
33446
  @disks == other.disks &&
32663
33447
  @parent_id == other.parent_id &&
33448
+ @state == other.state &&
32664
33449
  @vm == other.vm
32665
33450
  end
32666
33451
 
@@ -32672,6 +33457,7 @@ module OvirtSDK4
32672
33457
  @creation_date.hash +
32673
33458
  @disks.hash +
32674
33459
  @parent_id.hash +
33460
+ @state.hash +
32675
33461
  @vm.hash
32676
33462
  end
32677
33463
 
@@ -33625,6 +34411,60 @@ module OvirtSDK4
33625
34411
  @tunnel_migration = value
33626
34412
  end
33627
34413
 
34414
+ #
34415
+ # Returns the value of the `upgrade_correlation_id` attribute.
34416
+ #
34417
+ # @return [String]
34418
+ #
34419
+ def upgrade_correlation_id
34420
+ @upgrade_correlation_id
34421
+ end
34422
+
34423
+ #
34424
+ # Sets the value of the `upgrade_correlation_id` attribute.
34425
+ #
34426
+ # @param value [String]
34427
+ #
34428
+ def upgrade_correlation_id=(value)
34429
+ @upgrade_correlation_id = value
34430
+ end
34431
+
34432
+ #
34433
+ # Returns the value of the `upgrade_in_progress` attribute.
34434
+ #
34435
+ # @return [Boolean]
34436
+ #
34437
+ def upgrade_in_progress
34438
+ @upgrade_in_progress
34439
+ end
34440
+
34441
+ #
34442
+ # Sets the value of the `upgrade_in_progress` attribute.
34443
+ #
34444
+ # @param value [Boolean]
34445
+ #
34446
+ def upgrade_in_progress=(value)
34447
+ @upgrade_in_progress = value
34448
+ end
34449
+
34450
+ #
34451
+ # Returns the value of the `upgrade_percent_complete` attribute.
34452
+ #
34453
+ # @return [Integer]
34454
+ #
34455
+ def upgrade_percent_complete
34456
+ @upgrade_percent_complete
34457
+ end
34458
+
34459
+ #
34460
+ # Sets the value of the `upgrade_percent_complete` attribute.
34461
+ #
34462
+ # @param value [Integer]
34463
+ #
34464
+ def upgrade_percent_complete=(value)
34465
+ @upgrade_percent_complete = value
34466
+ end
34467
+
33628
34468
  #
33629
34469
  # Returns the value of the `version` attribute.
33630
34470
  #
@@ -33779,6 +34619,12 @@ module OvirtSDK4
33779
34619
  #
33780
34620
  # @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
33781
34621
  #
34622
+ # @option opts [String] :upgrade_correlation_id The value of attribute `upgrade_correlation_id`.
34623
+ #
34624
+ # @option opts [Boolean] :upgrade_in_progress The value of attribute `upgrade_in_progress`.
34625
+ #
34626
+ # @option opts [Integer] :upgrade_percent_complete The value of attribute `upgrade_percent_complete`.
34627
+ #
33782
34628
  # @option opts [Version, Hash] :version The value of attribute `version`.
33783
34629
  #
33784
34630
  # @option opts [Boolean] :virt_service The value of attribute `virt_service`.
@@ -33827,6 +34673,9 @@ module OvirtSDK4
33827
34673
  self.threads_as_cores = opts[:threads_as_cores]
33828
34674
  self.trusted_service = opts[:trusted_service]
33829
34675
  self.tunnel_migration = opts[:tunnel_migration]
34676
+ self.upgrade_correlation_id = opts[:upgrade_correlation_id]
34677
+ self.upgrade_in_progress = opts[:upgrade_in_progress]
34678
+ self.upgrade_percent_complete = opts[:upgrade_percent_complete]
33830
34679
  self.version = opts[:version]
33831
34680
  self.virt_service = opts[:virt_service]
33832
34681
  self.vnc_encryption = opts[:vnc_encryption]
@@ -33876,6 +34725,9 @@ module OvirtSDK4
33876
34725
  @threads_as_cores == other.threads_as_cores &&
33877
34726
  @trusted_service == other.trusted_service &&
33878
34727
  @tunnel_migration == other.tunnel_migration &&
34728
+ @upgrade_correlation_id == other.upgrade_correlation_id &&
34729
+ @upgrade_in_progress == other.upgrade_in_progress &&
34730
+ @upgrade_percent_complete == other.upgrade_percent_complete &&
33879
34731
  @version == other.version &&
33880
34732
  @virt_service == other.virt_service &&
33881
34733
  @vnc_encryption == other.vnc_encryption
@@ -33925,6 +34777,9 @@ module OvirtSDK4
33925
34777
  @threads_as_cores.hash +
33926
34778
  @trusted_service.hash +
33927
34779
  @tunnel_migration.hash +
34780
+ @upgrade_correlation_id.hash +
34781
+ @upgrade_in_progress.hash +
34782
+ @upgrade_percent_complete.hash +
33928
34783
  @version.hash +
33929
34784
  @virt_service.hash +
33930
34785
  @vnc_encryption.hash
@@ -43511,6 +44366,32 @@ module OvirtSDK4
43511
44366
  @cpu = value
43512
44367
  end
43513
44368
 
44369
+ #
44370
+ # Returns the value of the `cpu_units` attribute.
44371
+ #
44372
+ # @return [Array<HostCpuUnit>]
44373
+ #
44374
+ def cpu_units
44375
+ @cpu_units
44376
+ end
44377
+
44378
+ #
44379
+ # Sets the value of the `cpu_units` attribute.
44380
+ #
44381
+ # @param list [Array<HostCpuUnit>]
44382
+ #
44383
+ def cpu_units=(list)
44384
+ if list.class == Array
44385
+ list = List.new(list)
44386
+ list.each_with_index do |value, index|
44387
+ if value.is_a?(Hash)
44388
+ list[index] = HostCpuUnit.new(value)
44389
+ end
44390
+ end
44391
+ end
44392
+ @cpu_units = list
44393
+ end
44394
+
43514
44395
  #
43515
44396
  # Returns the value of the `description` attribute.
43516
44397
  #
@@ -44098,6 +44979,24 @@ module OvirtSDK4
44098
44979
  @override_iptables = value
44099
44980
  end
44100
44981
 
44982
+ #
44983
+ # Returns the value of the `ovn_configured` attribute.
44984
+ #
44985
+ # @return [Boolean]
44986
+ #
44987
+ def ovn_configured
44988
+ @ovn_configured
44989
+ end
44990
+
44991
+ #
44992
+ # Sets the value of the `ovn_configured` attribute.
44993
+ #
44994
+ # @param value [Boolean]
44995
+ #
44996
+ def ovn_configured=(value)
44997
+ @ovn_configured = value
44998
+ end
44999
+
44101
45000
  #
44102
45001
  # Returns the value of the `permissions` attribute.
44103
45002
  #
@@ -44614,6 +45513,8 @@ module OvirtSDK4
44614
45513
  #
44615
45514
  # @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
44616
45515
  #
45516
+ # @option opts [Array<HostCpuUnit>, Array<Hash>] :cpu_units The values of attribute `cpu_units`.
45517
+ #
44617
45518
  # @option opts [String] :description The value of attribute `description`.
44618
45519
  #
44619
45520
  # @option opts [HostDevicePassthrough, Hash] :device_passthrough The value of attribute `device_passthrough`.
@@ -44666,6 +45567,8 @@ module OvirtSDK4
44666
45567
  #
44667
45568
  # @option opts [Boolean] :override_iptables The value of attribute `override_iptables`.
44668
45569
  #
45570
+ # @option opts [Boolean] :ovn_configured The value of attribute `ovn_configured`.
45571
+ #
44669
45572
  # @option opts [Array<Permission>, Array<Hash>] :permissions The values of attribute `permissions`.
44670
45573
  #
44671
45574
  # @option opts [Integer] :port The value of attribute `port`.
@@ -44720,6 +45623,7 @@ module OvirtSDK4
44720
45623
  self.certificate = opts[:certificate]
44721
45624
  self.cluster = opts[:cluster]
44722
45625
  self.cpu = opts[:cpu]
45626
+ self.cpu_units = opts[:cpu_units]
44723
45627
  self.device_passthrough = opts[:device_passthrough]
44724
45628
  self.devices = opts[:devices]
44725
45629
  self.display = opts[:display]
@@ -44743,6 +45647,7 @@ module OvirtSDK4
44743
45647
  self.numa_supported = opts[:numa_supported]
44744
45648
  self.os = opts[:os]
44745
45649
  self.override_iptables = opts[:override_iptables]
45650
+ self.ovn_configured = opts[:ovn_configured]
44746
45651
  self.permissions = opts[:permissions]
44747
45652
  self.port = opts[:port]
44748
45653
  self.power_management = opts[:power_management]
@@ -44779,6 +45684,7 @@ module OvirtSDK4
44779
45684
  @certificate == other.certificate &&
44780
45685
  @cluster == other.cluster &&
44781
45686
  @cpu == other.cpu &&
45687
+ @cpu_units == other.cpu_units &&
44782
45688
  @device_passthrough == other.device_passthrough &&
44783
45689
  @devices == other.devices &&
44784
45690
  @display == other.display &&
@@ -44802,6 +45708,7 @@ module OvirtSDK4
44802
45708
  @numa_supported == other.numa_supported &&
44803
45709
  @os == other.os &&
44804
45710
  @override_iptables == other.override_iptables &&
45711
+ @ovn_configured == other.ovn_configured &&
44805
45712
  @permissions == other.permissions &&
44806
45713
  @port == other.port &&
44807
45714
  @power_management == other.power_management &&
@@ -44838,6 +45745,7 @@ module OvirtSDK4
44838
45745
  @certificate.hash +
44839
45746
  @cluster.hash +
44840
45747
  @cpu.hash +
45748
+ @cpu_units.hash +
44841
45749
  @device_passthrough.hash +
44842
45750
  @devices.hash +
44843
45751
  @display.hash +
@@ -44861,6 +45769,7 @@ module OvirtSDK4
44861
45769
  @numa_supported.hash +
44862
45770
  @os.hash +
44863
45771
  @override_iptables.hash +
45772
+ @ovn_configured.hash +
44864
45773
  @permissions.hash +
44865
45774
  @port.hash +
44866
45775
  @power_management.hash +
@@ -44887,6 +45796,239 @@ module OvirtSDK4
44887
45796
 
44888
45797
  end
44889
45798
 
45799
+ class HostCpuUnit < Identified
45800
+
45801
+ #
45802
+ # Returns the value of the `comment` attribute.
45803
+ #
45804
+ # @return [String]
45805
+ #
45806
+ def comment
45807
+ @comment
45808
+ end
45809
+
45810
+ #
45811
+ # Sets the value of the `comment` attribute.
45812
+ #
45813
+ # @param value [String]
45814
+ #
45815
+ def comment=(value)
45816
+ @comment = value
45817
+ end
45818
+
45819
+ #
45820
+ # Returns the value of the `core_id` attribute.
45821
+ #
45822
+ # @return [Integer]
45823
+ #
45824
+ def core_id
45825
+ @core_id
45826
+ end
45827
+
45828
+ #
45829
+ # Sets the value of the `core_id` attribute.
45830
+ #
45831
+ # @param value [Integer]
45832
+ #
45833
+ def core_id=(value)
45834
+ @core_id = value
45835
+ end
45836
+
45837
+ #
45838
+ # Returns the value of the `cpu_id` attribute.
45839
+ #
45840
+ # @return [Integer]
45841
+ #
45842
+ def cpu_id
45843
+ @cpu_id
45844
+ end
45845
+
45846
+ #
45847
+ # Sets the value of the `cpu_id` attribute.
45848
+ #
45849
+ # @param value [Integer]
45850
+ #
45851
+ def cpu_id=(value)
45852
+ @cpu_id = value
45853
+ end
45854
+
45855
+ #
45856
+ # Returns the value of the `description` attribute.
45857
+ #
45858
+ # @return [String]
45859
+ #
45860
+ def description
45861
+ @description
45862
+ end
45863
+
45864
+ #
45865
+ # Sets the value of the `description` attribute.
45866
+ #
45867
+ # @param value [String]
45868
+ #
45869
+ def description=(value)
45870
+ @description = value
45871
+ end
45872
+
45873
+ #
45874
+ # Returns the value of the `id` attribute.
45875
+ #
45876
+ # @return [String]
45877
+ #
45878
+ def id
45879
+ @id
45880
+ end
45881
+
45882
+ #
45883
+ # Sets the value of the `id` attribute.
45884
+ #
45885
+ # @param value [String]
45886
+ #
45887
+ def id=(value)
45888
+ @id = value
45889
+ end
45890
+
45891
+ #
45892
+ # Returns the value of the `name` attribute.
45893
+ #
45894
+ # @return [String]
45895
+ #
45896
+ def name
45897
+ @name
45898
+ end
45899
+
45900
+ #
45901
+ # Sets the value of the `name` attribute.
45902
+ #
45903
+ # @param value [String]
45904
+ #
45905
+ def name=(value)
45906
+ @name = value
45907
+ end
45908
+
45909
+ #
45910
+ # Returns the value of the `runs_vdsm` attribute.
45911
+ #
45912
+ # @return [Boolean]
45913
+ #
45914
+ def runs_vdsm
45915
+ @runs_vdsm
45916
+ end
45917
+
45918
+ #
45919
+ # Sets the value of the `runs_vdsm` attribute.
45920
+ #
45921
+ # @param value [Boolean]
45922
+ #
45923
+ def runs_vdsm=(value)
45924
+ @runs_vdsm = value
45925
+ end
45926
+
45927
+ #
45928
+ # Returns the value of the `socket_id` attribute.
45929
+ #
45930
+ # @return [Integer]
45931
+ #
45932
+ def socket_id
45933
+ @socket_id
45934
+ end
45935
+
45936
+ #
45937
+ # Sets the value of the `socket_id` attribute.
45938
+ #
45939
+ # @param value [Integer]
45940
+ #
45941
+ def socket_id=(value)
45942
+ @socket_id = value
45943
+ end
45944
+
45945
+ #
45946
+ # Returns the value of the `vms` attribute.
45947
+ #
45948
+ # @return [Array<Vm>]
45949
+ #
45950
+ def vms
45951
+ @vms
45952
+ end
45953
+
45954
+ #
45955
+ # Sets the value of the `vms` attribute.
45956
+ #
45957
+ # @param list [Array<Vm>]
45958
+ #
45959
+ def vms=(list)
45960
+ if list.class == Array
45961
+ list = List.new(list)
45962
+ list.each_with_index do |value, index|
45963
+ if value.is_a?(Hash)
45964
+ list[index] = Vm.new(value)
45965
+ end
45966
+ end
45967
+ end
45968
+ @vms = list
45969
+ end
45970
+
45971
+ #
45972
+ # Creates a new instance of the {HostCpuUnit} class.
45973
+ #
45974
+ # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
45975
+ # should be symbols corresponding to the names of the attributes. The values of the hash
45976
+ # should be the values of the attributes.
45977
+ #
45978
+ # @option opts [String] :comment The value of attribute `comment`.
45979
+ #
45980
+ # @option opts [Integer] :core_id The value of attribute `core_id`.
45981
+ #
45982
+ # @option opts [Integer] :cpu_id The value of attribute `cpu_id`.
45983
+ #
45984
+ # @option opts [String] :description The value of attribute `description`.
45985
+ #
45986
+ # @option opts [String] :id The value of attribute `id`.
45987
+ #
45988
+ # @option opts [String] :name The value of attribute `name`.
45989
+ #
45990
+ # @option opts [Boolean] :runs_vdsm The value of attribute `runs_vdsm`.
45991
+ #
45992
+ # @option opts [Integer] :socket_id The value of attribute `socket_id`.
45993
+ #
45994
+ # @option opts [Array<Vm>, Array<Hash>] :vms The values of attribute `vms`.
45995
+ #
45996
+ #
45997
+ def initialize(opts = {})
45998
+ super(opts)
45999
+ self.core_id = opts[:core_id]
46000
+ self.cpu_id = opts[:cpu_id]
46001
+ self.runs_vdsm = opts[:runs_vdsm]
46002
+ self.socket_id = opts[:socket_id]
46003
+ self.vms = opts[:vms]
46004
+ end
46005
+
46006
+ #
46007
+ # Returns `true` if `self` and `other` have the same attributes and values.
46008
+ #
46009
+ def ==(other)
46010
+ super &&
46011
+ @core_id == other.core_id &&
46012
+ @cpu_id == other.cpu_id &&
46013
+ @runs_vdsm == other.runs_vdsm &&
46014
+ @socket_id == other.socket_id &&
46015
+ @vms == other.vms
46016
+ end
46017
+
46018
+ #
46019
+ # Generates a hash value for this object.
46020
+ #
46021
+ def hash
46022
+ super +
46023
+ @core_id.hash +
46024
+ @cpu_id.hash +
46025
+ @runs_vdsm.hash +
46026
+ @socket_id.hash +
46027
+ @vms.hash
46028
+ end
46029
+
46030
+ end
46031
+
44890
46032
  class HostDevice < Identified
44891
46033
 
44892
46034
  #
@@ -47189,6 +48331,24 @@ module OvirtSDK4
47189
48331
  @statistics = list
47190
48332
  end
47191
48333
 
48334
+ #
48335
+ # Returns the value of the `synced` attribute.
48336
+ #
48337
+ # @return [Boolean]
48338
+ #
48339
+ def synced
48340
+ @synced
48341
+ end
48342
+
48343
+ #
48344
+ # Sets the value of the `synced` attribute.
48345
+ #
48346
+ # @param value [Boolean]
48347
+ #
48348
+ def synced=(value)
48349
+ @synced = value
48350
+ end
48351
+
47192
48352
  #
47193
48353
  # Returns the value of the `template` attribute.
47194
48354
  #
@@ -47383,6 +48543,8 @@ module OvirtSDK4
47383
48543
  #
47384
48544
  # @option opts [Array<Statistic>, Array<Hash>] :statistics The values of attribute `statistics`.
47385
48545
  #
48546
+ # @option opts [Boolean] :synced The value of attribute `synced`.
48547
+ #
47386
48548
  # @option opts [Template, Hash] :template The value of attribute `template`.
47387
48549
  #
47388
48550
  # @option opts [Array<NetworkLabel>, Array<Hash>] :virtual_function_allowed_labels The values of attribute `virtual_function_allowed_labels`.
@@ -47410,6 +48572,7 @@ module OvirtSDK4
47410
48572
  self.plugged = opts[:plugged]
47411
48573
  self.reported_devices = opts[:reported_devices]
47412
48574
  self.statistics = opts[:statistics]
48575
+ self.synced = opts[:synced]
47413
48576
  self.virtual_function_allowed_labels = opts[:virtual_function_allowed_labels]
47414
48577
  self.virtual_function_allowed_networks = opts[:virtual_function_allowed_networks]
47415
48578
  self.vnic_profile = opts[:vnic_profile]
@@ -47432,6 +48595,7 @@ module OvirtSDK4
47432
48595
  @plugged == other.plugged &&
47433
48596
  @reported_devices == other.reported_devices &&
47434
48597
  @statistics == other.statistics &&
48598
+ @synced == other.synced &&
47435
48599
  @virtual_function_allowed_labels == other.virtual_function_allowed_labels &&
47436
48600
  @virtual_function_allowed_networks == other.virtual_function_allowed_networks &&
47437
48601
  @vnic_profile == other.vnic_profile
@@ -47454,6 +48618,7 @@ module OvirtSDK4
47454
48618
  @plugged.hash +
47455
48619
  @reported_devices.hash +
47456
48620
  @statistics.hash +
48621
+ @synced.hash +
47457
48622
  @virtual_function_allowed_labels.hash +
47458
48623
  @virtual_function_allowed_networks.hash +
47459
48624
  @vnic_profile.hash
@@ -48105,6 +49270,24 @@ module OvirtSDK4
48105
49270
 
48106
49271
  class Template < VmBase
48107
49272
 
49273
+ #
49274
+ # Returns the value of the `auto_pinning_policy` attribute.
49275
+ #
49276
+ # @return [AutoPinningPolicy]
49277
+ #
49278
+ def auto_pinning_policy
49279
+ @auto_pinning_policy
49280
+ end
49281
+
49282
+ #
49283
+ # Sets the value of the `auto_pinning_policy` attribute.
49284
+ #
49285
+ # @param value [AutoPinningPolicy]
49286
+ #
49287
+ def auto_pinning_policy=(value)
49288
+ @auto_pinning_policy = value
49289
+ end
49290
+
48108
49291
  #
48109
49292
  # Returns the value of the `bios` attribute.
48110
49293
  #
@@ -48249,6 +49432,24 @@ module OvirtSDK4
48249
49432
  @cpu = value
48250
49433
  end
48251
49434
 
49435
+ #
49436
+ # Returns the value of the `cpu_pinning_policy` attribute.
49437
+ #
49438
+ # @return [CpuPinningPolicy]
49439
+ #
49440
+ def cpu_pinning_policy
49441
+ @cpu_pinning_policy
49442
+ end
49443
+
49444
+ #
49445
+ # Sets the value of the `cpu_pinning_policy` attribute.
49446
+ #
49447
+ # @param value [CpuPinningPolicy]
49448
+ #
49449
+ def cpu_pinning_policy=(value)
49450
+ @cpu_pinning_policy = value
49451
+ end
49452
+
48252
49453
  #
48253
49454
  # Returns the value of the `cpu_profile` attribute.
48254
49455
  #
@@ -48678,6 +49879,32 @@ module OvirtSDK4
48678
49879
  @lease = value
48679
49880
  end
48680
49881
 
49882
+ #
49883
+ # Returns the value of the `mediated_devices` attribute.
49884
+ #
49885
+ # @return [Array<VmMediatedDevice>]
49886
+ #
49887
+ def mediated_devices
49888
+ @mediated_devices
49889
+ end
49890
+
49891
+ #
49892
+ # Sets the value of the `mediated_devices` attribute.
49893
+ #
49894
+ # @param list [Array<VmMediatedDevice>]
49895
+ #
49896
+ def mediated_devices=(list)
49897
+ if list.class == Array
49898
+ list = List.new(list)
49899
+ list.each_with_index do |value, index|
49900
+ if value.is_a?(Hash)
49901
+ list[index] = VmMediatedDevice.new(value)
49902
+ end
49903
+ end
49904
+ end
49905
+ @mediated_devices = list
49906
+ end
49907
+
48681
49908
  #
48682
49909
  # Returns the value of the `memory` attribute.
48683
49910
  #
@@ -49211,6 +50438,24 @@ module OvirtSDK4
49211
50438
  @time_zone = value
49212
50439
  end
49213
50440
 
50441
+ #
50442
+ # Returns the value of the `tpm_enabled` attribute.
50443
+ #
50444
+ # @return [Boolean]
50445
+ #
50446
+ def tpm_enabled
50447
+ @tpm_enabled
50448
+ end
50449
+
50450
+ #
50451
+ # Sets the value of the `tpm_enabled` attribute.
50452
+ #
50453
+ # @param value [Boolean]
50454
+ #
50455
+ def tpm_enabled=(value)
50456
+ @tpm_enabled = value
50457
+ end
50458
+
49214
50459
  #
49215
50460
  # Returns the value of the `tunnel_migration` attribute.
49216
50461
  #
@@ -49322,6 +50567,24 @@ module OvirtSDK4
49322
50567
  @virtio_scsi = value
49323
50568
  end
49324
50569
 
50570
+ #
50571
+ # Returns the value of the `virtio_scsi_multi_queues` attribute.
50572
+ #
50573
+ # @return [Integer]
50574
+ #
50575
+ def virtio_scsi_multi_queues
50576
+ @virtio_scsi_multi_queues
50577
+ end
50578
+
50579
+ #
50580
+ # Sets the value of the `virtio_scsi_multi_queues` attribute.
50581
+ #
50582
+ # @param value [Integer]
50583
+ #
50584
+ def virtio_scsi_multi_queues=(value)
50585
+ @virtio_scsi_multi_queues = value
50586
+ end
50587
+
49325
50588
  #
49326
50589
  # Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
49327
50590
  #
@@ -49398,6 +50661,8 @@ module OvirtSDK4
49398
50661
  # should be symbols corresponding to the names of the attributes. The values of the hash
49399
50662
  # should be the values of the attributes.
49400
50663
  #
50664
+ # @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
50665
+ #
49401
50666
  # @option opts [Bios, Hash] :bios The value of attribute `bios`.
49402
50667
  #
49403
50668
  # @option opts [Array<Cdrom>, Array<Hash>] :cdroms The values of attribute `cdroms`.
@@ -49410,6 +50675,8 @@ module OvirtSDK4
49410
50675
  #
49411
50676
  # @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
49412
50677
  #
50678
+ # @option opts [CpuPinningPolicy] :cpu_pinning_policy The value of attribute `cpu_pinning_policy`.
50679
+ #
49413
50680
  # @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
49414
50681
  #
49415
50682
  # @option opts [Integer] :cpu_shares The value of attribute `cpu_shares`.
@@ -49448,6 +50715,8 @@ module OvirtSDK4
49448
50715
  #
49449
50716
  # @option opts [StorageDomainLease, Hash] :lease The value of attribute `lease`.
49450
50717
  #
50718
+ # @option opts [Array<VmMediatedDevice>, Array<Hash>] :mediated_devices The values of attribute `mediated_devices`.
50719
+ #
49451
50720
  # @option opts [Integer] :memory The value of attribute `memory`.
49452
50721
  #
49453
50722
  # @option opts [MemoryPolicy, Hash] :memory_policy The value of attribute `memory_policy`.
@@ -49496,6 +50765,8 @@ module OvirtSDK4
49496
50765
  #
49497
50766
  # @option opts [TimeZone, Hash] :time_zone The value of attribute `time_zone`.
49498
50767
  #
50768
+ # @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
50769
+ #
49499
50770
  # @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
49500
50771
  #
49501
50772
  # @option opts [VmType] :type The value of attribute `type`.
@@ -49506,6 +50777,8 @@ module OvirtSDK4
49506
50777
  #
49507
50778
  # @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
49508
50779
  #
50780
+ # @option opts [Integer] :virtio_scsi_multi_queues The value of attribute `virtio_scsi_multi_queues`.
50781
+ #
49509
50782
  # @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
49510
50783
  #
49511
50784
  # @option opts [Vm, Hash] :vm The value of attribute `vm`.
@@ -49518,6 +50791,7 @@ module OvirtSDK4
49518
50791
  self.cdroms = opts[:cdroms]
49519
50792
  self.disk_attachments = opts[:disk_attachments]
49520
50793
  self.graphics_consoles = opts[:graphics_consoles]
50794
+ self.mediated_devices = opts[:mediated_devices]
49521
50795
  self.nics = opts[:nics]
49522
50796
  self.permissions = opts[:permissions]
49523
50797
  self.status = opts[:status]
@@ -49535,6 +50809,7 @@ module OvirtSDK4
49535
50809
  @cdroms == other.cdroms &&
49536
50810
  @disk_attachments == other.disk_attachments &&
49537
50811
  @graphics_consoles == other.graphics_consoles &&
50812
+ @mediated_devices == other.mediated_devices &&
49538
50813
  @nics == other.nics &&
49539
50814
  @permissions == other.permissions &&
49540
50815
  @status == other.status &&
@@ -49552,6 +50827,7 @@ module OvirtSDK4
49552
50827
  @cdroms.hash +
49553
50828
  @disk_attachments.hash +
49554
50829
  @graphics_consoles.hash +
50830
+ @mediated_devices.hash +
49555
50831
  @nics.hash +
49556
50832
  @permissions.hash +
49557
50833
  @status.hash +
@@ -49617,6 +50893,24 @@ module OvirtSDK4
49617
50893
  @applications = list
49618
50894
  end
49619
50895
 
50896
+ #
50897
+ # Returns the value of the `auto_pinning_policy` attribute.
50898
+ #
50899
+ # @return [AutoPinningPolicy]
50900
+ #
50901
+ def auto_pinning_policy
50902
+ @auto_pinning_policy
50903
+ end
50904
+
50905
+ #
50906
+ # Sets the value of the `auto_pinning_policy` attribute.
50907
+ #
50908
+ # @param value [AutoPinningPolicy]
50909
+ #
50910
+ def auto_pinning_policy=(value)
50911
+ @auto_pinning_policy = value
50912
+ end
50913
+
49620
50914
  #
49621
50915
  # Returns the value of the `bios` attribute.
49622
50916
  #
@@ -49761,6 +51055,24 @@ module OvirtSDK4
49761
51055
  @cpu = value
49762
51056
  end
49763
51057
 
51058
+ #
51059
+ # Returns the value of the `cpu_pinning_policy` attribute.
51060
+ #
51061
+ # @return [CpuPinningPolicy]
51062
+ #
51063
+ def cpu_pinning_policy
51064
+ @cpu_pinning_policy
51065
+ end
51066
+
51067
+ #
51068
+ # Sets the value of the `cpu_pinning_policy` attribute.
51069
+ #
51070
+ # @param value [CpuPinningPolicy]
51071
+ #
51072
+ def cpu_pinning_policy=(value)
51073
+ @cpu_pinning_policy = value
51074
+ end
51075
+
49764
51076
  #
49765
51077
  # Returns the value of the `cpu_profile` attribute.
49766
51078
  #
@@ -50021,6 +51333,31 @@ module OvirtSDK4
50021
51333
  @domain = value
50022
51334
  end
50023
51335
 
51336
+ #
51337
+ # Returns the value of the `dynamic_cpu` attribute.
51338
+ #
51339
+ # @return [DynamicCpu]
51340
+ #
51341
+ def dynamic_cpu
51342
+ @dynamic_cpu
51343
+ end
51344
+
51345
+ #
51346
+ # Sets the value of the `dynamic_cpu` attribute.
51347
+ #
51348
+ # @param value [DynamicCpu, Hash]
51349
+ #
51350
+ # The `value` parameter can be an instance of {OvirtSDK4::DynamicCpu} or a hash.
51351
+ # If it is a hash then a new instance will be created passing the hash as the
51352
+ # `opts` parameter to the constructor.
51353
+ #
51354
+ def dynamic_cpu=(value)
51355
+ if value.is_a?(Hash)
51356
+ value = DynamicCpu.new(value)
51357
+ end
51358
+ @dynamic_cpu = value
51359
+ end
51360
+
50024
51361
  #
50025
51362
  # Returns the value of the `external_host_provider` attribute.
50026
51363
  #
@@ -50429,6 +51766,32 @@ module OvirtSDK4
50429
51766
  @lease = value
50430
51767
  end
50431
51768
 
51769
+ #
51770
+ # Returns the value of the `mediated_devices` attribute.
51771
+ #
51772
+ # @return [Array<VmMediatedDevice>]
51773
+ #
51774
+ def mediated_devices
51775
+ @mediated_devices
51776
+ end
51777
+
51778
+ #
51779
+ # Sets the value of the `mediated_devices` attribute.
51780
+ #
51781
+ # @param list [Array<VmMediatedDevice>]
51782
+ #
51783
+ def mediated_devices=(list)
51784
+ if list.class == Array
51785
+ list = List.new(list)
51786
+ list.each_with_index do |value, index|
51787
+ if value.is_a?(Hash)
51788
+ list[index] = VmMediatedDevice.new(value)
51789
+ end
51790
+ end
51791
+ end
51792
+ @mediated_devices = list
51793
+ end
51794
+
50432
51795
  #
50433
51796
  # Returns the value of the `memory` attribute.
50434
51797
  #
@@ -51294,6 +52657,24 @@ module OvirtSDK4
51294
52657
  @time_zone = value
51295
52658
  end
51296
52659
 
52660
+ #
52661
+ # Returns the value of the `tpm_enabled` attribute.
52662
+ #
52663
+ # @return [Boolean]
52664
+ #
52665
+ def tpm_enabled
52666
+ @tpm_enabled
52667
+ end
52668
+
52669
+ #
52670
+ # Sets the value of the `tpm_enabled` attribute.
52671
+ #
52672
+ # @param value [Boolean]
52673
+ #
52674
+ def tpm_enabled=(value)
52675
+ @tpm_enabled = value
52676
+ end
52677
+
51297
52678
  #
51298
52679
  # Returns the value of the `tunnel_migration` attribute.
51299
52680
  #
@@ -51398,6 +52779,24 @@ module OvirtSDK4
51398
52779
  @virtio_scsi = value
51399
52780
  end
51400
52781
 
52782
+ #
52783
+ # Returns the value of the `virtio_scsi_multi_queues` attribute.
52784
+ #
52785
+ # @return [Integer]
52786
+ #
52787
+ def virtio_scsi_multi_queues
52788
+ @virtio_scsi_multi_queues
52789
+ end
52790
+
52791
+ #
52792
+ # Sets the value of the `virtio_scsi_multi_queues` attribute.
52793
+ #
52794
+ # @param value [Integer]
52795
+ #
52796
+ def virtio_scsi_multi_queues=(value)
52797
+ @virtio_scsi_multi_queues = value
52798
+ end
52799
+
51401
52800
  #
51402
52801
  # Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
51403
52802
  #
@@ -51478,6 +52877,8 @@ module OvirtSDK4
51478
52877
  #
51479
52878
  # @option opts [Array<Application>, Array<Hash>] :applications The values of attribute `applications`.
51480
52879
  #
52880
+ # @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
52881
+ #
51481
52882
  # @option opts [Bios, Hash] :bios The value of attribute `bios`.
51482
52883
  #
51483
52884
  # @option opts [Array<Cdrom>, Array<Hash>] :cdroms The values of attribute `cdroms`.
@@ -51490,6 +52891,8 @@ module OvirtSDK4
51490
52891
  #
51491
52892
  # @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
51492
52893
  #
52894
+ # @option opts [CpuPinningPolicy] :cpu_pinning_policy The value of attribute `cpu_pinning_policy`.
52895
+ #
51493
52896
  # @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
51494
52897
  #
51495
52898
  # @option opts [Integer] :cpu_shares The value of attribute `cpu_shares`.
@@ -51514,6 +52917,8 @@ module OvirtSDK4
51514
52917
  #
51515
52918
  # @option opts [Domain, Hash] :domain The value of attribute `domain`.
51516
52919
  #
52920
+ # @option opts [DynamicCpu, Hash] :dynamic_cpu The value of attribute `dynamic_cpu`.
52921
+ #
51517
52922
  # @option opts [ExternalHostProvider, Hash] :external_host_provider The value of attribute `external_host_provider`.
51518
52923
  #
51519
52924
  # @option opts [Array<Floppy>, Array<Hash>] :floppies The values of attribute `floppies`.
@@ -51548,6 +52953,8 @@ module OvirtSDK4
51548
52953
  #
51549
52954
  # @option opts [StorageDomainLease, Hash] :lease The value of attribute `lease`.
51550
52955
  #
52956
+ # @option opts [Array<VmMediatedDevice>, Array<Hash>] :mediated_devices The values of attribute `mediated_devices`.
52957
+ #
51551
52958
  # @option opts [Integer] :memory The value of attribute `memory`.
51552
52959
  #
51553
52960
  # @option opts [MemoryPolicy, Hash] :memory_policy The value of attribute `memory_policy`.
@@ -51626,6 +53033,8 @@ module OvirtSDK4
51626
53033
  #
51627
53034
  # @option opts [TimeZone, Hash] :time_zone The value of attribute `time_zone`.
51628
53035
  #
53036
+ # @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
53037
+ #
51629
53038
  # @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
51630
53039
  #
51631
53040
  # @option opts [VmType] :type The value of attribute `type`.
@@ -51636,6 +53045,8 @@ module OvirtSDK4
51636
53045
  #
51637
53046
  # @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
51638
53047
  #
53048
+ # @option opts [Integer] :virtio_scsi_multi_queues The value of attribute `virtio_scsi_multi_queues`.
53049
+ #
51639
53050
  # @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
51640
53051
  #
51641
53052
  # @option opts [VmPool, Hash] :vm_pool The value of attribute `vm_pool`.
@@ -51649,6 +53060,7 @@ module OvirtSDK4
51649
53060
  self.applications = opts[:applications]
51650
53061
  self.cdroms = opts[:cdroms]
51651
53062
  self.disk_attachments = opts[:disk_attachments]
53063
+ self.dynamic_cpu = opts[:dynamic_cpu]
51652
53064
  self.external_host_provider = opts[:external_host_provider]
51653
53065
  self.floppies = opts[:floppies]
51654
53066
  self.fqdn = opts[:fqdn]
@@ -51660,6 +53072,7 @@ module OvirtSDK4
51660
53072
  self.host_devices = opts[:host_devices]
51661
53073
  self.instance_type = opts[:instance_type]
51662
53074
  self.katello_errata = opts[:katello_errata]
53075
+ self.mediated_devices = opts[:mediated_devices]
51663
53076
  self.next_run_configuration_exists = opts[:next_run_configuration_exists]
51664
53077
  self.nics = opts[:nics]
51665
53078
  self.numa_nodes = opts[:numa_nodes]
@@ -51693,6 +53106,7 @@ module OvirtSDK4
51693
53106
  @applications == other.applications &&
51694
53107
  @cdroms == other.cdroms &&
51695
53108
  @disk_attachments == other.disk_attachments &&
53109
+ @dynamic_cpu == other.dynamic_cpu &&
51696
53110
  @external_host_provider == other.external_host_provider &&
51697
53111
  @floppies == other.floppies &&
51698
53112
  @fqdn == other.fqdn &&
@@ -51704,6 +53118,7 @@ module OvirtSDK4
51704
53118
  @host_devices == other.host_devices &&
51705
53119
  @instance_type == other.instance_type &&
51706
53120
  @katello_errata == other.katello_errata &&
53121
+ @mediated_devices == other.mediated_devices &&
51707
53122
  @next_run_configuration_exists == other.next_run_configuration_exists &&
51708
53123
  @nics == other.nics &&
51709
53124
  @numa_nodes == other.numa_nodes &&
@@ -51737,6 +53152,7 @@ module OvirtSDK4
51737
53152
  @applications.hash +
51738
53153
  @cdroms.hash +
51739
53154
  @disk_attachments.hash +
53155
+ @dynamic_cpu.hash +
51740
53156
  @external_host_provider.hash +
51741
53157
  @floppies.hash +
51742
53158
  @fqdn.hash +
@@ -51748,6 +53164,7 @@ module OvirtSDK4
51748
53164
  @host_devices.hash +
51749
53165
  @instance_type.hash +
51750
53166
  @katello_errata.hash +
53167
+ @mediated_devices.hash +
51751
53168
  @next_run_configuration_exists.hash +
51752
53169
  @nics.hash +
51753
53170
  @numa_nodes.hash +
@@ -51774,25 +53191,7 @@ module OvirtSDK4
51774
53191
 
51775
53192
  end
51776
53193
 
51777
- class Watchdog < Device
51778
-
51779
- #
51780
- # Returns the value of the `action` attribute.
51781
- #
51782
- # @return [WatchdogAction]
51783
- #
51784
- def action
51785
- @action
51786
- end
51787
-
51788
- #
51789
- # Sets the value of the `action` attribute.
51790
- #
51791
- # @param value [WatchdogAction]
51792
- #
51793
- def action=(value)
51794
- @action = value
51795
- end
53194
+ class VmMediatedDevice < Device
51796
53195
 
51797
53196
  #
51798
53197
  # Returns the value of the `comment` attribute.
@@ -51874,39 +53273,47 @@ module OvirtSDK4
51874
53273
  end
51875
53274
 
51876
53275
  #
51877
- # Returns the value of the `model` attribute.
53276
+ # Returns the value of the `name` attribute.
51878
53277
  #
51879
- # @return [WatchdogModel]
53278
+ # @return [String]
51880
53279
  #
51881
- def model
51882
- @model
53280
+ def name
53281
+ @name
51883
53282
  end
51884
53283
 
51885
53284
  #
51886
- # Sets the value of the `model` attribute.
53285
+ # Sets the value of the `name` attribute.
51887
53286
  #
51888
- # @param value [WatchdogModel]
53287
+ # @param value [String]
51889
53288
  #
51890
- def model=(value)
51891
- @model = value
53289
+ def name=(value)
53290
+ @name = value
51892
53291
  end
51893
53292
 
51894
53293
  #
51895
- # Returns the value of the `name` attribute.
53294
+ # Returns the value of the `spec_params` attribute.
51896
53295
  #
51897
- # @return [String]
53296
+ # @return [Array<Property>]
51898
53297
  #
51899
- def name
51900
- @name
53298
+ def spec_params
53299
+ @spec_params
51901
53300
  end
51902
53301
 
51903
53302
  #
51904
- # Sets the value of the `name` attribute.
53303
+ # Sets the value of the `spec_params` attribute.
51905
53304
  #
51906
- # @param value [String]
53305
+ # @param list [Array<Property>]
51907
53306
  #
51908
- def name=(value)
51909
- @name = value
53307
+ def spec_params=(list)
53308
+ if list.class == Array
53309
+ list = List.new(list)
53310
+ list.each_with_index do |value, index|
53311
+ if value.is_a?(Hash)
53312
+ list[index] = Property.new(value)
53313
+ end
53314
+ end
53315
+ end
53316
+ @spec_params = list
51910
53317
  end
51911
53318
 
51912
53319
  #
@@ -51986,14 +53393,12 @@ module OvirtSDK4
51986
53393
  end
51987
53394
 
51988
53395
  #
51989
- # Creates a new instance of the {Watchdog} class.
53396
+ # Creates a new instance of the {VmMediatedDevice} class.
51990
53397
  #
51991
53398
  # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
51992
53399
  # should be symbols corresponding to the names of the attributes. The values of the hash
51993
53400
  # should be the values of the attributes.
51994
53401
  #
51995
- # @option opts [WatchdogAction] :action The value of attribute `action`.
51996
- #
51997
53402
  # @option opts [String] :comment The value of attribute `comment`.
51998
53403
  #
51999
53404
  # @option opts [String] :description The value of attribute `description`.
@@ -52002,10 +53407,10 @@ module OvirtSDK4
52002
53407
  #
52003
53408
  # @option opts [InstanceType, Hash] :instance_type The value of attribute `instance_type`.
52004
53409
  #
52005
- # @option opts [WatchdogModel] :model The value of attribute `model`.
52006
- #
52007
53410
  # @option opts [String] :name The value of attribute `name`.
52008
53411
  #
53412
+ # @option opts [Array<Property>, Array<Hash>] :spec_params The values of attribute `spec_params`.
53413
+ #
52009
53414
  # @option opts [Template, Hash] :template The value of attribute `template`.
52010
53415
  #
52011
53416
  # @option opts [Vm, Hash] :vm The value of attribute `vm`.
@@ -52015,8 +53420,7 @@ module OvirtSDK4
52015
53420
  #
52016
53421
  def initialize(opts = {})
52017
53422
  super(opts)
52018
- self.action = opts[:action]
52019
- self.model = opts[:model]
53423
+ self.spec_params = opts[:spec_params]
52020
53424
  end
52021
53425
 
52022
53426
  #
@@ -52024,8 +53428,7 @@ module OvirtSDK4
52024
53428
  #
52025
53429
  def ==(other)
52026
53430
  super &&
52027
- @action == other.action &&
52028
- @model == other.model
53431
+ @spec_params == other.spec_params
52029
53432
  end
52030
53433
 
52031
53434
  #
@@ -52033,13 +53436,277 @@ module OvirtSDK4
52033
53436
  #
52034
53437
  def hash
52035
53438
  super +
52036
- @action.hash +
52037
- @model.hash
53439
+ @spec_params.hash
52038
53440
  end
52039
53441
 
52040
53442
  end
52041
53443
 
52042
- class Cdrom < Device
53444
+ class Watchdog < Device
53445
+
53446
+ #
53447
+ # Returns the value of the `action` attribute.
53448
+ #
53449
+ # @return [WatchdogAction]
53450
+ #
53451
+ def action
53452
+ @action
53453
+ end
53454
+
53455
+ #
53456
+ # Sets the value of the `action` attribute.
53457
+ #
53458
+ # @param value [WatchdogAction]
53459
+ #
53460
+ def action=(value)
53461
+ @action = value
53462
+ end
53463
+
53464
+ #
53465
+ # Returns the value of the `comment` attribute.
53466
+ #
53467
+ # @return [String]
53468
+ #
53469
+ def comment
53470
+ @comment
53471
+ end
53472
+
53473
+ #
53474
+ # Sets the value of the `comment` attribute.
53475
+ #
53476
+ # @param value [String]
53477
+ #
53478
+ def comment=(value)
53479
+ @comment = value
53480
+ end
53481
+
53482
+ #
53483
+ # Returns the value of the `description` attribute.
53484
+ #
53485
+ # @return [String]
53486
+ #
53487
+ def description
53488
+ @description
53489
+ end
53490
+
53491
+ #
53492
+ # Sets the value of the `description` attribute.
53493
+ #
53494
+ # @param value [String]
53495
+ #
53496
+ def description=(value)
53497
+ @description = value
53498
+ end
53499
+
53500
+ #
53501
+ # Returns the value of the `id` attribute.
53502
+ #
53503
+ # @return [String]
53504
+ #
53505
+ def id
53506
+ @id
53507
+ end
53508
+
53509
+ #
53510
+ # Sets the value of the `id` attribute.
53511
+ #
53512
+ # @param value [String]
53513
+ #
53514
+ def id=(value)
53515
+ @id = value
53516
+ end
53517
+
53518
+ #
53519
+ # Returns the value of the `instance_type` attribute.
53520
+ #
53521
+ # @return [InstanceType]
53522
+ #
53523
+ def instance_type
53524
+ @instance_type
53525
+ end
53526
+
53527
+ #
53528
+ # Sets the value of the `instance_type` attribute.
53529
+ #
53530
+ # @param value [InstanceType, Hash]
53531
+ #
53532
+ # The `value` parameter can be an instance of {OvirtSDK4::InstanceType} or a hash.
53533
+ # If it is a hash then a new instance will be created passing the hash as the
53534
+ # `opts` parameter to the constructor.
53535
+ #
53536
+ def instance_type=(value)
53537
+ if value.is_a?(Hash)
53538
+ value = InstanceType.new(value)
53539
+ end
53540
+ @instance_type = value
53541
+ end
53542
+
53543
+ #
53544
+ # Returns the value of the `model` attribute.
53545
+ #
53546
+ # @return [WatchdogModel]
53547
+ #
53548
+ def model
53549
+ @model
53550
+ end
53551
+
53552
+ #
53553
+ # Sets the value of the `model` attribute.
53554
+ #
53555
+ # @param value [WatchdogModel]
53556
+ #
53557
+ def model=(value)
53558
+ @model = value
53559
+ end
53560
+
53561
+ #
53562
+ # Returns the value of the `name` attribute.
53563
+ #
53564
+ # @return [String]
53565
+ #
53566
+ def name
53567
+ @name
53568
+ end
53569
+
53570
+ #
53571
+ # Sets the value of the `name` attribute.
53572
+ #
53573
+ # @param value [String]
53574
+ #
53575
+ def name=(value)
53576
+ @name = value
53577
+ end
53578
+
53579
+ #
53580
+ # Returns the value of the `template` attribute.
53581
+ #
53582
+ # @return [Template]
53583
+ #
53584
+ def template
53585
+ @template
53586
+ end
53587
+
53588
+ #
53589
+ # Sets the value of the `template` attribute.
53590
+ #
53591
+ # @param value [Template, Hash]
53592
+ #
53593
+ # The `value` parameter can be an instance of {OvirtSDK4::Template} or a hash.
53594
+ # If it is a hash then a new instance will be created passing the hash as the
53595
+ # `opts` parameter to the constructor.
53596
+ #
53597
+ def template=(value)
53598
+ if value.is_a?(Hash)
53599
+ value = Template.new(value)
53600
+ end
53601
+ @template = value
53602
+ end
53603
+
53604
+ #
53605
+ # Returns the value of the `vm` attribute.
53606
+ #
53607
+ # @return [Vm]
53608
+ #
53609
+ def vm
53610
+ @vm
53611
+ end
53612
+
53613
+ #
53614
+ # Sets the value of the `vm` attribute.
53615
+ #
53616
+ # @param value [Vm, Hash]
53617
+ #
53618
+ # The `value` parameter can be an instance of {OvirtSDK4::Vm} or a hash.
53619
+ # If it is a hash then a new instance will be created passing the hash as the
53620
+ # `opts` parameter to the constructor.
53621
+ #
53622
+ def vm=(value)
53623
+ if value.is_a?(Hash)
53624
+ value = Vm.new(value)
53625
+ end
53626
+ @vm = value
53627
+ end
53628
+
53629
+ #
53630
+ # Returns the value of the `vms` attribute.
53631
+ #
53632
+ # @return [Array<Vm>]
53633
+ #
53634
+ def vms
53635
+ @vms
53636
+ end
53637
+
53638
+ #
53639
+ # Sets the value of the `vms` attribute.
53640
+ #
53641
+ # @param list [Array<Vm>]
53642
+ #
53643
+ def vms=(list)
53644
+ if list.class == Array
53645
+ list = List.new(list)
53646
+ list.each_with_index do |value, index|
53647
+ if value.is_a?(Hash)
53648
+ list[index] = Vm.new(value)
53649
+ end
53650
+ end
53651
+ end
53652
+ @vms = list
53653
+ end
53654
+
53655
+ #
53656
+ # Creates a new instance of the {Watchdog} class.
53657
+ #
53658
+ # @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
53659
+ # should be symbols corresponding to the names of the attributes. The values of the hash
53660
+ # should be the values of the attributes.
53661
+ #
53662
+ # @option opts [WatchdogAction] :action The value of attribute `action`.
53663
+ #
53664
+ # @option opts [String] :comment The value of attribute `comment`.
53665
+ #
53666
+ # @option opts [String] :description The value of attribute `description`.
53667
+ #
53668
+ # @option opts [String] :id The value of attribute `id`.
53669
+ #
53670
+ # @option opts [InstanceType, Hash] :instance_type The value of attribute `instance_type`.
53671
+ #
53672
+ # @option opts [WatchdogModel] :model The value of attribute `model`.
53673
+ #
53674
+ # @option opts [String] :name The value of attribute `name`.
53675
+ #
53676
+ # @option opts [Template, Hash] :template The value of attribute `template`.
53677
+ #
53678
+ # @option opts [Vm, Hash] :vm The value of attribute `vm`.
53679
+ #
53680
+ # @option opts [Array<Vm>, Array<Hash>] :vms The values of attribute `vms`.
53681
+ #
53682
+ #
53683
+ def initialize(opts = {})
53684
+ super(opts)
53685
+ self.action = opts[:action]
53686
+ self.model = opts[:model]
53687
+ end
53688
+
53689
+ #
53690
+ # Returns `true` if `self` and `other` have the same attributes and values.
53691
+ #
53692
+ def ==(other)
53693
+ super &&
53694
+ @action == other.action &&
53695
+ @model == other.model
53696
+ end
53697
+
53698
+ #
53699
+ # Generates a hash value for this object.
53700
+ #
53701
+ def hash
53702
+ super +
53703
+ @action.hash +
53704
+ @model.hash
53705
+ end
53706
+
53707
+ end
53708
+
53709
+ class Cdrom < Device
52043
53710
 
52044
53711
  #
52045
53712
  # Returns the value of the `comment` attribute.
@@ -53188,6 +54855,24 @@ module OvirtSDK4
53188
54855
 
53189
54856
  class InstanceType < Template
53190
54857
 
54858
+ #
54859
+ # Returns the value of the `auto_pinning_policy` attribute.
54860
+ #
54861
+ # @return [AutoPinningPolicy]
54862
+ #
54863
+ def auto_pinning_policy
54864
+ @auto_pinning_policy
54865
+ end
54866
+
54867
+ #
54868
+ # Sets the value of the `auto_pinning_policy` attribute.
54869
+ #
54870
+ # @param value [AutoPinningPolicy]
54871
+ #
54872
+ def auto_pinning_policy=(value)
54873
+ @auto_pinning_policy = value
54874
+ end
54875
+
53191
54876
  #
53192
54877
  # Returns the value of the `bios` attribute.
53193
54878
  #
@@ -53332,6 +55017,24 @@ module OvirtSDK4
53332
55017
  @cpu = value
53333
55018
  end
53334
55019
 
55020
+ #
55021
+ # Returns the value of the `cpu_pinning_policy` attribute.
55022
+ #
55023
+ # @return [CpuPinningPolicy]
55024
+ #
55025
+ def cpu_pinning_policy
55026
+ @cpu_pinning_policy
55027
+ end
55028
+
55029
+ #
55030
+ # Sets the value of the `cpu_pinning_policy` attribute.
55031
+ #
55032
+ # @param value [CpuPinningPolicy]
55033
+ #
55034
+ def cpu_pinning_policy=(value)
55035
+ @cpu_pinning_policy = value
55036
+ end
55037
+
53335
55038
  #
53336
55039
  # Returns the value of the `cpu_profile` attribute.
53337
55040
  #
@@ -53761,6 +55464,32 @@ module OvirtSDK4
53761
55464
  @lease = value
53762
55465
  end
53763
55466
 
55467
+ #
55468
+ # Returns the value of the `mediated_devices` attribute.
55469
+ #
55470
+ # @return [Array<VmMediatedDevice>]
55471
+ #
55472
+ def mediated_devices
55473
+ @mediated_devices
55474
+ end
55475
+
55476
+ #
55477
+ # Sets the value of the `mediated_devices` attribute.
55478
+ #
55479
+ # @param list [Array<VmMediatedDevice>]
55480
+ #
55481
+ def mediated_devices=(list)
55482
+ if list.class == Array
55483
+ list = List.new(list)
55484
+ list.each_with_index do |value, index|
55485
+ if value.is_a?(Hash)
55486
+ list[index] = VmMediatedDevice.new(value)
55487
+ end
55488
+ end
55489
+ end
55490
+ @mediated_devices = list
55491
+ end
55492
+
53764
55493
  #
53765
55494
  # Returns the value of the `memory` attribute.
53766
55495
  #
@@ -54294,6 +56023,24 @@ module OvirtSDK4
54294
56023
  @time_zone = value
54295
56024
  end
54296
56025
 
56026
+ #
56027
+ # Returns the value of the `tpm_enabled` attribute.
56028
+ #
56029
+ # @return [Boolean]
56030
+ #
56031
+ def tpm_enabled
56032
+ @tpm_enabled
56033
+ end
56034
+
56035
+ #
56036
+ # Sets the value of the `tpm_enabled` attribute.
56037
+ #
56038
+ # @param value [Boolean]
56039
+ #
56040
+ def tpm_enabled=(value)
56041
+ @tpm_enabled = value
56042
+ end
56043
+
54297
56044
  #
54298
56045
  # Returns the value of the `tunnel_migration` attribute.
54299
56046
  #
@@ -54405,6 +56152,24 @@ module OvirtSDK4
54405
56152
  @virtio_scsi = value
54406
56153
  end
54407
56154
 
56155
+ #
56156
+ # Returns the value of the `virtio_scsi_multi_queues` attribute.
56157
+ #
56158
+ # @return [Integer]
56159
+ #
56160
+ def virtio_scsi_multi_queues
56161
+ @virtio_scsi_multi_queues
56162
+ end
56163
+
56164
+ #
56165
+ # Sets the value of the `virtio_scsi_multi_queues` attribute.
56166
+ #
56167
+ # @param value [Integer]
56168
+ #
56169
+ def virtio_scsi_multi_queues=(value)
56170
+ @virtio_scsi_multi_queues = value
56171
+ end
56172
+
54408
56173
  #
54409
56174
  # Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
54410
56175
  #
@@ -54481,6 +56246,8 @@ module OvirtSDK4
54481
56246
  # should be symbols corresponding to the names of the attributes. The values of the hash
54482
56247
  # should be the values of the attributes.
54483
56248
  #
56249
+ # @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
56250
+ #
54484
56251
  # @option opts [Bios, Hash] :bios The value of attribute `bios`.
54485
56252
  #
54486
56253
  # @option opts [Array<Cdrom>, Array<Hash>] :cdroms The values of attribute `cdroms`.
@@ -54493,6 +56260,8 @@ module OvirtSDK4
54493
56260
  #
54494
56261
  # @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
54495
56262
  #
56263
+ # @option opts [CpuPinningPolicy] :cpu_pinning_policy The value of attribute `cpu_pinning_policy`.
56264
+ #
54496
56265
  # @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
54497
56266
  #
54498
56267
  # @option opts [Integer] :cpu_shares The value of attribute `cpu_shares`.
@@ -54531,6 +56300,8 @@ module OvirtSDK4
54531
56300
  #
54532
56301
  # @option opts [StorageDomainLease, Hash] :lease The value of attribute `lease`.
54533
56302
  #
56303
+ # @option opts [Array<VmMediatedDevice>, Array<Hash>] :mediated_devices The values of attribute `mediated_devices`.
56304
+ #
54534
56305
  # @option opts [Integer] :memory The value of attribute `memory`.
54535
56306
  #
54536
56307
  # @option opts [MemoryPolicy, Hash] :memory_policy The value of attribute `memory_policy`.
@@ -54579,6 +56350,8 @@ module OvirtSDK4
54579
56350
  #
54580
56351
  # @option opts [TimeZone, Hash] :time_zone The value of attribute `time_zone`.
54581
56352
  #
56353
+ # @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
56354
+ #
54582
56355
  # @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
54583
56356
  #
54584
56357
  # @option opts [VmType] :type The value of attribute `type`.
@@ -54589,6 +56362,8 @@ module OvirtSDK4
54589
56362
  #
54590
56363
  # @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
54591
56364
  #
56365
+ # @option opts [Integer] :virtio_scsi_multi_queues The value of attribute `virtio_scsi_multi_queues`.
56366
+ #
54592
56367
  # @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
54593
56368
  #
54594
56369
  # @option opts [Vm, Hash] :vm The value of attribute `vm`.
@@ -55564,6 +57339,24 @@ module OvirtSDK4
55564
57339
  @applications = list
55565
57340
  end
55566
57341
 
57342
+ #
57343
+ # Returns the value of the `auto_pinning_policy` attribute.
57344
+ #
57345
+ # @return [AutoPinningPolicy]
57346
+ #
57347
+ def auto_pinning_policy
57348
+ @auto_pinning_policy
57349
+ end
57350
+
57351
+ #
57352
+ # Sets the value of the `auto_pinning_policy` attribute.
57353
+ #
57354
+ # @param value [AutoPinningPolicy]
57355
+ #
57356
+ def auto_pinning_policy=(value)
57357
+ @auto_pinning_policy = value
57358
+ end
57359
+
55567
57360
  #
55568
57361
  # Returns the value of the `bios` attribute.
55569
57362
  #
@@ -55708,6 +57501,24 @@ module OvirtSDK4
55708
57501
  @cpu = value
55709
57502
  end
55710
57503
 
57504
+ #
57505
+ # Returns the value of the `cpu_pinning_policy` attribute.
57506
+ #
57507
+ # @return [CpuPinningPolicy]
57508
+ #
57509
+ def cpu_pinning_policy
57510
+ @cpu_pinning_policy
57511
+ end
57512
+
57513
+ #
57514
+ # Sets the value of the `cpu_pinning_policy` attribute.
57515
+ #
57516
+ # @param value [CpuPinningPolicy]
57517
+ #
57518
+ def cpu_pinning_policy=(value)
57519
+ @cpu_pinning_policy = value
57520
+ end
57521
+
55711
57522
  #
55712
57523
  # Returns the value of the `cpu_profile` attribute.
55713
57524
  #
@@ -56012,6 +57823,31 @@ module OvirtSDK4
56012
57823
  @domain = value
56013
57824
  end
56014
57825
 
57826
+ #
57827
+ # Returns the value of the `dynamic_cpu` attribute.
57828
+ #
57829
+ # @return [DynamicCpu]
57830
+ #
57831
+ def dynamic_cpu
57832
+ @dynamic_cpu
57833
+ end
57834
+
57835
+ #
57836
+ # Sets the value of the `dynamic_cpu` attribute.
57837
+ #
57838
+ # @param value [DynamicCpu, Hash]
57839
+ #
57840
+ # The `value` parameter can be an instance of {OvirtSDK4::DynamicCpu} or a hash.
57841
+ # If it is a hash then a new instance will be created passing the hash as the
57842
+ # `opts` parameter to the constructor.
57843
+ #
57844
+ def dynamic_cpu=(value)
57845
+ if value.is_a?(Hash)
57846
+ value = DynamicCpu.new(value)
57847
+ end
57848
+ @dynamic_cpu = value
57849
+ end
57850
+
56015
57851
  #
56016
57852
  # Returns the value of the `external_host_provider` attribute.
56017
57853
  #
@@ -56420,6 +58256,32 @@ module OvirtSDK4
56420
58256
  @lease = value
56421
58257
  end
56422
58258
 
58259
+ #
58260
+ # Returns the value of the `mediated_devices` attribute.
58261
+ #
58262
+ # @return [Array<VmMediatedDevice>]
58263
+ #
58264
+ def mediated_devices
58265
+ @mediated_devices
58266
+ end
58267
+
58268
+ #
58269
+ # Sets the value of the `mediated_devices` attribute.
58270
+ #
58271
+ # @param list [Array<VmMediatedDevice>]
58272
+ #
58273
+ def mediated_devices=(list)
58274
+ if list.class == Array
58275
+ list = List.new(list)
58276
+ list.each_with_index do |value, index|
58277
+ if value.is_a?(Hash)
58278
+ list[index] = VmMediatedDevice.new(value)
58279
+ end
58280
+ end
58281
+ end
58282
+ @mediated_devices = list
58283
+ end
58284
+
56423
58285
  #
56424
58286
  # Returns the value of the `memory` attribute.
56425
58287
  #
@@ -57339,6 +59201,24 @@ module OvirtSDK4
57339
59201
  @time_zone = value
57340
59202
  end
57341
59203
 
59204
+ #
59205
+ # Returns the value of the `tpm_enabled` attribute.
59206
+ #
59207
+ # @return [Boolean]
59208
+ #
59209
+ def tpm_enabled
59210
+ @tpm_enabled
59211
+ end
59212
+
59213
+ #
59214
+ # Sets the value of the `tpm_enabled` attribute.
59215
+ #
59216
+ # @param value [Boolean]
59217
+ #
59218
+ def tpm_enabled=(value)
59219
+ @tpm_enabled = value
59220
+ end
59221
+
57342
59222
  #
57343
59223
  # Returns the value of the `tunnel_migration` attribute.
57344
59224
  #
@@ -57443,6 +59323,24 @@ module OvirtSDK4
57443
59323
  @virtio_scsi = value
57444
59324
  end
57445
59325
 
59326
+ #
59327
+ # Returns the value of the `virtio_scsi_multi_queues` attribute.
59328
+ #
59329
+ # @return [Integer]
59330
+ #
59331
+ def virtio_scsi_multi_queues
59332
+ @virtio_scsi_multi_queues
59333
+ end
59334
+
59335
+ #
59336
+ # Sets the value of the `virtio_scsi_multi_queues` attribute.
59337
+ #
59338
+ # @param value [Integer]
59339
+ #
59340
+ def virtio_scsi_multi_queues=(value)
59341
+ @virtio_scsi_multi_queues = value
59342
+ end
59343
+
57446
59344
  #
57447
59345
  # Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
57448
59346
  #
@@ -57548,6 +59446,8 @@ module OvirtSDK4
57548
59446
  #
57549
59447
  # @option opts [Array<Application>, Array<Hash>] :applications The values of attribute `applications`.
57550
59448
  #
59449
+ # @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
59450
+ #
57551
59451
  # @option opts [Bios, Hash] :bios The value of attribute `bios`.
57552
59452
  #
57553
59453
  # @option opts [Array<Cdrom>, Array<Hash>] :cdroms The values of attribute `cdroms`.
@@ -57560,6 +59460,8 @@ module OvirtSDK4
57560
59460
  #
57561
59461
  # @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
57562
59462
  #
59463
+ # @option opts [CpuPinningPolicy] :cpu_pinning_policy The value of attribute `cpu_pinning_policy`.
59464
+ #
57563
59465
  # @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
57564
59466
  #
57565
59467
  # @option opts [Integer] :cpu_shares The value of attribute `cpu_shares`.
@@ -57588,6 +59490,8 @@ module OvirtSDK4
57588
59490
  #
57589
59491
  # @option opts [Domain, Hash] :domain The value of attribute `domain`.
57590
59492
  #
59493
+ # @option opts [DynamicCpu, Hash] :dynamic_cpu The value of attribute `dynamic_cpu`.
59494
+ #
57591
59495
  # @option opts [ExternalHostProvider, Hash] :external_host_provider The value of attribute `external_host_provider`.
57592
59496
  #
57593
59497
  # @option opts [Array<Floppy>, Array<Hash>] :floppies The values of attribute `floppies`.
@@ -57622,6 +59526,8 @@ module OvirtSDK4
57622
59526
  #
57623
59527
  # @option opts [StorageDomainLease, Hash] :lease The value of attribute `lease`.
57624
59528
  #
59529
+ # @option opts [Array<VmMediatedDevice>, Array<Hash>] :mediated_devices The values of attribute `mediated_devices`.
59530
+ #
57625
59531
  # @option opts [Integer] :memory The value of attribute `memory`.
57626
59532
  #
57627
59533
  # @option opts [MemoryPolicy, Hash] :memory_policy The value of attribute `memory_policy`.
@@ -57706,6 +59612,8 @@ module OvirtSDK4
57706
59612
  #
57707
59613
  # @option opts [TimeZone, Hash] :time_zone The value of attribute `time_zone`.
57708
59614
  #
59615
+ # @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
59616
+ #
57709
59617
  # @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
57710
59618
  #
57711
59619
  # @option opts [VmType] :type The value of attribute `type`.
@@ -57716,6 +59624,8 @@ module OvirtSDK4
57716
59624
  #
57717
59625
  # @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
57718
59626
  #
59627
+ # @option opts [Integer] :virtio_scsi_multi_queues The value of attribute `virtio_scsi_multi_queues`.
59628
+ #
57719
59629
  # @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
57720
59630
  #
57721
59631
  # @option opts [Vm, Hash] :vm The value of attribute `vm`.
@@ -57770,6 +59680,8 @@ module OvirtSDK4
57770
59680
  end
57771
59681
 
57772
59682
  module Architecture
59683
+ AARCH64 = 'aarch64'.freeze
59684
+ LOONGARCH64 = 'loongarch64'.freeze
57773
59685
  PPC64 = 'ppc64'.freeze
57774
59686
  S390X = 's390x'.freeze
57775
59687
  UNDEFINED = 'undefined'.freeze
@@ -57789,10 +59701,12 @@ module OvirtSDK4
57789
59701
  end
57790
59702
 
57791
59703
  module BackupPhase
59704
+ FAILED = 'failed'.freeze
57792
59705
  FINALIZING = 'finalizing'.freeze
57793
59706
  INITIALIZING = 'initializing'.freeze
57794
59707
  READY = 'ready'.freeze
57795
59708
  STARTING = 'starting'.freeze
59709
+ SUCCEEDED = 'succeeded'.freeze
57796
59710
  end
57797
59711
 
57798
59712
  module BiosType
@@ -57817,6 +59731,11 @@ module OvirtSDK4
57817
59731
  STATIC = 'static'.freeze
57818
59732
  end
57819
59733
 
59734
+ module CheckpointState
59735
+ CREATED = 'created'.freeze
59736
+ INVALID = 'invalid'.freeze
59737
+ end
59738
+
57820
59739
  module CloudInitNetworkProtocol
57821
59740
  ENI = 'eni'.freeze
57822
59741
  OPENSTACK_METADATA = 'openstack_metadata'.freeze
@@ -57825,6 +59744,7 @@ module OvirtSDK4
57825
59744
  module ClusterUpgradeAction
57826
59745
  FINISH = 'finish'.freeze
57827
59746
  START = 'start'.freeze
59747
+ UPDATE_PROGRESS = 'update_progress'.freeze
57828
59748
  end
57829
59749
 
57830
59750
  module ConfigurationType
@@ -57838,6 +59758,14 @@ module OvirtSDK4
57838
59758
  HOST_PASSTHROUGH = 'host_passthrough'.freeze
57839
59759
  end
57840
59760
 
59761
+ module CpuPinningPolicy
59762
+ DEDICATED = 'dedicated'.freeze
59763
+ ISOLATE_THREADS = 'isolate_threads'.freeze
59764
+ MANUAL = 'manual'.freeze
59765
+ NONE = 'none'.freeze
59766
+ RESIZE_AND_PIN_NUMA = 'resize_and_pin_numa'.freeze
59767
+ end
59768
+
57841
59769
  module CreationStatus
57842
59770
  COMPLETE = 'complete'.freeze
57843
59771
  FAILED = 'failed'.freeze
@@ -57865,6 +59793,7 @@ module OvirtSDK4
57865
59793
  end
57866
59794
 
57867
59795
  module DiskContentType
59796
+ BACKUP_SCRATCH = 'backup_scratch'.freeze
57868
59797
  DATA = 'data'.freeze
57869
59798
  HOSTED_ENGINE = 'hosted_engine'.freeze
57870
59799
  HOSTED_ENGINE_CONFIGURATION = 'hosted_engine_configuration'.freeze
@@ -58169,6 +60098,7 @@ module OvirtSDK4
58169
60098
 
58170
60099
  module NicInterface
58171
60100
  E1000 = 'e1000'.freeze
60101
+ E1000E = 'e1000e'.freeze
58172
60102
  PCI_PASSTHROUGH = 'pci_passthrough'.freeze
58173
60103
  RTL8139 = 'rtl8139'.freeze
58174
60104
  RTL8139_VIRTIO = 'rtl8139_virtio'.freeze
@@ -58194,6 +60124,7 @@ module OvirtSDK4
58194
60124
  ENGINE_CERTIFICATION_HAS_EXPIRED = 'engine_certification_has_expired'.freeze
58195
60125
  ENGINE_CERTIFICATION_IS_ABOUT_TO_EXPIRE = 'engine_certification_is_about_to_expire'.freeze
58196
60126
  ENGINE_STOP = 'engine_stop'.freeze
60127
+ FAULTY_MULTIPATHS_ON_HOST = 'faulty_multipaths_on_host'.freeze
58197
60128
  GLUSTER_BRICK_STATUS_CHANGED = 'gluster_brick_status_changed'.freeze
58198
60129
  GLUSTER_HOOK_ADD_FAILED = 'gluster_hook_add_failed'.freeze
58199
60130
  GLUSTER_HOOK_ADDED = 'gluster_hook_added'.freeze
@@ -58301,8 +60232,10 @@ module OvirtSDK4
58301
60232
  IRS_DISK_SPACE_LOW_ERROR = 'irs_disk_space_low_error'.freeze
58302
60233
  IRS_FAILURE = 'irs_failure'.freeze
58303
60234
  MAC_ADDRESS_IS_EXTERNAL = 'mac_address_is_external'.freeze
60235
+ MULTIPATH_DEVICES_WITHOUT_VALID_PATHS_ON_HOST = 'multipath_devices_without_valid_paths_on_host'.freeze
58304
60236
  NETWORK_UPDATE_DISPLAY_FOR_CLUSTER_WITH_ACTIVE_VM = 'network_update_display_for_cluster_with_active_vm'.freeze
58305
60237
  NETWORK_UPDATE_DISPLAY_FOR_HOST_WITH_ACTIVE_VM = 'network_update_display_for_host_with_active_vm'.freeze
60238
+ NO_FAULTY_MULTIPATHS_ON_HOST = 'no_faulty_multipaths_on_host'.freeze
58306
60239
  NUMBER_OF_LVS_ON_STORAGE_DOMAIN_EXCEEDED_THRESHOLD = 'number_of_lvs_on_storage_domain_exceeded_threshold'.freeze
58307
60240
  REMOVE_GLUSTER_VOLUME_BRICKS_NOT_FOUND_FROM_CLI = 'remove_gluster_volume_bricks_not_found_from_cli'.freeze
58308
60241
  START_REMOVING_GLUSTER_VOLUME_BRICKS = 'start_removing_gluster_volume_bricks'.freeze
@@ -58384,6 +60317,14 @@ module OvirtSDK4
58384
60317
  WINDOWS_XP = 'windows_xp'.freeze
58385
60318
  end
58386
60319
 
60320
+ module ParallelMigrationsPolicy
60321
+ AUTO = 'auto'.freeze
60322
+ AUTO_PARALLEL = 'auto_parallel'.freeze
60323
+ CUSTOM = 'custom'.freeze
60324
+ DISABLED = 'disabled'.freeze
60325
+ INHERIT = 'inherit'.freeze
60326
+ end
60327
+
58387
60328
  module PayloadEncoding
58388
60329
  BASE64 = 'base64'.freeze
58389
60330
  PLAINTEXT = 'plaintext'.freeze
@@ -58577,6 +60518,12 @@ module OvirtSDK4
58577
60518
  OK = 'ok'.freeze
58578
60519
  end
58579
60520
 
60521
+ module TpmSupport
60522
+ REQUIRED = 'required'.freeze
60523
+ SUPPORTED = 'supported'.freeze
60524
+ UNSUPPORTED = 'unsupported'.freeze
60525
+ end
60526
+
58580
60527
  module TransportType
58581
60528
  RDMA = 'rdma'.freeze
58582
60529
  TCP = 'tcp'.freeze