ovirt-engine-sdk 4.4.1 → 4.6.1
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.
- checksums.yaml +4 -4
- data/CHANGES.adoc +21 -3
- data/ext/ovirtsdk4c/ov_http_client.c +33 -23
- data/ext/ovirtsdk4c/ov_http_request.c +5 -5
- data/ext/ovirtsdk4c/ov_http_response.c +5 -5
- data/ext/ovirtsdk4c/ov_http_transfer.c +5 -5
- data/ext/ovirtsdk4c/ov_xml_reader.c +2 -2
- data/ext/ovirtsdk4c/ov_xml_writer.c +2 -2
- data/lib/ovirtsdk4/readers.rb +640 -0
- data/lib/ovirtsdk4/services.rb +2877 -2410
- data/lib/ovirtsdk4/types.rb +2299 -52
- data/lib/ovirtsdk4/version.rb +1 -1
- data/lib/ovirtsdk4/writers.rb +220 -0
- metadata +32 -16
data/lib/ovirtsdk4/types.rb
CHANGED
|
@@ -86,12 +86,21 @@ module OvirtSDK4
|
|
|
86
86
|
class DnsResolverConfiguration < Struct
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
+
class DynamicCpu < Struct
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
class EngineBackupInfo < Struct
|
|
93
|
+
end
|
|
94
|
+
|
|
89
95
|
class EntityProfileDetail < Struct
|
|
90
96
|
end
|
|
91
97
|
|
|
92
98
|
class ErrorHandling < Struct
|
|
93
99
|
end
|
|
94
100
|
|
|
101
|
+
class ExternalTemplateImport < Struct
|
|
102
|
+
end
|
|
103
|
+
|
|
95
104
|
class ExternalVmImport < Struct
|
|
96
105
|
end
|
|
97
106
|
|
|
@@ -614,6 +623,9 @@ module OvirtSDK4
|
|
|
614
623
|
class Host < Identified
|
|
615
624
|
end
|
|
616
625
|
|
|
626
|
+
class HostCpuUnit < Identified
|
|
627
|
+
end
|
|
628
|
+
|
|
617
629
|
class HostDevice < Identified
|
|
618
630
|
end
|
|
619
631
|
|
|
@@ -641,6 +653,9 @@ module OvirtSDK4
|
|
|
641
653
|
class Vm < VmBase
|
|
642
654
|
end
|
|
643
655
|
|
|
656
|
+
class VmMediatedDevice < Device
|
|
657
|
+
end
|
|
658
|
+
|
|
644
659
|
class Watchdog < Device
|
|
645
660
|
end
|
|
646
661
|
|
|
@@ -984,6 +999,31 @@ module OvirtSDK4
|
|
|
984
999
|
@effective_user = value
|
|
985
1000
|
end
|
|
986
1001
|
|
|
1002
|
+
#
|
|
1003
|
+
# Returns the value of the `engine_backup` attribute.
|
|
1004
|
+
#
|
|
1005
|
+
# @return [EngineBackupInfo]
|
|
1006
|
+
#
|
|
1007
|
+
def engine_backup
|
|
1008
|
+
@engine_backup
|
|
1009
|
+
end
|
|
1010
|
+
|
|
1011
|
+
#
|
|
1012
|
+
# Sets the value of the `engine_backup` attribute.
|
|
1013
|
+
#
|
|
1014
|
+
# @param value [EngineBackupInfo, Hash]
|
|
1015
|
+
#
|
|
1016
|
+
# The `value` parameter can be an instance of {OvirtSDK4::EngineBackupInfo} or a hash.
|
|
1017
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
1018
|
+
# `opts` parameter to the constructor.
|
|
1019
|
+
#
|
|
1020
|
+
def engine_backup=(value)
|
|
1021
|
+
if value.is_a?(Hash)
|
|
1022
|
+
value = EngineBackupInfo.new(value)
|
|
1023
|
+
end
|
|
1024
|
+
@engine_backup = value
|
|
1025
|
+
end
|
|
1026
|
+
|
|
987
1027
|
#
|
|
988
1028
|
# Returns the value of the `product_info` attribute.
|
|
989
1029
|
#
|
|
@@ -1088,6 +1128,8 @@ module OvirtSDK4
|
|
|
1088
1128
|
#
|
|
1089
1129
|
# @option opts [User, Hash] :effective_user The value of attribute `effective_user`.
|
|
1090
1130
|
#
|
|
1131
|
+
# @option opts [EngineBackupInfo, Hash] :engine_backup The value of attribute `engine_backup`.
|
|
1132
|
+
#
|
|
1091
1133
|
# @option opts [ProductInfo, Hash] :product_info The value of attribute `product_info`.
|
|
1092
1134
|
#
|
|
1093
1135
|
# @option opts [SpecialObjects, Hash] :special_objects The value of attribute `special_objects`.
|
|
@@ -1101,6 +1143,7 @@ module OvirtSDK4
|
|
|
1101
1143
|
super(opts)
|
|
1102
1144
|
self.authenticated_user = opts[:authenticated_user]
|
|
1103
1145
|
self.effective_user = opts[:effective_user]
|
|
1146
|
+
self.engine_backup = opts[:engine_backup]
|
|
1104
1147
|
self.product_info = opts[:product_info]
|
|
1105
1148
|
self.special_objects = opts[:special_objects]
|
|
1106
1149
|
self.summary = opts[:summary]
|
|
@@ -1114,6 +1157,7 @@ module OvirtSDK4
|
|
|
1114
1157
|
super &&
|
|
1115
1158
|
@authenticated_user == other.authenticated_user &&
|
|
1116
1159
|
@effective_user == other.effective_user &&
|
|
1160
|
+
@engine_backup == other.engine_backup &&
|
|
1117
1161
|
@product_info == other.product_info &&
|
|
1118
1162
|
@special_objects == other.special_objects &&
|
|
1119
1163
|
@summary == other.summary &&
|
|
@@ -1127,6 +1171,7 @@ module OvirtSDK4
|
|
|
1127
1171
|
super +
|
|
1128
1172
|
@authenticated_user.hash +
|
|
1129
1173
|
@effective_user.hash +
|
|
1174
|
+
@engine_backup.hash +
|
|
1130
1175
|
@product_info.hash +
|
|
1131
1176
|
@special_objects.hash +
|
|
1132
1177
|
@summary.hash +
|
|
@@ -2913,6 +2958,24 @@ module OvirtSDK4
|
|
|
2913
2958
|
@disconnect_action = value
|
|
2914
2959
|
end
|
|
2915
2960
|
|
|
2961
|
+
#
|
|
2962
|
+
# Returns the value of the `disconnect_action_delay` attribute.
|
|
2963
|
+
#
|
|
2964
|
+
# @return [Integer]
|
|
2965
|
+
#
|
|
2966
|
+
def disconnect_action_delay
|
|
2967
|
+
@disconnect_action_delay
|
|
2968
|
+
end
|
|
2969
|
+
|
|
2970
|
+
#
|
|
2971
|
+
# Sets the value of the `disconnect_action_delay` attribute.
|
|
2972
|
+
#
|
|
2973
|
+
# @param value [Integer]
|
|
2974
|
+
#
|
|
2975
|
+
def disconnect_action_delay=(value)
|
|
2976
|
+
@disconnect_action_delay = value
|
|
2977
|
+
end
|
|
2978
|
+
|
|
2916
2979
|
#
|
|
2917
2980
|
# Returns the value of the `file_transfer_enabled` attribute.
|
|
2918
2981
|
#
|
|
@@ -3075,6 +3138,24 @@ module OvirtSDK4
|
|
|
3075
3138
|
@type = value
|
|
3076
3139
|
end
|
|
3077
3140
|
|
|
3141
|
+
#
|
|
3142
|
+
# Returns the value of the `video_type` attribute.
|
|
3143
|
+
#
|
|
3144
|
+
# @return [VideoType]
|
|
3145
|
+
#
|
|
3146
|
+
def video_type
|
|
3147
|
+
@video_type
|
|
3148
|
+
end
|
|
3149
|
+
|
|
3150
|
+
#
|
|
3151
|
+
# Sets the value of the `video_type` attribute.
|
|
3152
|
+
#
|
|
3153
|
+
# @param value [VideoType]
|
|
3154
|
+
#
|
|
3155
|
+
def video_type=(value)
|
|
3156
|
+
@video_type = value
|
|
3157
|
+
end
|
|
3158
|
+
|
|
3078
3159
|
#
|
|
3079
3160
|
# Creates a new instance of the {Display} class.
|
|
3080
3161
|
#
|
|
@@ -3092,6 +3173,8 @@ module OvirtSDK4
|
|
|
3092
3173
|
#
|
|
3093
3174
|
# @option opts [String] :disconnect_action The value of attribute `disconnect_action`.
|
|
3094
3175
|
#
|
|
3176
|
+
# @option opts [Integer] :disconnect_action_delay The value of attribute `disconnect_action_delay`.
|
|
3177
|
+
#
|
|
3095
3178
|
# @option opts [Boolean] :file_transfer_enabled The value of attribute `file_transfer_enabled`.
|
|
3096
3179
|
#
|
|
3097
3180
|
# @option opts [String] :keyboard_layout The value of attribute `keyboard_layout`.
|
|
@@ -3110,6 +3193,8 @@ module OvirtSDK4
|
|
|
3110
3193
|
#
|
|
3111
3194
|
# @option opts [DisplayType] :type The value of attribute `type`.
|
|
3112
3195
|
#
|
|
3196
|
+
# @option opts [VideoType] :video_type The value of attribute `video_type`.
|
|
3197
|
+
#
|
|
3113
3198
|
#
|
|
3114
3199
|
def initialize(opts = {})
|
|
3115
3200
|
super(opts)
|
|
@@ -3118,6 +3203,7 @@ module OvirtSDK4
|
|
|
3118
3203
|
self.certificate = opts[:certificate]
|
|
3119
3204
|
self.copy_paste_enabled = opts[:copy_paste_enabled]
|
|
3120
3205
|
self.disconnect_action = opts[:disconnect_action]
|
|
3206
|
+
self.disconnect_action_delay = opts[:disconnect_action_delay]
|
|
3121
3207
|
self.file_transfer_enabled = opts[:file_transfer_enabled]
|
|
3122
3208
|
self.keyboard_layout = opts[:keyboard_layout]
|
|
3123
3209
|
self.monitors = opts[:monitors]
|
|
@@ -3127,6 +3213,7 @@ module OvirtSDK4
|
|
|
3127
3213
|
self.single_qxl_pci = opts[:single_qxl_pci]
|
|
3128
3214
|
self.smartcard_enabled = opts[:smartcard_enabled]
|
|
3129
3215
|
self.type = opts[:type]
|
|
3216
|
+
self.video_type = opts[:video_type]
|
|
3130
3217
|
end
|
|
3131
3218
|
|
|
3132
3219
|
#
|
|
@@ -3139,6 +3226,7 @@ module OvirtSDK4
|
|
|
3139
3226
|
@certificate == other.certificate &&
|
|
3140
3227
|
@copy_paste_enabled == other.copy_paste_enabled &&
|
|
3141
3228
|
@disconnect_action == other.disconnect_action &&
|
|
3229
|
+
@disconnect_action_delay == other.disconnect_action_delay &&
|
|
3142
3230
|
@file_transfer_enabled == other.file_transfer_enabled &&
|
|
3143
3231
|
@keyboard_layout == other.keyboard_layout &&
|
|
3144
3232
|
@monitors == other.monitors &&
|
|
@@ -3147,7 +3235,8 @@ module OvirtSDK4
|
|
|
3147
3235
|
@secure_port == other.secure_port &&
|
|
3148
3236
|
@single_qxl_pci == other.single_qxl_pci &&
|
|
3149
3237
|
@smartcard_enabled == other.smartcard_enabled &&
|
|
3150
|
-
@type == other.type
|
|
3238
|
+
@type == other.type &&
|
|
3239
|
+
@video_type == other.video_type
|
|
3151
3240
|
end
|
|
3152
3241
|
|
|
3153
3242
|
#
|
|
@@ -3160,6 +3249,7 @@ module OvirtSDK4
|
|
|
3160
3249
|
@certificate.hash +
|
|
3161
3250
|
@copy_paste_enabled.hash +
|
|
3162
3251
|
@disconnect_action.hash +
|
|
3252
|
+
@disconnect_action_delay.hash +
|
|
3163
3253
|
@file_transfer_enabled.hash +
|
|
3164
3254
|
@keyboard_layout.hash +
|
|
3165
3255
|
@monitors.hash +
|
|
@@ -3168,7 +3258,8 @@ module OvirtSDK4
|
|
|
3168
3258
|
@secure_port.hash +
|
|
3169
3259
|
@single_qxl_pci.hash +
|
|
3170
3260
|
@smartcard_enabled.hash +
|
|
3171
|
-
@type.hash
|
|
3261
|
+
@type.hash +
|
|
3262
|
+
@video_type.hash
|
|
3172
3263
|
end
|
|
3173
3264
|
|
|
3174
3265
|
end
|
|
@@ -3318,6 +3409,264 @@ module OvirtSDK4
|
|
|
3318
3409
|
|
|
3319
3410
|
end
|
|
3320
3411
|
|
|
3412
|
+
class DynamicCpu < Struct
|
|
3413
|
+
|
|
3414
|
+
#
|
|
3415
|
+
# Returns the value of the `cpu_tune` attribute.
|
|
3416
|
+
#
|
|
3417
|
+
# @return [CpuTune]
|
|
3418
|
+
#
|
|
3419
|
+
def cpu_tune
|
|
3420
|
+
@cpu_tune
|
|
3421
|
+
end
|
|
3422
|
+
|
|
3423
|
+
#
|
|
3424
|
+
# Sets the value of the `cpu_tune` attribute.
|
|
3425
|
+
#
|
|
3426
|
+
# @param value [CpuTune, Hash]
|
|
3427
|
+
#
|
|
3428
|
+
# The `value` parameter can be an instance of {OvirtSDK4::CpuTune} or a hash.
|
|
3429
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
3430
|
+
# `opts` parameter to the constructor.
|
|
3431
|
+
#
|
|
3432
|
+
def cpu_tune=(value)
|
|
3433
|
+
if value.is_a?(Hash)
|
|
3434
|
+
value = CpuTune.new(value)
|
|
3435
|
+
end
|
|
3436
|
+
@cpu_tune = value
|
|
3437
|
+
end
|
|
3438
|
+
|
|
3439
|
+
#
|
|
3440
|
+
# Returns the value of the `topology` attribute.
|
|
3441
|
+
#
|
|
3442
|
+
# @return [CpuTopology]
|
|
3443
|
+
#
|
|
3444
|
+
def topology
|
|
3445
|
+
@topology
|
|
3446
|
+
end
|
|
3447
|
+
|
|
3448
|
+
#
|
|
3449
|
+
# Sets the value of the `topology` attribute.
|
|
3450
|
+
#
|
|
3451
|
+
# @param value [CpuTopology, Hash]
|
|
3452
|
+
#
|
|
3453
|
+
# The `value` parameter can be an instance of {OvirtSDK4::CpuTopology} or a hash.
|
|
3454
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
3455
|
+
# `opts` parameter to the constructor.
|
|
3456
|
+
#
|
|
3457
|
+
def topology=(value)
|
|
3458
|
+
if value.is_a?(Hash)
|
|
3459
|
+
value = CpuTopology.new(value)
|
|
3460
|
+
end
|
|
3461
|
+
@topology = value
|
|
3462
|
+
end
|
|
3463
|
+
|
|
3464
|
+
#
|
|
3465
|
+
# Creates a new instance of the {DynamicCpu} class.
|
|
3466
|
+
#
|
|
3467
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
|
3468
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
3469
|
+
# should be the values of the attributes.
|
|
3470
|
+
#
|
|
3471
|
+
# @option opts [CpuTune, Hash] :cpu_tune The value of attribute `cpu_tune`.
|
|
3472
|
+
#
|
|
3473
|
+
# @option opts [CpuTopology, Hash] :topology The value of attribute `topology`.
|
|
3474
|
+
#
|
|
3475
|
+
#
|
|
3476
|
+
def initialize(opts = {})
|
|
3477
|
+
super(opts)
|
|
3478
|
+
self.cpu_tune = opts[:cpu_tune]
|
|
3479
|
+
self.topology = opts[:topology]
|
|
3480
|
+
end
|
|
3481
|
+
|
|
3482
|
+
#
|
|
3483
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
|
3484
|
+
#
|
|
3485
|
+
def ==(other)
|
|
3486
|
+
super &&
|
|
3487
|
+
@cpu_tune == other.cpu_tune &&
|
|
3488
|
+
@topology == other.topology
|
|
3489
|
+
end
|
|
3490
|
+
|
|
3491
|
+
#
|
|
3492
|
+
# Generates a hash value for this object.
|
|
3493
|
+
#
|
|
3494
|
+
def hash
|
|
3495
|
+
super +
|
|
3496
|
+
@cpu_tune.hash +
|
|
3497
|
+
@topology.hash
|
|
3498
|
+
end
|
|
3499
|
+
|
|
3500
|
+
end
|
|
3501
|
+
|
|
3502
|
+
class EngineBackupInfo < Struct
|
|
3503
|
+
|
|
3504
|
+
#
|
|
3505
|
+
# Returns the value of the `last_cinder_backup` attribute.
|
|
3506
|
+
#
|
|
3507
|
+
# @return [DateTime]
|
|
3508
|
+
#
|
|
3509
|
+
def last_cinder_backup
|
|
3510
|
+
@last_cinder_backup
|
|
3511
|
+
end
|
|
3512
|
+
|
|
3513
|
+
#
|
|
3514
|
+
# Sets the value of the `last_cinder_backup` attribute.
|
|
3515
|
+
#
|
|
3516
|
+
# @param value [DateTime]
|
|
3517
|
+
#
|
|
3518
|
+
def last_cinder_backup=(value)
|
|
3519
|
+
@last_cinder_backup = value
|
|
3520
|
+
end
|
|
3521
|
+
|
|
3522
|
+
#
|
|
3523
|
+
# Returns the value of the `last_db_backup` attribute.
|
|
3524
|
+
#
|
|
3525
|
+
# @return [DateTime]
|
|
3526
|
+
#
|
|
3527
|
+
def last_db_backup
|
|
3528
|
+
@last_db_backup
|
|
3529
|
+
end
|
|
3530
|
+
|
|
3531
|
+
#
|
|
3532
|
+
# Sets the value of the `last_db_backup` attribute.
|
|
3533
|
+
#
|
|
3534
|
+
# @param value [DateTime]
|
|
3535
|
+
#
|
|
3536
|
+
def last_db_backup=(value)
|
|
3537
|
+
@last_db_backup = value
|
|
3538
|
+
end
|
|
3539
|
+
|
|
3540
|
+
#
|
|
3541
|
+
# Returns the value of the `last_dwh_backup` attribute.
|
|
3542
|
+
#
|
|
3543
|
+
# @return [DateTime]
|
|
3544
|
+
#
|
|
3545
|
+
def last_dwh_backup
|
|
3546
|
+
@last_dwh_backup
|
|
3547
|
+
end
|
|
3548
|
+
|
|
3549
|
+
#
|
|
3550
|
+
# Sets the value of the `last_dwh_backup` attribute.
|
|
3551
|
+
#
|
|
3552
|
+
# @param value [DateTime]
|
|
3553
|
+
#
|
|
3554
|
+
def last_dwh_backup=(value)
|
|
3555
|
+
@last_dwh_backup = value
|
|
3556
|
+
end
|
|
3557
|
+
|
|
3558
|
+
#
|
|
3559
|
+
# Returns the value of the `last_engine_backup` attribute.
|
|
3560
|
+
#
|
|
3561
|
+
# @return [DateTime]
|
|
3562
|
+
#
|
|
3563
|
+
def last_engine_backup
|
|
3564
|
+
@last_engine_backup
|
|
3565
|
+
end
|
|
3566
|
+
|
|
3567
|
+
#
|
|
3568
|
+
# Sets the value of the `last_engine_backup` attribute.
|
|
3569
|
+
#
|
|
3570
|
+
# @param value [DateTime]
|
|
3571
|
+
#
|
|
3572
|
+
def last_engine_backup=(value)
|
|
3573
|
+
@last_engine_backup = value
|
|
3574
|
+
end
|
|
3575
|
+
|
|
3576
|
+
#
|
|
3577
|
+
# Returns the value of the `last_grafana_backup` attribute.
|
|
3578
|
+
#
|
|
3579
|
+
# @return [DateTime]
|
|
3580
|
+
#
|
|
3581
|
+
def last_grafana_backup
|
|
3582
|
+
@last_grafana_backup
|
|
3583
|
+
end
|
|
3584
|
+
|
|
3585
|
+
#
|
|
3586
|
+
# Sets the value of the `last_grafana_backup` attribute.
|
|
3587
|
+
#
|
|
3588
|
+
# @param value [DateTime]
|
|
3589
|
+
#
|
|
3590
|
+
def last_grafana_backup=(value)
|
|
3591
|
+
@last_grafana_backup = value
|
|
3592
|
+
end
|
|
3593
|
+
|
|
3594
|
+
#
|
|
3595
|
+
# Returns the value of the `last_keycloak_backup` attribute.
|
|
3596
|
+
#
|
|
3597
|
+
# @return [DateTime]
|
|
3598
|
+
#
|
|
3599
|
+
def last_keycloak_backup
|
|
3600
|
+
@last_keycloak_backup
|
|
3601
|
+
end
|
|
3602
|
+
|
|
3603
|
+
#
|
|
3604
|
+
# Sets the value of the `last_keycloak_backup` attribute.
|
|
3605
|
+
#
|
|
3606
|
+
# @param value [DateTime]
|
|
3607
|
+
#
|
|
3608
|
+
def last_keycloak_backup=(value)
|
|
3609
|
+
@last_keycloak_backup = value
|
|
3610
|
+
end
|
|
3611
|
+
|
|
3612
|
+
#
|
|
3613
|
+
# Creates a new instance of the {EngineBackupInfo} class.
|
|
3614
|
+
#
|
|
3615
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
|
3616
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
3617
|
+
# should be the values of the attributes.
|
|
3618
|
+
#
|
|
3619
|
+
# @option opts [DateTime] :last_cinder_backup The value of attribute `last_cinder_backup`.
|
|
3620
|
+
#
|
|
3621
|
+
# @option opts [DateTime] :last_db_backup The value of attribute `last_db_backup`.
|
|
3622
|
+
#
|
|
3623
|
+
# @option opts [DateTime] :last_dwh_backup The value of attribute `last_dwh_backup`.
|
|
3624
|
+
#
|
|
3625
|
+
# @option opts [DateTime] :last_engine_backup The value of attribute `last_engine_backup`.
|
|
3626
|
+
#
|
|
3627
|
+
# @option opts [DateTime] :last_grafana_backup The value of attribute `last_grafana_backup`.
|
|
3628
|
+
#
|
|
3629
|
+
# @option opts [DateTime] :last_keycloak_backup The value of attribute `last_keycloak_backup`.
|
|
3630
|
+
#
|
|
3631
|
+
#
|
|
3632
|
+
def initialize(opts = {})
|
|
3633
|
+
super(opts)
|
|
3634
|
+
self.last_cinder_backup = opts[:last_cinder_backup]
|
|
3635
|
+
self.last_db_backup = opts[:last_db_backup]
|
|
3636
|
+
self.last_dwh_backup = opts[:last_dwh_backup]
|
|
3637
|
+
self.last_engine_backup = opts[:last_engine_backup]
|
|
3638
|
+
self.last_grafana_backup = opts[:last_grafana_backup]
|
|
3639
|
+
self.last_keycloak_backup = opts[:last_keycloak_backup]
|
|
3640
|
+
end
|
|
3641
|
+
|
|
3642
|
+
#
|
|
3643
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
|
3644
|
+
#
|
|
3645
|
+
def ==(other)
|
|
3646
|
+
super &&
|
|
3647
|
+
@last_cinder_backup == other.last_cinder_backup &&
|
|
3648
|
+
@last_db_backup == other.last_db_backup &&
|
|
3649
|
+
@last_dwh_backup == other.last_dwh_backup &&
|
|
3650
|
+
@last_engine_backup == other.last_engine_backup &&
|
|
3651
|
+
@last_grafana_backup == other.last_grafana_backup &&
|
|
3652
|
+
@last_keycloak_backup == other.last_keycloak_backup
|
|
3653
|
+
end
|
|
3654
|
+
|
|
3655
|
+
#
|
|
3656
|
+
# Generates a hash value for this object.
|
|
3657
|
+
#
|
|
3658
|
+
def hash
|
|
3659
|
+
super +
|
|
3660
|
+
@last_cinder_backup.hash +
|
|
3661
|
+
@last_db_backup.hash +
|
|
3662
|
+
@last_dwh_backup.hash +
|
|
3663
|
+
@last_engine_backup.hash +
|
|
3664
|
+
@last_grafana_backup.hash +
|
|
3665
|
+
@last_keycloak_backup.hash
|
|
3666
|
+
end
|
|
3667
|
+
|
|
3668
|
+
end
|
|
3669
|
+
|
|
3321
3670
|
class EntityProfileDetail < Struct
|
|
3322
3671
|
|
|
3323
3672
|
#
|
|
@@ -3432,7 +3781,263 @@ module OvirtSDK4
|
|
|
3432
3781
|
|
|
3433
3782
|
end
|
|
3434
3783
|
|
|
3435
|
-
class
|
|
3784
|
+
class ExternalTemplateImport < Struct
|
|
3785
|
+
|
|
3786
|
+
#
|
|
3787
|
+
# Returns the value of the `clone` attribute.
|
|
3788
|
+
#
|
|
3789
|
+
# @return [Boolean]
|
|
3790
|
+
#
|
|
3791
|
+
def clone
|
|
3792
|
+
@clone
|
|
3793
|
+
end
|
|
3794
|
+
|
|
3795
|
+
#
|
|
3796
|
+
# Sets the value of the `clone` attribute.
|
|
3797
|
+
#
|
|
3798
|
+
# @param value [Boolean]
|
|
3799
|
+
#
|
|
3800
|
+
def clone=(value)
|
|
3801
|
+
@clone = value
|
|
3802
|
+
end
|
|
3803
|
+
|
|
3804
|
+
#
|
|
3805
|
+
# Returns the value of the `cluster` attribute.
|
|
3806
|
+
#
|
|
3807
|
+
# @return [Cluster]
|
|
3808
|
+
#
|
|
3809
|
+
def cluster
|
|
3810
|
+
@cluster
|
|
3811
|
+
end
|
|
3812
|
+
|
|
3813
|
+
#
|
|
3814
|
+
# Sets the value of the `cluster` attribute.
|
|
3815
|
+
#
|
|
3816
|
+
# @param value [Cluster, Hash]
|
|
3817
|
+
#
|
|
3818
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Cluster} or a hash.
|
|
3819
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
3820
|
+
# `opts` parameter to the constructor.
|
|
3821
|
+
#
|
|
3822
|
+
def cluster=(value)
|
|
3823
|
+
if value.is_a?(Hash)
|
|
3824
|
+
value = Cluster.new(value)
|
|
3825
|
+
end
|
|
3826
|
+
@cluster = value
|
|
3827
|
+
end
|
|
3828
|
+
|
|
3829
|
+
#
|
|
3830
|
+
# Returns the value of the `cpu_profile` attribute.
|
|
3831
|
+
#
|
|
3832
|
+
# @return [CpuProfile]
|
|
3833
|
+
#
|
|
3834
|
+
def cpu_profile
|
|
3835
|
+
@cpu_profile
|
|
3836
|
+
end
|
|
3837
|
+
|
|
3838
|
+
#
|
|
3839
|
+
# Sets the value of the `cpu_profile` attribute.
|
|
3840
|
+
#
|
|
3841
|
+
# @param value [CpuProfile, Hash]
|
|
3842
|
+
#
|
|
3843
|
+
# The `value` parameter can be an instance of {OvirtSDK4::CpuProfile} or a hash.
|
|
3844
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
3845
|
+
# `opts` parameter to the constructor.
|
|
3846
|
+
#
|
|
3847
|
+
def cpu_profile=(value)
|
|
3848
|
+
if value.is_a?(Hash)
|
|
3849
|
+
value = CpuProfile.new(value)
|
|
3850
|
+
end
|
|
3851
|
+
@cpu_profile = value
|
|
3852
|
+
end
|
|
3853
|
+
|
|
3854
|
+
#
|
|
3855
|
+
# Returns the value of the `host` attribute.
|
|
3856
|
+
#
|
|
3857
|
+
# @return [Host]
|
|
3858
|
+
#
|
|
3859
|
+
def host
|
|
3860
|
+
@host
|
|
3861
|
+
end
|
|
3862
|
+
|
|
3863
|
+
#
|
|
3864
|
+
# Sets the value of the `host` attribute.
|
|
3865
|
+
#
|
|
3866
|
+
# @param value [Host, Hash]
|
|
3867
|
+
#
|
|
3868
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Host} or a hash.
|
|
3869
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
3870
|
+
# `opts` parameter to the constructor.
|
|
3871
|
+
#
|
|
3872
|
+
def host=(value)
|
|
3873
|
+
if value.is_a?(Hash)
|
|
3874
|
+
value = Host.new(value)
|
|
3875
|
+
end
|
|
3876
|
+
@host = value
|
|
3877
|
+
end
|
|
3878
|
+
|
|
3879
|
+
#
|
|
3880
|
+
# Returns the value of the `quota` attribute.
|
|
3881
|
+
#
|
|
3882
|
+
# @return [Quota]
|
|
3883
|
+
#
|
|
3884
|
+
def quota
|
|
3885
|
+
@quota
|
|
3886
|
+
end
|
|
3887
|
+
|
|
3888
|
+
#
|
|
3889
|
+
# Sets the value of the `quota` attribute.
|
|
3890
|
+
#
|
|
3891
|
+
# @param value [Quota, Hash]
|
|
3892
|
+
#
|
|
3893
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Quota} or a hash.
|
|
3894
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
3895
|
+
# `opts` parameter to the constructor.
|
|
3896
|
+
#
|
|
3897
|
+
def quota=(value)
|
|
3898
|
+
if value.is_a?(Hash)
|
|
3899
|
+
value = Quota.new(value)
|
|
3900
|
+
end
|
|
3901
|
+
@quota = value
|
|
3902
|
+
end
|
|
3903
|
+
|
|
3904
|
+
#
|
|
3905
|
+
# Returns the value of the `storage_domain` attribute.
|
|
3906
|
+
#
|
|
3907
|
+
# @return [StorageDomain]
|
|
3908
|
+
#
|
|
3909
|
+
def storage_domain
|
|
3910
|
+
@storage_domain
|
|
3911
|
+
end
|
|
3912
|
+
|
|
3913
|
+
#
|
|
3914
|
+
# Sets the value of the `storage_domain` attribute.
|
|
3915
|
+
#
|
|
3916
|
+
# @param value [StorageDomain, Hash]
|
|
3917
|
+
#
|
|
3918
|
+
# The `value` parameter can be an instance of {OvirtSDK4::StorageDomain} or a hash.
|
|
3919
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
3920
|
+
# `opts` parameter to the constructor.
|
|
3921
|
+
#
|
|
3922
|
+
def storage_domain=(value)
|
|
3923
|
+
if value.is_a?(Hash)
|
|
3924
|
+
value = StorageDomain.new(value)
|
|
3925
|
+
end
|
|
3926
|
+
@storage_domain = value
|
|
3927
|
+
end
|
|
3928
|
+
|
|
3929
|
+
#
|
|
3930
|
+
# Returns the value of the `template` attribute.
|
|
3931
|
+
#
|
|
3932
|
+
# @return [Template]
|
|
3933
|
+
#
|
|
3934
|
+
def template
|
|
3935
|
+
@template
|
|
3936
|
+
end
|
|
3937
|
+
|
|
3938
|
+
#
|
|
3939
|
+
# Sets the value of the `template` attribute.
|
|
3940
|
+
#
|
|
3941
|
+
# @param value [Template, Hash]
|
|
3942
|
+
#
|
|
3943
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Template} or a hash.
|
|
3944
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
3945
|
+
# `opts` parameter to the constructor.
|
|
3946
|
+
#
|
|
3947
|
+
def template=(value)
|
|
3948
|
+
if value.is_a?(Hash)
|
|
3949
|
+
value = Template.new(value)
|
|
3950
|
+
end
|
|
3951
|
+
@template = value
|
|
3952
|
+
end
|
|
3953
|
+
|
|
3954
|
+
#
|
|
3955
|
+
# Returns the value of the `url` attribute.
|
|
3956
|
+
#
|
|
3957
|
+
# @return [String]
|
|
3958
|
+
#
|
|
3959
|
+
def url
|
|
3960
|
+
@url
|
|
3961
|
+
end
|
|
3962
|
+
|
|
3963
|
+
#
|
|
3964
|
+
# Sets the value of the `url` attribute.
|
|
3965
|
+
#
|
|
3966
|
+
# @param value [String]
|
|
3967
|
+
#
|
|
3968
|
+
def url=(value)
|
|
3969
|
+
@url = value
|
|
3970
|
+
end
|
|
3971
|
+
|
|
3972
|
+
#
|
|
3973
|
+
# Creates a new instance of the {ExternalTemplateImport} class.
|
|
3974
|
+
#
|
|
3975
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
|
3976
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
3977
|
+
# should be the values of the attributes.
|
|
3978
|
+
#
|
|
3979
|
+
# @option opts [Boolean] :clone The value of attribute `clone`.
|
|
3980
|
+
#
|
|
3981
|
+
# @option opts [Cluster, Hash] :cluster The value of attribute `cluster`.
|
|
3982
|
+
#
|
|
3983
|
+
# @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
|
|
3984
|
+
#
|
|
3985
|
+
# @option opts [Host, Hash] :host The value of attribute `host`.
|
|
3986
|
+
#
|
|
3987
|
+
# @option opts [Quota, Hash] :quota The value of attribute `quota`.
|
|
3988
|
+
#
|
|
3989
|
+
# @option opts [StorageDomain, Hash] :storage_domain The value of attribute `storage_domain`.
|
|
3990
|
+
#
|
|
3991
|
+
# @option opts [Template, Hash] :template The value of attribute `template`.
|
|
3992
|
+
#
|
|
3993
|
+
# @option opts [String] :url The value of attribute `url`.
|
|
3994
|
+
#
|
|
3995
|
+
#
|
|
3996
|
+
def initialize(opts = {})
|
|
3997
|
+
super(opts)
|
|
3998
|
+
self.clone = opts[:clone]
|
|
3999
|
+
self.cluster = opts[:cluster]
|
|
4000
|
+
self.cpu_profile = opts[:cpu_profile]
|
|
4001
|
+
self.host = opts[:host]
|
|
4002
|
+
self.quota = opts[:quota]
|
|
4003
|
+
self.storage_domain = opts[:storage_domain]
|
|
4004
|
+
self.template = opts[:template]
|
|
4005
|
+
self.url = opts[:url]
|
|
4006
|
+
end
|
|
4007
|
+
|
|
4008
|
+
#
|
|
4009
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
|
4010
|
+
#
|
|
4011
|
+
def ==(other)
|
|
4012
|
+
super &&
|
|
4013
|
+
@clone == other.clone &&
|
|
4014
|
+
@cluster == other.cluster &&
|
|
4015
|
+
@cpu_profile == other.cpu_profile &&
|
|
4016
|
+
@host == other.host &&
|
|
4017
|
+
@quota == other.quota &&
|
|
4018
|
+
@storage_domain == other.storage_domain &&
|
|
4019
|
+
@template == other.template &&
|
|
4020
|
+
@url == other.url
|
|
4021
|
+
end
|
|
4022
|
+
|
|
4023
|
+
#
|
|
4024
|
+
# Generates a hash value for this object.
|
|
4025
|
+
#
|
|
4026
|
+
def hash
|
|
4027
|
+
super +
|
|
4028
|
+
@clone.hash +
|
|
4029
|
+
@cluster.hash +
|
|
4030
|
+
@cpu_profile.hash +
|
|
4031
|
+
@host.hash +
|
|
4032
|
+
@quota.hash +
|
|
4033
|
+
@storage_domain.hash +
|
|
4034
|
+
@template.hash +
|
|
4035
|
+
@url.hash
|
|
4036
|
+
end
|
|
4037
|
+
|
|
4038
|
+
end
|
|
4039
|
+
|
|
4040
|
+
class ExternalVmImport < Struct
|
|
3436
4041
|
|
|
3437
4042
|
#
|
|
3438
4043
|
# Returns the value of the `cluster` attribute.
|
|
@@ -8344,6 +8949,24 @@ module OvirtSDK4
|
|
|
8344
8949
|
|
|
8345
8950
|
class LogicalUnit < Struct
|
|
8346
8951
|
|
|
8952
|
+
#
|
|
8953
|
+
# Returns the value of the `active_paths` attribute.
|
|
8954
|
+
#
|
|
8955
|
+
# @return [Integer]
|
|
8956
|
+
#
|
|
8957
|
+
def active_paths
|
|
8958
|
+
@active_paths
|
|
8959
|
+
end
|
|
8960
|
+
|
|
8961
|
+
#
|
|
8962
|
+
# Sets the value of the `active_paths` attribute.
|
|
8963
|
+
#
|
|
8964
|
+
# @param value [Integer]
|
|
8965
|
+
#
|
|
8966
|
+
def active_paths=(value)
|
|
8967
|
+
@active_paths = value
|
|
8968
|
+
end
|
|
8969
|
+
|
|
8347
8970
|
#
|
|
8348
8971
|
# Returns the value of the `address` attribute.
|
|
8349
8972
|
#
|
|
@@ -8693,6 +9316,8 @@ module OvirtSDK4
|
|
|
8693
9316
|
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
8694
9317
|
# should be the values of the attributes.
|
|
8695
9318
|
#
|
|
9319
|
+
# @option opts [Integer] :active_paths The value of attribute `active_paths`.
|
|
9320
|
+
#
|
|
8696
9321
|
# @option opts [String] :address The value of attribute `address`.
|
|
8697
9322
|
#
|
|
8698
9323
|
# @option opts [Integer] :discard_max_size The value of attribute `discard_max_size`.
|
|
@@ -8734,6 +9359,7 @@ module OvirtSDK4
|
|
|
8734
9359
|
#
|
|
8735
9360
|
def initialize(opts = {})
|
|
8736
9361
|
super(opts)
|
|
9362
|
+
self.active_paths = opts[:active_paths]
|
|
8737
9363
|
self.address = opts[:address]
|
|
8738
9364
|
self.discard_max_size = opts[:discard_max_size]
|
|
8739
9365
|
self.discard_zeroes_data = opts[:discard_zeroes_data]
|
|
@@ -8760,6 +9386,7 @@ module OvirtSDK4
|
|
|
8760
9386
|
#
|
|
8761
9387
|
def ==(other)
|
|
8762
9388
|
super &&
|
|
9389
|
+
@active_paths == other.active_paths &&
|
|
8763
9390
|
@address == other.address &&
|
|
8764
9391
|
@discard_max_size == other.discard_max_size &&
|
|
8765
9392
|
@discard_zeroes_data == other.discard_zeroes_data &&
|
|
@@ -8786,6 +9413,7 @@ module OvirtSDK4
|
|
|
8786
9413
|
#
|
|
8787
9414
|
def hash
|
|
8788
9415
|
super +
|
|
9416
|
+
@active_paths.hash +
|
|
8789
9417
|
@address.hash +
|
|
8790
9418
|
@discard_max_size.hash +
|
|
8791
9419
|
@discard_zeroes_data.hash +
|
|
@@ -8847,6 +9475,24 @@ module OvirtSDK4
|
|
|
8847
9475
|
@description = value
|
|
8848
9476
|
end
|
|
8849
9477
|
|
|
9478
|
+
#
|
|
9479
|
+
# Returns the value of the `human_readable_name` attribute.
|
|
9480
|
+
#
|
|
9481
|
+
# @return [String]
|
|
9482
|
+
#
|
|
9483
|
+
def human_readable_name
|
|
9484
|
+
@human_readable_name
|
|
9485
|
+
end
|
|
9486
|
+
|
|
9487
|
+
#
|
|
9488
|
+
# Sets the value of the `human_readable_name` attribute.
|
|
9489
|
+
#
|
|
9490
|
+
# @param value [String]
|
|
9491
|
+
#
|
|
9492
|
+
def human_readable_name=(value)
|
|
9493
|
+
@human_readable_name = value
|
|
9494
|
+
end
|
|
9495
|
+
|
|
8850
9496
|
#
|
|
8851
9497
|
# Returns the value of the `name` attribute.
|
|
8852
9498
|
#
|
|
@@ -8876,6 +9522,8 @@ module OvirtSDK4
|
|
|
8876
9522
|
#
|
|
8877
9523
|
# @option opts [String] :description The value of attribute `description`.
|
|
8878
9524
|
#
|
|
9525
|
+
# @option opts [String] :human_readable_name The value of attribute `human_readable_name`.
|
|
9526
|
+
#
|
|
8879
9527
|
# @option opts [String] :name The value of attribute `name`.
|
|
8880
9528
|
#
|
|
8881
9529
|
#
|
|
@@ -8883,6 +9531,7 @@ module OvirtSDK4
|
|
|
8883
9531
|
super(opts)
|
|
8884
9532
|
self.available_instances = opts[:available_instances]
|
|
8885
9533
|
self.description = opts[:description]
|
|
9534
|
+
self.human_readable_name = opts[:human_readable_name]
|
|
8886
9535
|
self.name = opts[:name]
|
|
8887
9536
|
end
|
|
8888
9537
|
|
|
@@ -8893,6 +9542,7 @@ module OvirtSDK4
|
|
|
8893
9542
|
super &&
|
|
8894
9543
|
@available_instances == other.available_instances &&
|
|
8895
9544
|
@description == other.description &&
|
|
9545
|
+
@human_readable_name == other.human_readable_name &&
|
|
8896
9546
|
@name == other.name
|
|
8897
9547
|
end
|
|
8898
9548
|
|
|
@@ -8903,6 +9553,7 @@ module OvirtSDK4
|
|
|
8903
9553
|
super +
|
|
8904
9554
|
@available_instances.hash +
|
|
8905
9555
|
@description.hash +
|
|
9556
|
+
@human_readable_name.hash +
|
|
8906
9557
|
@name.hash
|
|
8907
9558
|
end
|
|
8908
9559
|
|
|
@@ -9583,6 +10234,24 @@ module OvirtSDK4
|
|
|
9583
10234
|
@compressed = value
|
|
9584
10235
|
end
|
|
9585
10236
|
|
|
10237
|
+
#
|
|
10238
|
+
# Returns the value of the `custom_parallel_migrations` attribute.
|
|
10239
|
+
#
|
|
10240
|
+
# @return [Integer]
|
|
10241
|
+
#
|
|
10242
|
+
def custom_parallel_migrations
|
|
10243
|
+
@custom_parallel_migrations
|
|
10244
|
+
end
|
|
10245
|
+
|
|
10246
|
+
#
|
|
10247
|
+
# Sets the value of the `custom_parallel_migrations` attribute.
|
|
10248
|
+
#
|
|
10249
|
+
# @param value [Integer]
|
|
10250
|
+
#
|
|
10251
|
+
def custom_parallel_migrations=(value)
|
|
10252
|
+
@custom_parallel_migrations = value
|
|
10253
|
+
end
|
|
10254
|
+
|
|
9586
10255
|
#
|
|
9587
10256
|
# Returns the value of the `encrypted` attribute.
|
|
9588
10257
|
#
|
|
@@ -9601,6 +10270,24 @@ module OvirtSDK4
|
|
|
9601
10270
|
@encrypted = value
|
|
9602
10271
|
end
|
|
9603
10272
|
|
|
10273
|
+
#
|
|
10274
|
+
# Returns the value of the `parallel_migrations_policy` attribute.
|
|
10275
|
+
#
|
|
10276
|
+
# @return [ParallelMigrationsPolicy]
|
|
10277
|
+
#
|
|
10278
|
+
def parallel_migrations_policy
|
|
10279
|
+
@parallel_migrations_policy
|
|
10280
|
+
end
|
|
10281
|
+
|
|
10282
|
+
#
|
|
10283
|
+
# Sets the value of the `parallel_migrations_policy` attribute.
|
|
10284
|
+
#
|
|
10285
|
+
# @param value [ParallelMigrationsPolicy]
|
|
10286
|
+
#
|
|
10287
|
+
def parallel_migrations_policy=(value)
|
|
10288
|
+
@parallel_migrations_policy = value
|
|
10289
|
+
end
|
|
10290
|
+
|
|
9604
10291
|
#
|
|
9605
10292
|
# Returns the value of the `policy` attribute.
|
|
9606
10293
|
#
|
|
@@ -9639,8 +10326,12 @@ module OvirtSDK4
|
|
|
9639
10326
|
#
|
|
9640
10327
|
# @option opts [InheritableBoolean] :compressed The value of attribute `compressed`.
|
|
9641
10328
|
#
|
|
10329
|
+
# @option opts [Integer] :custom_parallel_migrations The value of attribute `custom_parallel_migrations`.
|
|
10330
|
+
#
|
|
9642
10331
|
# @option opts [InheritableBoolean] :encrypted The value of attribute `encrypted`.
|
|
9643
10332
|
#
|
|
10333
|
+
# @option opts [ParallelMigrationsPolicy] :parallel_migrations_policy The value of attribute `parallel_migrations_policy`.
|
|
10334
|
+
#
|
|
9644
10335
|
# @option opts [MigrationPolicy, Hash] :policy The value of attribute `policy`.
|
|
9645
10336
|
#
|
|
9646
10337
|
#
|
|
@@ -9649,7 +10340,9 @@ module OvirtSDK4
|
|
|
9649
10340
|
self.auto_converge = opts[:auto_converge]
|
|
9650
10341
|
self.bandwidth = opts[:bandwidth]
|
|
9651
10342
|
self.compressed = opts[:compressed]
|
|
10343
|
+
self.custom_parallel_migrations = opts[:custom_parallel_migrations]
|
|
9652
10344
|
self.encrypted = opts[:encrypted]
|
|
10345
|
+
self.parallel_migrations_policy = opts[:parallel_migrations_policy]
|
|
9653
10346
|
self.policy = opts[:policy]
|
|
9654
10347
|
end
|
|
9655
10348
|
|
|
@@ -9661,7 +10354,9 @@ module OvirtSDK4
|
|
|
9661
10354
|
@auto_converge == other.auto_converge &&
|
|
9662
10355
|
@bandwidth == other.bandwidth &&
|
|
9663
10356
|
@compressed == other.compressed &&
|
|
10357
|
+
@custom_parallel_migrations == other.custom_parallel_migrations &&
|
|
9664
10358
|
@encrypted == other.encrypted &&
|
|
10359
|
+
@parallel_migrations_policy == other.parallel_migrations_policy &&
|
|
9665
10360
|
@policy == other.policy
|
|
9666
10361
|
end
|
|
9667
10362
|
|
|
@@ -9673,7 +10368,9 @@ module OvirtSDK4
|
|
|
9673
10368
|
@auto_converge.hash +
|
|
9674
10369
|
@bandwidth.hash +
|
|
9675
10370
|
@compressed.hash +
|
|
10371
|
+
@custom_parallel_migrations.hash +
|
|
9676
10372
|
@encrypted.hash +
|
|
10373
|
+
@parallel_migrations_policy.hash +
|
|
9677
10374
|
@policy.hash
|
|
9678
10375
|
end
|
|
9679
10376
|
|
|
@@ -12982,6 +13679,24 @@ module OvirtSDK4
|
|
|
12982
13679
|
@custom_kernel_cmdline = value
|
|
12983
13680
|
end
|
|
12984
13681
|
|
|
13682
|
+
#
|
|
13683
|
+
# Returns the value of the `description` attribute.
|
|
13684
|
+
#
|
|
13685
|
+
# @return [String]
|
|
13686
|
+
#
|
|
13687
|
+
def description
|
|
13688
|
+
@description
|
|
13689
|
+
end
|
|
13690
|
+
|
|
13691
|
+
#
|
|
13692
|
+
# Sets the value of the `description` attribute.
|
|
13693
|
+
#
|
|
13694
|
+
# @param value [String]
|
|
13695
|
+
#
|
|
13696
|
+
def description=(value)
|
|
13697
|
+
@description = value
|
|
13698
|
+
end
|
|
13699
|
+
|
|
12985
13700
|
#
|
|
12986
13701
|
# Returns the value of the `initrd` attribute.
|
|
12987
13702
|
#
|
|
@@ -13092,6 +13807,8 @@ module OvirtSDK4
|
|
|
13092
13807
|
#
|
|
13093
13808
|
# @option opts [String] :custom_kernel_cmdline The value of attribute `custom_kernel_cmdline`.
|
|
13094
13809
|
#
|
|
13810
|
+
# @option opts [String] :description The value of attribute `description`.
|
|
13811
|
+
#
|
|
13095
13812
|
# @option opts [String] :initrd The value of attribute `initrd`.
|
|
13096
13813
|
#
|
|
13097
13814
|
# @option opts [String] :kernel The value of attribute `kernel`.
|
|
@@ -13108,6 +13825,7 @@ module OvirtSDK4
|
|
|
13108
13825
|
self.boot = opts[:boot]
|
|
13109
13826
|
self.cmdline = opts[:cmdline]
|
|
13110
13827
|
self.custom_kernel_cmdline = opts[:custom_kernel_cmdline]
|
|
13828
|
+
self.description = opts[:description]
|
|
13111
13829
|
self.initrd = opts[:initrd]
|
|
13112
13830
|
self.kernel = opts[:kernel]
|
|
13113
13831
|
self.reported_kernel_cmdline = opts[:reported_kernel_cmdline]
|
|
@@ -13123,6 +13841,7 @@ module OvirtSDK4
|
|
|
13123
13841
|
@boot == other.boot &&
|
|
13124
13842
|
@cmdline == other.cmdline &&
|
|
13125
13843
|
@custom_kernel_cmdline == other.custom_kernel_cmdline &&
|
|
13844
|
+
@description == other.description &&
|
|
13126
13845
|
@initrd == other.initrd &&
|
|
13127
13846
|
@kernel == other.kernel &&
|
|
13128
13847
|
@reported_kernel_cmdline == other.reported_kernel_cmdline &&
|
|
@@ -13138,6 +13857,7 @@ module OvirtSDK4
|
|
|
13138
13857
|
@boot.hash +
|
|
13139
13858
|
@cmdline.hash +
|
|
13140
13859
|
@custom_kernel_cmdline.hash +
|
|
13860
|
+
@description.hash +
|
|
13141
13861
|
@initrd.hash +
|
|
13142
13862
|
@kernel.hash +
|
|
13143
13863
|
@reported_kernel_cmdline.hash +
|
|
@@ -13289,6 +14009,24 @@ module OvirtSDK4
|
|
|
13289
14009
|
@small_icon = value
|
|
13290
14010
|
end
|
|
13291
14011
|
|
|
14012
|
+
#
|
|
14013
|
+
# Returns the value of the `tpm_support` attribute.
|
|
14014
|
+
#
|
|
14015
|
+
# @return [TpmSupport]
|
|
14016
|
+
#
|
|
14017
|
+
def tpm_support
|
|
14018
|
+
@tpm_support
|
|
14019
|
+
end
|
|
14020
|
+
|
|
14021
|
+
#
|
|
14022
|
+
# Sets the value of the `tpm_support` attribute.
|
|
14023
|
+
#
|
|
14024
|
+
# @param value [TpmSupport]
|
|
14025
|
+
#
|
|
14026
|
+
def tpm_support=(value)
|
|
14027
|
+
@tpm_support = value
|
|
14028
|
+
end
|
|
14029
|
+
|
|
13292
14030
|
#
|
|
13293
14031
|
# Creates a new instance of the {OperatingSystemInfo} class.
|
|
13294
14032
|
#
|
|
@@ -13310,12 +14048,15 @@ module OvirtSDK4
|
|
|
13310
14048
|
#
|
|
13311
14049
|
# @option opts [Icon, Hash] :small_icon The value of attribute `small_icon`.
|
|
13312
14050
|
#
|
|
14051
|
+
# @option opts [TpmSupport] :tpm_support The value of attribute `tpm_support`.
|
|
14052
|
+
#
|
|
13313
14053
|
#
|
|
13314
14054
|
def initialize(opts = {})
|
|
13315
14055
|
super(opts)
|
|
13316
14056
|
self.architecture = opts[:architecture]
|
|
13317
14057
|
self.large_icon = opts[:large_icon]
|
|
13318
14058
|
self.small_icon = opts[:small_icon]
|
|
14059
|
+
self.tpm_support = opts[:tpm_support]
|
|
13319
14060
|
end
|
|
13320
14061
|
|
|
13321
14062
|
#
|
|
@@ -13325,7 +14066,8 @@ module OvirtSDK4
|
|
|
13325
14066
|
super &&
|
|
13326
14067
|
@architecture == other.architecture &&
|
|
13327
14068
|
@large_icon == other.large_icon &&
|
|
13328
|
-
@small_icon == other.small_icon
|
|
14069
|
+
@small_icon == other.small_icon &&
|
|
14070
|
+
@tpm_support == other.tpm_support
|
|
13329
14071
|
end
|
|
13330
14072
|
|
|
13331
14073
|
#
|
|
@@ -13335,7 +14077,8 @@ module OvirtSDK4
|
|
|
13335
14077
|
super +
|
|
13336
14078
|
@architecture.hash +
|
|
13337
14079
|
@large_icon.hash +
|
|
13338
|
-
@small_icon.hash
|
|
14080
|
+
@small_icon.hash +
|
|
14081
|
+
@tpm_support.hash
|
|
13339
14082
|
end
|
|
13340
14083
|
|
|
13341
14084
|
end
|
|
@@ -25061,6 +25804,24 @@ module OvirtSDK4
|
|
|
25061
25804
|
|
|
25062
25805
|
class VmBase < Identified
|
|
25063
25806
|
|
|
25807
|
+
#
|
|
25808
|
+
# Returns the value of the `auto_pinning_policy` attribute.
|
|
25809
|
+
#
|
|
25810
|
+
# @return [AutoPinningPolicy]
|
|
25811
|
+
#
|
|
25812
|
+
def auto_pinning_policy
|
|
25813
|
+
@auto_pinning_policy
|
|
25814
|
+
end
|
|
25815
|
+
|
|
25816
|
+
#
|
|
25817
|
+
# Sets the value of the `auto_pinning_policy` attribute.
|
|
25818
|
+
#
|
|
25819
|
+
# @param value [AutoPinningPolicy]
|
|
25820
|
+
#
|
|
25821
|
+
def auto_pinning_policy=(value)
|
|
25822
|
+
@auto_pinning_policy = value
|
|
25823
|
+
end
|
|
25824
|
+
|
|
25064
25825
|
#
|
|
25065
25826
|
# Returns the value of the `bios` attribute.
|
|
25066
25827
|
#
|
|
@@ -25179,6 +25940,24 @@ module OvirtSDK4
|
|
|
25179
25940
|
@cpu = value
|
|
25180
25941
|
end
|
|
25181
25942
|
|
|
25943
|
+
#
|
|
25944
|
+
# Returns the value of the `cpu_pinning_policy` attribute.
|
|
25945
|
+
#
|
|
25946
|
+
# @return [CpuPinningPolicy]
|
|
25947
|
+
#
|
|
25948
|
+
def cpu_pinning_policy
|
|
25949
|
+
@cpu_pinning_policy
|
|
25950
|
+
end
|
|
25951
|
+
|
|
25952
|
+
#
|
|
25953
|
+
# Sets the value of the `cpu_pinning_policy` attribute.
|
|
25954
|
+
#
|
|
25955
|
+
# @param value [CpuPinningPolicy]
|
|
25956
|
+
#
|
|
25957
|
+
def cpu_pinning_policy=(value)
|
|
25958
|
+
@cpu_pinning_policy = value
|
|
25959
|
+
end
|
|
25960
|
+
|
|
25182
25961
|
#
|
|
25183
25962
|
# Returns the value of the `cpu_profile` attribute.
|
|
25184
25963
|
#
|
|
@@ -25993,6 +26772,24 @@ module OvirtSDK4
|
|
|
25993
26772
|
@time_zone = value
|
|
25994
26773
|
end
|
|
25995
26774
|
|
|
26775
|
+
#
|
|
26776
|
+
# Returns the value of the `tpm_enabled` attribute.
|
|
26777
|
+
#
|
|
26778
|
+
# @return [Boolean]
|
|
26779
|
+
#
|
|
26780
|
+
def tpm_enabled
|
|
26781
|
+
@tpm_enabled
|
|
26782
|
+
end
|
|
26783
|
+
|
|
26784
|
+
#
|
|
26785
|
+
# Sets the value of the `tpm_enabled` attribute.
|
|
26786
|
+
#
|
|
26787
|
+
# @param value [Boolean]
|
|
26788
|
+
#
|
|
26789
|
+
def tpm_enabled=(value)
|
|
26790
|
+
@tpm_enabled = value
|
|
26791
|
+
end
|
|
26792
|
+
|
|
25996
26793
|
#
|
|
25997
26794
|
# Returns the value of the `tunnel_migration` attribute.
|
|
25998
26795
|
#
|
|
@@ -26079,6 +26876,24 @@ module OvirtSDK4
|
|
|
26079
26876
|
@virtio_scsi = value
|
|
26080
26877
|
end
|
|
26081
26878
|
|
|
26879
|
+
#
|
|
26880
|
+
# Returns the value of the `virtio_scsi_multi_queues` attribute.
|
|
26881
|
+
#
|
|
26882
|
+
# @return [Integer]
|
|
26883
|
+
#
|
|
26884
|
+
def virtio_scsi_multi_queues
|
|
26885
|
+
@virtio_scsi_multi_queues
|
|
26886
|
+
end
|
|
26887
|
+
|
|
26888
|
+
#
|
|
26889
|
+
# Sets the value of the `virtio_scsi_multi_queues` attribute.
|
|
26890
|
+
#
|
|
26891
|
+
# @param value [Integer]
|
|
26892
|
+
#
|
|
26893
|
+
def virtio_scsi_multi_queues=(value)
|
|
26894
|
+
@virtio_scsi_multi_queues = value
|
|
26895
|
+
end
|
|
26896
|
+
|
|
26082
26897
|
#
|
|
26083
26898
|
# Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
|
26084
26899
|
#
|
|
@@ -26104,6 +26919,8 @@ module OvirtSDK4
|
|
|
26104
26919
|
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
26105
26920
|
# should be the values of the attributes.
|
|
26106
26921
|
#
|
|
26922
|
+
# @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
|
|
26923
|
+
#
|
|
26107
26924
|
# @option opts [Bios, Hash] :bios The value of attribute `bios`.
|
|
26108
26925
|
#
|
|
26109
26926
|
# @option opts [Cluster, Hash] :cluster The value of attribute `cluster`.
|
|
@@ -26114,6 +26931,8 @@ module OvirtSDK4
|
|
|
26114
26931
|
#
|
|
26115
26932
|
# @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
|
|
26116
26933
|
#
|
|
26934
|
+
# @option opts [CpuPinningPolicy] :cpu_pinning_policy The value of attribute `cpu_pinning_policy`.
|
|
26935
|
+
#
|
|
26117
26936
|
# @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
|
|
26118
26937
|
#
|
|
26119
26938
|
# @option opts [Integer] :cpu_shares The value of attribute `cpu_shares`.
|
|
@@ -26188,6 +27007,8 @@ module OvirtSDK4
|
|
|
26188
27007
|
#
|
|
26189
27008
|
# @option opts [TimeZone, Hash] :time_zone The value of attribute `time_zone`.
|
|
26190
27009
|
#
|
|
27010
|
+
# @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
|
|
27011
|
+
#
|
|
26191
27012
|
# @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
|
|
26192
27013
|
#
|
|
26193
27014
|
# @option opts [VmType] :type The value of attribute `type`.
|
|
@@ -26196,15 +27017,19 @@ module OvirtSDK4
|
|
|
26196
27017
|
#
|
|
26197
27018
|
# @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
|
|
26198
27019
|
#
|
|
27020
|
+
# @option opts [Integer] :virtio_scsi_multi_queues The value of attribute `virtio_scsi_multi_queues`.
|
|
27021
|
+
#
|
|
26199
27022
|
# @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
|
|
26200
27023
|
#
|
|
26201
27024
|
#
|
|
26202
27025
|
def initialize(opts = {})
|
|
26203
27026
|
super(opts)
|
|
27027
|
+
self.auto_pinning_policy = opts[:auto_pinning_policy]
|
|
26204
27028
|
self.bios = opts[:bios]
|
|
26205
27029
|
self.cluster = opts[:cluster]
|
|
26206
27030
|
self.console = opts[:console]
|
|
26207
27031
|
self.cpu = opts[:cpu]
|
|
27032
|
+
self.cpu_pinning_policy = opts[:cpu_pinning_policy]
|
|
26208
27033
|
self.cpu_profile = opts[:cpu_profile]
|
|
26209
27034
|
self.cpu_shares = opts[:cpu_shares]
|
|
26210
27035
|
self.creation_time = opts[:creation_time]
|
|
@@ -26239,10 +27064,12 @@ module OvirtSDK4
|
|
|
26239
27064
|
self.storage_domain = opts[:storage_domain]
|
|
26240
27065
|
self.storage_error_resume_behaviour = opts[:storage_error_resume_behaviour]
|
|
26241
27066
|
self.time_zone = opts[:time_zone]
|
|
27067
|
+
self.tpm_enabled = opts[:tpm_enabled]
|
|
26242
27068
|
self.tunnel_migration = opts[:tunnel_migration]
|
|
26243
27069
|
self.type = opts[:type]
|
|
26244
27070
|
self.usb = opts[:usb]
|
|
26245
27071
|
self.virtio_scsi = opts[:virtio_scsi]
|
|
27072
|
+
self.virtio_scsi_multi_queues = opts[:virtio_scsi_multi_queues]
|
|
26246
27073
|
self.virtio_scsi_multi_queues_enabled = opts[:virtio_scsi_multi_queues_enabled]
|
|
26247
27074
|
end
|
|
26248
27075
|
|
|
@@ -26251,10 +27078,12 @@ module OvirtSDK4
|
|
|
26251
27078
|
#
|
|
26252
27079
|
def ==(other)
|
|
26253
27080
|
super &&
|
|
27081
|
+
@auto_pinning_policy == other.auto_pinning_policy &&
|
|
26254
27082
|
@bios == other.bios &&
|
|
26255
27083
|
@cluster == other.cluster &&
|
|
26256
27084
|
@console == other.console &&
|
|
26257
27085
|
@cpu == other.cpu &&
|
|
27086
|
+
@cpu_pinning_policy == other.cpu_pinning_policy &&
|
|
26258
27087
|
@cpu_profile == other.cpu_profile &&
|
|
26259
27088
|
@cpu_shares == other.cpu_shares &&
|
|
26260
27089
|
@creation_time == other.creation_time &&
|
|
@@ -26289,10 +27118,12 @@ module OvirtSDK4
|
|
|
26289
27118
|
@storage_domain == other.storage_domain &&
|
|
26290
27119
|
@storage_error_resume_behaviour == other.storage_error_resume_behaviour &&
|
|
26291
27120
|
@time_zone == other.time_zone &&
|
|
27121
|
+
@tpm_enabled == other.tpm_enabled &&
|
|
26292
27122
|
@tunnel_migration == other.tunnel_migration &&
|
|
26293
27123
|
@type == other.type &&
|
|
26294
27124
|
@usb == other.usb &&
|
|
26295
27125
|
@virtio_scsi == other.virtio_scsi &&
|
|
27126
|
+
@virtio_scsi_multi_queues == other.virtio_scsi_multi_queues &&
|
|
26296
27127
|
@virtio_scsi_multi_queues_enabled == other.virtio_scsi_multi_queues_enabled
|
|
26297
27128
|
end
|
|
26298
27129
|
|
|
@@ -26301,10 +27132,12 @@ module OvirtSDK4
|
|
|
26301
27132
|
#
|
|
26302
27133
|
def hash
|
|
26303
27134
|
super +
|
|
27135
|
+
@auto_pinning_policy.hash +
|
|
26304
27136
|
@bios.hash +
|
|
26305
27137
|
@cluster.hash +
|
|
26306
27138
|
@console.hash +
|
|
26307
27139
|
@cpu.hash +
|
|
27140
|
+
@cpu_pinning_policy.hash +
|
|
26308
27141
|
@cpu_profile.hash +
|
|
26309
27142
|
@cpu_shares.hash +
|
|
26310
27143
|
@creation_time.hash +
|
|
@@ -26339,10 +27172,12 @@ module OvirtSDK4
|
|
|
26339
27172
|
@storage_domain.hash +
|
|
26340
27173
|
@storage_error_resume_behaviour.hash +
|
|
26341
27174
|
@time_zone.hash +
|
|
27175
|
+
@tpm_enabled.hash +
|
|
26342
27176
|
@tunnel_migration.hash +
|
|
26343
27177
|
@type.hash +
|
|
26344
27178
|
@usb.hash +
|
|
26345
27179
|
@virtio_scsi.hash +
|
|
27180
|
+
@virtio_scsi_multi_queues.hash +
|
|
26346
27181
|
@virtio_scsi_multi_queues_enabled.hash
|
|
26347
27182
|
end
|
|
26348
27183
|
|
|
@@ -26765,6 +27600,24 @@ module OvirtSDK4
|
|
|
26765
27600
|
@template = value
|
|
26766
27601
|
end
|
|
26767
27602
|
|
|
27603
|
+
#
|
|
27604
|
+
# Returns the value of the `tpm_enabled` attribute.
|
|
27605
|
+
#
|
|
27606
|
+
# @return [Boolean]
|
|
27607
|
+
#
|
|
27608
|
+
def tpm_enabled
|
|
27609
|
+
@tpm_enabled
|
|
27610
|
+
end
|
|
27611
|
+
|
|
27612
|
+
#
|
|
27613
|
+
# Sets the value of the `tpm_enabled` attribute.
|
|
27614
|
+
#
|
|
27615
|
+
# @param value [Boolean]
|
|
27616
|
+
#
|
|
27617
|
+
def tpm_enabled=(value)
|
|
27618
|
+
@tpm_enabled = value
|
|
27619
|
+
end
|
|
27620
|
+
|
|
26768
27621
|
#
|
|
26769
27622
|
# Returns the value of the `type` attribute.
|
|
26770
27623
|
#
|
|
@@ -26865,6 +27718,8 @@ module OvirtSDK4
|
|
|
26865
27718
|
#
|
|
26866
27719
|
# @option opts [Template, Hash] :template The value of attribute `template`.
|
|
26867
27720
|
#
|
|
27721
|
+
# @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
|
|
27722
|
+
#
|
|
26868
27723
|
# @option opts [VmPoolType] :type The value of attribute `type`.
|
|
26869
27724
|
#
|
|
26870
27725
|
# @option opts [Boolean] :use_latest_template_version The value of attribute `use_latest_template_version`.
|
|
@@ -26886,6 +27741,7 @@ module OvirtSDK4
|
|
|
26886
27741
|
self.soundcard_enabled = opts[:soundcard_enabled]
|
|
26887
27742
|
self.stateful = opts[:stateful]
|
|
26888
27743
|
self.template = opts[:template]
|
|
27744
|
+
self.tpm_enabled = opts[:tpm_enabled]
|
|
26889
27745
|
self.type = opts[:type]
|
|
26890
27746
|
self.use_latest_template_version = opts[:use_latest_template_version]
|
|
26891
27747
|
self.vm = opts[:vm]
|
|
@@ -26908,6 +27764,7 @@ module OvirtSDK4
|
|
|
26908
27764
|
@soundcard_enabled == other.soundcard_enabled &&
|
|
26909
27765
|
@stateful == other.stateful &&
|
|
26910
27766
|
@template == other.template &&
|
|
27767
|
+
@tpm_enabled == other.tpm_enabled &&
|
|
26911
27768
|
@type == other.type &&
|
|
26912
27769
|
@use_latest_template_version == other.use_latest_template_version &&
|
|
26913
27770
|
@vm == other.vm
|
|
@@ -26930,6 +27787,7 @@ module OvirtSDK4
|
|
|
26930
27787
|
@soundcard_enabled.hash +
|
|
26931
27788
|
@stateful.hash +
|
|
26932
27789
|
@template.hash +
|
|
27790
|
+
@tpm_enabled.hash +
|
|
26933
27791
|
@type.hash +
|
|
26934
27792
|
@use_latest_template_version.hash +
|
|
26935
27793
|
@vm.hash
|
|
@@ -27153,6 +28011,31 @@ module OvirtSDK4
|
|
|
27153
28011
|
@description = value
|
|
27154
28012
|
end
|
|
27155
28013
|
|
|
28014
|
+
#
|
|
28015
|
+
# Returns the value of the `failover` attribute.
|
|
28016
|
+
#
|
|
28017
|
+
# @return [VnicProfile]
|
|
28018
|
+
#
|
|
28019
|
+
def failover
|
|
28020
|
+
@failover
|
|
28021
|
+
end
|
|
28022
|
+
|
|
28023
|
+
#
|
|
28024
|
+
# Sets the value of the `failover` attribute.
|
|
28025
|
+
#
|
|
28026
|
+
# @param value [VnicProfile, Hash]
|
|
28027
|
+
#
|
|
28028
|
+
# The `value` parameter can be an instance of {OvirtSDK4::VnicProfile} or a hash.
|
|
28029
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
28030
|
+
# `opts` parameter to the constructor.
|
|
28031
|
+
#
|
|
28032
|
+
def failover=(value)
|
|
28033
|
+
if value.is_a?(Hash)
|
|
28034
|
+
value = VnicProfile.new(value)
|
|
28035
|
+
end
|
|
28036
|
+
@failover = value
|
|
28037
|
+
end
|
|
28038
|
+
|
|
27156
28039
|
#
|
|
27157
28040
|
# Returns the value of the `id` attribute.
|
|
27158
28041
|
#
|
|
@@ -27364,6 +28247,8 @@ module OvirtSDK4
|
|
|
27364
28247
|
#
|
|
27365
28248
|
# @option opts [String] :description The value of attribute `description`.
|
|
27366
28249
|
#
|
|
28250
|
+
# @option opts [VnicProfile, Hash] :failover The value of attribute `failover`.
|
|
28251
|
+
#
|
|
27367
28252
|
# @option opts [String] :id The value of attribute `id`.
|
|
27368
28253
|
#
|
|
27369
28254
|
# @option opts [Boolean] :migratable The value of attribute `migratable`.
|
|
@@ -27386,6 +28271,7 @@ module OvirtSDK4
|
|
|
27386
28271
|
def initialize(opts = {})
|
|
27387
28272
|
super(opts)
|
|
27388
28273
|
self.custom_properties = opts[:custom_properties]
|
|
28274
|
+
self.failover = opts[:failover]
|
|
27389
28275
|
self.migratable = opts[:migratable]
|
|
27390
28276
|
self.network = opts[:network]
|
|
27391
28277
|
self.network_filter = opts[:network_filter]
|
|
@@ -27401,6 +28287,7 @@ module OvirtSDK4
|
|
|
27401
28287
|
def ==(other)
|
|
27402
28288
|
super &&
|
|
27403
28289
|
@custom_properties == other.custom_properties &&
|
|
28290
|
+
@failover == other.failover &&
|
|
27404
28291
|
@migratable == other.migratable &&
|
|
27405
28292
|
@network == other.network &&
|
|
27406
28293
|
@network_filter == other.network_filter &&
|
|
@@ -27416,6 +28303,7 @@ module OvirtSDK4
|
|
|
27416
28303
|
def hash
|
|
27417
28304
|
super +
|
|
27418
28305
|
@custom_properties.hash +
|
|
28306
|
+
@failover.hash +
|
|
27419
28307
|
@migratable.hash +
|
|
27420
28308
|
@network.hash +
|
|
27421
28309
|
@network_filter.hash +
|
|
@@ -27889,6 +28777,24 @@ module OvirtSDK4
|
|
|
27889
28777
|
@async = value
|
|
27890
28778
|
end
|
|
27891
28779
|
|
|
28780
|
+
#
|
|
28781
|
+
# Returns the value of the `attach_wgt` attribute.
|
|
28782
|
+
#
|
|
28783
|
+
# @return [Boolean]
|
|
28784
|
+
#
|
|
28785
|
+
def attach_wgt
|
|
28786
|
+
@attach_wgt
|
|
28787
|
+
end
|
|
28788
|
+
|
|
28789
|
+
#
|
|
28790
|
+
# Sets the value of the `attach_wgt` attribute.
|
|
28791
|
+
#
|
|
28792
|
+
# @param value [Boolean]
|
|
28793
|
+
#
|
|
28794
|
+
def attach_wgt=(value)
|
|
28795
|
+
@attach_wgt = value
|
|
28796
|
+
end
|
|
28797
|
+
|
|
27892
28798
|
#
|
|
27893
28799
|
# Returns the value of the `attachment` attribute.
|
|
27894
28800
|
#
|
|
@@ -28185,6 +29091,24 @@ module OvirtSDK4
|
|
|
28185
29091
|
@connectivity_timeout = value
|
|
28186
29092
|
end
|
|
28187
29093
|
|
|
29094
|
+
#
|
|
29095
|
+
# Returns the value of the `correlation_id` attribute.
|
|
29096
|
+
#
|
|
29097
|
+
# @return [String]
|
|
29098
|
+
#
|
|
29099
|
+
def correlation_id
|
|
29100
|
+
@correlation_id
|
|
29101
|
+
end
|
|
29102
|
+
|
|
29103
|
+
#
|
|
29104
|
+
# Sets the value of the `correlation_id` attribute.
|
|
29105
|
+
#
|
|
29106
|
+
# @param value [String]
|
|
29107
|
+
#
|
|
29108
|
+
def correlation_id=(value)
|
|
29109
|
+
@correlation_id = value
|
|
29110
|
+
end
|
|
29111
|
+
|
|
28188
29112
|
#
|
|
28189
29113
|
# Returns the value of the `data_center` attribute.
|
|
28190
29114
|
#
|
|
@@ -28524,6 +29448,24 @@ module OvirtSDK4
|
|
|
28524
29448
|
@fix_layout = value
|
|
28525
29449
|
end
|
|
28526
29450
|
|
|
29451
|
+
#
|
|
29452
|
+
# Returns the value of the `follow` attribute.
|
|
29453
|
+
#
|
|
29454
|
+
# @return [String]
|
|
29455
|
+
#
|
|
29456
|
+
def follow
|
|
29457
|
+
@follow
|
|
29458
|
+
end
|
|
29459
|
+
|
|
29460
|
+
#
|
|
29461
|
+
# Sets the value of the `follow` attribute.
|
|
29462
|
+
#
|
|
29463
|
+
# @param value [String]
|
|
29464
|
+
#
|
|
29465
|
+
def follow=(value)
|
|
29466
|
+
@follow = value
|
|
29467
|
+
end
|
|
29468
|
+
|
|
28527
29469
|
#
|
|
28528
29470
|
# Returns the value of the `force` attribute.
|
|
28529
29471
|
#
|
|
@@ -29676,6 +30618,24 @@ module OvirtSDK4
|
|
|
29676
30618
|
@upgrade_action = value
|
|
29677
30619
|
end
|
|
29678
30620
|
|
|
30621
|
+
#
|
|
30622
|
+
# Returns the value of the `upgrade_percent_complete` attribute.
|
|
30623
|
+
#
|
|
30624
|
+
# @return [Integer]
|
|
30625
|
+
#
|
|
30626
|
+
def upgrade_percent_complete
|
|
30627
|
+
@upgrade_percent_complete
|
|
30628
|
+
end
|
|
30629
|
+
|
|
30630
|
+
#
|
|
30631
|
+
# Sets the value of the `upgrade_percent_complete` attribute.
|
|
30632
|
+
#
|
|
30633
|
+
# @param value [Integer]
|
|
30634
|
+
#
|
|
30635
|
+
def upgrade_percent_complete=(value)
|
|
30636
|
+
@upgrade_percent_complete = value
|
|
30637
|
+
end
|
|
30638
|
+
|
|
29679
30639
|
#
|
|
29680
30640
|
# Returns the value of the `use_cloud_init` attribute.
|
|
29681
30641
|
#
|
|
@@ -29855,6 +30815,8 @@ module OvirtSDK4
|
|
|
29855
30815
|
#
|
|
29856
30816
|
# @option opts [Boolean] :async The value of attribute `async`.
|
|
29857
30817
|
#
|
|
30818
|
+
# @option opts [Boolean] :attach_wgt The value of attribute `attach_wgt`.
|
|
30819
|
+
#
|
|
29858
30820
|
# @option opts [DiskAttachment, Hash] :attachment The value of attribute `attachment`.
|
|
29859
30821
|
#
|
|
29860
30822
|
# @option opts [AuthorizedKey, Hash] :authorized_key The value of attribute `authorized_key`.
|
|
@@ -29883,6 +30845,8 @@ module OvirtSDK4
|
|
|
29883
30845
|
#
|
|
29884
30846
|
# @option opts [Integer] :connectivity_timeout The value of attribute `connectivity_timeout`.
|
|
29885
30847
|
#
|
|
30848
|
+
# @option opts [String] :correlation_id The value of attribute `correlation_id`.
|
|
30849
|
+
#
|
|
29886
30850
|
# @option opts [DataCenter, Hash] :data_center The value of attribute `data_center`.
|
|
29887
30851
|
#
|
|
29888
30852
|
# @option opts [Boolean] :deploy_hosted_engine The value of attribute `deploy_hosted_engine`.
|
|
@@ -29915,6 +30879,8 @@ module OvirtSDK4
|
|
|
29915
30879
|
#
|
|
29916
30880
|
# @option opts [Boolean] :fix_layout The value of attribute `fix_layout`.
|
|
29917
30881
|
#
|
|
30882
|
+
# @option opts [String] :follow The value of attribute `follow`.
|
|
30883
|
+
#
|
|
29918
30884
|
# @option opts [Boolean] :force The value of attribute `force`.
|
|
29919
30885
|
#
|
|
29920
30886
|
# @option opts [GracePeriod, Hash] :grace_period The value of attribute `grace_period`.
|
|
@@ -30021,6 +30987,8 @@ module OvirtSDK4
|
|
|
30021
30987
|
#
|
|
30022
30988
|
# @option opts [ClusterUpgradeAction] :upgrade_action The value of attribute `upgrade_action`.
|
|
30023
30989
|
#
|
|
30990
|
+
# @option opts [Integer] :upgrade_percent_complete The value of attribute `upgrade_percent_complete`.
|
|
30991
|
+
#
|
|
30024
30992
|
# @option opts [Boolean] :use_cloud_init The value of attribute `use_cloud_init`.
|
|
30025
30993
|
#
|
|
30026
30994
|
# @option opts [Boolean] :use_ignition The value of attribute `use_ignition`.
|
|
@@ -30043,6 +31011,7 @@ module OvirtSDK4
|
|
|
30043
31011
|
self.activate = opts[:activate]
|
|
30044
31012
|
self.allow_partial_import = opts[:allow_partial_import]
|
|
30045
31013
|
self.async = opts[:async]
|
|
31014
|
+
self.attach_wgt = opts[:attach_wgt]
|
|
30046
31015
|
self.attachment = opts[:attachment]
|
|
30047
31016
|
self.authorized_key = opts[:authorized_key]
|
|
30048
31017
|
self.auto_pinning_policy = opts[:auto_pinning_policy]
|
|
@@ -30056,6 +31025,7 @@ module OvirtSDK4
|
|
|
30056
31025
|
self.commit_on_success = opts[:commit_on_success]
|
|
30057
31026
|
self.connection = opts[:connection]
|
|
30058
31027
|
self.connectivity_timeout = opts[:connectivity_timeout]
|
|
31028
|
+
self.correlation_id = opts[:correlation_id]
|
|
30059
31029
|
self.data_center = opts[:data_center]
|
|
30060
31030
|
self.deploy_hosted_engine = opts[:deploy_hosted_engine]
|
|
30061
31031
|
self.details = opts[:details]
|
|
@@ -30071,6 +31041,7 @@ module OvirtSDK4
|
|
|
30071
31041
|
self.filename = opts[:filename]
|
|
30072
31042
|
self.filter = opts[:filter]
|
|
30073
31043
|
self.fix_layout = opts[:fix_layout]
|
|
31044
|
+
self.follow = opts[:follow]
|
|
30074
31045
|
self.force = opts[:force]
|
|
30075
31046
|
self.grace_period = opts[:grace_period]
|
|
30076
31047
|
self.host = opts[:host]
|
|
@@ -30122,6 +31093,7 @@ module OvirtSDK4
|
|
|
30122
31093
|
self.timeout = opts[:timeout]
|
|
30123
31094
|
self.undeploy_hosted_engine = opts[:undeploy_hosted_engine]
|
|
30124
31095
|
self.upgrade_action = opts[:upgrade_action]
|
|
31096
|
+
self.upgrade_percent_complete = opts[:upgrade_percent_complete]
|
|
30125
31097
|
self.use_cloud_init = opts[:use_cloud_init]
|
|
30126
31098
|
self.use_ignition = opts[:use_ignition]
|
|
30127
31099
|
self.use_initialization = opts[:use_initialization]
|
|
@@ -30140,6 +31112,7 @@ module OvirtSDK4
|
|
|
30140
31112
|
@activate == other.activate &&
|
|
30141
31113
|
@allow_partial_import == other.allow_partial_import &&
|
|
30142
31114
|
@async == other.async &&
|
|
31115
|
+
@attach_wgt == other.attach_wgt &&
|
|
30143
31116
|
@attachment == other.attachment &&
|
|
30144
31117
|
@authorized_key == other.authorized_key &&
|
|
30145
31118
|
@auto_pinning_policy == other.auto_pinning_policy &&
|
|
@@ -30153,6 +31126,7 @@ module OvirtSDK4
|
|
|
30153
31126
|
@commit_on_success == other.commit_on_success &&
|
|
30154
31127
|
@connection == other.connection &&
|
|
30155
31128
|
@connectivity_timeout == other.connectivity_timeout &&
|
|
31129
|
+
@correlation_id == other.correlation_id &&
|
|
30156
31130
|
@data_center == other.data_center &&
|
|
30157
31131
|
@deploy_hosted_engine == other.deploy_hosted_engine &&
|
|
30158
31132
|
@details == other.details &&
|
|
@@ -30168,6 +31142,7 @@ module OvirtSDK4
|
|
|
30168
31142
|
@filename == other.filename &&
|
|
30169
31143
|
@filter == other.filter &&
|
|
30170
31144
|
@fix_layout == other.fix_layout &&
|
|
31145
|
+
@follow == other.follow &&
|
|
30171
31146
|
@force == other.force &&
|
|
30172
31147
|
@grace_period == other.grace_period &&
|
|
30173
31148
|
@host == other.host &&
|
|
@@ -30219,6 +31194,7 @@ module OvirtSDK4
|
|
|
30219
31194
|
@timeout == other.timeout &&
|
|
30220
31195
|
@undeploy_hosted_engine == other.undeploy_hosted_engine &&
|
|
30221
31196
|
@upgrade_action == other.upgrade_action &&
|
|
31197
|
+
@upgrade_percent_complete == other.upgrade_percent_complete &&
|
|
30222
31198
|
@use_cloud_init == other.use_cloud_init &&
|
|
30223
31199
|
@use_ignition == other.use_ignition &&
|
|
30224
31200
|
@use_initialization == other.use_initialization &&
|
|
@@ -30237,6 +31213,7 @@ module OvirtSDK4
|
|
|
30237
31213
|
@activate.hash +
|
|
30238
31214
|
@allow_partial_import.hash +
|
|
30239
31215
|
@async.hash +
|
|
31216
|
+
@attach_wgt.hash +
|
|
30240
31217
|
@attachment.hash +
|
|
30241
31218
|
@authorized_key.hash +
|
|
30242
31219
|
@auto_pinning_policy.hash +
|
|
@@ -30250,6 +31227,7 @@ module OvirtSDK4
|
|
|
30250
31227
|
@commit_on_success.hash +
|
|
30251
31228
|
@connection.hash +
|
|
30252
31229
|
@connectivity_timeout.hash +
|
|
31230
|
+
@correlation_id.hash +
|
|
30253
31231
|
@data_center.hash +
|
|
30254
31232
|
@deploy_hosted_engine.hash +
|
|
30255
31233
|
@details.hash +
|
|
@@ -30265,6 +31243,7 @@ module OvirtSDK4
|
|
|
30265
31243
|
@filename.hash +
|
|
30266
31244
|
@filter.hash +
|
|
30267
31245
|
@fix_layout.hash +
|
|
31246
|
+
@follow.hash +
|
|
30268
31247
|
@force.hash +
|
|
30269
31248
|
@grace_period.hash +
|
|
30270
31249
|
@host.hash +
|
|
@@ -30316,6 +31295,7 @@ module OvirtSDK4
|
|
|
30316
31295
|
@timeout.hash +
|
|
30317
31296
|
@undeploy_hosted_engine.hash +
|
|
30318
31297
|
@upgrade_action.hash +
|
|
31298
|
+
@upgrade_percent_complete.hash +
|
|
30319
31299
|
@use_cloud_init.hash +
|
|
30320
31300
|
@use_ignition.hash +
|
|
30321
31301
|
@use_initialization.hash +
|
|
@@ -30330,6 +31310,24 @@ module OvirtSDK4
|
|
|
30330
31310
|
|
|
30331
31311
|
class AffinityGroup < Identified
|
|
30332
31312
|
|
|
31313
|
+
#
|
|
31314
|
+
# Returns the value of the `broken` attribute.
|
|
31315
|
+
#
|
|
31316
|
+
# @return [Boolean]
|
|
31317
|
+
#
|
|
31318
|
+
def broken
|
|
31319
|
+
@broken
|
|
31320
|
+
end
|
|
31321
|
+
|
|
31322
|
+
#
|
|
31323
|
+
# Sets the value of the `broken` attribute.
|
|
31324
|
+
#
|
|
31325
|
+
# @param value [Boolean]
|
|
31326
|
+
#
|
|
31327
|
+
def broken=(value)
|
|
31328
|
+
@broken = value
|
|
31329
|
+
end
|
|
31330
|
+
|
|
30333
31331
|
#
|
|
30334
31332
|
# Returns the value of the `cluster` attribute.
|
|
30335
31333
|
#
|
|
@@ -30642,6 +31640,8 @@ module OvirtSDK4
|
|
|
30642
31640
|
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
30643
31641
|
# should be the values of the attributes.
|
|
30644
31642
|
#
|
|
31643
|
+
# @option opts [Boolean] :broken The value of attribute `broken`.
|
|
31644
|
+
#
|
|
30645
31645
|
# @option opts [Cluster, Hash] :cluster The value of attribute `cluster`.
|
|
30646
31646
|
#
|
|
30647
31647
|
# @option opts [String] :comment The value of attribute `comment`.
|
|
@@ -30673,6 +31673,7 @@ module OvirtSDK4
|
|
|
30673
31673
|
#
|
|
30674
31674
|
def initialize(opts = {})
|
|
30675
31675
|
super(opts)
|
|
31676
|
+
self.broken = opts[:broken]
|
|
30676
31677
|
self.cluster = opts[:cluster]
|
|
30677
31678
|
self.enforcing = opts[:enforcing]
|
|
30678
31679
|
self.host_labels = opts[:host_labels]
|
|
@@ -30690,6 +31691,7 @@ module OvirtSDK4
|
|
|
30690
31691
|
#
|
|
30691
31692
|
def ==(other)
|
|
30692
31693
|
super &&
|
|
31694
|
+
@broken == other.broken &&
|
|
30693
31695
|
@cluster == other.cluster &&
|
|
30694
31696
|
@enforcing == other.enforcing &&
|
|
30695
31697
|
@host_labels == other.host_labels &&
|
|
@@ -30707,6 +31709,7 @@ module OvirtSDK4
|
|
|
30707
31709
|
#
|
|
30708
31710
|
def hash
|
|
30709
31711
|
super +
|
|
31712
|
+
@broken.hash +
|
|
30710
31713
|
@cluster.hash +
|
|
30711
31714
|
@enforcing.hash +
|
|
30712
31715
|
@host_labels.hash +
|
|
@@ -31740,6 +32743,24 @@ module OvirtSDK4
|
|
|
31740
32743
|
@id = value
|
|
31741
32744
|
end
|
|
31742
32745
|
|
|
32746
|
+
#
|
|
32747
|
+
# Returns the value of the `modification_date` attribute.
|
|
32748
|
+
#
|
|
32749
|
+
# @return [DateTime]
|
|
32750
|
+
#
|
|
32751
|
+
def modification_date
|
|
32752
|
+
@modification_date
|
|
32753
|
+
end
|
|
32754
|
+
|
|
32755
|
+
#
|
|
32756
|
+
# Sets the value of the `modification_date` attribute.
|
|
32757
|
+
#
|
|
32758
|
+
# @param value [DateTime]
|
|
32759
|
+
#
|
|
32760
|
+
def modification_date=(value)
|
|
32761
|
+
@modification_date = value
|
|
32762
|
+
end
|
|
32763
|
+
|
|
31743
32764
|
#
|
|
31744
32765
|
# Returns the value of the `name` attribute.
|
|
31745
32766
|
#
|
|
@@ -31776,6 +32797,31 @@ module OvirtSDK4
|
|
|
31776
32797
|
@phase = value
|
|
31777
32798
|
end
|
|
31778
32799
|
|
|
32800
|
+
#
|
|
32801
|
+
# Returns the value of the `snapshot` attribute.
|
|
32802
|
+
#
|
|
32803
|
+
# @return [Snapshot]
|
|
32804
|
+
#
|
|
32805
|
+
def snapshot
|
|
32806
|
+
@snapshot
|
|
32807
|
+
end
|
|
32808
|
+
|
|
32809
|
+
#
|
|
32810
|
+
# Sets the value of the `snapshot` attribute.
|
|
32811
|
+
#
|
|
32812
|
+
# @param value [Snapshot, Hash]
|
|
32813
|
+
#
|
|
32814
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Snapshot} or a hash.
|
|
32815
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
32816
|
+
# `opts` parameter to the constructor.
|
|
32817
|
+
#
|
|
32818
|
+
def snapshot=(value)
|
|
32819
|
+
if value.is_a?(Hash)
|
|
32820
|
+
value = Snapshot.new(value)
|
|
32821
|
+
end
|
|
32822
|
+
@snapshot = value
|
|
32823
|
+
end
|
|
32824
|
+
|
|
31779
32825
|
#
|
|
31780
32826
|
# Returns the value of the `to_checkpoint_id` attribute.
|
|
31781
32827
|
#
|
|
@@ -31840,10 +32886,14 @@ module OvirtSDK4
|
|
|
31840
32886
|
#
|
|
31841
32887
|
# @option opts [String] :id The value of attribute `id`.
|
|
31842
32888
|
#
|
|
32889
|
+
# @option opts [DateTime] :modification_date The value of attribute `modification_date`.
|
|
32890
|
+
#
|
|
31843
32891
|
# @option opts [String] :name The value of attribute `name`.
|
|
31844
32892
|
#
|
|
31845
32893
|
# @option opts [BackupPhase] :phase The value of attribute `phase`.
|
|
31846
32894
|
#
|
|
32895
|
+
# @option opts [Snapshot, Hash] :snapshot The value of attribute `snapshot`.
|
|
32896
|
+
#
|
|
31847
32897
|
# @option opts [String] :to_checkpoint_id The value of attribute `to_checkpoint_id`.
|
|
31848
32898
|
#
|
|
31849
32899
|
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
|
@@ -31855,7 +32905,9 @@ module OvirtSDK4
|
|
|
31855
32905
|
self.disks = opts[:disks]
|
|
31856
32906
|
self.from_checkpoint_id = opts[:from_checkpoint_id]
|
|
31857
32907
|
self.host = opts[:host]
|
|
32908
|
+
self.modification_date = opts[:modification_date]
|
|
31858
32909
|
self.phase = opts[:phase]
|
|
32910
|
+
self.snapshot = opts[:snapshot]
|
|
31859
32911
|
self.to_checkpoint_id = opts[:to_checkpoint_id]
|
|
31860
32912
|
self.vm = opts[:vm]
|
|
31861
32913
|
end
|
|
@@ -31869,7 +32921,9 @@ module OvirtSDK4
|
|
|
31869
32921
|
@disks == other.disks &&
|
|
31870
32922
|
@from_checkpoint_id == other.from_checkpoint_id &&
|
|
31871
32923
|
@host == other.host &&
|
|
32924
|
+
@modification_date == other.modification_date &&
|
|
31872
32925
|
@phase == other.phase &&
|
|
32926
|
+
@snapshot == other.snapshot &&
|
|
31873
32927
|
@to_checkpoint_id == other.to_checkpoint_id &&
|
|
31874
32928
|
@vm == other.vm
|
|
31875
32929
|
end
|
|
@@ -31883,7 +32937,9 @@ module OvirtSDK4
|
|
|
31883
32937
|
@disks.hash +
|
|
31884
32938
|
@from_checkpoint_id.hash +
|
|
31885
32939
|
@host.hash +
|
|
32940
|
+
@modification_date.hash +
|
|
31886
32941
|
@phase.hash +
|
|
32942
|
+
@snapshot.hash +
|
|
31887
32943
|
@to_checkpoint_id.hash +
|
|
31888
32944
|
@vm.hash
|
|
31889
32945
|
end
|
|
@@ -32596,6 +33652,24 @@ module OvirtSDK4
|
|
|
32596
33652
|
@parent_id = value
|
|
32597
33653
|
end
|
|
32598
33654
|
|
|
33655
|
+
#
|
|
33656
|
+
# Returns the value of the `state` attribute.
|
|
33657
|
+
#
|
|
33658
|
+
# @return [CheckpointState]
|
|
33659
|
+
#
|
|
33660
|
+
def state
|
|
33661
|
+
@state
|
|
33662
|
+
end
|
|
33663
|
+
|
|
33664
|
+
#
|
|
33665
|
+
# Sets the value of the `state` attribute.
|
|
33666
|
+
#
|
|
33667
|
+
# @param value [CheckpointState]
|
|
33668
|
+
#
|
|
33669
|
+
def state=(value)
|
|
33670
|
+
@state = value
|
|
33671
|
+
end
|
|
33672
|
+
|
|
32599
33673
|
#
|
|
32600
33674
|
# Returns the value of the `vm` attribute.
|
|
32601
33675
|
#
|
|
@@ -32642,6 +33716,8 @@ module OvirtSDK4
|
|
|
32642
33716
|
#
|
|
32643
33717
|
# @option opts [String] :parent_id The value of attribute `parent_id`.
|
|
32644
33718
|
#
|
|
33719
|
+
# @option opts [CheckpointState] :state The value of attribute `state`.
|
|
33720
|
+
#
|
|
32645
33721
|
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
|
32646
33722
|
#
|
|
32647
33723
|
#
|
|
@@ -32650,6 +33726,7 @@ module OvirtSDK4
|
|
|
32650
33726
|
self.creation_date = opts[:creation_date]
|
|
32651
33727
|
self.disks = opts[:disks]
|
|
32652
33728
|
self.parent_id = opts[:parent_id]
|
|
33729
|
+
self.state = opts[:state]
|
|
32653
33730
|
self.vm = opts[:vm]
|
|
32654
33731
|
end
|
|
32655
33732
|
|
|
@@ -32661,6 +33738,7 @@ module OvirtSDK4
|
|
|
32661
33738
|
@creation_date == other.creation_date &&
|
|
32662
33739
|
@disks == other.disks &&
|
|
32663
33740
|
@parent_id == other.parent_id &&
|
|
33741
|
+
@state == other.state &&
|
|
32664
33742
|
@vm == other.vm
|
|
32665
33743
|
end
|
|
32666
33744
|
|
|
@@ -32672,6 +33750,7 @@ module OvirtSDK4
|
|
|
32672
33750
|
@creation_date.hash +
|
|
32673
33751
|
@disks.hash +
|
|
32674
33752
|
@parent_id.hash +
|
|
33753
|
+
@state.hash +
|
|
32675
33754
|
@vm.hash
|
|
32676
33755
|
end
|
|
32677
33756
|
|
|
@@ -33625,6 +34704,60 @@ module OvirtSDK4
|
|
|
33625
34704
|
@tunnel_migration = value
|
|
33626
34705
|
end
|
|
33627
34706
|
|
|
34707
|
+
#
|
|
34708
|
+
# Returns the value of the `upgrade_correlation_id` attribute.
|
|
34709
|
+
#
|
|
34710
|
+
# @return [String]
|
|
34711
|
+
#
|
|
34712
|
+
def upgrade_correlation_id
|
|
34713
|
+
@upgrade_correlation_id
|
|
34714
|
+
end
|
|
34715
|
+
|
|
34716
|
+
#
|
|
34717
|
+
# Sets the value of the `upgrade_correlation_id` attribute.
|
|
34718
|
+
#
|
|
34719
|
+
# @param value [String]
|
|
34720
|
+
#
|
|
34721
|
+
def upgrade_correlation_id=(value)
|
|
34722
|
+
@upgrade_correlation_id = value
|
|
34723
|
+
end
|
|
34724
|
+
|
|
34725
|
+
#
|
|
34726
|
+
# Returns the value of the `upgrade_in_progress` attribute.
|
|
34727
|
+
#
|
|
34728
|
+
# @return [Boolean]
|
|
34729
|
+
#
|
|
34730
|
+
def upgrade_in_progress
|
|
34731
|
+
@upgrade_in_progress
|
|
34732
|
+
end
|
|
34733
|
+
|
|
34734
|
+
#
|
|
34735
|
+
# Sets the value of the `upgrade_in_progress` attribute.
|
|
34736
|
+
#
|
|
34737
|
+
# @param value [Boolean]
|
|
34738
|
+
#
|
|
34739
|
+
def upgrade_in_progress=(value)
|
|
34740
|
+
@upgrade_in_progress = value
|
|
34741
|
+
end
|
|
34742
|
+
|
|
34743
|
+
#
|
|
34744
|
+
# Returns the value of the `upgrade_percent_complete` attribute.
|
|
34745
|
+
#
|
|
34746
|
+
# @return [Integer]
|
|
34747
|
+
#
|
|
34748
|
+
def upgrade_percent_complete
|
|
34749
|
+
@upgrade_percent_complete
|
|
34750
|
+
end
|
|
34751
|
+
|
|
34752
|
+
#
|
|
34753
|
+
# Sets the value of the `upgrade_percent_complete` attribute.
|
|
34754
|
+
#
|
|
34755
|
+
# @param value [Integer]
|
|
34756
|
+
#
|
|
34757
|
+
def upgrade_percent_complete=(value)
|
|
34758
|
+
@upgrade_percent_complete = value
|
|
34759
|
+
end
|
|
34760
|
+
|
|
33628
34761
|
#
|
|
33629
34762
|
# Returns the value of the `version` attribute.
|
|
33630
34763
|
#
|
|
@@ -33779,6 +34912,12 @@ module OvirtSDK4
|
|
|
33779
34912
|
#
|
|
33780
34913
|
# @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
|
|
33781
34914
|
#
|
|
34915
|
+
# @option opts [String] :upgrade_correlation_id The value of attribute `upgrade_correlation_id`.
|
|
34916
|
+
#
|
|
34917
|
+
# @option opts [Boolean] :upgrade_in_progress The value of attribute `upgrade_in_progress`.
|
|
34918
|
+
#
|
|
34919
|
+
# @option opts [Integer] :upgrade_percent_complete The value of attribute `upgrade_percent_complete`.
|
|
34920
|
+
#
|
|
33782
34921
|
# @option opts [Version, Hash] :version The value of attribute `version`.
|
|
33783
34922
|
#
|
|
33784
34923
|
# @option opts [Boolean] :virt_service The value of attribute `virt_service`.
|
|
@@ -33827,6 +34966,9 @@ module OvirtSDK4
|
|
|
33827
34966
|
self.threads_as_cores = opts[:threads_as_cores]
|
|
33828
34967
|
self.trusted_service = opts[:trusted_service]
|
|
33829
34968
|
self.tunnel_migration = opts[:tunnel_migration]
|
|
34969
|
+
self.upgrade_correlation_id = opts[:upgrade_correlation_id]
|
|
34970
|
+
self.upgrade_in_progress = opts[:upgrade_in_progress]
|
|
34971
|
+
self.upgrade_percent_complete = opts[:upgrade_percent_complete]
|
|
33830
34972
|
self.version = opts[:version]
|
|
33831
34973
|
self.virt_service = opts[:virt_service]
|
|
33832
34974
|
self.vnc_encryption = opts[:vnc_encryption]
|
|
@@ -33876,6 +35018,9 @@ module OvirtSDK4
|
|
|
33876
35018
|
@threads_as_cores == other.threads_as_cores &&
|
|
33877
35019
|
@trusted_service == other.trusted_service &&
|
|
33878
35020
|
@tunnel_migration == other.tunnel_migration &&
|
|
35021
|
+
@upgrade_correlation_id == other.upgrade_correlation_id &&
|
|
35022
|
+
@upgrade_in_progress == other.upgrade_in_progress &&
|
|
35023
|
+
@upgrade_percent_complete == other.upgrade_percent_complete &&
|
|
33879
35024
|
@version == other.version &&
|
|
33880
35025
|
@virt_service == other.virt_service &&
|
|
33881
35026
|
@vnc_encryption == other.vnc_encryption
|
|
@@ -33925,6 +35070,9 @@ module OvirtSDK4
|
|
|
33925
35070
|
@threads_as_cores.hash +
|
|
33926
35071
|
@trusted_service.hash +
|
|
33927
35072
|
@tunnel_migration.hash +
|
|
35073
|
+
@upgrade_correlation_id.hash +
|
|
35074
|
+
@upgrade_in_progress.hash +
|
|
35075
|
+
@upgrade_percent_complete.hash +
|
|
33928
35076
|
@version.hash +
|
|
33929
35077
|
@virt_service.hash +
|
|
33930
35078
|
@vnc_encryption.hash
|
|
@@ -43511,6 +44659,32 @@ module OvirtSDK4
|
|
|
43511
44659
|
@cpu = value
|
|
43512
44660
|
end
|
|
43513
44661
|
|
|
44662
|
+
#
|
|
44663
|
+
# Returns the value of the `cpu_units` attribute.
|
|
44664
|
+
#
|
|
44665
|
+
# @return [Array<HostCpuUnit>]
|
|
44666
|
+
#
|
|
44667
|
+
def cpu_units
|
|
44668
|
+
@cpu_units
|
|
44669
|
+
end
|
|
44670
|
+
|
|
44671
|
+
#
|
|
44672
|
+
# Sets the value of the `cpu_units` attribute.
|
|
44673
|
+
#
|
|
44674
|
+
# @param list [Array<HostCpuUnit>]
|
|
44675
|
+
#
|
|
44676
|
+
def cpu_units=(list)
|
|
44677
|
+
if list.class == Array
|
|
44678
|
+
list = List.new(list)
|
|
44679
|
+
list.each_with_index do |value, index|
|
|
44680
|
+
if value.is_a?(Hash)
|
|
44681
|
+
list[index] = HostCpuUnit.new(value)
|
|
44682
|
+
end
|
|
44683
|
+
end
|
|
44684
|
+
end
|
|
44685
|
+
@cpu_units = list
|
|
44686
|
+
end
|
|
44687
|
+
|
|
43514
44688
|
#
|
|
43515
44689
|
# Returns the value of the `description` attribute.
|
|
43516
44690
|
#
|
|
@@ -44098,6 +45272,24 @@ module OvirtSDK4
|
|
|
44098
45272
|
@override_iptables = value
|
|
44099
45273
|
end
|
|
44100
45274
|
|
|
45275
|
+
#
|
|
45276
|
+
# Returns the value of the `ovn_configured` attribute.
|
|
45277
|
+
#
|
|
45278
|
+
# @return [Boolean]
|
|
45279
|
+
#
|
|
45280
|
+
def ovn_configured
|
|
45281
|
+
@ovn_configured
|
|
45282
|
+
end
|
|
45283
|
+
|
|
45284
|
+
#
|
|
45285
|
+
# Sets the value of the `ovn_configured` attribute.
|
|
45286
|
+
#
|
|
45287
|
+
# @param value [Boolean]
|
|
45288
|
+
#
|
|
45289
|
+
def ovn_configured=(value)
|
|
45290
|
+
@ovn_configured = value
|
|
45291
|
+
end
|
|
45292
|
+
|
|
44101
45293
|
#
|
|
44102
45294
|
# Returns the value of the `permissions` attribute.
|
|
44103
45295
|
#
|
|
@@ -44614,6 +45806,8 @@ module OvirtSDK4
|
|
|
44614
45806
|
#
|
|
44615
45807
|
# @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
|
|
44616
45808
|
#
|
|
45809
|
+
# @option opts [Array<HostCpuUnit>, Array<Hash>] :cpu_units The values of attribute `cpu_units`.
|
|
45810
|
+
#
|
|
44617
45811
|
# @option opts [String] :description The value of attribute `description`.
|
|
44618
45812
|
#
|
|
44619
45813
|
# @option opts [HostDevicePassthrough, Hash] :device_passthrough The value of attribute `device_passthrough`.
|
|
@@ -44666,6 +45860,8 @@ module OvirtSDK4
|
|
|
44666
45860
|
#
|
|
44667
45861
|
# @option opts [Boolean] :override_iptables The value of attribute `override_iptables`.
|
|
44668
45862
|
#
|
|
45863
|
+
# @option opts [Boolean] :ovn_configured The value of attribute `ovn_configured`.
|
|
45864
|
+
#
|
|
44669
45865
|
# @option opts [Array<Permission>, Array<Hash>] :permissions The values of attribute `permissions`.
|
|
44670
45866
|
#
|
|
44671
45867
|
# @option opts [Integer] :port The value of attribute `port`.
|
|
@@ -44720,6 +45916,7 @@ module OvirtSDK4
|
|
|
44720
45916
|
self.certificate = opts[:certificate]
|
|
44721
45917
|
self.cluster = opts[:cluster]
|
|
44722
45918
|
self.cpu = opts[:cpu]
|
|
45919
|
+
self.cpu_units = opts[:cpu_units]
|
|
44723
45920
|
self.device_passthrough = opts[:device_passthrough]
|
|
44724
45921
|
self.devices = opts[:devices]
|
|
44725
45922
|
self.display = opts[:display]
|
|
@@ -44743,6 +45940,7 @@ module OvirtSDK4
|
|
|
44743
45940
|
self.numa_supported = opts[:numa_supported]
|
|
44744
45941
|
self.os = opts[:os]
|
|
44745
45942
|
self.override_iptables = opts[:override_iptables]
|
|
45943
|
+
self.ovn_configured = opts[:ovn_configured]
|
|
44746
45944
|
self.permissions = opts[:permissions]
|
|
44747
45945
|
self.port = opts[:port]
|
|
44748
45946
|
self.power_management = opts[:power_management]
|
|
@@ -44779,6 +45977,7 @@ module OvirtSDK4
|
|
|
44779
45977
|
@certificate == other.certificate &&
|
|
44780
45978
|
@cluster == other.cluster &&
|
|
44781
45979
|
@cpu == other.cpu &&
|
|
45980
|
+
@cpu_units == other.cpu_units &&
|
|
44782
45981
|
@device_passthrough == other.device_passthrough &&
|
|
44783
45982
|
@devices == other.devices &&
|
|
44784
45983
|
@display == other.display &&
|
|
@@ -44802,6 +46001,7 @@ module OvirtSDK4
|
|
|
44802
46001
|
@numa_supported == other.numa_supported &&
|
|
44803
46002
|
@os == other.os &&
|
|
44804
46003
|
@override_iptables == other.override_iptables &&
|
|
46004
|
+
@ovn_configured == other.ovn_configured &&
|
|
44805
46005
|
@permissions == other.permissions &&
|
|
44806
46006
|
@port == other.port &&
|
|
44807
46007
|
@power_management == other.power_management &&
|
|
@@ -44838,6 +46038,7 @@ module OvirtSDK4
|
|
|
44838
46038
|
@certificate.hash +
|
|
44839
46039
|
@cluster.hash +
|
|
44840
46040
|
@cpu.hash +
|
|
46041
|
+
@cpu_units.hash +
|
|
44841
46042
|
@device_passthrough.hash +
|
|
44842
46043
|
@devices.hash +
|
|
44843
46044
|
@display.hash +
|
|
@@ -44861,6 +46062,7 @@ module OvirtSDK4
|
|
|
44861
46062
|
@numa_supported.hash +
|
|
44862
46063
|
@os.hash +
|
|
44863
46064
|
@override_iptables.hash +
|
|
46065
|
+
@ovn_configured.hash +
|
|
44864
46066
|
@permissions.hash +
|
|
44865
46067
|
@port.hash +
|
|
44866
46068
|
@power_management.hash +
|
|
@@ -44887,6 +46089,239 @@ module OvirtSDK4
|
|
|
44887
46089
|
|
|
44888
46090
|
end
|
|
44889
46091
|
|
|
46092
|
+
class HostCpuUnit < Identified
|
|
46093
|
+
|
|
46094
|
+
#
|
|
46095
|
+
# Returns the value of the `comment` attribute.
|
|
46096
|
+
#
|
|
46097
|
+
# @return [String]
|
|
46098
|
+
#
|
|
46099
|
+
def comment
|
|
46100
|
+
@comment
|
|
46101
|
+
end
|
|
46102
|
+
|
|
46103
|
+
#
|
|
46104
|
+
# Sets the value of the `comment` attribute.
|
|
46105
|
+
#
|
|
46106
|
+
# @param value [String]
|
|
46107
|
+
#
|
|
46108
|
+
def comment=(value)
|
|
46109
|
+
@comment = value
|
|
46110
|
+
end
|
|
46111
|
+
|
|
46112
|
+
#
|
|
46113
|
+
# Returns the value of the `core_id` attribute.
|
|
46114
|
+
#
|
|
46115
|
+
# @return [Integer]
|
|
46116
|
+
#
|
|
46117
|
+
def core_id
|
|
46118
|
+
@core_id
|
|
46119
|
+
end
|
|
46120
|
+
|
|
46121
|
+
#
|
|
46122
|
+
# Sets the value of the `core_id` attribute.
|
|
46123
|
+
#
|
|
46124
|
+
# @param value [Integer]
|
|
46125
|
+
#
|
|
46126
|
+
def core_id=(value)
|
|
46127
|
+
@core_id = value
|
|
46128
|
+
end
|
|
46129
|
+
|
|
46130
|
+
#
|
|
46131
|
+
# Returns the value of the `cpu_id` attribute.
|
|
46132
|
+
#
|
|
46133
|
+
# @return [Integer]
|
|
46134
|
+
#
|
|
46135
|
+
def cpu_id
|
|
46136
|
+
@cpu_id
|
|
46137
|
+
end
|
|
46138
|
+
|
|
46139
|
+
#
|
|
46140
|
+
# Sets the value of the `cpu_id` attribute.
|
|
46141
|
+
#
|
|
46142
|
+
# @param value [Integer]
|
|
46143
|
+
#
|
|
46144
|
+
def cpu_id=(value)
|
|
46145
|
+
@cpu_id = value
|
|
46146
|
+
end
|
|
46147
|
+
|
|
46148
|
+
#
|
|
46149
|
+
# Returns the value of the `description` attribute.
|
|
46150
|
+
#
|
|
46151
|
+
# @return [String]
|
|
46152
|
+
#
|
|
46153
|
+
def description
|
|
46154
|
+
@description
|
|
46155
|
+
end
|
|
46156
|
+
|
|
46157
|
+
#
|
|
46158
|
+
# Sets the value of the `description` attribute.
|
|
46159
|
+
#
|
|
46160
|
+
# @param value [String]
|
|
46161
|
+
#
|
|
46162
|
+
def description=(value)
|
|
46163
|
+
@description = value
|
|
46164
|
+
end
|
|
46165
|
+
|
|
46166
|
+
#
|
|
46167
|
+
# Returns the value of the `id` attribute.
|
|
46168
|
+
#
|
|
46169
|
+
# @return [String]
|
|
46170
|
+
#
|
|
46171
|
+
def id
|
|
46172
|
+
@id
|
|
46173
|
+
end
|
|
46174
|
+
|
|
46175
|
+
#
|
|
46176
|
+
# Sets the value of the `id` attribute.
|
|
46177
|
+
#
|
|
46178
|
+
# @param value [String]
|
|
46179
|
+
#
|
|
46180
|
+
def id=(value)
|
|
46181
|
+
@id = value
|
|
46182
|
+
end
|
|
46183
|
+
|
|
46184
|
+
#
|
|
46185
|
+
# Returns the value of the `name` attribute.
|
|
46186
|
+
#
|
|
46187
|
+
# @return [String]
|
|
46188
|
+
#
|
|
46189
|
+
def name
|
|
46190
|
+
@name
|
|
46191
|
+
end
|
|
46192
|
+
|
|
46193
|
+
#
|
|
46194
|
+
# Sets the value of the `name` attribute.
|
|
46195
|
+
#
|
|
46196
|
+
# @param value [String]
|
|
46197
|
+
#
|
|
46198
|
+
def name=(value)
|
|
46199
|
+
@name = value
|
|
46200
|
+
end
|
|
46201
|
+
|
|
46202
|
+
#
|
|
46203
|
+
# Returns the value of the `runs_vdsm` attribute.
|
|
46204
|
+
#
|
|
46205
|
+
# @return [Boolean]
|
|
46206
|
+
#
|
|
46207
|
+
def runs_vdsm
|
|
46208
|
+
@runs_vdsm
|
|
46209
|
+
end
|
|
46210
|
+
|
|
46211
|
+
#
|
|
46212
|
+
# Sets the value of the `runs_vdsm` attribute.
|
|
46213
|
+
#
|
|
46214
|
+
# @param value [Boolean]
|
|
46215
|
+
#
|
|
46216
|
+
def runs_vdsm=(value)
|
|
46217
|
+
@runs_vdsm = value
|
|
46218
|
+
end
|
|
46219
|
+
|
|
46220
|
+
#
|
|
46221
|
+
# Returns the value of the `socket_id` attribute.
|
|
46222
|
+
#
|
|
46223
|
+
# @return [Integer]
|
|
46224
|
+
#
|
|
46225
|
+
def socket_id
|
|
46226
|
+
@socket_id
|
|
46227
|
+
end
|
|
46228
|
+
|
|
46229
|
+
#
|
|
46230
|
+
# Sets the value of the `socket_id` attribute.
|
|
46231
|
+
#
|
|
46232
|
+
# @param value [Integer]
|
|
46233
|
+
#
|
|
46234
|
+
def socket_id=(value)
|
|
46235
|
+
@socket_id = value
|
|
46236
|
+
end
|
|
46237
|
+
|
|
46238
|
+
#
|
|
46239
|
+
# Returns the value of the `vms` attribute.
|
|
46240
|
+
#
|
|
46241
|
+
# @return [Array<Vm>]
|
|
46242
|
+
#
|
|
46243
|
+
def vms
|
|
46244
|
+
@vms
|
|
46245
|
+
end
|
|
46246
|
+
|
|
46247
|
+
#
|
|
46248
|
+
# Sets the value of the `vms` attribute.
|
|
46249
|
+
#
|
|
46250
|
+
# @param list [Array<Vm>]
|
|
46251
|
+
#
|
|
46252
|
+
def vms=(list)
|
|
46253
|
+
if list.class == Array
|
|
46254
|
+
list = List.new(list)
|
|
46255
|
+
list.each_with_index do |value, index|
|
|
46256
|
+
if value.is_a?(Hash)
|
|
46257
|
+
list[index] = Vm.new(value)
|
|
46258
|
+
end
|
|
46259
|
+
end
|
|
46260
|
+
end
|
|
46261
|
+
@vms = list
|
|
46262
|
+
end
|
|
46263
|
+
|
|
46264
|
+
#
|
|
46265
|
+
# Creates a new instance of the {HostCpuUnit} class.
|
|
46266
|
+
#
|
|
46267
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
|
46268
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
46269
|
+
# should be the values of the attributes.
|
|
46270
|
+
#
|
|
46271
|
+
# @option opts [String] :comment The value of attribute `comment`.
|
|
46272
|
+
#
|
|
46273
|
+
# @option opts [Integer] :core_id The value of attribute `core_id`.
|
|
46274
|
+
#
|
|
46275
|
+
# @option opts [Integer] :cpu_id The value of attribute `cpu_id`.
|
|
46276
|
+
#
|
|
46277
|
+
# @option opts [String] :description The value of attribute `description`.
|
|
46278
|
+
#
|
|
46279
|
+
# @option opts [String] :id The value of attribute `id`.
|
|
46280
|
+
#
|
|
46281
|
+
# @option opts [String] :name The value of attribute `name`.
|
|
46282
|
+
#
|
|
46283
|
+
# @option opts [Boolean] :runs_vdsm The value of attribute `runs_vdsm`.
|
|
46284
|
+
#
|
|
46285
|
+
# @option opts [Integer] :socket_id The value of attribute `socket_id`.
|
|
46286
|
+
#
|
|
46287
|
+
# @option opts [Array<Vm>, Array<Hash>] :vms The values of attribute `vms`.
|
|
46288
|
+
#
|
|
46289
|
+
#
|
|
46290
|
+
def initialize(opts = {})
|
|
46291
|
+
super(opts)
|
|
46292
|
+
self.core_id = opts[:core_id]
|
|
46293
|
+
self.cpu_id = opts[:cpu_id]
|
|
46294
|
+
self.runs_vdsm = opts[:runs_vdsm]
|
|
46295
|
+
self.socket_id = opts[:socket_id]
|
|
46296
|
+
self.vms = opts[:vms]
|
|
46297
|
+
end
|
|
46298
|
+
|
|
46299
|
+
#
|
|
46300
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
|
46301
|
+
#
|
|
46302
|
+
def ==(other)
|
|
46303
|
+
super &&
|
|
46304
|
+
@core_id == other.core_id &&
|
|
46305
|
+
@cpu_id == other.cpu_id &&
|
|
46306
|
+
@runs_vdsm == other.runs_vdsm &&
|
|
46307
|
+
@socket_id == other.socket_id &&
|
|
46308
|
+
@vms == other.vms
|
|
46309
|
+
end
|
|
46310
|
+
|
|
46311
|
+
#
|
|
46312
|
+
# Generates a hash value for this object.
|
|
46313
|
+
#
|
|
46314
|
+
def hash
|
|
46315
|
+
super +
|
|
46316
|
+
@core_id.hash +
|
|
46317
|
+
@cpu_id.hash +
|
|
46318
|
+
@runs_vdsm.hash +
|
|
46319
|
+
@socket_id.hash +
|
|
46320
|
+
@vms.hash
|
|
46321
|
+
end
|
|
46322
|
+
|
|
46323
|
+
end
|
|
46324
|
+
|
|
44890
46325
|
class HostDevice < Identified
|
|
44891
46326
|
|
|
44892
46327
|
#
|
|
@@ -47189,6 +48624,24 @@ module OvirtSDK4
|
|
|
47189
48624
|
@statistics = list
|
|
47190
48625
|
end
|
|
47191
48626
|
|
|
48627
|
+
#
|
|
48628
|
+
# Returns the value of the `synced` attribute.
|
|
48629
|
+
#
|
|
48630
|
+
# @return [Boolean]
|
|
48631
|
+
#
|
|
48632
|
+
def synced
|
|
48633
|
+
@synced
|
|
48634
|
+
end
|
|
48635
|
+
|
|
48636
|
+
#
|
|
48637
|
+
# Sets the value of the `synced` attribute.
|
|
48638
|
+
#
|
|
48639
|
+
# @param value [Boolean]
|
|
48640
|
+
#
|
|
48641
|
+
def synced=(value)
|
|
48642
|
+
@synced = value
|
|
48643
|
+
end
|
|
48644
|
+
|
|
47192
48645
|
#
|
|
47193
48646
|
# Returns the value of the `template` attribute.
|
|
47194
48647
|
#
|
|
@@ -47383,6 +48836,8 @@ module OvirtSDK4
|
|
|
47383
48836
|
#
|
|
47384
48837
|
# @option opts [Array<Statistic>, Array<Hash>] :statistics The values of attribute `statistics`.
|
|
47385
48838
|
#
|
|
48839
|
+
# @option opts [Boolean] :synced The value of attribute `synced`.
|
|
48840
|
+
#
|
|
47386
48841
|
# @option opts [Template, Hash] :template The value of attribute `template`.
|
|
47387
48842
|
#
|
|
47388
48843
|
# @option opts [Array<NetworkLabel>, Array<Hash>] :virtual_function_allowed_labels The values of attribute `virtual_function_allowed_labels`.
|
|
@@ -47410,6 +48865,7 @@ module OvirtSDK4
|
|
|
47410
48865
|
self.plugged = opts[:plugged]
|
|
47411
48866
|
self.reported_devices = opts[:reported_devices]
|
|
47412
48867
|
self.statistics = opts[:statistics]
|
|
48868
|
+
self.synced = opts[:synced]
|
|
47413
48869
|
self.virtual_function_allowed_labels = opts[:virtual_function_allowed_labels]
|
|
47414
48870
|
self.virtual_function_allowed_networks = opts[:virtual_function_allowed_networks]
|
|
47415
48871
|
self.vnic_profile = opts[:vnic_profile]
|
|
@@ -47432,6 +48888,7 @@ module OvirtSDK4
|
|
|
47432
48888
|
@plugged == other.plugged &&
|
|
47433
48889
|
@reported_devices == other.reported_devices &&
|
|
47434
48890
|
@statistics == other.statistics &&
|
|
48891
|
+
@synced == other.synced &&
|
|
47435
48892
|
@virtual_function_allowed_labels == other.virtual_function_allowed_labels &&
|
|
47436
48893
|
@virtual_function_allowed_networks == other.virtual_function_allowed_networks &&
|
|
47437
48894
|
@vnic_profile == other.vnic_profile
|
|
@@ -47454,6 +48911,7 @@ module OvirtSDK4
|
|
|
47454
48911
|
@plugged.hash +
|
|
47455
48912
|
@reported_devices.hash +
|
|
47456
48913
|
@statistics.hash +
|
|
48914
|
+
@synced.hash +
|
|
47457
48915
|
@virtual_function_allowed_labels.hash +
|
|
47458
48916
|
@virtual_function_allowed_networks.hash +
|
|
47459
48917
|
@vnic_profile.hash
|
|
@@ -48105,6 +49563,24 @@ module OvirtSDK4
|
|
|
48105
49563
|
|
|
48106
49564
|
class Template < VmBase
|
|
48107
49565
|
|
|
49566
|
+
#
|
|
49567
|
+
# Returns the value of the `auto_pinning_policy` attribute.
|
|
49568
|
+
#
|
|
49569
|
+
# @return [AutoPinningPolicy]
|
|
49570
|
+
#
|
|
49571
|
+
def auto_pinning_policy
|
|
49572
|
+
@auto_pinning_policy
|
|
49573
|
+
end
|
|
49574
|
+
|
|
49575
|
+
#
|
|
49576
|
+
# Sets the value of the `auto_pinning_policy` attribute.
|
|
49577
|
+
#
|
|
49578
|
+
# @param value [AutoPinningPolicy]
|
|
49579
|
+
#
|
|
49580
|
+
def auto_pinning_policy=(value)
|
|
49581
|
+
@auto_pinning_policy = value
|
|
49582
|
+
end
|
|
49583
|
+
|
|
48108
49584
|
#
|
|
48109
49585
|
# Returns the value of the `bios` attribute.
|
|
48110
49586
|
#
|
|
@@ -48249,6 +49725,24 @@ module OvirtSDK4
|
|
|
48249
49725
|
@cpu = value
|
|
48250
49726
|
end
|
|
48251
49727
|
|
|
49728
|
+
#
|
|
49729
|
+
# Returns the value of the `cpu_pinning_policy` attribute.
|
|
49730
|
+
#
|
|
49731
|
+
# @return [CpuPinningPolicy]
|
|
49732
|
+
#
|
|
49733
|
+
def cpu_pinning_policy
|
|
49734
|
+
@cpu_pinning_policy
|
|
49735
|
+
end
|
|
49736
|
+
|
|
49737
|
+
#
|
|
49738
|
+
# Sets the value of the `cpu_pinning_policy` attribute.
|
|
49739
|
+
#
|
|
49740
|
+
# @param value [CpuPinningPolicy]
|
|
49741
|
+
#
|
|
49742
|
+
def cpu_pinning_policy=(value)
|
|
49743
|
+
@cpu_pinning_policy = value
|
|
49744
|
+
end
|
|
49745
|
+
|
|
48252
49746
|
#
|
|
48253
49747
|
# Returns the value of the `cpu_profile` attribute.
|
|
48254
49748
|
#
|
|
@@ -48678,6 +50172,32 @@ module OvirtSDK4
|
|
|
48678
50172
|
@lease = value
|
|
48679
50173
|
end
|
|
48680
50174
|
|
|
50175
|
+
#
|
|
50176
|
+
# Returns the value of the `mediated_devices` attribute.
|
|
50177
|
+
#
|
|
50178
|
+
# @return [Array<VmMediatedDevice>]
|
|
50179
|
+
#
|
|
50180
|
+
def mediated_devices
|
|
50181
|
+
@mediated_devices
|
|
50182
|
+
end
|
|
50183
|
+
|
|
50184
|
+
#
|
|
50185
|
+
# Sets the value of the `mediated_devices` attribute.
|
|
50186
|
+
#
|
|
50187
|
+
# @param list [Array<VmMediatedDevice>]
|
|
50188
|
+
#
|
|
50189
|
+
def mediated_devices=(list)
|
|
50190
|
+
if list.class == Array
|
|
50191
|
+
list = List.new(list)
|
|
50192
|
+
list.each_with_index do |value, index|
|
|
50193
|
+
if value.is_a?(Hash)
|
|
50194
|
+
list[index] = VmMediatedDevice.new(value)
|
|
50195
|
+
end
|
|
50196
|
+
end
|
|
50197
|
+
end
|
|
50198
|
+
@mediated_devices = list
|
|
50199
|
+
end
|
|
50200
|
+
|
|
48681
50201
|
#
|
|
48682
50202
|
# Returns the value of the `memory` attribute.
|
|
48683
50203
|
#
|
|
@@ -49211,6 +50731,24 @@ module OvirtSDK4
|
|
|
49211
50731
|
@time_zone = value
|
|
49212
50732
|
end
|
|
49213
50733
|
|
|
50734
|
+
#
|
|
50735
|
+
# Returns the value of the `tpm_enabled` attribute.
|
|
50736
|
+
#
|
|
50737
|
+
# @return [Boolean]
|
|
50738
|
+
#
|
|
50739
|
+
def tpm_enabled
|
|
50740
|
+
@tpm_enabled
|
|
50741
|
+
end
|
|
50742
|
+
|
|
50743
|
+
#
|
|
50744
|
+
# Sets the value of the `tpm_enabled` attribute.
|
|
50745
|
+
#
|
|
50746
|
+
# @param value [Boolean]
|
|
50747
|
+
#
|
|
50748
|
+
def tpm_enabled=(value)
|
|
50749
|
+
@tpm_enabled = value
|
|
50750
|
+
end
|
|
50751
|
+
|
|
49214
50752
|
#
|
|
49215
50753
|
# Returns the value of the `tunnel_migration` attribute.
|
|
49216
50754
|
#
|
|
@@ -49322,6 +50860,24 @@ module OvirtSDK4
|
|
|
49322
50860
|
@virtio_scsi = value
|
|
49323
50861
|
end
|
|
49324
50862
|
|
|
50863
|
+
#
|
|
50864
|
+
# Returns the value of the `virtio_scsi_multi_queues` attribute.
|
|
50865
|
+
#
|
|
50866
|
+
# @return [Integer]
|
|
50867
|
+
#
|
|
50868
|
+
def virtio_scsi_multi_queues
|
|
50869
|
+
@virtio_scsi_multi_queues
|
|
50870
|
+
end
|
|
50871
|
+
|
|
50872
|
+
#
|
|
50873
|
+
# Sets the value of the `virtio_scsi_multi_queues` attribute.
|
|
50874
|
+
#
|
|
50875
|
+
# @param value [Integer]
|
|
50876
|
+
#
|
|
50877
|
+
def virtio_scsi_multi_queues=(value)
|
|
50878
|
+
@virtio_scsi_multi_queues = value
|
|
50879
|
+
end
|
|
50880
|
+
|
|
49325
50881
|
#
|
|
49326
50882
|
# Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
|
49327
50883
|
#
|
|
@@ -49398,6 +50954,8 @@ module OvirtSDK4
|
|
|
49398
50954
|
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
49399
50955
|
# should be the values of the attributes.
|
|
49400
50956
|
#
|
|
50957
|
+
# @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
|
|
50958
|
+
#
|
|
49401
50959
|
# @option opts [Bios, Hash] :bios The value of attribute `bios`.
|
|
49402
50960
|
#
|
|
49403
50961
|
# @option opts [Array<Cdrom>, Array<Hash>] :cdroms The values of attribute `cdroms`.
|
|
@@ -49410,6 +50968,8 @@ module OvirtSDK4
|
|
|
49410
50968
|
#
|
|
49411
50969
|
# @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
|
|
49412
50970
|
#
|
|
50971
|
+
# @option opts [CpuPinningPolicy] :cpu_pinning_policy The value of attribute `cpu_pinning_policy`.
|
|
50972
|
+
#
|
|
49413
50973
|
# @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
|
|
49414
50974
|
#
|
|
49415
50975
|
# @option opts [Integer] :cpu_shares The value of attribute `cpu_shares`.
|
|
@@ -49448,6 +51008,8 @@ module OvirtSDK4
|
|
|
49448
51008
|
#
|
|
49449
51009
|
# @option opts [StorageDomainLease, Hash] :lease The value of attribute `lease`.
|
|
49450
51010
|
#
|
|
51011
|
+
# @option opts [Array<VmMediatedDevice>, Array<Hash>] :mediated_devices The values of attribute `mediated_devices`.
|
|
51012
|
+
#
|
|
49451
51013
|
# @option opts [Integer] :memory The value of attribute `memory`.
|
|
49452
51014
|
#
|
|
49453
51015
|
# @option opts [MemoryPolicy, Hash] :memory_policy The value of attribute `memory_policy`.
|
|
@@ -49496,6 +51058,8 @@ module OvirtSDK4
|
|
|
49496
51058
|
#
|
|
49497
51059
|
# @option opts [TimeZone, Hash] :time_zone The value of attribute `time_zone`.
|
|
49498
51060
|
#
|
|
51061
|
+
# @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
|
|
51062
|
+
#
|
|
49499
51063
|
# @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
|
|
49500
51064
|
#
|
|
49501
51065
|
# @option opts [VmType] :type The value of attribute `type`.
|
|
@@ -49506,6 +51070,8 @@ module OvirtSDK4
|
|
|
49506
51070
|
#
|
|
49507
51071
|
# @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
|
|
49508
51072
|
#
|
|
51073
|
+
# @option opts [Integer] :virtio_scsi_multi_queues The value of attribute `virtio_scsi_multi_queues`.
|
|
51074
|
+
#
|
|
49509
51075
|
# @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
|
|
49510
51076
|
#
|
|
49511
51077
|
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
|
@@ -49518,6 +51084,7 @@ module OvirtSDK4
|
|
|
49518
51084
|
self.cdroms = opts[:cdroms]
|
|
49519
51085
|
self.disk_attachments = opts[:disk_attachments]
|
|
49520
51086
|
self.graphics_consoles = opts[:graphics_consoles]
|
|
51087
|
+
self.mediated_devices = opts[:mediated_devices]
|
|
49521
51088
|
self.nics = opts[:nics]
|
|
49522
51089
|
self.permissions = opts[:permissions]
|
|
49523
51090
|
self.status = opts[:status]
|
|
@@ -49535,6 +51102,7 @@ module OvirtSDK4
|
|
|
49535
51102
|
@cdroms == other.cdroms &&
|
|
49536
51103
|
@disk_attachments == other.disk_attachments &&
|
|
49537
51104
|
@graphics_consoles == other.graphics_consoles &&
|
|
51105
|
+
@mediated_devices == other.mediated_devices &&
|
|
49538
51106
|
@nics == other.nics &&
|
|
49539
51107
|
@permissions == other.permissions &&
|
|
49540
51108
|
@status == other.status &&
|
|
@@ -49552,6 +51120,7 @@ module OvirtSDK4
|
|
|
49552
51120
|
@cdroms.hash +
|
|
49553
51121
|
@disk_attachments.hash +
|
|
49554
51122
|
@graphics_consoles.hash +
|
|
51123
|
+
@mediated_devices.hash +
|
|
49555
51124
|
@nics.hash +
|
|
49556
51125
|
@permissions.hash +
|
|
49557
51126
|
@status.hash +
|
|
@@ -49617,6 +51186,24 @@ module OvirtSDK4
|
|
|
49617
51186
|
@applications = list
|
|
49618
51187
|
end
|
|
49619
51188
|
|
|
51189
|
+
#
|
|
51190
|
+
# Returns the value of the `auto_pinning_policy` attribute.
|
|
51191
|
+
#
|
|
51192
|
+
# @return [AutoPinningPolicy]
|
|
51193
|
+
#
|
|
51194
|
+
def auto_pinning_policy
|
|
51195
|
+
@auto_pinning_policy
|
|
51196
|
+
end
|
|
51197
|
+
|
|
51198
|
+
#
|
|
51199
|
+
# Sets the value of the `auto_pinning_policy` attribute.
|
|
51200
|
+
#
|
|
51201
|
+
# @param value [AutoPinningPolicy]
|
|
51202
|
+
#
|
|
51203
|
+
def auto_pinning_policy=(value)
|
|
51204
|
+
@auto_pinning_policy = value
|
|
51205
|
+
end
|
|
51206
|
+
|
|
49620
51207
|
#
|
|
49621
51208
|
# Returns the value of the `bios` attribute.
|
|
49622
51209
|
#
|
|
@@ -49761,6 +51348,24 @@ module OvirtSDK4
|
|
|
49761
51348
|
@cpu = value
|
|
49762
51349
|
end
|
|
49763
51350
|
|
|
51351
|
+
#
|
|
51352
|
+
# Returns the value of the `cpu_pinning_policy` attribute.
|
|
51353
|
+
#
|
|
51354
|
+
# @return [CpuPinningPolicy]
|
|
51355
|
+
#
|
|
51356
|
+
def cpu_pinning_policy
|
|
51357
|
+
@cpu_pinning_policy
|
|
51358
|
+
end
|
|
51359
|
+
|
|
51360
|
+
#
|
|
51361
|
+
# Sets the value of the `cpu_pinning_policy` attribute.
|
|
51362
|
+
#
|
|
51363
|
+
# @param value [CpuPinningPolicy]
|
|
51364
|
+
#
|
|
51365
|
+
def cpu_pinning_policy=(value)
|
|
51366
|
+
@cpu_pinning_policy = value
|
|
51367
|
+
end
|
|
51368
|
+
|
|
49764
51369
|
#
|
|
49765
51370
|
# Returns the value of the `cpu_profile` attribute.
|
|
49766
51371
|
#
|
|
@@ -50021,6 +51626,31 @@ module OvirtSDK4
|
|
|
50021
51626
|
@domain = value
|
|
50022
51627
|
end
|
|
50023
51628
|
|
|
51629
|
+
#
|
|
51630
|
+
# Returns the value of the `dynamic_cpu` attribute.
|
|
51631
|
+
#
|
|
51632
|
+
# @return [DynamicCpu]
|
|
51633
|
+
#
|
|
51634
|
+
def dynamic_cpu
|
|
51635
|
+
@dynamic_cpu
|
|
51636
|
+
end
|
|
51637
|
+
|
|
51638
|
+
#
|
|
51639
|
+
# Sets the value of the `dynamic_cpu` attribute.
|
|
51640
|
+
#
|
|
51641
|
+
# @param value [DynamicCpu, Hash]
|
|
51642
|
+
#
|
|
51643
|
+
# The `value` parameter can be an instance of {OvirtSDK4::DynamicCpu} or a hash.
|
|
51644
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
51645
|
+
# `opts` parameter to the constructor.
|
|
51646
|
+
#
|
|
51647
|
+
def dynamic_cpu=(value)
|
|
51648
|
+
if value.is_a?(Hash)
|
|
51649
|
+
value = DynamicCpu.new(value)
|
|
51650
|
+
end
|
|
51651
|
+
@dynamic_cpu = value
|
|
51652
|
+
end
|
|
51653
|
+
|
|
50024
51654
|
#
|
|
50025
51655
|
# Returns the value of the `external_host_provider` attribute.
|
|
50026
51656
|
#
|
|
@@ -50429,6 +52059,32 @@ module OvirtSDK4
|
|
|
50429
52059
|
@lease = value
|
|
50430
52060
|
end
|
|
50431
52061
|
|
|
52062
|
+
#
|
|
52063
|
+
# Returns the value of the `mediated_devices` attribute.
|
|
52064
|
+
#
|
|
52065
|
+
# @return [Array<VmMediatedDevice>]
|
|
52066
|
+
#
|
|
52067
|
+
def mediated_devices
|
|
52068
|
+
@mediated_devices
|
|
52069
|
+
end
|
|
52070
|
+
|
|
52071
|
+
#
|
|
52072
|
+
# Sets the value of the `mediated_devices` attribute.
|
|
52073
|
+
#
|
|
52074
|
+
# @param list [Array<VmMediatedDevice>]
|
|
52075
|
+
#
|
|
52076
|
+
def mediated_devices=(list)
|
|
52077
|
+
if list.class == Array
|
|
52078
|
+
list = List.new(list)
|
|
52079
|
+
list.each_with_index do |value, index|
|
|
52080
|
+
if value.is_a?(Hash)
|
|
52081
|
+
list[index] = VmMediatedDevice.new(value)
|
|
52082
|
+
end
|
|
52083
|
+
end
|
|
52084
|
+
end
|
|
52085
|
+
@mediated_devices = list
|
|
52086
|
+
end
|
|
52087
|
+
|
|
50432
52088
|
#
|
|
50433
52089
|
# Returns the value of the `memory` attribute.
|
|
50434
52090
|
#
|
|
@@ -51294,6 +52950,24 @@ module OvirtSDK4
|
|
|
51294
52950
|
@time_zone = value
|
|
51295
52951
|
end
|
|
51296
52952
|
|
|
52953
|
+
#
|
|
52954
|
+
# Returns the value of the `tpm_enabled` attribute.
|
|
52955
|
+
#
|
|
52956
|
+
# @return [Boolean]
|
|
52957
|
+
#
|
|
52958
|
+
def tpm_enabled
|
|
52959
|
+
@tpm_enabled
|
|
52960
|
+
end
|
|
52961
|
+
|
|
52962
|
+
#
|
|
52963
|
+
# Sets the value of the `tpm_enabled` attribute.
|
|
52964
|
+
#
|
|
52965
|
+
# @param value [Boolean]
|
|
52966
|
+
#
|
|
52967
|
+
def tpm_enabled=(value)
|
|
52968
|
+
@tpm_enabled = value
|
|
52969
|
+
end
|
|
52970
|
+
|
|
51297
52971
|
#
|
|
51298
52972
|
# Returns the value of the `tunnel_migration` attribute.
|
|
51299
52973
|
#
|
|
@@ -51398,6 +53072,24 @@ module OvirtSDK4
|
|
|
51398
53072
|
@virtio_scsi = value
|
|
51399
53073
|
end
|
|
51400
53074
|
|
|
53075
|
+
#
|
|
53076
|
+
# Returns the value of the `virtio_scsi_multi_queues` attribute.
|
|
53077
|
+
#
|
|
53078
|
+
# @return [Integer]
|
|
53079
|
+
#
|
|
53080
|
+
def virtio_scsi_multi_queues
|
|
53081
|
+
@virtio_scsi_multi_queues
|
|
53082
|
+
end
|
|
53083
|
+
|
|
53084
|
+
#
|
|
53085
|
+
# Sets the value of the `virtio_scsi_multi_queues` attribute.
|
|
53086
|
+
#
|
|
53087
|
+
# @param value [Integer]
|
|
53088
|
+
#
|
|
53089
|
+
def virtio_scsi_multi_queues=(value)
|
|
53090
|
+
@virtio_scsi_multi_queues = value
|
|
53091
|
+
end
|
|
53092
|
+
|
|
51401
53093
|
#
|
|
51402
53094
|
# Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
|
51403
53095
|
#
|
|
@@ -51478,6 +53170,8 @@ module OvirtSDK4
|
|
|
51478
53170
|
#
|
|
51479
53171
|
# @option opts [Array<Application>, Array<Hash>] :applications The values of attribute `applications`.
|
|
51480
53172
|
#
|
|
53173
|
+
# @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
|
|
53174
|
+
#
|
|
51481
53175
|
# @option opts [Bios, Hash] :bios The value of attribute `bios`.
|
|
51482
53176
|
#
|
|
51483
53177
|
# @option opts [Array<Cdrom>, Array<Hash>] :cdroms The values of attribute `cdroms`.
|
|
@@ -51490,6 +53184,8 @@ module OvirtSDK4
|
|
|
51490
53184
|
#
|
|
51491
53185
|
# @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
|
|
51492
53186
|
#
|
|
53187
|
+
# @option opts [CpuPinningPolicy] :cpu_pinning_policy The value of attribute `cpu_pinning_policy`.
|
|
53188
|
+
#
|
|
51493
53189
|
# @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
|
|
51494
53190
|
#
|
|
51495
53191
|
# @option opts [Integer] :cpu_shares The value of attribute `cpu_shares`.
|
|
@@ -51514,6 +53210,8 @@ module OvirtSDK4
|
|
|
51514
53210
|
#
|
|
51515
53211
|
# @option opts [Domain, Hash] :domain The value of attribute `domain`.
|
|
51516
53212
|
#
|
|
53213
|
+
# @option opts [DynamicCpu, Hash] :dynamic_cpu The value of attribute `dynamic_cpu`.
|
|
53214
|
+
#
|
|
51517
53215
|
# @option opts [ExternalHostProvider, Hash] :external_host_provider The value of attribute `external_host_provider`.
|
|
51518
53216
|
#
|
|
51519
53217
|
# @option opts [Array<Floppy>, Array<Hash>] :floppies The values of attribute `floppies`.
|
|
@@ -51548,6 +53246,8 @@ module OvirtSDK4
|
|
|
51548
53246
|
#
|
|
51549
53247
|
# @option opts [StorageDomainLease, Hash] :lease The value of attribute `lease`.
|
|
51550
53248
|
#
|
|
53249
|
+
# @option opts [Array<VmMediatedDevice>, Array<Hash>] :mediated_devices The values of attribute `mediated_devices`.
|
|
53250
|
+
#
|
|
51551
53251
|
# @option opts [Integer] :memory The value of attribute `memory`.
|
|
51552
53252
|
#
|
|
51553
53253
|
# @option opts [MemoryPolicy, Hash] :memory_policy The value of attribute `memory_policy`.
|
|
@@ -51626,6 +53326,8 @@ module OvirtSDK4
|
|
|
51626
53326
|
#
|
|
51627
53327
|
# @option opts [TimeZone, Hash] :time_zone The value of attribute `time_zone`.
|
|
51628
53328
|
#
|
|
53329
|
+
# @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
|
|
53330
|
+
#
|
|
51629
53331
|
# @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
|
|
51630
53332
|
#
|
|
51631
53333
|
# @option opts [VmType] :type The value of attribute `type`.
|
|
@@ -51636,6 +53338,8 @@ module OvirtSDK4
|
|
|
51636
53338
|
#
|
|
51637
53339
|
# @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
|
|
51638
53340
|
#
|
|
53341
|
+
# @option opts [Integer] :virtio_scsi_multi_queues The value of attribute `virtio_scsi_multi_queues`.
|
|
53342
|
+
#
|
|
51639
53343
|
# @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
|
|
51640
53344
|
#
|
|
51641
53345
|
# @option opts [VmPool, Hash] :vm_pool The value of attribute `vm_pool`.
|
|
@@ -51649,6 +53353,7 @@ module OvirtSDK4
|
|
|
51649
53353
|
self.applications = opts[:applications]
|
|
51650
53354
|
self.cdroms = opts[:cdroms]
|
|
51651
53355
|
self.disk_attachments = opts[:disk_attachments]
|
|
53356
|
+
self.dynamic_cpu = opts[:dynamic_cpu]
|
|
51652
53357
|
self.external_host_provider = opts[:external_host_provider]
|
|
51653
53358
|
self.floppies = opts[:floppies]
|
|
51654
53359
|
self.fqdn = opts[:fqdn]
|
|
@@ -51660,6 +53365,7 @@ module OvirtSDK4
|
|
|
51660
53365
|
self.host_devices = opts[:host_devices]
|
|
51661
53366
|
self.instance_type = opts[:instance_type]
|
|
51662
53367
|
self.katello_errata = opts[:katello_errata]
|
|
53368
|
+
self.mediated_devices = opts[:mediated_devices]
|
|
51663
53369
|
self.next_run_configuration_exists = opts[:next_run_configuration_exists]
|
|
51664
53370
|
self.nics = opts[:nics]
|
|
51665
53371
|
self.numa_nodes = opts[:numa_nodes]
|
|
@@ -51693,6 +53399,7 @@ module OvirtSDK4
|
|
|
51693
53399
|
@applications == other.applications &&
|
|
51694
53400
|
@cdroms == other.cdroms &&
|
|
51695
53401
|
@disk_attachments == other.disk_attachments &&
|
|
53402
|
+
@dynamic_cpu == other.dynamic_cpu &&
|
|
51696
53403
|
@external_host_provider == other.external_host_provider &&
|
|
51697
53404
|
@floppies == other.floppies &&
|
|
51698
53405
|
@fqdn == other.fqdn &&
|
|
@@ -51704,6 +53411,7 @@ module OvirtSDK4
|
|
|
51704
53411
|
@host_devices == other.host_devices &&
|
|
51705
53412
|
@instance_type == other.instance_type &&
|
|
51706
53413
|
@katello_errata == other.katello_errata &&
|
|
53414
|
+
@mediated_devices == other.mediated_devices &&
|
|
51707
53415
|
@next_run_configuration_exists == other.next_run_configuration_exists &&
|
|
51708
53416
|
@nics == other.nics &&
|
|
51709
53417
|
@numa_nodes == other.numa_nodes &&
|
|
@@ -51737,6 +53445,7 @@ module OvirtSDK4
|
|
|
51737
53445
|
@applications.hash +
|
|
51738
53446
|
@cdroms.hash +
|
|
51739
53447
|
@disk_attachments.hash +
|
|
53448
|
+
@dynamic_cpu.hash +
|
|
51740
53449
|
@external_host_provider.hash +
|
|
51741
53450
|
@floppies.hash +
|
|
51742
53451
|
@fqdn.hash +
|
|
@@ -51748,6 +53457,7 @@ module OvirtSDK4
|
|
|
51748
53457
|
@host_devices.hash +
|
|
51749
53458
|
@instance_type.hash +
|
|
51750
53459
|
@katello_errata.hash +
|
|
53460
|
+
@mediated_devices.hash +
|
|
51751
53461
|
@next_run_configuration_exists.hash +
|
|
51752
53462
|
@nics.hash +
|
|
51753
53463
|
@numa_nodes.hash +
|
|
@@ -51774,25 +53484,7 @@ module OvirtSDK4
|
|
|
51774
53484
|
|
|
51775
53485
|
end
|
|
51776
53486
|
|
|
51777
|
-
class
|
|
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
|
|
53487
|
+
class VmMediatedDevice < Device
|
|
51796
53488
|
|
|
51797
53489
|
#
|
|
51798
53490
|
# Returns the value of the `comment` attribute.
|
|
@@ -51874,39 +53566,47 @@ module OvirtSDK4
|
|
|
51874
53566
|
end
|
|
51875
53567
|
|
|
51876
53568
|
#
|
|
51877
|
-
# Returns the value of the `
|
|
53569
|
+
# Returns the value of the `name` attribute.
|
|
51878
53570
|
#
|
|
51879
|
-
# @return [
|
|
53571
|
+
# @return [String]
|
|
51880
53572
|
#
|
|
51881
|
-
def
|
|
51882
|
-
@
|
|
53573
|
+
def name
|
|
53574
|
+
@name
|
|
51883
53575
|
end
|
|
51884
53576
|
|
|
51885
53577
|
#
|
|
51886
|
-
# Sets the value of the `
|
|
53578
|
+
# Sets the value of the `name` attribute.
|
|
51887
53579
|
#
|
|
51888
|
-
# @param value [
|
|
53580
|
+
# @param value [String]
|
|
51889
53581
|
#
|
|
51890
|
-
def
|
|
51891
|
-
@
|
|
53582
|
+
def name=(value)
|
|
53583
|
+
@name = value
|
|
51892
53584
|
end
|
|
51893
53585
|
|
|
51894
53586
|
#
|
|
51895
|
-
# Returns the value of the `
|
|
53587
|
+
# Returns the value of the `spec_params` attribute.
|
|
51896
53588
|
#
|
|
51897
|
-
# @return [
|
|
53589
|
+
# @return [Array<Property>]
|
|
51898
53590
|
#
|
|
51899
|
-
def
|
|
51900
|
-
@
|
|
53591
|
+
def spec_params
|
|
53592
|
+
@spec_params
|
|
51901
53593
|
end
|
|
51902
53594
|
|
|
51903
53595
|
#
|
|
51904
|
-
# Sets the value of the `
|
|
53596
|
+
# Sets the value of the `spec_params` attribute.
|
|
51905
53597
|
#
|
|
51906
|
-
# @param
|
|
53598
|
+
# @param list [Array<Property>]
|
|
51907
53599
|
#
|
|
51908
|
-
def
|
|
51909
|
-
|
|
53600
|
+
def spec_params=(list)
|
|
53601
|
+
if list.class == Array
|
|
53602
|
+
list = List.new(list)
|
|
53603
|
+
list.each_with_index do |value, index|
|
|
53604
|
+
if value.is_a?(Hash)
|
|
53605
|
+
list[index] = Property.new(value)
|
|
53606
|
+
end
|
|
53607
|
+
end
|
|
53608
|
+
end
|
|
53609
|
+
@spec_params = list
|
|
51910
53610
|
end
|
|
51911
53611
|
|
|
51912
53612
|
#
|
|
@@ -51986,14 +53686,12 @@ module OvirtSDK4
|
|
|
51986
53686
|
end
|
|
51987
53687
|
|
|
51988
53688
|
#
|
|
51989
|
-
# Creates a new instance of the {
|
|
53689
|
+
# Creates a new instance of the {VmMediatedDevice} class.
|
|
51990
53690
|
#
|
|
51991
53691
|
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
|
51992
53692
|
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
51993
53693
|
# should be the values of the attributes.
|
|
51994
53694
|
#
|
|
51995
|
-
# @option opts [WatchdogAction] :action The value of attribute `action`.
|
|
51996
|
-
#
|
|
51997
53695
|
# @option opts [String] :comment The value of attribute `comment`.
|
|
51998
53696
|
#
|
|
51999
53697
|
# @option opts [String] :description The value of attribute `description`.
|
|
@@ -52002,10 +53700,10 @@ module OvirtSDK4
|
|
|
52002
53700
|
#
|
|
52003
53701
|
# @option opts [InstanceType, Hash] :instance_type The value of attribute `instance_type`.
|
|
52004
53702
|
#
|
|
52005
|
-
# @option opts [WatchdogModel] :model The value of attribute `model`.
|
|
52006
|
-
#
|
|
52007
53703
|
# @option opts [String] :name The value of attribute `name`.
|
|
52008
53704
|
#
|
|
53705
|
+
# @option opts [Array<Property>, Array<Hash>] :spec_params The values of attribute `spec_params`.
|
|
53706
|
+
#
|
|
52009
53707
|
# @option opts [Template, Hash] :template The value of attribute `template`.
|
|
52010
53708
|
#
|
|
52011
53709
|
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
|
@@ -52015,8 +53713,7 @@ module OvirtSDK4
|
|
|
52015
53713
|
#
|
|
52016
53714
|
def initialize(opts = {})
|
|
52017
53715
|
super(opts)
|
|
52018
|
-
self.
|
|
52019
|
-
self.model = opts[:model]
|
|
53716
|
+
self.spec_params = opts[:spec_params]
|
|
52020
53717
|
end
|
|
52021
53718
|
|
|
52022
53719
|
#
|
|
@@ -52024,8 +53721,7 @@ module OvirtSDK4
|
|
|
52024
53721
|
#
|
|
52025
53722
|
def ==(other)
|
|
52026
53723
|
super &&
|
|
52027
|
-
@
|
|
52028
|
-
@model == other.model
|
|
53724
|
+
@spec_params == other.spec_params
|
|
52029
53725
|
end
|
|
52030
53726
|
|
|
52031
53727
|
#
|
|
@@ -52033,13 +53729,277 @@ module OvirtSDK4
|
|
|
52033
53729
|
#
|
|
52034
53730
|
def hash
|
|
52035
53731
|
super +
|
|
52036
|
-
@
|
|
52037
|
-
@model.hash
|
|
53732
|
+
@spec_params.hash
|
|
52038
53733
|
end
|
|
52039
53734
|
|
|
52040
53735
|
end
|
|
52041
53736
|
|
|
52042
|
-
class
|
|
53737
|
+
class Watchdog < Device
|
|
53738
|
+
|
|
53739
|
+
#
|
|
53740
|
+
# Returns the value of the `action` attribute.
|
|
53741
|
+
#
|
|
53742
|
+
# @return [WatchdogAction]
|
|
53743
|
+
#
|
|
53744
|
+
def action
|
|
53745
|
+
@action
|
|
53746
|
+
end
|
|
53747
|
+
|
|
53748
|
+
#
|
|
53749
|
+
# Sets the value of the `action` attribute.
|
|
53750
|
+
#
|
|
53751
|
+
# @param value [WatchdogAction]
|
|
53752
|
+
#
|
|
53753
|
+
def action=(value)
|
|
53754
|
+
@action = value
|
|
53755
|
+
end
|
|
53756
|
+
|
|
53757
|
+
#
|
|
53758
|
+
# Returns the value of the `comment` attribute.
|
|
53759
|
+
#
|
|
53760
|
+
# @return [String]
|
|
53761
|
+
#
|
|
53762
|
+
def comment
|
|
53763
|
+
@comment
|
|
53764
|
+
end
|
|
53765
|
+
|
|
53766
|
+
#
|
|
53767
|
+
# Sets the value of the `comment` attribute.
|
|
53768
|
+
#
|
|
53769
|
+
# @param value [String]
|
|
53770
|
+
#
|
|
53771
|
+
def comment=(value)
|
|
53772
|
+
@comment = value
|
|
53773
|
+
end
|
|
53774
|
+
|
|
53775
|
+
#
|
|
53776
|
+
# Returns the value of the `description` attribute.
|
|
53777
|
+
#
|
|
53778
|
+
# @return [String]
|
|
53779
|
+
#
|
|
53780
|
+
def description
|
|
53781
|
+
@description
|
|
53782
|
+
end
|
|
53783
|
+
|
|
53784
|
+
#
|
|
53785
|
+
# Sets the value of the `description` attribute.
|
|
53786
|
+
#
|
|
53787
|
+
# @param value [String]
|
|
53788
|
+
#
|
|
53789
|
+
def description=(value)
|
|
53790
|
+
@description = value
|
|
53791
|
+
end
|
|
53792
|
+
|
|
53793
|
+
#
|
|
53794
|
+
# Returns the value of the `id` attribute.
|
|
53795
|
+
#
|
|
53796
|
+
# @return [String]
|
|
53797
|
+
#
|
|
53798
|
+
def id
|
|
53799
|
+
@id
|
|
53800
|
+
end
|
|
53801
|
+
|
|
53802
|
+
#
|
|
53803
|
+
# Sets the value of the `id` attribute.
|
|
53804
|
+
#
|
|
53805
|
+
# @param value [String]
|
|
53806
|
+
#
|
|
53807
|
+
def id=(value)
|
|
53808
|
+
@id = value
|
|
53809
|
+
end
|
|
53810
|
+
|
|
53811
|
+
#
|
|
53812
|
+
# Returns the value of the `instance_type` attribute.
|
|
53813
|
+
#
|
|
53814
|
+
# @return [InstanceType]
|
|
53815
|
+
#
|
|
53816
|
+
def instance_type
|
|
53817
|
+
@instance_type
|
|
53818
|
+
end
|
|
53819
|
+
|
|
53820
|
+
#
|
|
53821
|
+
# Sets the value of the `instance_type` attribute.
|
|
53822
|
+
#
|
|
53823
|
+
# @param value [InstanceType, Hash]
|
|
53824
|
+
#
|
|
53825
|
+
# The `value` parameter can be an instance of {OvirtSDK4::InstanceType} or a hash.
|
|
53826
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
53827
|
+
# `opts` parameter to the constructor.
|
|
53828
|
+
#
|
|
53829
|
+
def instance_type=(value)
|
|
53830
|
+
if value.is_a?(Hash)
|
|
53831
|
+
value = InstanceType.new(value)
|
|
53832
|
+
end
|
|
53833
|
+
@instance_type = value
|
|
53834
|
+
end
|
|
53835
|
+
|
|
53836
|
+
#
|
|
53837
|
+
# Returns the value of the `model` attribute.
|
|
53838
|
+
#
|
|
53839
|
+
# @return [WatchdogModel]
|
|
53840
|
+
#
|
|
53841
|
+
def model
|
|
53842
|
+
@model
|
|
53843
|
+
end
|
|
53844
|
+
|
|
53845
|
+
#
|
|
53846
|
+
# Sets the value of the `model` attribute.
|
|
53847
|
+
#
|
|
53848
|
+
# @param value [WatchdogModel]
|
|
53849
|
+
#
|
|
53850
|
+
def model=(value)
|
|
53851
|
+
@model = value
|
|
53852
|
+
end
|
|
53853
|
+
|
|
53854
|
+
#
|
|
53855
|
+
# Returns the value of the `name` attribute.
|
|
53856
|
+
#
|
|
53857
|
+
# @return [String]
|
|
53858
|
+
#
|
|
53859
|
+
def name
|
|
53860
|
+
@name
|
|
53861
|
+
end
|
|
53862
|
+
|
|
53863
|
+
#
|
|
53864
|
+
# Sets the value of the `name` attribute.
|
|
53865
|
+
#
|
|
53866
|
+
# @param value [String]
|
|
53867
|
+
#
|
|
53868
|
+
def name=(value)
|
|
53869
|
+
@name = value
|
|
53870
|
+
end
|
|
53871
|
+
|
|
53872
|
+
#
|
|
53873
|
+
# Returns the value of the `template` attribute.
|
|
53874
|
+
#
|
|
53875
|
+
# @return [Template]
|
|
53876
|
+
#
|
|
53877
|
+
def template
|
|
53878
|
+
@template
|
|
53879
|
+
end
|
|
53880
|
+
|
|
53881
|
+
#
|
|
53882
|
+
# Sets the value of the `template` attribute.
|
|
53883
|
+
#
|
|
53884
|
+
# @param value [Template, Hash]
|
|
53885
|
+
#
|
|
53886
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Template} or a hash.
|
|
53887
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
53888
|
+
# `opts` parameter to the constructor.
|
|
53889
|
+
#
|
|
53890
|
+
def template=(value)
|
|
53891
|
+
if value.is_a?(Hash)
|
|
53892
|
+
value = Template.new(value)
|
|
53893
|
+
end
|
|
53894
|
+
@template = value
|
|
53895
|
+
end
|
|
53896
|
+
|
|
53897
|
+
#
|
|
53898
|
+
# Returns the value of the `vm` attribute.
|
|
53899
|
+
#
|
|
53900
|
+
# @return [Vm]
|
|
53901
|
+
#
|
|
53902
|
+
def vm
|
|
53903
|
+
@vm
|
|
53904
|
+
end
|
|
53905
|
+
|
|
53906
|
+
#
|
|
53907
|
+
# Sets the value of the `vm` attribute.
|
|
53908
|
+
#
|
|
53909
|
+
# @param value [Vm, Hash]
|
|
53910
|
+
#
|
|
53911
|
+
# The `value` parameter can be an instance of {OvirtSDK4::Vm} or a hash.
|
|
53912
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
53913
|
+
# `opts` parameter to the constructor.
|
|
53914
|
+
#
|
|
53915
|
+
def vm=(value)
|
|
53916
|
+
if value.is_a?(Hash)
|
|
53917
|
+
value = Vm.new(value)
|
|
53918
|
+
end
|
|
53919
|
+
@vm = value
|
|
53920
|
+
end
|
|
53921
|
+
|
|
53922
|
+
#
|
|
53923
|
+
# Returns the value of the `vms` attribute.
|
|
53924
|
+
#
|
|
53925
|
+
# @return [Array<Vm>]
|
|
53926
|
+
#
|
|
53927
|
+
def vms
|
|
53928
|
+
@vms
|
|
53929
|
+
end
|
|
53930
|
+
|
|
53931
|
+
#
|
|
53932
|
+
# Sets the value of the `vms` attribute.
|
|
53933
|
+
#
|
|
53934
|
+
# @param list [Array<Vm>]
|
|
53935
|
+
#
|
|
53936
|
+
def vms=(list)
|
|
53937
|
+
if list.class == Array
|
|
53938
|
+
list = List.new(list)
|
|
53939
|
+
list.each_with_index do |value, index|
|
|
53940
|
+
if value.is_a?(Hash)
|
|
53941
|
+
list[index] = Vm.new(value)
|
|
53942
|
+
end
|
|
53943
|
+
end
|
|
53944
|
+
end
|
|
53945
|
+
@vms = list
|
|
53946
|
+
end
|
|
53947
|
+
|
|
53948
|
+
#
|
|
53949
|
+
# Creates a new instance of the {Watchdog} class.
|
|
53950
|
+
#
|
|
53951
|
+
# @param opts [Hash] A hash containing the attributes of the object. The keys of the hash
|
|
53952
|
+
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
53953
|
+
# should be the values of the attributes.
|
|
53954
|
+
#
|
|
53955
|
+
# @option opts [WatchdogAction] :action The value of attribute `action`.
|
|
53956
|
+
#
|
|
53957
|
+
# @option opts [String] :comment The value of attribute `comment`.
|
|
53958
|
+
#
|
|
53959
|
+
# @option opts [String] :description The value of attribute `description`.
|
|
53960
|
+
#
|
|
53961
|
+
# @option opts [String] :id The value of attribute `id`.
|
|
53962
|
+
#
|
|
53963
|
+
# @option opts [InstanceType, Hash] :instance_type The value of attribute `instance_type`.
|
|
53964
|
+
#
|
|
53965
|
+
# @option opts [WatchdogModel] :model The value of attribute `model`.
|
|
53966
|
+
#
|
|
53967
|
+
# @option opts [String] :name The value of attribute `name`.
|
|
53968
|
+
#
|
|
53969
|
+
# @option opts [Template, Hash] :template The value of attribute `template`.
|
|
53970
|
+
#
|
|
53971
|
+
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
|
53972
|
+
#
|
|
53973
|
+
# @option opts [Array<Vm>, Array<Hash>] :vms The values of attribute `vms`.
|
|
53974
|
+
#
|
|
53975
|
+
#
|
|
53976
|
+
def initialize(opts = {})
|
|
53977
|
+
super(opts)
|
|
53978
|
+
self.action = opts[:action]
|
|
53979
|
+
self.model = opts[:model]
|
|
53980
|
+
end
|
|
53981
|
+
|
|
53982
|
+
#
|
|
53983
|
+
# Returns `true` if `self` and `other` have the same attributes and values.
|
|
53984
|
+
#
|
|
53985
|
+
def ==(other)
|
|
53986
|
+
super &&
|
|
53987
|
+
@action == other.action &&
|
|
53988
|
+
@model == other.model
|
|
53989
|
+
end
|
|
53990
|
+
|
|
53991
|
+
#
|
|
53992
|
+
# Generates a hash value for this object.
|
|
53993
|
+
#
|
|
53994
|
+
def hash
|
|
53995
|
+
super +
|
|
53996
|
+
@action.hash +
|
|
53997
|
+
@model.hash
|
|
53998
|
+
end
|
|
53999
|
+
|
|
54000
|
+
end
|
|
54001
|
+
|
|
54002
|
+
class Cdrom < Device
|
|
52043
54003
|
|
|
52044
54004
|
#
|
|
52045
54005
|
# Returns the value of the `comment` attribute.
|
|
@@ -53188,6 +55148,24 @@ module OvirtSDK4
|
|
|
53188
55148
|
|
|
53189
55149
|
class InstanceType < Template
|
|
53190
55150
|
|
|
55151
|
+
#
|
|
55152
|
+
# Returns the value of the `auto_pinning_policy` attribute.
|
|
55153
|
+
#
|
|
55154
|
+
# @return [AutoPinningPolicy]
|
|
55155
|
+
#
|
|
55156
|
+
def auto_pinning_policy
|
|
55157
|
+
@auto_pinning_policy
|
|
55158
|
+
end
|
|
55159
|
+
|
|
55160
|
+
#
|
|
55161
|
+
# Sets the value of the `auto_pinning_policy` attribute.
|
|
55162
|
+
#
|
|
55163
|
+
# @param value [AutoPinningPolicy]
|
|
55164
|
+
#
|
|
55165
|
+
def auto_pinning_policy=(value)
|
|
55166
|
+
@auto_pinning_policy = value
|
|
55167
|
+
end
|
|
55168
|
+
|
|
53191
55169
|
#
|
|
53192
55170
|
# Returns the value of the `bios` attribute.
|
|
53193
55171
|
#
|
|
@@ -53332,6 +55310,24 @@ module OvirtSDK4
|
|
|
53332
55310
|
@cpu = value
|
|
53333
55311
|
end
|
|
53334
55312
|
|
|
55313
|
+
#
|
|
55314
|
+
# Returns the value of the `cpu_pinning_policy` attribute.
|
|
55315
|
+
#
|
|
55316
|
+
# @return [CpuPinningPolicy]
|
|
55317
|
+
#
|
|
55318
|
+
def cpu_pinning_policy
|
|
55319
|
+
@cpu_pinning_policy
|
|
55320
|
+
end
|
|
55321
|
+
|
|
55322
|
+
#
|
|
55323
|
+
# Sets the value of the `cpu_pinning_policy` attribute.
|
|
55324
|
+
#
|
|
55325
|
+
# @param value [CpuPinningPolicy]
|
|
55326
|
+
#
|
|
55327
|
+
def cpu_pinning_policy=(value)
|
|
55328
|
+
@cpu_pinning_policy = value
|
|
55329
|
+
end
|
|
55330
|
+
|
|
53335
55331
|
#
|
|
53336
55332
|
# Returns the value of the `cpu_profile` attribute.
|
|
53337
55333
|
#
|
|
@@ -53761,6 +55757,32 @@ module OvirtSDK4
|
|
|
53761
55757
|
@lease = value
|
|
53762
55758
|
end
|
|
53763
55759
|
|
|
55760
|
+
#
|
|
55761
|
+
# Returns the value of the `mediated_devices` attribute.
|
|
55762
|
+
#
|
|
55763
|
+
# @return [Array<VmMediatedDevice>]
|
|
55764
|
+
#
|
|
55765
|
+
def mediated_devices
|
|
55766
|
+
@mediated_devices
|
|
55767
|
+
end
|
|
55768
|
+
|
|
55769
|
+
#
|
|
55770
|
+
# Sets the value of the `mediated_devices` attribute.
|
|
55771
|
+
#
|
|
55772
|
+
# @param list [Array<VmMediatedDevice>]
|
|
55773
|
+
#
|
|
55774
|
+
def mediated_devices=(list)
|
|
55775
|
+
if list.class == Array
|
|
55776
|
+
list = List.new(list)
|
|
55777
|
+
list.each_with_index do |value, index|
|
|
55778
|
+
if value.is_a?(Hash)
|
|
55779
|
+
list[index] = VmMediatedDevice.new(value)
|
|
55780
|
+
end
|
|
55781
|
+
end
|
|
55782
|
+
end
|
|
55783
|
+
@mediated_devices = list
|
|
55784
|
+
end
|
|
55785
|
+
|
|
53764
55786
|
#
|
|
53765
55787
|
# Returns the value of the `memory` attribute.
|
|
53766
55788
|
#
|
|
@@ -54294,6 +56316,24 @@ module OvirtSDK4
|
|
|
54294
56316
|
@time_zone = value
|
|
54295
56317
|
end
|
|
54296
56318
|
|
|
56319
|
+
#
|
|
56320
|
+
# Returns the value of the `tpm_enabled` attribute.
|
|
56321
|
+
#
|
|
56322
|
+
# @return [Boolean]
|
|
56323
|
+
#
|
|
56324
|
+
def tpm_enabled
|
|
56325
|
+
@tpm_enabled
|
|
56326
|
+
end
|
|
56327
|
+
|
|
56328
|
+
#
|
|
56329
|
+
# Sets the value of the `tpm_enabled` attribute.
|
|
56330
|
+
#
|
|
56331
|
+
# @param value [Boolean]
|
|
56332
|
+
#
|
|
56333
|
+
def tpm_enabled=(value)
|
|
56334
|
+
@tpm_enabled = value
|
|
56335
|
+
end
|
|
56336
|
+
|
|
54297
56337
|
#
|
|
54298
56338
|
# Returns the value of the `tunnel_migration` attribute.
|
|
54299
56339
|
#
|
|
@@ -54405,6 +56445,24 @@ module OvirtSDK4
|
|
|
54405
56445
|
@virtio_scsi = value
|
|
54406
56446
|
end
|
|
54407
56447
|
|
|
56448
|
+
#
|
|
56449
|
+
# Returns the value of the `virtio_scsi_multi_queues` attribute.
|
|
56450
|
+
#
|
|
56451
|
+
# @return [Integer]
|
|
56452
|
+
#
|
|
56453
|
+
def virtio_scsi_multi_queues
|
|
56454
|
+
@virtio_scsi_multi_queues
|
|
56455
|
+
end
|
|
56456
|
+
|
|
56457
|
+
#
|
|
56458
|
+
# Sets the value of the `virtio_scsi_multi_queues` attribute.
|
|
56459
|
+
#
|
|
56460
|
+
# @param value [Integer]
|
|
56461
|
+
#
|
|
56462
|
+
def virtio_scsi_multi_queues=(value)
|
|
56463
|
+
@virtio_scsi_multi_queues = value
|
|
56464
|
+
end
|
|
56465
|
+
|
|
54408
56466
|
#
|
|
54409
56467
|
# Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
|
54410
56468
|
#
|
|
@@ -54481,6 +56539,8 @@ module OvirtSDK4
|
|
|
54481
56539
|
# should be symbols corresponding to the names of the attributes. The values of the hash
|
|
54482
56540
|
# should be the values of the attributes.
|
|
54483
56541
|
#
|
|
56542
|
+
# @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
|
|
56543
|
+
#
|
|
54484
56544
|
# @option opts [Bios, Hash] :bios The value of attribute `bios`.
|
|
54485
56545
|
#
|
|
54486
56546
|
# @option opts [Array<Cdrom>, Array<Hash>] :cdroms The values of attribute `cdroms`.
|
|
@@ -54493,6 +56553,8 @@ module OvirtSDK4
|
|
|
54493
56553
|
#
|
|
54494
56554
|
# @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
|
|
54495
56555
|
#
|
|
56556
|
+
# @option opts [CpuPinningPolicy] :cpu_pinning_policy The value of attribute `cpu_pinning_policy`.
|
|
56557
|
+
#
|
|
54496
56558
|
# @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
|
|
54497
56559
|
#
|
|
54498
56560
|
# @option opts [Integer] :cpu_shares The value of attribute `cpu_shares`.
|
|
@@ -54531,6 +56593,8 @@ module OvirtSDK4
|
|
|
54531
56593
|
#
|
|
54532
56594
|
# @option opts [StorageDomainLease, Hash] :lease The value of attribute `lease`.
|
|
54533
56595
|
#
|
|
56596
|
+
# @option opts [Array<VmMediatedDevice>, Array<Hash>] :mediated_devices The values of attribute `mediated_devices`.
|
|
56597
|
+
#
|
|
54534
56598
|
# @option opts [Integer] :memory The value of attribute `memory`.
|
|
54535
56599
|
#
|
|
54536
56600
|
# @option opts [MemoryPolicy, Hash] :memory_policy The value of attribute `memory_policy`.
|
|
@@ -54579,6 +56643,8 @@ module OvirtSDK4
|
|
|
54579
56643
|
#
|
|
54580
56644
|
# @option opts [TimeZone, Hash] :time_zone The value of attribute `time_zone`.
|
|
54581
56645
|
#
|
|
56646
|
+
# @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
|
|
56647
|
+
#
|
|
54582
56648
|
# @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
|
|
54583
56649
|
#
|
|
54584
56650
|
# @option opts [VmType] :type The value of attribute `type`.
|
|
@@ -54589,6 +56655,8 @@ module OvirtSDK4
|
|
|
54589
56655
|
#
|
|
54590
56656
|
# @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
|
|
54591
56657
|
#
|
|
56658
|
+
# @option opts [Integer] :virtio_scsi_multi_queues The value of attribute `virtio_scsi_multi_queues`.
|
|
56659
|
+
#
|
|
54592
56660
|
# @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
|
|
54593
56661
|
#
|
|
54594
56662
|
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
|
@@ -55564,6 +57632,24 @@ module OvirtSDK4
|
|
|
55564
57632
|
@applications = list
|
|
55565
57633
|
end
|
|
55566
57634
|
|
|
57635
|
+
#
|
|
57636
|
+
# Returns the value of the `auto_pinning_policy` attribute.
|
|
57637
|
+
#
|
|
57638
|
+
# @return [AutoPinningPolicy]
|
|
57639
|
+
#
|
|
57640
|
+
def auto_pinning_policy
|
|
57641
|
+
@auto_pinning_policy
|
|
57642
|
+
end
|
|
57643
|
+
|
|
57644
|
+
#
|
|
57645
|
+
# Sets the value of the `auto_pinning_policy` attribute.
|
|
57646
|
+
#
|
|
57647
|
+
# @param value [AutoPinningPolicy]
|
|
57648
|
+
#
|
|
57649
|
+
def auto_pinning_policy=(value)
|
|
57650
|
+
@auto_pinning_policy = value
|
|
57651
|
+
end
|
|
57652
|
+
|
|
55567
57653
|
#
|
|
55568
57654
|
# Returns the value of the `bios` attribute.
|
|
55569
57655
|
#
|
|
@@ -55708,6 +57794,24 @@ module OvirtSDK4
|
|
|
55708
57794
|
@cpu = value
|
|
55709
57795
|
end
|
|
55710
57796
|
|
|
57797
|
+
#
|
|
57798
|
+
# Returns the value of the `cpu_pinning_policy` attribute.
|
|
57799
|
+
#
|
|
57800
|
+
# @return [CpuPinningPolicy]
|
|
57801
|
+
#
|
|
57802
|
+
def cpu_pinning_policy
|
|
57803
|
+
@cpu_pinning_policy
|
|
57804
|
+
end
|
|
57805
|
+
|
|
57806
|
+
#
|
|
57807
|
+
# Sets the value of the `cpu_pinning_policy` attribute.
|
|
57808
|
+
#
|
|
57809
|
+
# @param value [CpuPinningPolicy]
|
|
57810
|
+
#
|
|
57811
|
+
def cpu_pinning_policy=(value)
|
|
57812
|
+
@cpu_pinning_policy = value
|
|
57813
|
+
end
|
|
57814
|
+
|
|
55711
57815
|
#
|
|
55712
57816
|
# Returns the value of the `cpu_profile` attribute.
|
|
55713
57817
|
#
|
|
@@ -56012,6 +58116,31 @@ module OvirtSDK4
|
|
|
56012
58116
|
@domain = value
|
|
56013
58117
|
end
|
|
56014
58118
|
|
|
58119
|
+
#
|
|
58120
|
+
# Returns the value of the `dynamic_cpu` attribute.
|
|
58121
|
+
#
|
|
58122
|
+
# @return [DynamicCpu]
|
|
58123
|
+
#
|
|
58124
|
+
def dynamic_cpu
|
|
58125
|
+
@dynamic_cpu
|
|
58126
|
+
end
|
|
58127
|
+
|
|
58128
|
+
#
|
|
58129
|
+
# Sets the value of the `dynamic_cpu` attribute.
|
|
58130
|
+
#
|
|
58131
|
+
# @param value [DynamicCpu, Hash]
|
|
58132
|
+
#
|
|
58133
|
+
# The `value` parameter can be an instance of {OvirtSDK4::DynamicCpu} or a hash.
|
|
58134
|
+
# If it is a hash then a new instance will be created passing the hash as the
|
|
58135
|
+
# `opts` parameter to the constructor.
|
|
58136
|
+
#
|
|
58137
|
+
def dynamic_cpu=(value)
|
|
58138
|
+
if value.is_a?(Hash)
|
|
58139
|
+
value = DynamicCpu.new(value)
|
|
58140
|
+
end
|
|
58141
|
+
@dynamic_cpu = value
|
|
58142
|
+
end
|
|
58143
|
+
|
|
56015
58144
|
#
|
|
56016
58145
|
# Returns the value of the `external_host_provider` attribute.
|
|
56017
58146
|
#
|
|
@@ -56420,6 +58549,32 @@ module OvirtSDK4
|
|
|
56420
58549
|
@lease = value
|
|
56421
58550
|
end
|
|
56422
58551
|
|
|
58552
|
+
#
|
|
58553
|
+
# Returns the value of the `mediated_devices` attribute.
|
|
58554
|
+
#
|
|
58555
|
+
# @return [Array<VmMediatedDevice>]
|
|
58556
|
+
#
|
|
58557
|
+
def mediated_devices
|
|
58558
|
+
@mediated_devices
|
|
58559
|
+
end
|
|
58560
|
+
|
|
58561
|
+
#
|
|
58562
|
+
# Sets the value of the `mediated_devices` attribute.
|
|
58563
|
+
#
|
|
58564
|
+
# @param list [Array<VmMediatedDevice>]
|
|
58565
|
+
#
|
|
58566
|
+
def mediated_devices=(list)
|
|
58567
|
+
if list.class == Array
|
|
58568
|
+
list = List.new(list)
|
|
58569
|
+
list.each_with_index do |value, index|
|
|
58570
|
+
if value.is_a?(Hash)
|
|
58571
|
+
list[index] = VmMediatedDevice.new(value)
|
|
58572
|
+
end
|
|
58573
|
+
end
|
|
58574
|
+
end
|
|
58575
|
+
@mediated_devices = list
|
|
58576
|
+
end
|
|
58577
|
+
|
|
56423
58578
|
#
|
|
56424
58579
|
# Returns the value of the `memory` attribute.
|
|
56425
58580
|
#
|
|
@@ -57339,6 +59494,24 @@ module OvirtSDK4
|
|
|
57339
59494
|
@time_zone = value
|
|
57340
59495
|
end
|
|
57341
59496
|
|
|
59497
|
+
#
|
|
59498
|
+
# Returns the value of the `tpm_enabled` attribute.
|
|
59499
|
+
#
|
|
59500
|
+
# @return [Boolean]
|
|
59501
|
+
#
|
|
59502
|
+
def tpm_enabled
|
|
59503
|
+
@tpm_enabled
|
|
59504
|
+
end
|
|
59505
|
+
|
|
59506
|
+
#
|
|
59507
|
+
# Sets the value of the `tpm_enabled` attribute.
|
|
59508
|
+
#
|
|
59509
|
+
# @param value [Boolean]
|
|
59510
|
+
#
|
|
59511
|
+
def tpm_enabled=(value)
|
|
59512
|
+
@tpm_enabled = value
|
|
59513
|
+
end
|
|
59514
|
+
|
|
57342
59515
|
#
|
|
57343
59516
|
# Returns the value of the `tunnel_migration` attribute.
|
|
57344
59517
|
#
|
|
@@ -57443,6 +59616,24 @@ module OvirtSDK4
|
|
|
57443
59616
|
@virtio_scsi = value
|
|
57444
59617
|
end
|
|
57445
59618
|
|
|
59619
|
+
#
|
|
59620
|
+
# Returns the value of the `virtio_scsi_multi_queues` attribute.
|
|
59621
|
+
#
|
|
59622
|
+
# @return [Integer]
|
|
59623
|
+
#
|
|
59624
|
+
def virtio_scsi_multi_queues
|
|
59625
|
+
@virtio_scsi_multi_queues
|
|
59626
|
+
end
|
|
59627
|
+
|
|
59628
|
+
#
|
|
59629
|
+
# Sets the value of the `virtio_scsi_multi_queues` attribute.
|
|
59630
|
+
#
|
|
59631
|
+
# @param value [Integer]
|
|
59632
|
+
#
|
|
59633
|
+
def virtio_scsi_multi_queues=(value)
|
|
59634
|
+
@virtio_scsi_multi_queues = value
|
|
59635
|
+
end
|
|
59636
|
+
|
|
57446
59637
|
#
|
|
57447
59638
|
# Returns the value of the `virtio_scsi_multi_queues_enabled` attribute.
|
|
57448
59639
|
#
|
|
@@ -57548,6 +59739,8 @@ module OvirtSDK4
|
|
|
57548
59739
|
#
|
|
57549
59740
|
# @option opts [Array<Application>, Array<Hash>] :applications The values of attribute `applications`.
|
|
57550
59741
|
#
|
|
59742
|
+
# @option opts [AutoPinningPolicy] :auto_pinning_policy The value of attribute `auto_pinning_policy`.
|
|
59743
|
+
#
|
|
57551
59744
|
# @option opts [Bios, Hash] :bios The value of attribute `bios`.
|
|
57552
59745
|
#
|
|
57553
59746
|
# @option opts [Array<Cdrom>, Array<Hash>] :cdroms The values of attribute `cdroms`.
|
|
@@ -57560,6 +59753,8 @@ module OvirtSDK4
|
|
|
57560
59753
|
#
|
|
57561
59754
|
# @option opts [Cpu, Hash] :cpu The value of attribute `cpu`.
|
|
57562
59755
|
#
|
|
59756
|
+
# @option opts [CpuPinningPolicy] :cpu_pinning_policy The value of attribute `cpu_pinning_policy`.
|
|
59757
|
+
#
|
|
57563
59758
|
# @option opts [CpuProfile, Hash] :cpu_profile The value of attribute `cpu_profile`.
|
|
57564
59759
|
#
|
|
57565
59760
|
# @option opts [Integer] :cpu_shares The value of attribute `cpu_shares`.
|
|
@@ -57588,6 +59783,8 @@ module OvirtSDK4
|
|
|
57588
59783
|
#
|
|
57589
59784
|
# @option opts [Domain, Hash] :domain The value of attribute `domain`.
|
|
57590
59785
|
#
|
|
59786
|
+
# @option opts [DynamicCpu, Hash] :dynamic_cpu The value of attribute `dynamic_cpu`.
|
|
59787
|
+
#
|
|
57591
59788
|
# @option opts [ExternalHostProvider, Hash] :external_host_provider The value of attribute `external_host_provider`.
|
|
57592
59789
|
#
|
|
57593
59790
|
# @option opts [Array<Floppy>, Array<Hash>] :floppies The values of attribute `floppies`.
|
|
@@ -57622,6 +59819,8 @@ module OvirtSDK4
|
|
|
57622
59819
|
#
|
|
57623
59820
|
# @option opts [StorageDomainLease, Hash] :lease The value of attribute `lease`.
|
|
57624
59821
|
#
|
|
59822
|
+
# @option opts [Array<VmMediatedDevice>, Array<Hash>] :mediated_devices The values of attribute `mediated_devices`.
|
|
59823
|
+
#
|
|
57625
59824
|
# @option opts [Integer] :memory The value of attribute `memory`.
|
|
57626
59825
|
#
|
|
57627
59826
|
# @option opts [MemoryPolicy, Hash] :memory_policy The value of attribute `memory_policy`.
|
|
@@ -57706,6 +59905,8 @@ module OvirtSDK4
|
|
|
57706
59905
|
#
|
|
57707
59906
|
# @option opts [TimeZone, Hash] :time_zone The value of attribute `time_zone`.
|
|
57708
59907
|
#
|
|
59908
|
+
# @option opts [Boolean] :tpm_enabled The value of attribute `tpm_enabled`.
|
|
59909
|
+
#
|
|
57709
59910
|
# @option opts [Boolean] :tunnel_migration The value of attribute `tunnel_migration`.
|
|
57710
59911
|
#
|
|
57711
59912
|
# @option opts [VmType] :type The value of attribute `type`.
|
|
@@ -57716,6 +59917,8 @@ module OvirtSDK4
|
|
|
57716
59917
|
#
|
|
57717
59918
|
# @option opts [VirtioScsi, Hash] :virtio_scsi The value of attribute `virtio_scsi`.
|
|
57718
59919
|
#
|
|
59920
|
+
# @option opts [Integer] :virtio_scsi_multi_queues The value of attribute `virtio_scsi_multi_queues`.
|
|
59921
|
+
#
|
|
57719
59922
|
# @option opts [Boolean] :virtio_scsi_multi_queues_enabled The value of attribute `virtio_scsi_multi_queues_enabled`.
|
|
57720
59923
|
#
|
|
57721
59924
|
# @option opts [Vm, Hash] :vm The value of attribute `vm`.
|
|
@@ -57770,6 +59973,8 @@ module OvirtSDK4
|
|
|
57770
59973
|
end
|
|
57771
59974
|
|
|
57772
59975
|
module Architecture
|
|
59976
|
+
AARCH64 = 'aarch64'.freeze
|
|
59977
|
+
LOONGARCH64 = 'loongarch64'.freeze
|
|
57773
59978
|
PPC64 = 'ppc64'.freeze
|
|
57774
59979
|
S390X = 's390x'.freeze
|
|
57775
59980
|
UNDEFINED = 'undefined'.freeze
|
|
@@ -57789,10 +59994,12 @@ module OvirtSDK4
|
|
|
57789
59994
|
end
|
|
57790
59995
|
|
|
57791
59996
|
module BackupPhase
|
|
59997
|
+
FAILED = 'failed'.freeze
|
|
57792
59998
|
FINALIZING = 'finalizing'.freeze
|
|
57793
59999
|
INITIALIZING = 'initializing'.freeze
|
|
57794
60000
|
READY = 'ready'.freeze
|
|
57795
60001
|
STARTING = 'starting'.freeze
|
|
60002
|
+
SUCCEEDED = 'succeeded'.freeze
|
|
57796
60003
|
end
|
|
57797
60004
|
|
|
57798
60005
|
module BiosType
|
|
@@ -57817,6 +60024,11 @@ module OvirtSDK4
|
|
|
57817
60024
|
STATIC = 'static'.freeze
|
|
57818
60025
|
end
|
|
57819
60026
|
|
|
60027
|
+
module CheckpointState
|
|
60028
|
+
CREATED = 'created'.freeze
|
|
60029
|
+
INVALID = 'invalid'.freeze
|
|
60030
|
+
end
|
|
60031
|
+
|
|
57820
60032
|
module CloudInitNetworkProtocol
|
|
57821
60033
|
ENI = 'eni'.freeze
|
|
57822
60034
|
OPENSTACK_METADATA = 'openstack_metadata'.freeze
|
|
@@ -57825,6 +60037,7 @@ module OvirtSDK4
|
|
|
57825
60037
|
module ClusterUpgradeAction
|
|
57826
60038
|
FINISH = 'finish'.freeze
|
|
57827
60039
|
START = 'start'.freeze
|
|
60040
|
+
UPDATE_PROGRESS = 'update_progress'.freeze
|
|
57828
60041
|
end
|
|
57829
60042
|
|
|
57830
60043
|
module ConfigurationType
|
|
@@ -57838,6 +60051,14 @@ module OvirtSDK4
|
|
|
57838
60051
|
HOST_PASSTHROUGH = 'host_passthrough'.freeze
|
|
57839
60052
|
end
|
|
57840
60053
|
|
|
60054
|
+
module CpuPinningPolicy
|
|
60055
|
+
DEDICATED = 'dedicated'.freeze
|
|
60056
|
+
ISOLATE_THREADS = 'isolate_threads'.freeze
|
|
60057
|
+
MANUAL = 'manual'.freeze
|
|
60058
|
+
NONE = 'none'.freeze
|
|
60059
|
+
RESIZE_AND_PIN_NUMA = 'resize_and_pin_numa'.freeze
|
|
60060
|
+
end
|
|
60061
|
+
|
|
57841
60062
|
module CreationStatus
|
|
57842
60063
|
COMPLETE = 'complete'.freeze
|
|
57843
60064
|
FAILED = 'failed'.freeze
|
|
@@ -57865,6 +60086,7 @@ module OvirtSDK4
|
|
|
57865
60086
|
end
|
|
57866
60087
|
|
|
57867
60088
|
module DiskContentType
|
|
60089
|
+
BACKUP_SCRATCH = 'backup_scratch'.freeze
|
|
57868
60090
|
DATA = 'data'.freeze
|
|
57869
60091
|
HOSTED_ENGINE = 'hosted_engine'.freeze
|
|
57870
60092
|
HOSTED_ENGINE_CONFIGURATION = 'hosted_engine_configuration'.freeze
|
|
@@ -58169,6 +60391,7 @@ module OvirtSDK4
|
|
|
58169
60391
|
|
|
58170
60392
|
module NicInterface
|
|
58171
60393
|
E1000 = 'e1000'.freeze
|
|
60394
|
+
E1000E = 'e1000e'.freeze
|
|
58172
60395
|
PCI_PASSTHROUGH = 'pci_passthrough'.freeze
|
|
58173
60396
|
RTL8139 = 'rtl8139'.freeze
|
|
58174
60397
|
RTL8139_VIRTIO = 'rtl8139_virtio'.freeze
|
|
@@ -58194,6 +60417,7 @@ module OvirtSDK4
|
|
|
58194
60417
|
ENGINE_CERTIFICATION_HAS_EXPIRED = 'engine_certification_has_expired'.freeze
|
|
58195
60418
|
ENGINE_CERTIFICATION_IS_ABOUT_TO_EXPIRE = 'engine_certification_is_about_to_expire'.freeze
|
|
58196
60419
|
ENGINE_STOP = 'engine_stop'.freeze
|
|
60420
|
+
FAULTY_MULTIPATHS_ON_HOST = 'faulty_multipaths_on_host'.freeze
|
|
58197
60421
|
GLUSTER_BRICK_STATUS_CHANGED = 'gluster_brick_status_changed'.freeze
|
|
58198
60422
|
GLUSTER_HOOK_ADD_FAILED = 'gluster_hook_add_failed'.freeze
|
|
58199
60423
|
GLUSTER_HOOK_ADDED = 'gluster_hook_added'.freeze
|
|
@@ -58301,8 +60525,10 @@ module OvirtSDK4
|
|
|
58301
60525
|
IRS_DISK_SPACE_LOW_ERROR = 'irs_disk_space_low_error'.freeze
|
|
58302
60526
|
IRS_FAILURE = 'irs_failure'.freeze
|
|
58303
60527
|
MAC_ADDRESS_IS_EXTERNAL = 'mac_address_is_external'.freeze
|
|
60528
|
+
MULTIPATH_DEVICES_WITHOUT_VALID_PATHS_ON_HOST = 'multipath_devices_without_valid_paths_on_host'.freeze
|
|
58304
60529
|
NETWORK_UPDATE_DISPLAY_FOR_CLUSTER_WITH_ACTIVE_VM = 'network_update_display_for_cluster_with_active_vm'.freeze
|
|
58305
60530
|
NETWORK_UPDATE_DISPLAY_FOR_HOST_WITH_ACTIVE_VM = 'network_update_display_for_host_with_active_vm'.freeze
|
|
60531
|
+
NO_FAULTY_MULTIPATHS_ON_HOST = 'no_faulty_multipaths_on_host'.freeze
|
|
58306
60532
|
NUMBER_OF_LVS_ON_STORAGE_DOMAIN_EXCEEDED_THRESHOLD = 'number_of_lvs_on_storage_domain_exceeded_threshold'.freeze
|
|
58307
60533
|
REMOVE_GLUSTER_VOLUME_BRICKS_NOT_FOUND_FROM_CLI = 'remove_gluster_volume_bricks_not_found_from_cli'.freeze
|
|
58308
60534
|
START_REMOVING_GLUSTER_VOLUME_BRICKS = 'start_removing_gluster_volume_bricks'.freeze
|
|
@@ -58384,6 +60610,14 @@ module OvirtSDK4
|
|
|
58384
60610
|
WINDOWS_XP = 'windows_xp'.freeze
|
|
58385
60611
|
end
|
|
58386
60612
|
|
|
60613
|
+
module ParallelMigrationsPolicy
|
|
60614
|
+
AUTO = 'auto'.freeze
|
|
60615
|
+
AUTO_PARALLEL = 'auto_parallel'.freeze
|
|
60616
|
+
CUSTOM = 'custom'.freeze
|
|
60617
|
+
DISABLED = 'disabled'.freeze
|
|
60618
|
+
INHERIT = 'inherit'.freeze
|
|
60619
|
+
end
|
|
60620
|
+
|
|
58387
60621
|
module PayloadEncoding
|
|
58388
60622
|
BASE64 = 'base64'.freeze
|
|
58389
60623
|
PLAINTEXT = 'plaintext'.freeze
|
|
@@ -58577,6 +60811,12 @@ module OvirtSDK4
|
|
|
58577
60811
|
OK = 'ok'.freeze
|
|
58578
60812
|
end
|
|
58579
60813
|
|
|
60814
|
+
module TpmSupport
|
|
60815
|
+
REQUIRED = 'required'.freeze
|
|
60816
|
+
SUPPORTED = 'supported'.freeze
|
|
60817
|
+
UNSUPPORTED = 'unsupported'.freeze
|
|
60818
|
+
end
|
|
60819
|
+
|
|
58580
60820
|
module TransportType
|
|
58581
60821
|
RDMA = 'rdma'.freeze
|
|
58582
60822
|
TCP = 'tcp'.freeze
|
|
@@ -58598,6 +60838,13 @@ module OvirtSDK4
|
|
|
58598
60838
|
SEPARATED = 'separated'.freeze
|
|
58599
60839
|
end
|
|
58600
60840
|
|
|
60841
|
+
module VideoType
|
|
60842
|
+
BOCHS = 'bochs'.freeze
|
|
60843
|
+
CIRRUS = 'cirrus'.freeze
|
|
60844
|
+
QXL = 'qxl'.freeze
|
|
60845
|
+
VGA = 'vga'.freeze
|
|
60846
|
+
end
|
|
60847
|
+
|
|
58601
60848
|
module VmAffinity
|
|
58602
60849
|
MIGRATABLE = 'migratable'.freeze
|
|
58603
60850
|
PINNED = 'pinned'.freeze
|